Marketplace: my first attempt at training without backprop on GPU efficiently – Fang-Pen's coding note
If you’ve read my previous articles, you know I’m a big fan of first-principles thinking. I’ve mentioned many times that I want to eliminate backpropagation. Many people think I’m crazy and assume I must be joking. But no, I’m serious. I thought about the problem from time to time. Recently, I came up with an idea that could potentially work. I spent two weeks implementing it and running experiments, and it worked! While this is just a baby step, there are still many things to improve, but at least I think it’s an interesting idea that could be worth exploring and sharing. Today, I would like to share my approach to training without backpropagation on GPUs efficiently. A diagram shows the validation accuracy of a small MNIST CNN model training process without using backpropagation. A diagram shows the loss of a small MNIST CNN model training process without using backpropagation. Just because a solution exists and is widely used doesn’t mean it’s the best one. From this perspective, we
Update: Please read the second article for the details of the V2 algorithm. Also the third article, Continual Learning with Marketplace: Model Learns New Data with Mostly Inference , introduces the continual learning with the Marketplace algorithm. If you’ve read my previous articles, you know I’m a big fan of first-principles thinking. I’ve mentioned many times that I want to eliminate backpropagation. Many people think I’m crazy and assume I must be joking. But no, I’m serious. I thought about the problem from time to time. Recently, I came up with an idea that could potentially work. I spen
saved by
related reading
- The Practitioner's Guide to the Maximal Update Parameterization | EleutherAI Blogblog.eleuther.ai
- Making Deep Learning go Brrrr From First Principleshorace.io
- A Recipe for Training Neural Networkskarpathy.github.io
- Yes you should understand backprop | by Andrej Karpathy | Mediumkarpathy.medium.com
- A Recipe for Training Neural Networkskarpathy.github.io
- Tiny TPUtinytpu.com
- The Best GPUs for Deep Learning in 2023 — An In-depth Analysistimdettmers.com
- Calculus on Computational Graphs: Backpropagation -- colah's blogcolah.github.io
- microgptkarpathy.github.io
- ⭐️ Fast LLM Inference From Scratchandrewkchan.dev
- The Little Book of Deep Learningfleuret.org
- Open Weights isn't Open Trainingworkshoplabs.ai