RSQ: Learning from Important Tokens Leads to Better Quantized LLMs
Not on the map. Why?
Abstract (arXiv)
Layer-wise quantization is a key technique for efficiently compressing large models without expensive retraining. Previous methods typically quantize the weights of each layer by "uniformly" optimizing the layer reconstruction loss across all output tokens. However, in this paper, we demonstrate that better-quantized models can be obtained by prioritizing learning from important tokens (e.g. which have large attention scores). Building on this finding, we propose RSQ (Rotate, Scale, then Quantize), which (1) applies rotations (orthogonal transformation) to the model to mitigate outliers (those with exceptionally large magnitude), (2) scales the token feature based on its importance, and (3) quantizes the model using the GPTQ framework with the second-order statistics computed by scaled tokens. To compute token importance, we explore both heuristic and dynamic strategies. Based on a thorough analysis of all approaches, we adopt attention concentration, which uses attention scores of each token as its importance, as the best approach. We demonstrate that RSQ consistently outperforms baseline methods across multiple downstream tasks and three model families: LLaMA3, Mistral, and Qwen2.5. Additionally, models quantized with RSQ achieve superior performance on long-context tasks, further highlighting its effectiveness. Lastly, RSQ demonstrates generalizability across various setups, including different model sizes, calibration datasets, bit precisions, and quantization methods.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 56 of its 66 references that are in the map. First posted on arXiv 3 Mar 2025.
Builds on
56 of 66 references.
References · 56
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2016Layer Normalizationcited by 5,669
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
38 more
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2024Mixtral of Expertscited by 1,823
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
- 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 800
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 634
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
- 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 479
- 2024SpinQuant: LLM quantization with learned rotationscited by 471
- 2020Efficient Intent Detection with Dual Sentence Encoderscited by 433
- 2023OmniQuant: Omnidirectionally Calibrated Quantization for Large Language Modelscited by 424
- 2018Lipschitz regularity of deep neural networks: analysis and efficient estimationcited by 415
- 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 414
- 2024SliceGPT: Compress Large Language Models by Deleting Rows and Columnscited by 385
- 2024QuIP#: Even Better LLM Quantization with Hadamard Incoherence and Lattice Codebookscited by 378
- 2023SpQR: A Sparse-Quantized Representation for Near-Lossless LLM Weight Compressioncited by 367
- 2022Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruningcited by 322
- 2023SqueezeLLM: Dense-and-Sparse Quantizationcited by 294
- 2024Massive Activations in Large Language Modelscited by 294
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
- 2021Post-Training Quantization for Vision Transformercited by 278
- 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 233
- 2024Extreme Compression of Large Language Models via Additive Quantizationcited by 232
- 2015Quantized Convolutional Neural Networks for Mobile Devicescited by 215
- 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 208
- 2024Rho-1: Not All Tokens Are What You Needcited by 133
- 2020On the Effect of Dropping Layers of Pre-trained Transformer Modelscited by 118
- 2020Improving Post Training Neural Quantization: Layer-wise Calibration and Integer Programmingcited by 92
- 2024QTIP: Quantization with Trellises and Incoherence Processingcited by 91
- 2024Evaluating Quantized Large Language Modelscited by 77
- 2024PV-Tuning: Beyond Straight-Through Estimation for Extreme LLM Compressioncited by 61
- 2024The Super Weight in Large Language Modelscited by 52
- 2024Long Code Arena: a Set of Benchmarks for Long-Context Code Modelscited by 50
50 most cited of 56 All 56 (JSON)
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
- 2025Block Rotation is All You Need for MXFP4 Quantizationcited by 20
- 2025Task-Circuit Quantization: Leveraging Knowledge Localization and Interpretability for Compressioncited by 7
- 2026Attend to Your Own Thoughts: Breaking the Barrier for Post-Training Quantization of Reasoning LLMs through the Lens of 1.58-Bit Quantizationcited by 5
- 2026Attend to Your Own Thoughts: Breaking the Barrier for Post-Training Quantization of Reasoning LLMs through the Lens of 1.58-Bit Quantization2 Aug 2026
- 2025Block Rotation is All You Need for MXFP4 Quantization6 Nov 2025
- 2025Task-Circuit Quantization: Leveraging Knowledge Localization and Interpretability for Compression10 Apr 2025
Similar, not cited
Close in wording, no citation either way
- 2024Layer-Wise Quantization: A Pragmatic and Effective Method for Quantizing LLMs Beyond Integer Bit-Levels
- 2025You Had One Job: Per-Task Quantization Using LLMs' Hidden Representations
- 2025SINQ: Sinkhorn-Normalized Quantization for Calibration-Free Low-Precision LLM Weights
- 2024APTQ: Attention-aware Post-Training Mixed-Precision Quantization for Large Language Models
- 2026SERQ: Saliency-Aware Low-Rank Error Reconstruction for LLM Quantization
- 2025Layer-Wise High-Impact Parameter Ratio Optimization in Post-Training Quantization for Large Language Models
- 2026When Lower Reconstruction Loss Hurts: Distributionally Robust Refinement for Low-Bit LLM Quantization
- 2026GSQ: Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Sampling