by jablongo · 3y ago · 0 comments
a) train two identical models on a large dataset, one with the +1 in the denominator for the softmax steps of the attention modules, one without
b) show that they have similar performance (doubt the +1 will make performance better, but we need to show it doesn't make things worse)
c) show that there are less "blowups" in the model with +1, and therefore they are more effectively quantized.
Yes but how much would this cost?
Would it be possible to build a small dataset that produces known outlier values, and test on that?
One of the most important keys to the success of deep learning in the last couple years has been the fact that emergent features exist after certain scales, so I wouldn't be too quick to dismiss things that don't help at smaller scales, nor would I be certain that all the tricks that help in small data/parameter regimes will necessarily help in larger models. Unfortunately!
[1] https://timdettmers.com/2022/08/17/llm-int8-and-emergent-fea...
So while you obviously wouldn't be able to conclusively prove the idea fixes the issue in larger models, if you know what you are looking for you should be able to validate that the method works in general down to very small models.
That said, consumer grade cards should be able to train an 8B model with quantization, so you might as well train the whole thing.
So you might want to re-search the hyper params for a fair shot.