SNIP: An Adaptive Mixed Precision Framework for Subbyte Large Language Model Training

Yunjie Pan, Yongyi Yang, Hanmei Yang, Scott Mahlke
2/1/2026
cs.LGcs.AR

No official code found. Best implementation: pyjhzwh/SNIP (2 stars, last commit 2026-02-03).

Abstract

Training large language models (LLMs) efficiently while preserving model quality poses significant challenges, particularly with subbyte precision supported by state-of-the-art GPUs. Current mixed-precision training approaches either apply uniform precision to all GEMM operations or rely on heuristic-based methods that fail to generalize during training, leading to suboptimal convergence and instability. To address these challenges, this paper introduces SNIP, a fine-grained adaptive mixed-precision training framework for LLM pretraining that supports subbyte precision. SNIP periodically collects statistics on activations, gradients, and optimizer states to assess the precision loss impact on model quality. We define two key metrics: loss divergence in the forward pass, caused by quantization-induced increases in training loss, and weight divergence in the backward pass, which measures error propagation through gradients affecting model updates. These metrics guide an Integer Linear Programming (ILP) problem that systematically optimizes layerwise precision to minimize overall quality loss while meeting efficiency targets. Experiments on 1B, 3B, 7B and 70B Llama-like models demonstrate that SNIP consistently outperforms existing baselines, reducing FLOPs by up to 80% while preserving model quality across different model sizes and training phases with minimal computational overhead.

View on arXivView PDF

Code Implementations(1)

pyjhzwh/SNIPCommunity64%

Code for the paper "SNIP: An Adaptive Mixed Precision Framework for Subbyte Large Language Model Training" ASPLOS'26

20Shell, PythonFeb 2, 20268 months ago

Similar Papers

Cite this paper

@article{pan2026snip,
  title  = {SNIP: An Adaptive Mixed Precision Framework for Subbyte Large Language Model Training},
  author = {Yunjie Pan and Yongyi Yang and Hanmei Yang and Scott Mahlke},
  year   = {2026},
  eprint = {2602.01410},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.01410v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.01410.svg)](https://codeofpaper.com/paper/2602.01410)

Discussion