News for hackers. Stuff that matters.
Re:What's the strongest AI model you can train on a laptop i... by tmule on Thursday August 14, 2025 @12:05PM (#44902103)
Unfortunately, as things stand, it’s well-known that behaviors and optimizations in small scale models fail to replicate in larger models.
Re:What's the strongest AI model you can train on a laptop i... by jebarker on Thursday August 14, 2025 @12:43PM (#44902607)
Well-known but not well-understood
Re:What's the strongest AI model you can train on a laptop i... by victorbjorklund on Thursday August 14, 2025 @01:16PM (#44903063)
Which in itself is very interesting and requires study.
Re:What's the strongest AI model you can train on a laptop i... by anvuong on Thursday August 14, 2025 @03:16PM (#44904436)
It mostly has to do with sparsity in high dimensional space. When you scale things to the extreme everything is very far away from each other, the space is sparse, and random vectors have very high chance to be orthogonal, etc. All of these makes optimization incredibly slow and difficult. Just another facet of the so called "curse of dimensionality".
Re:What's the strongest AI model you can train on a laptop i... by indoordin0saur on Thursday August 14, 2025 @01:16PM (#44903064)
But why? If we don't know why then how do we figure it out?
Re:What's the strongest AI model you can train on a laptop i... by yorwba on Thursday August 14, 2025 @03:01PM (#44904270)
Doing hyperparameter sweeps on lots of small models to find the optimal values for each size and fitting scaling laws to predict the hyperparameters to use for larger models seems to work reasonably well. I think https://arxiv.org/abs/2505.01618 is the latest advance in that vein.
Re:What's the strongest AI model you can train on a laptop i... by swyx on Thursday August 14, 2025 @05:22PM (#44905849)
the problem is that the eval processes dont really work here if you believe in "Emergent Abilities" https://arxiv.org/abs/2206.07682
Re:What's the strongest AI model you can train on a laptop i... by exasperaited on Thursday August 14, 2025 @06:06PM (#44906245)
Which we probably should not, at least not the "sudden" emergence that those researchers claimed to see.

https://arxiv.org/abs/2304.15004

Good article about why here; this helped me understand a lot:

https://www.wired.com/story/how-quickly-do-large-language-mo...

Re:What's the strongest AI model you can train on a laptop i... by jychang on Thursday August 14, 2025 @07:00PM (#44906719)
Why not? It takes models of a certain size to contain xyz neuron/feature.

https://www.youtube.com/watch?v=AgkfIQ4IGaM

That's not a mirage, it's clearly capability that a smaller model cannot demonstrate. A model with less parameters and less hidden layers cannot have a neuron that lights up when it detects a face.

Re:What's the strongest AI model you can train on a laptop i... by yorwba on Friday August 15, 2025 @03:42AM (#44909628)
Consider a single-neuron model that just pools all pixels in an image together. It's possible for the average activation of this neuron to be exactly the same on faces and non-faces, but extremely unlikely given the large range of possibilities. So in aggregate, this neuron can distinguish faces from non-faces, even though, when you apply it to classifying a particular image, it'll be better than random only by an extremely tiny amount.

As the number of neurons increases, the best face/non-face distinguisher neuron gets better and better, but there's never a size where the model cannot recognize faces at all and then you add just a single neuron that recognizes them perfectly.

Re:What's the strongest AI model you can train on a laptop i... by jychang on Saturday August 16, 2025 @02:34AM (#44920777)
> here's never a size where the model cannot recognize faces at all

True

> then you add just a single neuron that recognizes them perfectly

Not true.

Don't think in terms of neurons, think in terms of features. A feature can be spread out over multiple neurons (polysemanticity), I just use a single neuron as a simplified example. But if those multiple neurons perfectly describe the feature, then all of them are important to describe the feature.

The Universal Approximation Theorem implies that a large enough network to perfectly achieve that goal would exist (let's call it size n or larger), so eventually you'd get what you want between 0 and n neurons.

Re:What's the strongest AI model you can train on a laptop i... by yorwba on Saturday August 16, 2025 @04:33AM (#44921413)
> if those multiple neurons perfectly describe the feature, then all of them are important to describe the feature.

You could remove any one of those neurons before retraining the model from scratch and polysemanticity would slightly increase while perfomance slightly decreases, but really only slightly. There are no hard size thresholds, just a spectrum of more or less accurate approximations.

Re:What's the strongest AI model you can train on a laptop i... by jph00 on Thursday August 14, 2025 @04:51PM (#44905569)
That's not widely true. E.g the GPT 4 tech report pointed out nearly all their experiments were done on models 1000x smaller than the final model.
Re:What's the strongest AI model you can train on a laptop i... by tmule on Thursday August 14, 2025 @08:46PM (#44907445)
Fair point, though I’d argue that there’s inherent selection bias for improvements that could fit a scaling law curve in the small model regime here.