Large Language Models (LLMs) are transformative, but their sheer size makes them difficult to deploy on anything short of a data center. Structured pruning—the process of removing entire neurons or channels rather than individual weights—is a popular solution because it results in models that are actually faster on standard hardware. However, deciding which neurons to cut without "breaking" the model remains a significant challenge.
In a new paper under review for ICLR 2026, researchers introduce NeuroSlice, a framework that moves away from treating layer outputs as monolithic blocks. Instead, it decomposes them into individual neuron contributions, allowing for a much more surgical approach to model compression.
TL;DR
NeuroSlice improves LLM structured pruning by decomposing layer outputs into the additive contributions of individual neurons, treating pruning as a greedy "feature selection" problem. This approach enables adaptive, layer-wise sparsity that preserves model reasoning and generation quality significantly better than current state-of-the-art methods.
What Problem Does This Paper Address?
Most existing pruning methods use the output of an entire layer to estimate which parameters are important. The authors argue that this is too "coarse-grained." A layer output is not an atomic unit; it is the result of many internal components (neurons) working together.
When we prune at the layer level, we often miss the subtle correlations between neurons. For example, two neurons might both have high "energy," but if they are doing almost the exact same thing, one is redundant. Conversely, a low-energy neuron might be the only one providing a specific, critical signal. NeuroSlice aims to identify these individual contributions to make better decisions about what to keep.
Methods
The researchers introduce two core innovations:
- NeuCoDe (Neuron Contribution Decomposition): Using matrix identity transformations, the authors show that FFN and Attention layer outputs can be mathematically represented as a simple sum of individual neuron contributions. Crucially, they go finer than the "head" level in attention layers, breaking down query, key, and value matrices into their constituent vector units.
- Forward Selection Strategy: Instead of just ranking neurons by magnitude and cutting the smallest ones, NeuroSlice treats pruning as a subset selection problem. It uses a greedy algorithm: it starts with an empty set and iteratively adds the neuron that is most correlated with the unexplained residual of the original output.
- Efficiency Tricks: To avoid the massive computational cost of greedy selection on billion-parameter models, they use a Gram matrix acceleration technique. This allows them to compute a global ranking of neuron importance in a single pass, which can then be used to generate a model at any sparsity level (e.g., 20%, 50%, 70%) without re-running the algorithm.
Datasets
The authors evaluated NeuroSlice using:
- Calibration: 128 sequences from the WikiText-2 training set.
- Language Generation: Perplexity (PPL) measured on the WikiText-2 validation set.
- Zero-Shot Reasoning: Five standard benchmarks: PIQA, WinoGrande, HellaSwag, ARC-Easy, and ARC-Challenge, using the
lm-eval-harnessframework. - Models: LLaMA-7B, LLaMA-2-7B, and LLaMA-3-8B.
Key Insights and Ideas
- The "U-Shaped" Redundancy of Attention: The authors discovered that in attention modules, the first and last layers are the most critical. The middle layers are highly redundant and can tolerate much heavier pruning. This aligns with the intuition that early layers handle broad lexical context while late layers sharpen task-specific resolution.
- Attention vs. FFN Sensitivity: Up to 50% sparsity, attention layers actually have more removable redundancy than FFN layers. However, once you cross the 50% threshold, attention capacity becomes a sharp bottleneck, and the model's performance collapses if you continue pruning there.
- Correlation Matters: Simple magnitude-based pruning fails because it ignores that neurons are often redundant with one another. By focusing on the "residual" (what the model hasn't learned yet), NeuroSlice ensures that the kept neurons provide diverse, non-overlapping information.
Key Results
NeuroSlice consistently outperformed strong baselines like SliceGPT, FLAP, and Wanda-SP across all tested models:
- Accuracy: At 20% sparsity, NeuroSlice retained over 90% of the dense model's accuracy. At 50% sparsity, it maintained a 1–5 point lead over the strongest baselines.
- Generative Quality: On LLaMA-2-7B at 50% sparsity, NeuroSlice achieved a perplexity of 15.58, whereas competing methods like SlimLLM spiked to 38.64.
- Efficiency: Despite the iterative nature of forward selection, the optimized implementation prunes a LLaMA-2-7B model in about 20 minutes for the neuron selection phase, comparable to much simpler methods.
Limitations and Future Work
- Task-Specific Pruning: The current work uses general calibration data (WikiText-2). The authors suggest that using task-specific data might yield even better results for specialized models (e.g., coding or medical LLMs).
- Interaction with Quantization: The paper focuses purely on structural pruning. It remains to be seen how these "surviving" neurons behave when subjected to 4-bit or 8-bit quantization (e.g., AWQ or QuIP).
- Hardware Benchmarking: While the method is "hardware-friendly" by design (structured pruning), the paper does not provide extensive wall-clock speedup benchmarks on specific mobile or edge devices.
Summary updated