Looped Language Models Improve Compositional Tool Calling
Organizations: Department of Computer Science and Technology University of Cambridge, United Kingdom
Abstract
Looped language models have shown promising results on reasoning benchmarks, yet their potential for agentic tool use remains largely unexplored. We study this question in compositional tool-calling settings, where models must coordinate multiple API calls, maintain intermediate state, and preserve dependencies across tool interactions. We evaluate native and retrofitted looped language models on API-Bank, BFCL, and NESTful, comparing looped and non-looped models trained under matched supervised fine-tuning recipes and varying recurrent depth at inference time. In controlled experiments, recurrent computation generally benefits compositional and dependency-aware tool use, while providing smaller and more model-dependent gains on isolated API invocation. Accuracy on multi-step tool use generally increases with recurrent depth; adaptive inference, however, achieves a more favorable compute-performance trade-off by allocating additional computation only when needed. Our results suggest that looped language models are a promising architecture for agentic systems that require reliable planning, coordination, and execution of compositional tool use workflows.
Figures & tables
| Model | Training | Simple | Multiple | Parallel | Par.-Mult. | Overall |
|---|---|---|---|---|---|---|
| Ouro-1.4B | Base | 65.3 | 67.0 | 35.0 | 44.5 | 55.4 |
| SFT | 91.8 | 90.0 | 67.5 | 55.5 | 79.3 | |
| Ouro-2.6B | Base | 80.5 | 75.5 | 2.0 | 1.0 | 47.9 |
| SFT | 92.3 | 88.0 | 83.0 | 76.5 | 86.4 | |
| Qwen3-1.7B | Base | 1.5 | 0.0 | 0.0 | 0.0 | 0.6 |
| SFT | 67.0 | 57.0 | 3.0 | 9.5 | 40.7 |
| Model | Training | Function F1 | Parameter F1 | Partial | Full | Win Rate |
|---|---|---|---|---|---|---|
| Ouro-1.4B | Base | 0.905 | 0.539 | 0.149 | 0.091 | 0.110 |
| SFT | 0.899 | 0.566 | 0.219 | 0.131 | 0.191 | |
| Ouro-2.6B | Base | 0.920 | 0.595 | 0.207 | 0.128 | 0.190 |
| SFT | 0.922 | 0.680 | 0.295 | 0.204 | 0.371 | |
| Qwen3-1.7B | Base | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 |
| SFT | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 |
| (a) Controlled models |
| Base SFT Model Call Exact Parse Call Exact Parse Ouro-1.4B 73.0 67.6 95.1 75.1 70.2 97.2 Ouro-2.6B 79.2 76.9 99.2 79.9 77.1 99.7 Qwen3-1.7B 5.1 5.1 13.9 61.4 57.8 93.6 Qwen3-4B 71.2 71.2 99.2 76.6 73.8 99.7 Llama-3.2-1B 1.7 1.3 10.8 16.3 14.1 55.3 Llama-3.2-3B 0.3 0.3 0.3 68.5 64.5 99.7 OLMo-2-1B 1.9 0.5 35.7 37.1 33.2 99.5 OLMo-2-1B (Loop) 0.1 0.0 1.5 34.0 30.3 90.7 Llama-3.2-1B 1.7 1.3 10.8 16.3 14.1 55.3 Llama-3.2-1B (Loop) 0.1 0.0 1.5 17.9 16.2 43.4 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Benchmark | Candidate tools | Call structure | Dependencies | Primary challenge |
|---|---|---|---|---|
| API-Bank | one or more | typically | Tool and argument grounding | |
| BFCL Simple | Argument grounding | |||
| BFCL Multiple | Function selection | |||
| BFCL Parallel | one or more | Independent call generation | ||
| BFCL Parallel-Multiple | Selection and call composition | |||
| NESTful | multiple | typically | Dependency-aware execution |
LLM Tool Use
Large language model tool use studies how models select, call, and coordinate external tools to extend their reasoning and take actions.
See all 295 papers