I have often mused that, in some ways, it seems like the transistor is really being wasted in AI applications. We use binary states in normal computing to reduce entropy. In AI this is less of a concern, so why not use more of the available voltage range? Basically, re-think the role of the transistor and re-design from the ground up - maybe NAND gates are not the ideal fundamental building block here?
The Era of 1-bit LLMs: ternary parameters for cost-effective computing
291–300 of 462 posts
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#292Earlier quoted context omitted.
I'd be VERRY cautious about being excited here. My priors are like this: 1. Initial training of a neural network moves all weights around a large amount at first. 2. Later training of the network adjusts them a small amount. 3. An undertrained network will therefore look a lot like figuring out "positive, negative, or 0?" for each node during early training. If all these things are true, then 1. Early training of an…
Update - I'm still cautious about this paper, but I had the table numbers inverted in my head while thinking about it. The paper shows better perplexity results than competing models at larger parameter sizes, so I was wrong.
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#293Earlier quoted context omitted.
Update - I'm still cautious about this paper, but I had the table numbers inverted in my head while thinking about it. The paper shows better perplexity results than competing models at larger parameter sizes, so I was wrong.
I was pretty unhappy and suspicious for the same reason. Not reporting perplexity for a 70B network while reporting its efficiency means that someone did something and the result wasn't good enough to put in the paper.
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#294What does it mean for future hardware if it's not using floating point matrix multiplication units?
If this really holds up, it likely means we'll be moving to new dedicated hardware for AI compute much faster than when it was FP.
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#295Does quantization need to be an all or nothing? with the kind of low bit models we have seen, my assumption would be that only certain weights would benefit from the extra precision. A mixture of precision with 2-bit, 3-bit, to 8-bit weights might perform well, but I am unsure if any training process could identify the weights that need the extra precision.
So moving to extremely high efficiency native ternary hardware like with optics is going to be a much better result than trying to mix precision in classical hardware.
We'll see, but this is one of those things that I wouldn't have expected to be true but as soon as I see that it is it kind of makes sense. If it holds up (and it probably will) it's going to kick off a hardware revolution in AI.
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#296Earlier quoted context omitted.
Depends if this results in more efficient models or simply larger, more capable models.
In both cases this is a prime opportunity for anyone to disrupt Nvidia. They are in this market position in large part because both video games and neural networks do a lot of highly parallel floating point math, especially matrix multiplication. This model architecture doesn't do any of that. Of course it should be fairly simple for Nvidia to add special silicon and instructions for two-bit addition to a future gene…
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#297Is there anything about this specific to LLMs, or could you use it for any transformer based model? It seems like they made a modified transformer.
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#298Can someone versed in the ways of math explain how this is different from previous quantization methods? And specifically, seeing how going from 16fp to 8bit mostly gives same perplexity while anything further seems to lose quality / dumb down the model, how is this even less precise method is able to achieve this?
So as the number of nodes scales up, the individual precision probably matters less and less. Which is what they found here - it reaches parity at 3B and then starts exceeding performance at larger sizes, up to the 2T tested.
Seemingly when trained from scratch the virtual network can find adequate precision from ternary physical nodes where needed. This is different from the information loss as an already trained floating point network has its weights quantized to smaller precision and sees a performance loss.
Not only is this approach more efficient, it seems to perform better too at larger network sizes, which is probably the most interesting part.
Re: The Era of 1-bit LLMs: ternary parameters for cost-effective computing
#299There are two findings I find shocking in this work: * In existing LLMs, we can replace all parameter floating-point values representing real numbers with ternary values representing (-1, 0, 1). * In matrix multiplications (e.g., weights by vectors), we can replace elementwise products in each dot product (a₁b₁ + a₂b₂ ...) with elementwise additions (a₁+b₁ + a₂+b₂ ...), in which signs depend on each value. See the pa…
does that mean we can do integer instead of floating point math for some parts of the training? that seems like a really big win