When Skills Fail to Compose: Compatibility and Retention in Language Models

Yan Lin, Zhongliang Guo, Jingyu Sun, Qiyan Zhao, Ruihong Zeng +5 more
11/25/2026
cs.CLcs.AI

Official code: YanLin-Quinne/SkillCompatibility (0 stars, Python, Apache-2.0, last commit 2026-10-13).

Abstract

Skill acquisition alone does not establish a reusable skill library: task proficiency does not specify a compositional interface. Motivated by agents that acquire and refine skills, we study independently learned soft-prompt skills on frozen language models, with skill identities and execution order supplied.

Show full abstract

Across four digit-task bases and three record-editing models, mean composition accuracy in one call is at most 7.6%, compared with 88.2% to 100% over two calls that add computation and an explicit intermediate output. Neutral-insertion training improves robustness but leaves substantial interference, which block length and per-token norm alone cannot explain on two of four digit bases. Blocks of the same operation need not be interchangeable: after training next to frozen learned partners, a post hoc test on two Qwen bases shows that replacing those partners with independently learned blocks of the same operations lowers median composition accuracy from 98.0% and 95.3% to 12.7% and 0.5%, although every replacement scores at least 90% alone. Repair can improve a composition while impairing the original skill, and rehearsal improves retention while transfer remains limited on Qwen2.5-0.5B. Internal interventions constrain explanations without identifying a shared failure mechanism. These findings motivate evaluating compatibility, retention and transfer alongside acquisition when building skill libraries for self-evolving agents. Code is available at https://github.com/YanLin-Quinne/SkillCompatibility.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
00Python, ShellOct 7, 20261 months agoApache-2.0

Similar Papers

Cite this paper

@article{lin2026when,
  title  = {When Skills Fail to Compose: Compatibility and Retention in Language Models},
  author = {Yan Lin and Zhongliang Guo and Jingyu Sun and Qiyan Zhao and Ruihong Zeng and Ying Chen and Zhengtao Yao and Yan Wen and Kunyu Peng and Yuxia Wang},
  year   = {2026},
  eprint = {2611.34398},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.34398v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.34398.svg)](https://codeofpaper.com/paper/2611.34398)

Discussion