Beyond Output Matching: Preserving Internal Geometry in NVFP4 LLM Distillation

Fangbo Tu, Junhua Zhao, Chi Liu, Xin Chen, Haifeng Wu +2 more
6/4/2026
cs.AIcs.LG
distillationquantization-pruning

No confident code implementation found for this paper.

Abstract

Demand for low-precision inference, including NVFP4-based approaches, has grown as large language models are increasingly deployed in latency and cost constrained production environments. Quantization-aware distillation (QAD) helps recover accuracy lost under low bit quantization by training a quantized student to match the output distribution of a frozen higher precision teacher via a KL-divergence loss.

Show full abstract

In this work, we first provide a representation level diagnosis of QAD: output matching alone can mask internal degradation, because many intermediate activation geometries can yield similar teacher-aligned logits. Using CKA, we show that KL-only QAD can reduce layerwise representational similarity relative to the BF16 teacher, with especially severe drift in RL-post-trained models. This drift correlates with downstream bottlenecks on reasoning and coding tasks, suggesting that low bit recovery requires preserving internal geometry rather than matching outputs alone. Motivated by this finding, we propose \textbf{CKA-QAD}, a CKA-guided representational alignment method for NVFP4 QAD and low bit LLM accuracy recovery. The method adds a lightweight regularizer that preserves internal representational geometry during distillation by aligning layerwise Gram matrices through CKA. Across Nemotron 3 Nano and Qwen3-4B-Thinking-2507, CKA-QAD substantially improves representational alignment and improves downstream reasoning and coding accuracy with modest training overhead. Our findings position CKA-guided representational alignment as a practical complement to output matching for quantized LLM recovery.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{tu2026beyond,
  title  = {Beyond Output Matching: Preserving Internal Geometry in NVFP4 LLM Distillation},
  author = {Fangbo Tu and Junhua Zhao and Chi Liu and Xin Chen and Haifeng Wu and Jian Wan and Srinivasan Manoharan},
  year   = {2026},
  eprint = {2606.05682},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.05682v2}
}

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/2606.05682.svg)](https://codeofpaper.com/paper/2606.05682)

Discussion