When Skills Fail to Compose: Compatibility and Retention in Language Models
Organizations: INSAIT, Sofia University “St. Kliment Ohridski” · Newcastle University · University of Aberdeen · University of Manchester ·
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.
Figures & tables
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| (a) Skill effects by pair class and over skills |
| \box_set_clipped:N 8 0.5B 1.5B 7B One call: earlier / later skill applied different fields 57.1 / 19.0 58.9 / 13.5 70.3 / 9.7 same name field 46.1 / 18.2 45.8 / 0.2 80.6 / 9.3 same total 75.6 / 33.4 78.0 / 19.6 65.9 / 12.1 all thirty pairs 58.6 / 21.7 60.1 / 12.1 71.5 / 10.1 output parses 95.3 99.7 81.9 Mean over skills mean loss, first / second 39.3 / 76.1 38.3 / 86.3 28.5 / 89.9 on the gold intermediate 5/6 99.9 5/6 99.9 5/6 99.9 |
| (a) Pairwise composition |
| \box_set_clipped:N 8 Layout- Pair augmented Original SL IP 36.3 0.7 IP SR 13.3 88.3 MIRROR SR 12.3 0.7 SWAP IP 7.3 6.7 IP SWAP 6.3 6.3 MOD3 SR 6.0 15.7 SR IP 5.7 1.7 IP SL 4.0 10.7 MOD3 SL 3.3 0.7 SR MOD3 2.0 0.0 SWAP MOD3 0.3 0.7 MOD3 IP 0.3 1.7 MOD3 SWAP 0.3 0.3 MIRROR MOD3 0.3 0.0 SR SWAP 0.0 0.0 SR MIRROR 0.0 0.0 IP MIRROR 0.0 0.0 SL SWAP 0.0 0.0 SL MOD3 0.0 0.0 SL MIRROR 0.0 0.0 SWAP SR 0.0 0.0 SWAP SL 0.0 0.0 SWAP MIRROR 0.0 0.0 MOD3 MIRROR 0.0 0.0 MIRROR IP 0.0 97.0 MIRROR SL 0.0 0.0 MIRROR SWAP 0.0 0.0 Median 0.3 0.0 Mean 3.6 8.6 |
Agent Skill Learning
Agent skill learning develops reusable procedures and behaviors that help AI agents solve new tasks and adapt from experience.
See all 196 papers