ImageNet classification with deep convolutional neural networks
Alex Krizhevsky, Ilya Sutskever et al.
0
Citations
0
Influential Citations
—
Venue
2023
Year
Enables context extension for large language models, achieving significant computation savings through sparse local attention and parameter-efficient fine-tuning.
Large language models (LLMs) are increasingly deployed in tasks requiring long-context understanding, such as document analysis, code repositories, and multi-turn conversations. However, the quadratic complexity of standard self-attention makes scaling to thousands of tokens prohibitively expensive. LongLoRA addresses this bottleneck by introducing a practical method to extend context length without full retraining or massive hardware requirements.
This paper is significant because it combines two established ideas—sparse attention and parameter-efficient fine-tuning—into a cohesive framework that is both effective and accessible. By reducing memory and compute demands, LongLoRA enables researchers and practitioners with limited resources to experiment with long-context LLMs, democratizing access to this capability.
LongLoRA achieves up to 8x reduction in FLOPs compared to full fine-tuning for context extension tasks. On long-context benchmarks (e.g., LongBench, SCROLLS), it matches or approaches the performance of full fine-tuning while using significantly less memory and time. For instance, extending LLaMA-7B to 32K tokens requires only 8 GPUs (vs. 32 for full fine-tuning) and completes in hours rather than days.
LongLoRA has broad implications for the AI field. It makes long-context LLMs feasible for a wider audience, enabling applications like legal document analysis, scientific paper summarization, and codebase understanding. By decoupling context extension from massive compute, it encourages further research into efficient attention mechanisms and parameter-efficient methods. The approach also sets a precedent for combining multiple efficiency techniques to tackle scaling challenges in deep learning.
Alex Krizhevsky, Ilya Sutskever et al.
Ashish Vaswani, Noam Shazeer et al.
Douglas M. Bates, Martin Mächler et al.
Diederik P. Kingma, Jimmy Ba