AI training is outpacing Moore’s Law
spectrum.ieee.org
spectrum.ieee.org
1. newer optimizations algorithms converge faster (Adam, adagrad)
2. lower-precision numerics can be used (TF32 is 19bit, bf16 is popular)
3. matrix multiplications are implemented in hardware (tensor cores, AMX)
4. neural networks are compiled directly (TVM, halide)
5. multi-device network topologies are tuned for training (e.g. nvlink improvements)
6. companies employ grad-student descent (hire a bunch of PhDs and task them with improving MLPerf results)
A researcher might notice that the True and False cases are different enough to warrant their own algorithms. Say they now fit a lower dimensional line to the True and False cases.
They've just performed gradient descent but the grad student was the gradient. It's a common joke in CS/ML departments.
(This is an obviously simple example, but the point is that hyperparameter tuning and algorithm selection _are a part of your algorithm_ and the data you're looking at while doing so is part of your training set)
No joke, always cheaper than massive optimization tasks. I’ve managed a team working on automl for years and I can say with certainty, the cheapest option is always hiring interns (grad or bachelor students) or a hackathon
Neural architecture search is finding more efficient architectural building blocks which translate to better quality models with fewer overall parameters.
There's a lot of work going on right now to improve transformer architectures in particular; I think once the dust settles they will be massively more efficient than the current models. Efficient transformers often also introduce an inductive bias, which ends up improving model quality. (similar to replacing fully connected networks with convolutional networks; more efficient, but also carrying an inductive bias that improves model quality.)
I wonder if it would be worth starting with low precision and then over time raise precision to zero in on a local min / max.
Google is teasing us with leaks about Pathways[1], but not releasing a paper or demo yet.
[1] https://blog.google/technology/ai/introducing-pathways-next-...
I call them multi-multi-models: multi-modality, multi-task, multi-language, multi-memory (besides the processing memory it can have search engine in the loop and episodic memory). Somebody's going to make it in the next couple of years.
When the working class had this problem a couple centuries ago, it was solved by building guillotines. I hope we can do better this time.
This way, the average investor usually does not reap outsized benefits from the ride.
The nice part about it is that everyone will have access to great models for direct use, fine-tuning and adaptation. But if people don't take this freedom and are content with simply consuming applications, then they depend on those who deploy the apps.
Plug - I expand on this a bit in this blog post 'The Inherent Limitations of GPT-3' (which was on front page of HN a few weeks back and led to a good deal of discussion ) https://lastweekin.ai/p/the-inherent-limitations-of-gpt-3
http://www.incompleteideas.net/IncIdeas/BitterLesson.html
"The biggest lesson that can be read from 70 years of AI research is that general methods that leverage computation are ultimately the most effective, and by a large margin. The ultimate reason for this is Moore's law, or rather its generalization of continued exponentially falling cost per unit of computation."
And now we are beating out Moore's law!
http://www.transistorcount.com/
Slope seem a bit more gentle - but certainly not gone?
I've long predicted macrochips to solve this, brute force of huge quantities of silicon, but it hasn't really happened.
AMD, Nvidia and intel are all hitting the 'heat wall' with their hardware just trying to cram more into smaller nodes and boost clocks. Nvidia's 4000 series cards are rumored to be 500W cards which is well into 'space heater' territory.
Right now we seem to be into a kind of "mainframe phase", where running big models is super expensive.
I wonder what kind of speedup we need for ML to be truly accessible for the average developer. 50x? 100x?
The data scale (and access) is often more important than the modelling, and that doesn't have a technological fix, or at least not a purely technological fix.
one of them is related to a paper in Nature this year on "democratizing ML" .. the MOSAIK project iir
edit- hilariously, Google Search wont let me look for MOSAIK instead correcting the spelling.. and when forced, many similarly named projects that are not it, are ahead.. the one referenced here is
A generalizable and accessible approach to machine learning with global satellite imageryNot yet at least.