News for hackers. Stuff that matters.
Re:Towards 1-bit Machine Learning Models by cma on Friday March 29, 2024 @05:20PM (#39869143)
For training how do you get any kind of meaningful derivative with it?
Re:Towards 1-bit Machine Learning Models by twelfthnight on Friday March 29, 2024 @05:58PM (#39869445)
Maybe evolutionary algorithms instead? Hasn't proven super useful historically, but maybe at the scale of enormous LLMs it will be?
Re:Towards 1-bit Machine Learning Models by bionhoward on Friday March 29, 2024 @06:33PM (#39869743)
Evolutionary algorithms made you, didn’t they?
Re:Towards 1-bit Machine Learning Models by TheDudeMan on Friday March 29, 2024 @07:57PM (#39870359)
That does not prove that they can beat gradient decent.
Re:Towards 1-bit Machine Learning Models by bick_nyers on Saturday March 30, 2024 @11:22AM (#39875692)
It took a lot of human brain flops to get to this point in time though, I wonder how many orders of magnitude more than it took to train ChatGPT...
Re:Towards 1-bit Machine Learning Models by VHRanger on Friday March 29, 2024 @08:50PM (#39870726)
Nope, they're orders of magnitude more inefficient because they don't leverage gradient descent.

Rule of thumb in optimization: real numbers are easy, integers are hard

Re:Towards 1-bit Machine Learning Models by markisus on Saturday March 30, 2024 @12:13AM (#39871776)
This may be the status quo because of the so called "hardware lottery" which has historically been optimized for floating point. I'm speculating, but if hardware designers were instead only concerned about raw xnor density and throughput, we might end up with chips powerful enough that giant 1-bit nets could be trained purely through evolution.
Re:Towards 1-bit Machine Learning Models by imtringued on Saturday March 30, 2024 @06:24AM (#39873487)
How do you optimize memory for floating point?
Re:Towards 1-bit Machine Learning Models by VHRanger on Saturday March 30, 2024 @02:49PM (#39877531)
BF8 and other similar formats?
Re:Towards 1-bit Machine Learning Models by VHRanger on Saturday March 30, 2024 @07:58AM (#39874013)
No, it's a fact at the mathematical level that you can enshrine in big O terms if you want to
Re:Towards 1-bit Machine Learning Models by bick_nyers on Saturday March 30, 2024 @11:43AM (#39875927)
Gradient-directed evolutionary algorithm sounds kinda interesting.
Re:Towards 1-bit Machine Learning Models by chalst on Friday March 29, 2024 @06:13PM (#39869560)
The OP explicitly excludes training.
Re:Towards 1-bit Machine Learning Models by cma on Friday March 29, 2024 @08:25PM (#39870551)
The one I replied to said 1-bit for both training and inference.
Re:Towards 1-bit Machine Learning Models by scotty79 on Saturday March 30, 2024 @03:47AM (#39872740)
Maybe something probabilistic?
Re:Towards 1-bit Machine Learning Models by concurrentsquar on Sunday March 31, 2024 @06:01PM (#39888458)
You don't (you have to use real-valued inertial 'latent weights' during training): https://arxiv.org/abs/1906.02107

(there is still a reduction in memory usage though (just not 24x):

> "Furthermore, Bop reduces the memory requirements during training: it requires only one real-valued variable per weight, while the latent-variable approach with Momentum and Adam require two and three respectively.")