NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

RoSTE: An Efficient Quantization-Aware Supervised Fine-Tuning Approach for Large Language Models

Quan Wei, Chung-Yiu Yau, Hoi To Wai, Yang Zhao, Dongyeop Kang, Youngsuk Park, Mingyi Hong

Introduction

The deployment of Large Language Models (LLMs) on consumer-grade hardware necessitates significant model compression, typically achieved through 4-bit quantization of weights, activations, and Key-Value (KV) caches. Traditionally, this process follows a sequential pipeline: models undergo Supervised Fine-Tuning (SFT) in full precision, followed by Post-Training Quantization (PTQ). However, this decoupled approach is inherently suboptimal, as the fine-tuning phase remains "blind" to the quantization errors introduced later.

Quantization-Aware Training (QAT) offers a potential solution by simulating quantization during the training process. Yet, standard QAT often fails to handle "outliers"—extreme activation values that expand the quantization range and degrade model accuracy. This paper introduces RoSTE (Rotated Straight-Through Estimator), a novel approach that integrates fine-tuning and quantization into a single, efficient phase while effectively managing activation outliers through adaptive geometric rotations.

The RoSTE Framework

RoSTE addresses the limitations of the standard pipeline by framing the problem as a Quantization-Aware Supervised Fine-Tuning (QA-SFT) task. The framework consists of three primary pillars:

1. Adaptive Rotation Strategy

Activation outliers in LLMs are often concentrated in specific channels. RoSTE employs orthogonal rotations—specifically using random Walsh-Hadamard matrices—to "smear" these outliers across multiple dimensions. This rotation reduces the maximum value in any single channel, creating a more uniform distribution that is significantly easier to quantize accurately.

Crucially, RoSTE utilizes an adaptive selection mechanism. Rather than applying rotations globally, the algorithm performs a low-complexity, layer-by-layer search to determine whether a rotation actually reduces quantization error for a specific layer. This is vital because, in certain architectures like Pythia, rotating specific layers can paradoxically increase error.

2. Bilevel Optimization

The training process is structured as a bilevel optimization problem. The "upper level" focuses on optimizing model weights to minimize the standard SFT loss (e.g., cross-entropy). Simultaneously, the "lower level" selects the optimal rotation configuration (Identity vs. Hadamard) to minimize the weight quantization error. This ensures that the model weights evolve in a way that is inherently compatible with the chosen quantization scheme.

3. Rotated Straight-Through Estimator (STE)

Because quantization is a non-differentiable operation, RoSTE employs a specialized Straight-Through Estimator. This estimator accounts for the applied rotations, allowing gradients to flow back to the full-precision weights during training. This ensures that the model learns to compensate for quantization noise in real-time.

Experimental Evaluation

The researchers evaluated RoSTE across diverse model families, including Pythia (1B to 6.9B), Qwen2.5 (0.5B to 7B), and Llama 3.1 (8B), focusing on summarization and general instruction-following tasks.

Summarization Performance

On the Pythia 6.9B model using the Reddit TL;DR dataset, RoSTE achieved a 4-bit ROUGE score of 23.66, remarkably close to the full-precision (16-bit) performance of 24.72. In comparison, the leading PTQ baseline, QuaRot, achieved only 7.46, demonstrating the massive advantage of awareness during fine-tuning.

Instruction Following

When tested on a battery of complex tasks (including MMLU-Pro, GSM8K, and TruthfulQA) using Llama 3.1 8B, RoSTE reached an average accuracy of 31.69%. This significantly outperformed both standard STE (17.14%) and the previous state-of-the-art rotation method, SpinQuant (29.13%). Visualizations confirmed that while standard STE models suffered from massive activation outliers at convergence, RoSTE models maintained a smooth, well-behaved distribution.

Efficiency and Practicality

A key advantage of RoSTE is its computational efficiency. By utilizing fast Hadamard CUDA kernels, the rotation operations add negligible latency. Training a 7B parameter model with RoSTE requires only approximately 30% more time than standard full-precision SFT. This small overhead provides a deployment-ready 4-bit model without the need for a separate, often lossy, PTQ step.

Conclusion and Future Work

RoSTE demonstrates that the "outlier problem" in LLM quantization is solvable through geometric transformations integrated directly into the fine-tuning process. By adaptively smoothing activation distributions and optimizing weights with quantization in mind, RoSTE bridges the gap between high-precision performance and low-precision efficiency.

While highly effective at 4-bit, future work remains to scale this approach to frontier models (70B+) and explore even more aggressive compression, such as 2-bit or ternary weights, which may require more sophisticated incoherence processing beyond simple rotations.

Summary updated

BibTeX
@inproceedings{wei2025roste,
  author = {Quan Wei and Chung-Yiu Yau and Hoi To Wai and Yang Zhao and Dongyeop Kang and Youngsuk Park and Mingyi Hong},
  title = {{RoSTE: An Efficient Quantization-Aware Supervised Fine-Tuning Approach for Large Language Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=h30EzoI3s0},
}
Figure