Manuscript Offprint
arXiv:2610.03326Preserving Mathematical Reasoning in Compressed Diffusion Language Models via Trajectory-Aware Low-Rank Approximation
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Diffusion language model (dLLM) compression faces a known challenge because calibration is typically performed on clean, fully visible activations, whereas inference traverses partially masked intermediate states. For low-rank compression, this raises two questions. First, can low-rank optimality still be characterized when approximation quality is measured over trajectory-distributed states, and second, does the choice of calibration states affect mathematical reasoning preservation under compression? We address these questions by formulating a trajectory-aware low-rank objective over corruption levels and masking realizations. To estimate this objective efficiently, we propose Traj-MC, which estimates the trajectory second moment through Monte Carlo sampling and yields exact sampled-state optimality and population consistency. Under matched compression budgets, trajectory-aware calibration improves reconstruction over the generation trajectory and preserves substantially more mathematical reasoning than clean calibration on mathematical reasoning benchmarks. Our results connect trajectory-aware low-rank optimality to the reasoning capability retained after dLLM compression. Our code is available at: https://github.com/Zishan-Shao/traj-mc.git.
1 Introduction
Low-rank compression (1; 2; 3) offers a promising path toward more efficient diffusion language models (dLLMs) (4; 5), but dLLM compression faces a known calibration challenge. Activation-aware low-rank methods (2; 3) typically estimate which directions to preserve from clean, fully visible sequences, whereas inference traverses partially observed states during iterative denoising (6; 7; 8). For low-rank compression, this raises two questions: whether low-rank optimality can still be characterized over trajectory states, and whether the choice of calibration states affects mathematical reasoning preservation.
We study these questions from a distributional perspective. Activation-aware low-rank approximation is defined relative to the states over which reconstruction error is measured, so changing the calibration distribution can change the optimal low-rank solution (3). We therefore formulate a trajectory-aware objective over corruption levels and masking realizations, shifting the question from how SVD is computed to which state distribution should define the geometry of the approximation. Traj-MC estimates this objective from corrupted calibration windows through Monte Carlo sampling. As shown in Fig. 1(a), trajectory-aware calibration better matches the second moment of generation states than clean calibration.
*Correspondence to: zishan.shao@duke.edu.
40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: The 6th Workshop on Mathematical Reasoning and AI.
(a) Calibration mismatch

(b) Local reconstruction

(c) Reasoning retention
Figure 1: Impact of trajectory-aware calibration. (a) Traj-MC reduces second-moment mismatch to generation states (details in Appendix. B), (b) lowers held-out reconstruction error , and (c) preserves substantially higher mathematical reasoning performance at 20% compression with similar understanding accuracy.
This improved alignment carries over to both local fidelity and downstream behavior. Figure 1(b) shows lower reconstruction error on held-out generation states, while Fig. 1(c) shows gains on the displayed mathematical reasoning benchmarks at 20% parameter reduction, with MMLU remaining nearly unchanged. Together, these results connect the state distribution defining low-rank optimality to the reasoning capability retained after compression.
To our knowledge, this is the first study of low-rank compression for dLLMs. Our contributions are threefold: (1) we formulate a trajectory-aware low-rank objective and establish the corresponding fixed-rank optimal solution over trajectory-distributed states; (2) we develop Traj-MC, a Monte Carlo approximation to this population objective with consistency guarantees; and (3) we quantify the behavioral consequences of trajectory-aware approximation, showing improved mathematical reasoning preservation under matched compression budgets.
Compression under iterative generation. Timestep-dependent calibration mismatch is well recognized in diffusion-model compression. Diffusion quantization methods use timestep-aware calibration (7; 9), while DLLMQuant and Quant-dLLM explicitly model masked denoising states for dLLM quantization (8; 6). We instead study what this known mismatch implies for low-rank optimality, deriving a trajectory-aware objective and fixed-rank solution, approximating it with Traj-MC, and evaluating its consequences for mathematical reasoning preservation.
3 Methodology
We instantiate Traj-MC with the whitening-based SVD solver of SVD-LLM (3); the resulting method is denoted +Traj-MC in the tables.
3.1 Trajectory-aware low-rank optimality
Consider a linear layer in a fixed reference model. For a length-L calibration window , corruption level , and mask , let denote the input activations. These corrupted windows provide a tractable surrogate for partially observed denoising states. We seek a single rank-k operator under the integrated reconstruction objective
(1)
The uncentered second moment defines reconstruction geometry across examples, corruption levels, and masking realizations. For sampled windows , let and define
Proposition 1 (Exact sampled-state optimality). If , with Cholesky factorization , then
where denotes a best rank- SVD truncation. The identity reduces the problem to rank- approximation of . This guarantee is conditional on the collected states and requires no independence assumptions.
3.2 Traj-MC: Monte Carlo approximation
Traj-MC samples and, conditional on , masks each token independently with probability , avoiding full dense-model rollouts. It accumulates and applies Eq. (3), leaving the compressed layers and rank allocation unchanged. For analysis, we assume i.i.d. window tuples from ; tokens within a window need not be independent. Under , the estimator is unbiased and .
Proposition 2 (Population consistency). Assume and , with its Cholesky factor. If , then by the strong law of large numbers,
(4)
Here globally minimizes over operators of rank at most . Proofs and the variance derivation appear in Appendix A.
4 Experiments
4.1 Experimental Setup
We evaluate LLaDA-8B-Instruct (4), and Dream-7B-Instruct (5) at 20% and 40% parameter reduction. Within each model, SVD-LLM and Traj-MC use matched compression settings and the same C4 calibration windows, differing only in whether the activations are collected from clean or trajectory-masked states. Vanilla Weight SVD serves as a no-activation reference. Each model follows its official evaluation protocol.
4.2 Main Results
Trajectory-aware calibration better preserves reasoning. Table 1 shows that changing only the calibration state distribution substantially alters post-compression behavior. Across mathematical and reasoning benchmarks (GSM8K, MATH-500, SVAMP, ARC-C), Traj-MC consistently outperforms clean-state calibration on both dLLMs, with the advantage persisting under more aggressive compression ratios. This positive trend generalizes across both instruct and base model variants, whereas performance on knowledge and commonsense benchmarks exhibits relatively minor or mixed changes. These findings indicate that calibration state alignment is particularly critical for preserving complex reasoning capabilities under low-rank compression.
Table 1: Effect of calibration distribution on low-rank dLLM compression under matched settings, where bold marks Traj-MC improvements over SVD-LLM (higher is better).
| Model | Setting | Method | Math & Reasoning | General Understanding | |||||
|---|---|---|---|---|---|---|---|---|---|
| GSM8K | MATH-500 | SVAMP | ARC-C | MMLU | HellaSwag | PIQA | |||
| LLaDA-8B Instruct | Dense | BF16 | 80.2 | 30.2 | 85.7 | 87.9 | 64.3 | 76.6 | 82.8 |
| 20% | SVD | 12.3 | 4.8 | 28.8 | 42.3 | 39.7 | 38.2 | 55.9 | |
| SVD-LLM | 42.2 | 9.0 | 52.6 | 77.8 | 57.2 | 65.6 | 78.7 | ||
| +Traj-MC | 56.7 | 11.0 | 68.0 | 79.9 | 57.3 | 65.4 | 77.7 | ||
| 40% | SVD | 0.0 | 0.2 | 0.0 | 16.7 | 0.0 | 0.1 | 0.4 | |
| SVD-LLM | 4.2 | 2.0 | 13.9 | 54.2 | 45.8 | 55.4 | 72.5 | ||
| +Traj-MC | 11.2 | 2.4 | 18.7 | 65.3 | 48.5 | 52.6 | 68.7 | ||
| Dream-7B Instruct | Dense | BF16 | 83.0 | 40.6 | 83.7 | 71.1 | 72.3 | 52.9 | 69.5 |
| 20% | SVD | 0.8 | 1.0 | 1.2 | 0.0 | 0.3 | 26.4 | 52.7 | |
| SVD-LLM | 7.6 | 5.0 | 8.0 | 28.1 | 42.4 | 41.6 | 61.0 | ||
| +Traj-MC | 30.7 | 8.4 | 37.0 | 33.8 | 38.4 | 44.9 | 63.7 | ||


Figure 2: Empirical validation of Traj-MC. (a) Uniform sampling achieves lower generation-state error than any fixed- baseline. (b) Estimation error follows the theoretical convergence rate. (c) Covariance error directly tracks the resulting low-rank subspace deviation .
Local trajectory fidelity transfers to actual generation states. The downstream gains coincide with improved reconstruction error () on states encountered during real denoising. Using only corrupted calibration windows, Traj-MC consistently lowers generation-state error compared to clean-state calibration. This empirically bridges the distributional objective in Sec. 3.1 to the actual deployment states of the compressed model.
Why trajectory mixing? Figure 2 isolates the two ingredients behind Traj-MC. First, the advantage does not rely on selecting or tuning a specific corruption level. Increasing a fixed mask probability progressively improves generation-state reconstruction, yet uniform sampling across corruption levels remains better than every fixed- alternative (Fig. 2a). This supports optimizing over a distribution of intermediate states rather than calibrating to one representative timestep.
Second, the Monte Carlo approximation behaves as predicted by the analysis. The estimated second moment approaches its reference value approximately at the expected rate (Fig. 2b), and improvements in covariance estimation are accompanied by smaller deviations of the resulting low-rank solution (Fig. 2c). Together, these results indicate that Traj-MC's gains reflect both the trajectory-level target itself and a stable Monte Carlo approximation to that target.
5 Conclusion
We formulate low-rank dLLM compression over trajectory-distributed states and derive the corresponding exact fixed-rank optimum. Traj-MC turns this population objective into a practical Monte Carlo approximation without requiring dense generation rollouts. Under matched compression set-tings, trajectory-aware calibration improves reconstruction on held-out generation states and preserves substantially more mathematical reasoning than clean-state calibration, while changes on knowledge and commonsense tasks are comparatively smaller or mixed. These results show that low-rank compression quality in dLLMs depends not only on the decomposition rule, but also on the state distribution used to define its reconstruction geometry. More broadly, they identify calibration-state design as a first-class component of low-rank dLLM compression.
References
[1] Chi-Heng Lin, Shangqian Gao, James Smith, Abhishek Patel, Shikhar Tuli, Yilin Shen, Hongxia Jin, and Yen-Chang Hsu. Modegpt: Modular decomposition for large language model compression. In International Conference on Learning Representations, volume 2025, pages 101355–101390, 2025.
[2] Zhihang Yuan, Yuzhang Shang, Yue Song, Dawei Yang, Qiang Wu, Yan Yan, and Guangyu Sun. Asvd: Activation-aware singular value decomposition for compressing large language models. arXiv preprint arXiv:2312.05821, 2023.
[3] Xin Wang, Yu Zheng, Zhongwei Wan, and Mi Zhang. Svd-llm: Truncation-aware singular value decomposition for large language model compression. In International Conference on Learning Representations, volume 2025, pages 19299–19319, 2025.
[4] Shen Nie, Fengqi Zhu, Zebin You, Xiaolu Zhang, Jingyang Ou, Jun Hu, JUN ZHOU, Yankai Lin, Ji-Rong Wen, and Chongxuan Li. Large language diffusion models. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=KnqiC0znVF.
[5] Yinjie Wang, Ling Yang, Bowen Li, Ye Tian, Ke Shen, and Mengdi Wang. Revolutionizing reinforcement learning framework for diffusion large language models. In International Conference on Learning Representations, volume 2026, pages 101476–101501, 2026.
[6] Tianao Zhang, Zhiteng Li, Xianglong Yan, Haotong Qin, Yong Guo, and Yulun Zhang. Quant-dllm: Post-training extreme low-bit quantization for diffusion large language models. In International Conference on Learning Representations, volume 2026, pages 79492–79503, 2026.
[7] Xiuyu Li, Yijiang Liu, Long Lian, Huanrui Yang, Zhen Dong, Daniel Kang, Shanghang Zhang, and Kurt Keutzer. Q-diffusion: Quantizing diffusion models. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pages 17489–17499. IEEE, 2023.
[8] Chen Xu and Dawei Yang. Dllmquant: Quantizing diffusion-based large language models. arXiv preprint arXiv:2508.14090, 2025.
[9] Changyuan Wang, Ziwei Wang, Xiuwei Xu, Yansong Tang, Jie Zhou, and Jiwen Lu. Towards accurate post-training quantization for diffusion models. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 16026–16035. IEEE, 2024.
[10] Zhen Yang, Sizai Hou, Kaiwen Zheng, Yaofang Liu, Liang He, Yixuan Chen, and Kangning Cui. Target-aware calibration data selection for preserving uncertainty in quantized language models. arXiv preprint arXiv:2608.21019, 2026.
[11] Jingbo Wen, Liang He, Mingyu Cao, Haoyu Wang, Minxuan Hu, Kangning Cui, and Xilu Wang. Not all visual tokens are equally safe to remove: Consequence-sensitive visual token compression. arXiv preprint arXiv:2608.09176, 2026.
[12] Ting Jiang, Yixiao Wang, Hancheng Ye, Zishan Shao, Jingwei Sun, Jingyang Zhang, Zekai Chen, Jianyi Zhang, Yiran Chen, and Hai Li. Sada: Stability-guided adaptive diffusion acceleration. arXiv preprint arXiv:2507.17135, 2025.
[13] Yixiao Wang, Ting Jiang, Zishan Shao, Hancheng Ye, Jingwei Sun, Mingyuan Ma, Jianyi Zhang, Yiran Chen, and Hai Li. Zeus: Accelerating diffusion models with only second-order predictor. arXiv preprint arXiv:2604.01552, 2026.
[14] Ming-Run Jiang, Yue-Jia Liu, Zi-Shan Shao, Ting Jiang, Qin-Si Wang, Han-Cheng Ye, Yi-Xiao Wang, Rui-Feng Wang, Kang-Ning Cui, Yi-Xuan Chen, Fan Yang, Xiang Cheng, Hai Li, and Yi-Ran Chen. Joint branch-space transform coding for diffusion activation quantization with classifier-free guidance, 2026. URL https://api.semanticscholar.org/CorpusID:292521855.
[15] Zishan Shao, Yixiao Wang, Qinsi Wang, Ting Jiang, Zhixu Du, Hancheng Ye, Danyang Zhuo, Yiran Chen, et al. Flashsvd: Memory-efficient inference with streaming for low-rank models. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, pages 25278–25285, 2026.
[16] Wenhao Wu, Zishan Shao, Kangning Cui, Jinhee Kim, Yixiao Wang, Hancheng Ye, Danyang Zhuo, and Yiran Chen. Flashsvd v1. 5: Making low-rank transformers inference actually fast. arXiv preprint arXiv:2605.08314, 2026.
A Theoretical Details
A.1 Exact optimality for sampled trajectory states
Proof of Proposition 1. Define the normalized, whitened activations . Since , we have . Therefore, for every candidate ,
(5)
Because is invertible, the change of variables preserves rank. The Eckart–Young theorem applied to gives Eq. (3) and the minimum reconstruction error
This argument is deterministic conditional on the collected states; it does not require independence across windows or tokens.
A.2 Monte Carlo variance decay
Let for i.i.d. window tuples and assume
A sufficient condition is . Since , linearity of expectation gives . Moreover,
(7)
Independence across windows and zero mean eliminate every cross term with . Thus the mean-squared Frobenius estimation error decays as , and its root mean square as . No independence among tokens within a window is needed.
A.3 Consistency of the trajectory-optimal solution
Proof of Proposition 2. The bound ensures that every entry of is integrable. Applying the strong law entrywise, and using finite dimensionality, gives in matrix norm. Positive definiteness of the limit implies that is eventually positive definite almost surely. Continuity of Cholesky factorization and inversion yields and . The strict spectral gap makes the best rank-k truncation continuous at , so
Finally,
The same rank-preserving change of variables as in Proposition 1 establishes global population optimality.
A.4 Why Uniform Corruption Mixing?
We choose uniform corruption mixing to balance calibration across corruption severities, measured by the number of masked tokens. For a calibration window with maskable tokens, Traj-MC samples once per window and, conditional on , masks each token independently with probability . Let denote the resulting number of masked tokens. Since ,
Thus every mask count receives the same marginal probability. Conditional on , all subsets of token positions are equally likely. For comparison, a fixed masking probability gives , so the mask fraction concentrates around as the window length increases.
This property directly characterizes the weighting in our reconstruction objective. By the law of total expectation,
Uniform mixing therefore assigns equal weight to the mask-count-conditioned reconstruction risks, rather than concentrating the population objective around one masking severity.
B Experimental Details
Calibration protocol. All activation-aware methods use the same 256 C4 calibration windows, compressed layers, and rank allocation; only the states used to collect activations differ. Clean calibration uses fully visible windows, while Traj-MC samples and independently masks each token with probability . Fixed-t controls use the identical calibration windows and differ only in the corruption level.
Generation-state reconstruction. We measure on 256 held-out GSM8K prompts, using one intermediate generation state per prompt and tiling sampler steps 0–255 across prompts. Reconstruction error is evaluated on the generation region. Confidence intervals, when reported, are obtained from 2,000 paired bootstrap resamples over prompts.
Diagnostic metrics. We use uncentered activation second moments, , where is the number of recorded activation vectors. For Fig. 1(a), we compare the full input second moments of the block-16 query projection under clean calibration, Traj-MC calibration, and held-out generation states. Define . We obtain an orthonormal matrix basis by applying Gram–Schmidt to under the Frobenius inner product, and plot . This places generation at the origin and exactly preserves all three pairwise normalized Frobenius distances. The numerical annotations report , with smaller values indicating closer second-moment agreement; the arcs indicate equal mismatch.
For Fig. 2(b), the moment-estimation error is
where N counts calibration windows and I contains the three probe layers of Table 6; the reference is independently sampled using seed 31337. Panel (c) uses a separate FullGrid16 reference, averaging 16 midpoint masking levels and two mask realizations over 256 fixed C4 windows. Its moment error uses the same definition, averaged over query projections at blocks 16 and 31. For each module, the subspace distance is
where is the orthogonal projector onto the retained row space of the low-rank approximation W, with . Panel (c) averages these distances over the same two modules; markers and error bars summarize the mean and one standard deviation across five mask seeds.
C Limitations and Discussion
Limitations. Traj-MC uses a simple uniform distribution over corruption levels and independent token masking, prioritizing broad trajectory coverage without introducing sampler-specific tuning. More adaptive calibration distributions may further improve sample efficiency or alignment for particular dLLMs (10). Our experiments focus on activation-aware low-rank compression instantiated with SVD-LLM; extending the same trajectory-aware principle to additional low-rank solvers and model families is a natural direction for future work. Finally, our analysis isolates the layerwise low-rank reconstruction problem, while its downstream consequences are evaluated empirically through generation-state fidelity and reasoning benchmarks.
Discussion and broader impact. Beyond dLLM compression, trajectory-aware calibration highlights a general design paradigm: post-training optimization for iterative generative models should align with intermediate-state dynamics rather than static, clean inputs (11). This principle complements recent efforts to improve diffusion-model efficiency by exploiting generation dynamics, such as SADA and ZEUS (12; 13), as well as advances in low-rank model deployment, including standardized evaluation of SVD-based compression (14) and efficient low-rank inference systems (15; 16). Together, these directions suggest that efficient deployment should jointly consider the generation process, the compression objective, and the execution substrate. By preserving more reasoning capability under a fixed compression budget, trajectory-aware calibration may provide a complementary component for efficient diffusion-based language model deployment.