Agents unlock new capabilities through Switching LoRA Adapters as a Tool (SLAaaT)
Organizations: Independent San Francisco, CA, United States of America
Abstract
Post-training can unlock new capabilities and improve performance on specialized tasks, but sometimes at the cost of catastrophic forgetting in other domains. This poses a problem in long agent trajectories that compose different capabilities. We reject this tradeoff by giving an agent a tool to switch between specialized LoRA adapters mid-trace. To test its effectiveness, we compose two synthetic coding tasks that are logically simple but require specialization. We find that this allows the model to solve problems it previously could not, that the model is able to switch autonomously (and find a new strategy that beats our human heuristic baseline on one task), and that this incurs an up to an 18x reduction in capability tax compared to an agent using only one specialized adapter. Our approach also substantially outperforms spawning subagents in both task capabilities (solving 4 of our hardest tasks versus none) and token usage (46.1x fewer tokens in some scenarios).
Figures & tables
| Condition | json–python (control) | fauxjson–python | json–fauxthon | keystone (both) | Total /200 |
| base | 42 | 0 | 22 | 0 | 64 |
| fauxjson (pinned) | 0 | 0 | 0 | 0 | 0 |
| fauxthon (pinned) | 19 | 0 | 11 | 0 | 30 |
| fused | 0 | 0 | 0 | 0 | 0 |
| arrow (token-level) | 41 | 0 | 2 | 0 | 43 |
| subagent | 38 | 2 | 19 | 0 | 59 |
| Subtask | base | fauxjson | fauxthon | fused |
| fauxjson translation /50 | 0 | 23 | 0 | 44 |
| fauxthon program tests /500 | 0 | 0 | 290 | 360 |
| Condition | passed: mean | passed: median | failed: mean | failed: median |
| autoswitch (116 passes) | 1,793 | 834 | 2,138 | 797 |
| subagent (59 passes) | 5,242 | 1,071 | 39,407 | 36,731 |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Base model | Qwen3.6-35B-A3B |
| LoRA rank | 16 |
| Learning rate | , 3% linear warmup, cosine decay to 0 |
| Optimizer | Adam |
| Batch size | 128 conversations |
| Epochs | 1 |
| Fauxjson training rows | 20,000 |
Long-Horizon LLM Agents
Long-horizon large language model agents plan, use tools, and preserve task state across extended, multi-step interactions.
See all 446 papers