arXiv cs.AI· Krish Sharma, Omar Naim, Soumadeep Saha, Vinija Jain, Aman Chadha, Nicholas Asher·· 3 小时前AI 评分40
TAPIOCA:为什么任务感知剪枝能提升模型 OOD 能力
TAPIOCA: Why Task- Aware Pruning Improves OOD model Capability
AI 导读
TAPIOCA 研究任务感知层剪枝为何能提升模型在分布外(OOD)数据上的表现。团队先用从零训练的小型 transformer 在受控多项式回归任务上实验,再在大语言模型(LLM)上验证,发现剪枝不提升分布内(ID)精度,但稳定改善多种分布偏移下的 OOD 表现。
正文 · 原文
Abstract:Recent work [Peer et al., 2022, Naim et al., 2026b] has shown that task-aware layer pruning can improve model performance on particular tasks. We investigate when and why such improvements occur, using small transformers trained from scratch as testbeds on controlled polynomial regression tasks, then confirming our findings on large language models (LLMs). In both cases, such pruning yields no increase in accuracy on in-distribution (ID) data but consistently improves out- of-distribution (OOD) performance and generalizes such gains across multiple distribution shifts. We offer a geometric explanation of this phenomenon. Each task with an ID distribution induces a task-adapted geometry. OOD inputs induce layerwise norm, pairwise-distance and variance structure profiles that can devi- ate from the corresponding ID profiles. Task-aware pruning identifies layers that amplify this distortion; removing these layers shifts OOD profiles toward those of the adapted distribution. We provide causal evidence that this geometric re- alignment improves OOD performance through controlled distribution shifts and residual-scaling interventions. This behavior is consistent across model scales.
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2605.14738 [cs.LG] |
| (or arXiv:2605.14738v4 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2605.14738 arXiv-issued DOI via DataCite |
Submission history
From: Krish Sharma [view email]
[v1]
Thu, 14 May 2026 12:01:05 UTC (7,334 KB)
[v2]
Wed, 20 May 2026 20:38:06 UTC (7,333 KB)
[v3]
Wed, 10 Jun 2026 08:53:16 UTC (7,333 KB)
[v4]
Thu, 26 Nov 2026 11:39:52 UTC (1,804 KB)
来源:arXiv cs.AI · arxiv.org