Looped Language Models Improve Compositional Tool Calling
AI models that rethink their own answers multiple times get better at chaining tools together
Researchers tested looped language models, which pass their internal computation through the same block repeatedly before answering, on three tool-calling benchmarks: API-Bank, BFCL, and NESTful. Comparing looped and non-looped models trained with identical data and settings, looped models showed clear gains on tasks requiring coordinating multiple API calls and passing outputs between them, while gains on single, isolated calls were smaller and inconsistent. An adaptive inference method that only adds extra computation when needed matched or beat fixed-depth looping while using less compute.
What they did
- Tested both natively looped models (Ouro-1.4B, Ouro-2.6B) and models retrofitted into looped architectures from Llama-3.2-1B and OLMo-2-1B
- Compared looped vs. non-looped models trained on the same Hermes function-calling dataset with matched settings
- On single-call tasks the benefit of looping was small and model-dependent, but on tasks requiring multiple parallel calls or dependent calls (where one call's output feeds another), the gains were much larger
- Varying recurrent depth from 1 to 8 iterations showed accuracy on compositional tasks generally rising with more iterations before plateauing
- Adaptive inference, which lets the model exit the loop per-token once confident, achieved similar or better results than fixed-depth looping while using fewer iterations on average; examples showed models correcting missing dependent calls and wrong function choices as depth increased
| 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 | |
| Instruct | 91.8 | 91.5 | 83.5 | 81.0 | 87.9 | |
| Qwen3-4B | Base | 72.0 | 57.5 | 1.0 | 0.5 | 40.6 |
| SFT | 94.3 | 87.0 | 2.5 | 5.5 | 56.7 | |
| Instruct | 93.0 | 92.5 | 87.5 | 88.5 | 90.9 | |
| Qwen3-8B | Instruct | 95.5 | 96.0 | 91.5 | 89.5 | 93.6 |
| Llama-3.2-1B | Instruct | 18.2 | 2.5 | 4.0 | 4.5 | 9.5 |
| Llama-3.2-3B | SFT | 88.2 | 86.0 | 69.0 | 60.5 | 78.4 |
| Instruct | 33.8 | 37.0 | 0.0 | 0.0 | 20.9 | |
| Llama-3.1-8B | Instruct | 46.5 | 41.0 | 0.0 | 0.0 | 26.8 |
| OLMo-2-1B | SFT | 59.2 | 50.0 | 14.5 | 12.5 | 39.1 |
| Looped SFT | 55.0 | 58.0 | 26.5 | 14.5 | 41.8 | |
| Llama-3.2-1B | SFT | 29.8 | 28.5 | 14.0 | 5.0 | 21.4 |
| Looped SFT | 43.5 | 40.5 | 31.0 | 6.0 | 32.9 |
| 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 | |
| Instruct | 0.924 | 0.555 | 0.202 | 0.109 | 0.134 | |
| Qwen3-4B | Base | 0.000 | 0.000 | 0.000 | 0.000 | 0.000 |
| SFT | 0.458 | 0.309 | 0.156 | 0.001 | 0.063 | |
| Instruct | 0.971 | 0.703 | 0.285 | 0.196 | 0.292 | |
| Qwen3-8B | Instruct | 0.979 | 0.774 | 0.329 | 0.246 | 0.345 |
| Llama-3.2-3B | Base | 0.911 | 0.561 | 0.208 | 0.155 | 0.146 |
| SFT | 0.911 | 0.495 | 0.175 | 0.093 | 0.095 | |
| Instruct | 0.929 | 0.419 | 0.160 | 0.033 | 0.060 | |
| Llama-3.1-8B | Instruct | 0.657 | 0.342 | 0.137 | 0.030 | 0.073 |

| (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 |
| Benchmark | Candidate tools | Call structure | Dependencies | Primary challenge |
|---|---|---|---|---|
| API-Bank | one or more | typically |Cx|=1 | Ex=∅ | Tool and argument grounding |
| BFCL Simple | |𝒯x|=1 | |Cx|=1 | Ex=∅ | Argument grounding |
| BFCL Multiple | |𝒯x|>1 | |Cx|=1 | Ex=∅ | Function selection |
| BFCL Parallel | one or more | |Cx|>1 | Ex=∅ | Independent call generation |
| BFCL Parallel-Multiple | |𝒯x|>1 | |Cx|>1 | Ex=∅ | Selection and call composition |
| NESTful | multiple | |Cx|>1 | typically |Ex|>0 | Dependency-aware execution |
Why it matters
This matters for anyone building AI agents that must orchestrate multiple tools in sequence, since it suggests accuracy can be improved by spending more compute at inference time rather than scaling up model size. The adaptive approach also points to a practical way to control compute cost while still handling complex, dependency-heavy workflows.
Terms in this paper
- Looped Language Model · a model that repeatedly applies the same neural network block before producing an answer, increasing computation without adding parameters
- Recurrent Depth · the number of times the shared block is applied during inference
- Adaptive Inference · a method where the model decides per-token how many loop iterations to run, balancing compute and accuracy
- Retrofitted Model · a pretrained standard model converted into a looped architecture by sharing some of its layers across iterations
- Semantic AST Accuracy · a scoring method that standardizes generated function calls into a structured form and checks if they semantically match the correct answer
Original abstract (English)
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 no
Read on arXivLatest papers
- FinRCA-Bench: Benchmarking Evidence Retrieval and Reasoning for Financial AI SystemsAI often names the right cause of a financial mismatch without ever finding the proof for it
- FACET: Preserving Source Intent and Executable State in Terminal Task SynthesisFACET builds internally consistent terminal-task 'exam sets' to train command-line AI agents
- FM-Bench: A Benchmark for Long-Horizon Management with Competing AgentsHanding an AI a football club to run for 20 years reveals that winning comes from management habits, not raw model power
- Bridging Search and CRM: Productionizing AI Product Research Agents for Customer Re-EngagementAI agents win back window-shopping customers by chasing them down on WhatsApp
- Adversarial Review: Structured Disagreement for Grounded Agentic Code ReviewFor AI code review, one reviewer plus one critic beats piling on more agents
- GenEx: A Graph-Based Representational Paradigm for SARS-CoV-2 Variant Detection via Codon Co-occurrence NetworksTurning viral gene sequences into codon relationship maps to tell coronavirus variants apart
- Alignment Is All You Need: Instruction-Free Training for General Audio-Language ModelsA frozen language model plus one lightweight connector is enough to build a capable audio-understanding AI
- Which Negatives Matter? Ask Your Text Encoder: Adaptive Similarity Margins for Dense-Caption RetrievalAn image-to-long-caption search AI kept thinking it had already solved the problem, so it never learned to tell near-identical captions apart
Latest from METAL LAB
- NVIDIA's 300 Verified Skills Lift Correctness by 41 Points
- Wave your hand at a webcam, hear a theremin: browser instrument released
- Meta AI launches desktop app for Mac, can read an entire app window
- Factory Commits $100M to Partner Network, Pushes to Scale Software Factories
- SpaceX approached Cognition for acquisition four days after closing Cursor deal
Figures: Andrei Cristian Popescu et al., arXiv:2608.18171, CC BY 4.0