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

Yan Lin, Zhongliang Guo, Jingyu Sun, Qiyan Zhao, Ruihong Zeng, Ying Chen, Zhengtao Yao, Yan Wen, Kunyu Peng, Yuxia WangarXiv 2026

TL;DR

Teaching a language model two separate skills with near-perfect standalone accuracy does not mean it can execute them together in a single pass. Even when skills are hardened against positional quirks or explicitly trained to play nice with partners, swapping in a newly trained version of the exact same skill—or trying to patch a broken combination—frequently shatters performance. If we want self-evolving AI agents with modular "skill libraries," we have to start testing for compatibility, retention, and transfer, not just standalone competence.

What Problem Does This Paper Address?

Imagine building a software library where Function A works, Function B works, and B(A(x)) crashes the system. In modern AI, researchers want self-evolving agents to build reusable "skill libraries." One clean way to do this without altering the core language model is by freezing the model and learning tiny parameter blocks—like soft prompts (20-row blocks of continuous input vectors prepended to your text).

The dream is plug-and-play modularity: learn [SHIFT_LEFT] today, [SWAP_PAIRS] tomorrow, and snap them together ([SHIFT_LEFT][SWAP_PAIRS] x) whenever an agent needs both in a single forward pass. The catch? Both blocks still route their signals through the exact same frozen neural network. The authors ask a foundational question: Does mastering a task alone actually establish a clean, composable interface?

Figure 1: Task proficiency does not specify a compositional interface. (a) Skills that work alone and over two calls fail in one call. (b) Layout alone can suppress A, and on two Qwen bases layout-augmented skills keep A after a norm-matched block but not after trained B. (c) A skill retrained next to frozen B fails with B′, a proficient block of the same operation (post hoc, medians on 0.5B and 1.5B). (d) Both edits raise one-call accuracy, but only the anchored edit, with twice the examples, keeps the edited skill.

Methods

To isolate model-level behavior from high-level agent planning errors, the authors supply exact skill identities and execution orders on frozen Qwen2.5 (0.5B, 1.5B, 7B) and Gemma-3-1B models. Beyond standard single-call vs. two-call comparisons (where Call 1 outputs an intermediate string fed into Call 2), they introduce a sharp diagnostic toolkit:

  • Layout augmentation & norm-matched controls: Retraining skills with random noise/text gaps so they tolerate shifting positions, then testing whether a trained partner [B] hurts [A] more than a random vector block [R] of identical length and vector norms.
  • Implementation-swap tests: Training [A] alongside a frozen partner [B], then swapping [B] out for [B']—an independently trained, equally accurate block performing the exact same operation.
  • Anchored vs. plain repair: Fixing broken pairs by fine-tuning one skill on composed examples alone (plain edit) versus mixing in rehearsal examples of the skill's original standalone task (anchored edit), alongside connector tokens and causal activation patching.

Datasets

Rather than messy real-world benchmarks where intermediate steps are hard to verify, the study uses two controlled, programmatically generated synthetic suites:

  1. Digit transformations: Length-8 digit strings transformed by six operations (left/right shifts, adjacent swaps, modulo 3, mirroring, inverted polarity), following the Skill Neologisms setup across 27 non-degenerate directed pairs.
  2. Record editing: Synthetic structured records (built from fixed lists of names, cities, and integer totals) modified by six name- or total-editing skills across 30 directed pairs, paired with text-document equivalents containing written procedures and worked examples.

Key Insights and Ideas

  • Proficiency is not an interface: Two skills that ace their tasks alone—and work fine when chained across two separate model calls—catastrophically interfere when concatenated into one call.
  • It’s not just spacing or vector size: Even when you train skills to survive positional shifts and random intervening blocks, placing a trained skill next to them still wipes out the earlier skill's effect on two Qwen models—proving interference goes deeper than token spacing or embedding norms.
Figure 2: Insertion robustness does not certify compatibility on two digit bases. Pairs where a norm-matched block keeps A but trained B removes it in most seeds, 7B seeds 2 and 3 (Appendix C.3).
  • Same function $\neq$ interchangeable module: Compatibility is weirdly personal. A skill trained to cooperate with [B] learns to rely on [B]'s specific quirkiness, failing when paired with [B'], another high-scoring implementation of the exact same operation.
  • Fixing a pair can lobotomize the skill: Patching a skill to make A -> B work often erases its ability to work alone unless you actively rehearse its original task—and even then, the fix rarely transfers to unseen partners.
  • No single "smoking gun" circuit: Extensive activation patching and attention knockouts fail to find one neat, universal internal bottleneck causing these failures.

Key Results

  • One-call collapse: Mean one-call composition accuracy is at most 7.6% across all digit (0.9%–6.4%) and record-editing (1.1%–7.6%) bases, versus 88.2%–100% over two calls (which take 1.61x–2.06x longer).
  • Failed swaps: Retraining skills alongside frozen partners pushes Qwen2.5 (0.5B / 1.5B) median accuracy to 98.0% / 95.3%. Swapping those partners for independently trained blocks of the same operations (each $\ge 90\%$ accurate alone) drops accuracy to 12.7% / 0.5%.
  • Text documents only partly help: Replacing soft prompts with explicit text instructions and examples on Qwen2.5-7B closes the gap on 16 of 18 different-field record edits, but still interferes on all 6 order-dependent same-field total edits.
  • Retention vs. transfer: With 8 repair labels, plain edits crash standalone skill accuracy to 0.9%–23.0%, whereas anchored edits (using $2N$ total examples) preserve it at 88.9%–99.0%. Yet on Qwen2.5-0.5B with 256 labels, anchored repairs hit 90.4% on trained pairs but just 10.4% on held-out predecessors.

Limitations and Future Work

The study intentionally trades realism for laboratory control: it only examines soft-prompt blocks on synthetic tasks across a handful of open models, bypassing agent skill selection, chains longer than two steps, chain-of-thought reasoning, and code/LoRA libraries. Furthermore, internal causal interventions narrow down hypotheses without pinpointing the exact failure mechanism, and rehearsal comparisons double the supervision budget rather than matching total examples. Looking ahead, the authors suggest treating AI skill libraries like production software: gating new or updated skills with regression tests across standalone tasks, existing combinations, and unseen partners—routing unverified pairs to separate model calls.

Summary updated

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. 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.
BibTeX
@misc{lin2026when,
  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},
  title = {{When Skills Fail to Compose: Compatibility and Retention in Language Models}},
  year = {2026},
  eprint = {2611.34398},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34398},
}
Figure