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?
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:
- 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.
- 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.
- 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 -> Bwork 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