Exponentially faster language modelling
51–60 of 150 posts
Re: Exponentially faster language modelling
#52Cool. Important note: """ One may ask whether the conditionality introduced by the use of CMM does not make FFFs incompatible with the processes and hardware already in place for dense matrix multiplication and deep learning more broadly. In short, the answer is “No, it does not, save for some increased caching complexity." """ It's hard to beat the hardware lottery!
Infact, as stated in the paper, this is bad news > We therefore leave the attention layers untouched Meaning, presumably, that the GPU memory remains the bottleneck Flops really are quite cheap by now, e.g. vision inference chip ~$2/teraflop/s !!
Re: Exponentially faster language modelling
#53Mix this with yesterday's matmul approximation (maddness) in HW for a casual... three orders of magnitude speed increase?
Re: Exponentially faster language modelling
#54Earlier quoted context omitted.
I think Nvidia might have an incentive for this not to exist. edit: but you are right for the AI companies not open sourcing their models it's an advantage to have it when others don't
I'm actually not sure about Nvidia, due to https://en.wikipedia.org/wiki/Jevons_paradox
Re: Exponentially faster language modelling
#55Earlier quoted context omitted.
From the previous paper you cited >Pushing FFFs to the limit, we show that they can use as little as 1% of layer neurons for inference in vision transformers while preserving 94.2% of predictive performance. This feels like that often misinterpreted Einstein meme/qoute about humans only using a fraction of their brain power. Is this only for inference though? could it boost training?
That's an interesting question. It actually provides a nice way to parallelized training: Pretrain e.g. the first 3 branch levels, which effectively fragments the model into 8 separate parts, which you can continue training across 8 independent servers/nodes with no further communication between the nodes. A central server would run the 1st 3 levels and mark parts of the training set that each node has to train on. M…
If this becomes true then it’s a game changer. I hope you are correct.
Re: Exponentially faster language modelling
#56According to scientists, we only use 0.3% of our neural networks. Imagine if we could use 100%.
Re: Exponentially faster language modelling
#57Earlier quoted context omitted.
Both. Cheaper CPU-based inference, GPUs are not as competitive for sparse linear algebra. This could lead to much larger models, as you only touch a small portion of the matrix during inference. However, the training here is still dense-LA on a GPU, so you still blow up the compute cost when increasing model size.
Has anyone used SIMD instructions to try and speed up cpu inference?
My experience has been that most CPU inference is actually not compute limited, but memory bandwidth limited, since most weights are used for a few operations per token (how quickly can you load and unload the entire 70 GB of weights into your registers?). It's not quite that bad but I found most vectorization changes didn't meaningfully change performance.
Re: Exponentially faster language modelling
#58Could this be applied to other models like Llama2 or Mistral?
Re: Exponentially faster language modelling
#59Link to previous paper: https://arxiv.org/abs/2308.14711 An attempt at a summary: They use a sigmoid function to make differentiable "soft" branches, and stack them to construct a binary tree, with the goal of only taking one branch at inference time (but training the whole tree) leading to log(W) instead of W inference cost. They gradually harden the branches so they become hard branches at the end of training. A br…
Also, this didn't come from OpenAI or DeepMind, or even industry. What are those guys even doing? :)
Re: Exponentially faster language modelling
#60I'm also curious if this model architecture would achieve the grokking of more complex concepts at scale.