pruning
Pruned or Rewritten? Tracing Declarations Across Three Versions of a 17-Million-Line Lean Proof of the Riemann Hypothesis, Based on Eduinformatics
Takamatsu, Kunihiko, Murakami, Katsuhiko, Matsumoto, Sayaka, Akiyama, Tomohiro, Matsumoto, Shimpei, Kunida, Katsuyuki, Takahashi, Satoshi, Matsuo, Tokuro, Hirokawa, Sachio, Tsuruta, Kazuya, Kozaki, Ryosuke, Nishida, Shuto, Takamatsu, Koma, Gaol, Ford Lumban, Mori, Masao
A Lean 4 proof of the Riemann Hypothesis was released on 20 November 2026 with 175,187 files and 17.4 million lines. Within a week it existed in three versions: the original release, a branch consolidated by volunteers (47,885 modules, 14.6 million lines), and a condensed rewriting that became the community's main line (802 files, 0.48 million lines, 2.8% of the original). We ask whether the reduction came from pruning or from rewriting, and how far pruning alone could have gone. Using compiled indexes and declaration-level dependency graphs, we trace declarations across the versions. Consolidation kept the names: 92% of the consolidated branch's real declarations have a counterpart of the same name in the original. The condensed version shares almost nothing with the consolidated branch: only 47 of its 26,018 real declarations in the dependency graph (0.18%) match one by name and statement, and the nine full names common to all three versions are the fixed statements of the challenge. The declarations dropped were not the unused ones; their use profile is close to that of the whole branch. Removing every declaration of the consolidated branch that is unreachable from the five main theorems would cut its declaration lines by only 2.8% (deleting whole declarations, without changing the others), whereas the condensed version has 2.7% of the reachable lines. At the level of declaration text, the reduction is therefore almost entirely due to rewriting, not to pruning. The condensed version is also organised differently: it separates a library with no counted use of the proof-specific part, whereas the top-level namespaces of the consolidated branch all depend on one another. We discuss what this implies for checking and maintaining very large AI-written formal artifacts.
Laying Off Experts: Domain-Conditioned Pruning of Mixture-of-Experts Models
Raman, Chinmayee, Yang, Haolin, Rawassizadeh, Reza
Whether the experts of sparse Mixture-of-Experts (MoE) language models specialize by domain is debated. We study OLMoE-1B-7B with disjoint biomedical, legal and general-text corpora, using two saliency scores, activation rate and REAP. We test layer-wise routing divergence against a resampled noise floor, prune experts by domain at ratios from 2% to 50%, and ablate routing-defined expert groups against matched controls. Biomedical and legal routing diverge from general text and from each other in every layer. Under uniform allocation, removing 25% of the experts by a domain's own ranking raises in-domain perplexity by only 7% to 15% over the unpruned model, whereas random pruning raises it by about 52%. Accuracy holds up less well. It shows no clear loss up to 12.5% to 16% removal in most cases, but at 25% it is 7 to 13 points below the unpruned model, so a small perplexity increase does not guarantee task accuracy. In both ablation designs, removing a domain's own expert group raises its perplexity 2 to 15 times more than removing matched controls. Physical pruning reduces memory nearly in proportion to the experts removed, without changing per-token compute.
PรฉPITE: Position-Preserving Image Token Exclusion for Efficient GUI Grounding
Manevich, Avshalom, Sinitambirivoutin, Emrick
GUI-grounding models, which map a natural-language instruction and a screenshot to a click position, are core to computer-use agents, and image tokens account for most of their serving cost: prefill compute, KV-cache memory, and image-embedding-cache capacity. We introduce Position-Preserving Image Token Exclusion (PรฉPITE), a training-free method that scores each image token's redundancy by mean pairwise cosine similarity of the vision-encoder embeddings and drops the most redundant fraction $ฯ$. Most token-reduction methods merge tokens or renumber the remaining tokens, which discards the spatial identity that localization depends on; concurrent GUI-specific methods keep positions but select tokens from pixel statistics or with a trained scorer conditioned on the instruction, which prevents caching. PรฉPITE leaves each remaining token at its original 2D position and scores the image alone, so a pruned image is encoded once and reused across requests. We evaluate seven open-source grounding models on ScreenSpot-v2 and ScreenSpot-Pro against random pruning at the same token budget and downscaling. At $ฯ=0.5$, five of the models lose a median of 1.2 points on ScreenSpot-v2 and 3.0 on ScreenSpot-Pro, while the other two degrade severely; we analyze their errors and propose an explanation for each. In a simulated agent workload, serving throughput rises by a mean of 29% without vLLM's embedding cache and 44% with it. The savings in KV-cache and embedding-cache memory matter most on the consumer and edge hardware where 3B-9B grounding models run locally. Mechanistic analyses of the hybrid-attention Qwen3.5 architecture offer a possible explanation for why the score selects well: the model's recurrent update gates already down-weight high-redundancy tokens, and pruning does not reduce the attention mass on the grounding target. We release a vLLM implementation and the experiment code.
Which Signal Should Select a Compressed LLM? An Empirical Study of Pre- and Post-Recovery Selection in Block-Replacement Search
Block-replacement compression of large language models distils cheaper replacements for every layer, searches for the combination that minimises a distillation objective measured before recovery, and then recovers the chosen model by fine-tuning. Within one pool of block-replacement candidates and a fixed recovery budget, we compare several selection signals, measured before and after a short recovery, with the candidates' downstream accuracy after full recovery. On Qwen2.5-1.5B (full fine-tuning and LoRA) and Qwen2.5-3B (LoRA), with nine kinds of searched structure at three latency budgets and task examples held out from every selection, the mean calibration KL that the search optimises is not significantly better than chance at ordering the strong candidates. On the 1.5B model, signals measured closer to the task decisions rank better, and zero-shot accuracy before recovery already orders the candidates; on the 3B model none of the pre-specified pre-recovery signals does. After 100 of the 2,000 recovery steps, zero-shot accuracy on held-out examples has the highest point estimate of ranking accuracy in all three settings, above the divergence and the training loss. An exploratory statistic, the concentration of the pre-recovery divergence on few tokens, also predicts the ranking and awaits independent confirmation. A surrogate corrected for compounding lowers the pre-recovery objective without improving the recovered model.
NoveltyGate: Robots Should Compute What They Haven't Seen
When a robot policy runs its MLPs through low-rank drafts and can afford exact computation for only a fraction of its tokens, which tokens should it choose? The answer is input novelty: how much of a token's MLP input lies outside the subspace seen during calibration. In the $ฯ_{0.5}$ vision-language-action (VLA) prefix, novelty outperforms a verifier that knows every token's exact MLP error. At a 30% exact-token budget the verifier removes 58% of squared MLP error versus 47% for novelty, yet its action deviation is 2.62 seed units versus 2.00; normalizing either score by token magnitude does not change the outcome. Novelty wins because it points where the action reads: its ranking follows the action expert's later attention (rank correlation 0.59) far more closely than exact error does (0.34). Novelty stays essential in world-action models (WAMs), where the action's attention is visible during denoising. In Cosmos Policy, multiplying the previous step's downstream action attention by novelty lowers deviation by 21% on every test observation, reaching 0.33$\times$ the deviation of novelty alone. Because novelty is read off the MLP input, NoveltyGate decides once at each MLP entrance with a fixed quota, so the whole $ฯ_{0.5}$ prefix runs as one CUDA graph. Those MLPs are compute-bound, and a 30% budget cuts a whole control decision from 194 to 160 ms on a laptop GPU. Like the original policy, NoveltyGate completes all ten paired LIBERO episodes, while an unchecked low-rank prefix completes none.
Dynamic Hybrid Sparse Pruning via Fine-grained Sensitivity Allocation for Large Language Models
Li, Dinghao, Liu, Junhao, Zhou, Yao
The parameter scale of large language models (LLMs) makes compression a prerequisite for deployment. Semi-structured pruning is a practical route, but existing methods decide sparsity at a coarse layer or matrix granularity, ignoring strong intra-matrix sensitivity variation and forcing sub-blocks of different importance into the same hardware pattern. This paper proposes a dynamic hybrid sparse pruning method featuring sensitivity-guided hybrid sparsity (SGHS). Semi-structured pruning is formulated as a sensitivity redistribution problem under a global sparsity constraint. A weight-level sparsity budgeting mechanism estimates matrix-level pruning tolerance from curvature statistics and converts the global target into matrix-specific budgets, and a sub-block pattern selection strategy scores sub-blocks from local saliency and mask-coverage evidence to assign heterogeneous N:M patterns within each matrix. Denser patterns are thus preserved where the model is sensitive without changing the compression target. Experiments on multiple LLMs and benchmarks show consistently lower perplexity degradation and higher zero-shot accuracy than competing post-training pruning approaches.
SPARE: State-Aware Recurrent Memory Compression for Efficient Hybrid Language Models
Wan, Ke, Zheng, Zaiyi, Chen, Chen
Modern hybrid language models increasingly incorporate recurrent architectures, including gated linear attention and selective state-space models, to improve inference efficiency. While these architectures summarize historical information in fixed-size states, recurrent memory often exhibits substantial low-rank redundancy, offering opportunities for further compression. To exploit this redundancy, we introduce SPARE (State Projection for Accelerated Recurrent Execution), a training-free framework that compresses recurrent memory into fixed low-dimensional subspaces. SPARE constructs these subspaces through principal component analysis of recurrent-state statistics and supports rank allocation across layers and heads. Crucially, SPARE maintains and updates recurrent states directly in the compact space, enabling efficient recurrent reads and writes without online decomposition or dense-state reconstruction. This design reduces both recurrent-state memory traffic and per-request storage, improving decoding efficiency and supporting higher inference concurrency. Across two hybrid language models, OLMo Hybrid 7B and Granite 4.0 H-Small, SPARE achieves 4-fold recurrent-state compression and up to 2.00x peak full-model decoding throughput, while preserving or improving six-task average retrieval accuracy with its quality-oriented configuration.
Noise as Pruning: Quadratic-Form Minimization for Neural Networks on Noisy Hardware
Partial minimization of a quadratic form (PMQ), which minimizes a quadratic form over a subset of variables while the other variables are fixed, underlies second-order pruning methods such as Optimal Brain Surgeon, where the loss increase caused by removing weights is compensated by adjusting the remaining weights. We extend this use of PMQ to the task of compensating for the performance degradation of neural networks deployed on noisy hardware. We treat \textit{Noise as Pruning} (NaP): noise parameters play the role of pruned weights as constrained variables. In the proposed framework, we express the full solution set as a pseudo-inverse solution plus a null vector of the coefficient block for the adjustable variables, which requires no damping even when the block is singular. We distinguish three noise-compensation problems: weight NaP, where the PMQ is formulated in the weight space with the quadratic form coefficients carrying information of the training; decomposed-weight NaP, where the quadratic form is transformed from the weight space to the space of device parameters and noise parameters; and noise-extended NaP, where the domain of the quadratic form is extended from the space of learning variables to the space augmented by noise parameters. Experiments on an optical neural network and quantum neural networks demonstrate that all three types of NaP improve noise tolerance, as measured by test accuracy. NaP offers a way of repurposing network pruning techniques for noise compensation.
ActPrune: Action-Sensitive Pruning of Gaussian World Models for Robotic Manipulation
Li, Jingxing, Lee, Yongjae, Yadav, Abhay Kumar, Chellappa, Rama, Fan, Deliang
3D Gaussian Splatting is moving from view synthesis into robotics, where online Gaussian world models let manipulation policies act on the predicted motion of objects. Fitting and reading tens of thousands of Gaussians at every step is costly, so these models need pruning, but existing pruning criteria were designed for rendering: they rank a Gaussian by its contribution to the image. A robot is judged by whether its task succeeds, not by how the scene renders. We show that the rendering quality of a pruned world model does not decide the success of the policy that reads it, and we redesign the pruning criterion around the action. ActPrune (action-sensitive pruning) scores each Gaussian by the sensitivity of the predicted action to its position and motion coefficients, the only quantities the policy reads, estimated once per episode with two randomized Jacobian projections. It keeps all robot Gaussians and fills the budget with the highest-scoring others, without retraining. On PhysMani-Bench we prune 97% of the non-robot Gaussians with ActPrune and, at the same budget, with five existing criteria: opacity and four rendering-based ones. ActPrune stays on par with the full model (46.3% against 44.7% mean success rate over the 16 task variants), whereas the other criteria fall to between 42.8% and 37.3%, the latter barely above the 36.6% of a policy that keeps only the robot. The criteria that render the pruned scene best (up to XX.X dB PSNR) keep almost none of the task objects, while ActPrune renders it worst (YY.Y dB). At this budget, the peak GPU memory of world model and policy falls from 3.6 to 2.2 GiB and each decision is 1.13x faster.
Specialist Mediators: Causal Localization of Dense Fine-Tuning
Dense fine-tuning can turn a base language model into a domain specialist, but task accuracy alone does not reveal which internal computations mediate the new behavior. We introduce specialist mediators, the internal components through which a dense specialist's lift over its base causally flows. We identify these mediators by patching specialist activations into the base model on the same input and asking which patches recover the specialist's in-domain score while minimally perturbing off-domain behavior. This separates where the specialist behavior is localized, how much of it can be recovered by activation patching, and whether a sparse trainable update can implement the same behavior, three questions that are often conflated. We formalize this with an exact recovery result, a first-order approximation for joint patching, and a conditional bound showing when patching recovery can transfer to localized training. In synthetic transformers and structural causal models with planted mediators, patching recovers most planted mediators even when activation-magnitude baselines are misled by low-output distractors. In Pythia-410M specialists for math (GSM8K), multitask knowledge (MMLU), and biomedical QA (PubMedQA), single-patch localization ranks first on every domain and seed by area under the recovery curve. Five components recover more than 90% of the dense specialist's lift in answer-sequence likelihood on MMLU and PubMedQA, and a Pythia-1.4B PubMedQA specialist shows the same concentration. A comparison of LoRA adapters at exactly matched parameter counts then separates localization from trainability, showing that a few components can carry the specialist's score while adapter performance depends on more than where the adapter is placed.