Abstract
We present the Junk DNA Hypothesis, adopting a novel task-centric angle for the pre-trained weights of large language models (LLMs). It has been widely believed that weights in LLMs contain significant redundancy, suggesting that a considerable portion of parameters can be removed via pruning without compromising performance. Contrary to this belief, we argue that small-magnitude weights encode vital knowledge essential for tackling difficult downstream tasks. This is manifested as a monotonic relationship between the performance drop of downstream tasks across the difficulty spectrum as more pre-trained weights are pruned. Moreover, we reveal that removing these seemingly inconsequential weights results in an irreparable loss of knowledge, even when downstream continual training is allowed. Interestingly, quantization fails to exhibit a similar monotonic effect. Our extensive experiments substantiate the Junk DNA Hypothesis across a diverse range of model sizes, tasks, and pruning methods.
Introduction
As LLMs scale to billions of parameters, model compression—specifically pruning and quantization—has become essential for deployment. The industry standard has long treated small-magnitude weights as superfluous artifacts of over-parameterization. This paper challenges that "common sense" by shifting the focus from general model performance to a task-centric viewpoint.
We propose the "Junk DNA" analogy: much like non-coding DNA was once dismissed as "junk" before being recognized as critical for regulation, small weights in LLMs encode the "long-tail" knowledge required for edge cases and complex reasoning. We investigate whether pruning these weights inadvertently "lobotomizes" the model’s ability to handle nuanced, difficult problems while only maintaining its proficiency in simple ones.
Methodology
To test the hypothesis, we employed several pruning techniques, including One-shot Magnitude pruning, SparseGPT, and Wanda, across both unstructured and structured (N:M) sparsity patterns. These were compared against GPTQ quantization and Low-Rank Compression (SVD).
Central to our study is the quantification of "task difficulty":
- Within-Task Difficulty: Manipulated by varying training data volume, the number of options in multiple-choice questions (MCQ), context length in Retrieval-Augmented Generation (RAG), or few-shot example counts.
- Across-Task Difficulty: Defined by the Normalized Human-LLM Performance Gap, measuring the delta between human performance and dense LLM performance.
To assess recovery, we utilized Sparse to Dense Transfer, allowing pruned weights to "regrow" during downstream fine-tuning to see if pre-trained knowledge could be restored.
The Monotonic Impairment Effect
Our primary finding is the strikingly smooth, linear relationship between task difficulty and performance degradation. As the pruning ratio increases, models fail on "Hard" tasks first, then "Medium," and finally "Easy" tasks. This monotonic impairment suggests that small weights are not noise but are specifically responsible for high-complexity reasoning.
While models can often tolerate 10-15% pruning on simple tasks with negligible loss, even a modest 10% reduction in low-magnitude weights leads to a significant accuracy drop in intricate tasks. We observed a Spearman’s rank correlation of nearly 1.0 between pruning ratio and performance degradation across difficulty levels.
Context Sensitivity and Irreversibility
The hypothesis holds true across diverse difficulty dimensions, including context length. In RAG tasks, models with higher sparsity show a much sharper performance decline as context length increases, indicating that the weights required to process long-range dependencies are among the first to be lost during pruning.
Furthermore, this damage appears permanent. In our "Sparse to Dense Transfer" experiments, models often failed to regain original performance on difficult tasks even after fine-tuning. This suggests the specific pre-trained values of small weights are critical and cannot be easily re-learned from a zero-initialized state.
Discussion: Pruning vs. Quantization
Interestingly, quantization (reducing bit-depth) does not exhibit this same monotonic impairment. This suggests that pruning is a unique "probe" that physically removes the specific sub-networks responsible for difficult tasks, whereas quantization preserves the overall network structure more holistically. Additionally, we found that "freezing" small weights (keeping them at small, stable values without updates) yielded better results than pruning them entirely, further proving that these weights provide a necessary foundation for complex reasoning.
Conclusion
The Junk DNA Hypothesis reframes our understanding of LLM parameter redundancy. Rather than being mere noise, small-magnitude weights are the bedrock of model intelligence for complex tasks. Future work should explore task-complexity-dependent dynamic inference, allowing models to "slim down" for simple queries while expanding to their full weight distribution for complex reasoning, thereby preserving intelligence while optimizing for speed.
Summary updated