Preserving Mathematical Reasoning in Compressed Diffusion Language Models via Trajectory-Aware Low-Rank Approximation
Organizations: Department of Electrical and Computer Engineering, Duke University
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.
Figures & tables
| Model | Setting | Method | Math & Reasoning | General Understanding | |||||
| GSM8K | MATH-500 | SVAMP | ARC-C | MMLU | HellaSwag | PIQA | |||
| Dense | BF16 | 80.2 | 30.2 | 85.7 | 87.9 | 64.3 | 76.6 | 82.8 | |
| 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 | ||
| 20% | +Traj-MC | 56.7 | 11.0 | 68.0 | 79.9 | 57.3 | 65.4 | 77.7 | |
| SVD | 0.0 | 0.2 | 0.0 | 16.7 | 0.0 | 0.1 | 0.4 | ||