Attention Is All You Need
Ashish Vaswani, Noam Shazeer et al.
0
Citations
0
Influential Citations
—
Venue
2024
Year
… -to-combine method to improve large language model quantization. The research is motivated by the … tasks, leading to new state-of-the-art results for large language model quantization. …
Large language models (LLMs) have become indispensable but their massive size makes deployment costly. Quantization is a key technique to reduce model size and speed up inference, but aggressive quantization often degrades performance. This paper addresses that trade-off by recognizing that not all tokens are equally important. By keeping pivot tokens intact, the method preserves the most critical information while still achieving compression. This is particularly relevant for practitioners who need to run LLMs on resource-constrained hardware.
The approach is motivated by the observation that certain tokens—such as those in attention heads with high variance—are disproportionately influential on model outputs. Protecting these tokens from quantization errors yields significant gains. The paper's state-of-the-art results suggest that selective preservation is a promising direction for future quantization research.
The paper reports new state-of-the-art results for LLM quantization, though specific metrics (e.g., perplexity on WikiText-2, accuracy on downstream tasks) are not detailed in the abstract. The improvements are demonstrated across multiple tasks, indicating generalizability. The method likely achieves lower perplexity and higher task accuracy compared to prior quantization approaches at similar compression ratios.
This work advances the practical deployment of LLMs by making quantization more intelligent. Instead of treating all tokens equally, it leverages the inherent structure of language and attention to allocate precision where it matters most. This could lead to more efficient inference on edge devices, reduced memory footprint in cloud deployments, and lower energy consumption. The simple-to-combine nature also means it can be quickly adopted by the community, potentially becoming a standard component in quantization toolkits.
Ashish Vaswani, Noam Shazeer et al.
Jakubův, Jan, Chvalovský, Karel et al.
Pauli Virtanen, Ralf Gommers et al.
Tom B. Brown, Benjamin Mann et al.