Vertical LoRA: Dense Expectation-Maximization Interpretation of Transformers
<|reference_start|>Vertical LoRA: Dense Expectation-Maximization Interpretation of Transformers: In this paper, we show how Transformers can be interpreted as dense Expectation-Maximization algorithms performed on Bayesian Nets. Based on the above interpretation, we propose a new model design paradigm, namely Vertical LoRA (VLoRA), which reduces the parameter count dramatically while preserving performance. In VLoRA, a model consists of layers, each of which recursively learns an increment based on the previous layer. We then apply LoRA decomposition to the increments. VLoRA works on the base model, which is orthogonal to LoRA, meaning they can be used together. We do experiments on various tasks and models. The results show that 1) with VLoRA, the Transformer model parameter count can be reduced dramatically and 2) the performance of the original model is preserved. The source code is available at \url{https://github.com/neverUseThisName/vlora}<|reference_end|>
@article{fu2024vertical,
    title={Vertical LoRA: Dense Expectation-Maximization Interpretation of
  Transformers},
    author={Zhuolin Fu},
    journal={arXiv preprint arXiv:2406.09315},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.09315},
    primaryClass={cs.AI cs.CV cs.LG}
}