953 karma · joined Sep 6, 2023 (3y ago) · 548 submissions
comment 1y ago · link · parent
- Unable to demonstrate prequisite knowledge, or
- Unable to go to a school further away?
I can get the latter one, which is why I think we shouldn't just have magnet schools, we should have free, government-run magnet boarding schools. Or, alternatively, how much would it really cost to provide a chauffeur service to kids who have demonstrated intelligence and need? If schools can provide personal aides to 1% of their population, I'm sure they have the budget to treat another 1% equitably.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
Think about this: you've probably driven a car to get from Point A to Point B before. If you existed in a society where people were constantly making mistakes, in the sense of crashing their cars several orders of magnitude more often, driving a car to get from Point A to Point B is no longer a good strategy. But it usually is a good, if not the best, move you can make right now, because people aren't making mistakes that frequently.
Here's another example: marriage (long-term relationships). Perhaps not all extra-marital affairs are mistakes, but a significant proportion of them are. If too many people are making these mistakes, leading to messy divorces, it's no longer worth it to even consider dating in the first place.
comment 1y ago · link · parent
Something sobering to keep in mind is that the vast majority of people have the logical and mathematical capabilities of a good ten-year-old. There are ten-year-old chess grandmasters, USAJMO qualifiers, or to be less extreme, ten-year-olds that have a solid understanding of algebra and an intuition for proofs. Most people do not, and rely on heuristics or intuitions for everything. They do not even realize you can prove something, except with "it feels or seems right". It isn't because they're mentally incapable of learning the skill, it's because they never bothered to, or didn't think it was important.
comment 1y ago · link · parent
https://arxiv.org/abs/2208.01623
The real issue is trying to backpropagate those nonlinear optics. You need a second nonlinear optical component that matches the derivative of the first nonlinear optical component. In the paper above, they approximate the derivative by slightly changing the parameters, but that means the training time scales linearly with the number of parameters in each layer.
Note: the authors claim it takes O(sqrt N) time, but they're forgetting that the learning rate mu = o(1/sqrt N) if you want to converge to a minimum:
Loss(theta + dtheta) = Loss(theta) + dtheta * dLoss(theta) + O(dtheta^2)
= Loss(theta) + mu * sqrtN * C (assuming Lipschitz continuous)
==> min(Loss) = mu * sqrtN * C/2comment 1y ago · link · parent
Suppose you have n residual layers that look like:
x_0 = input x_{i+1} = x_i + f(x_i) x_n = output
If you replace them with an infinite number of layers, and use "time" t instead of "layer" i, you get
x(t+dt) = x(t) + dt f(x(t)) <=> x'(t) = f(x, t)
so to find the output, you just need to solve an ODE. It gets better! The goal of normalizing flows is to "flow" your probability distribution from a normal distribution to some other (e.g. image) distribution. This is usually done by trying to maximize the probability the training images should show up, according to your model, i.e.
loss(model) = product model^{-1}(training image)
Notice how you need the model to be reversible, which is pretty annoying to implement in the finite-layer case, but with some pretty lenient assumptions is guaranteed to be true for an ODE. Also, when you're inverting the model, the probabilities will change according to the derivative; since you have more than one dimension, this means you need to calculate the determinant of the Jacobian for every layer, which is decently costly in the finite-layer case. There are some tricks that can bring this down to O(layer size^2) (Hutchinson++), but the ODE case is trivial to compute (just exp(trace)).
So, turning the model into an ODE makes it blazing fast, and since you can use any ODE solver, you can train at different levels of precision based on the learning rate (i.e. the real log canonical threshold from singular learning theory). I haven't seen any papers that do this exactly, but it's common to use rougher approximations at the beginning of training. Probably the best example of this is the company Liquid AI.
Finally, this all turns out to be very similar to diffusion models. Someone realized this, and combined the two ideas into flow-matching.
-----
This is one place it's super useful to know numerical methods, but here are a couple others:
1. Weight initialization --> need to know stability analysis
2. Convolutions --> the Winograd algorithm, which is similar to ideas in the FFT and quadrature
comment 1y ago · link · parent
Or a Veritasium video here: https://www.youtube.com/watch?v=iSNsgj1OCLA
comment 1y ago · link · parent
> The numbers 1–n are randomly placed into n boxes in a line. There are n people who are each able to look into half the boxes. While they are allowed to coordinate who looks into which boxes beforehand, they are taken out one at a time to choose which half of the boxes they will peek at. The goal is for the first person to find the number one, the second person to find the number two, and so on. If any of them fail to find their number, the whole group loses. What is the probability they lose if they use the optimal strategy?
I wonder if there's a connection to regular graphs here.
comment 1y ago · link · parent
I really wish they tied this into representation theory, because it looks like the R-tensors are similar to representations of the permutation group, but I don't see exactly how to write them in terms of representations.
comment 1y ago · link · parent
Can you explain this a little more? Why does having a trade deficit make your currency more valuable? My naive assumption is it would put more dollars in other countries, so they don't need them as much, making dollars less valuable.
comment 1y ago · link · parent
Anyway, how I would construct a proof by contradiction is:
1. Suppose you want to know if there exists a proof P of length less than N.
2. Do the usual "proof by contradiction" with a placeholder P.
3. You can write a very short algorithm that then plugs in all 2^N possible proofs into your proof by contradiction algorithm.
4. And voila! You have a constructive proof.
comment 1y ago · link · parent
But this is not the vast majority of 'advertising' or where advertising causes so much harm. A single individual has much less power to manipulate a single other individual, let alone thousands of other individuals. It takes millions of dollars to hire people with specialized marketing skills to do that.