United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.
Get full access to United States of Banan at konradb.substack.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00This paper addresses a key limitation in how language models use tools. Current approaches either require fine-tuning models on specific tools, limiting them to only tools seen during training, or stuffed tool demonstrations into prompts, which becomes inefficient with many tools. The authors introduced Chain of Tools, which leverages the semantic understanding of frozen language models to dynamically select and use tools during reasoning even if those tools weren't seen in training data. This approach maintains the model's reasoning abilities while
expanding its tool
SPEAKER_00use capabilities to include new, unseen tools. Figure 1 illustrates the ideal tool-calling procedure that Chain of Tools implements. When a user asks about tomorrow's weather at their destination, the system first needs to determine what that destination is. The model generates text tokens, and at certain points, the tool judge decides if a tool should be called. The system first calls the schedule tool to find the user is attending an NLP conference in Shanghai, then calls the weather tool to get the forecast. This demonstrates how the system can perform multi-step reasoning,
SPEAKER_00calling different tools in sequence to build a complete answer. Section 3 explains the methodology behind chain of tools, which consists of three main components. The tool judge analyzes the hidden state of each token as the model generates text, deciding if a tool should be called at that point. If needed, the tool retriever computes query vectors and tool vectors to select the most appropriate tool from the available pool. Finally, the tool calling component uses in-context learning to determine tool parameters,
SPEAKER_00execute the tool, and incorporate its output into the answer. Importantly, all this happens while keeping the foundation model frozen. preserving its reasoning capabilities. Figure 2 provides a detailed overview of the chain of tools method. The process starts with QoT reasoning, where the foundation model generates answer tokens step by step. The tool judge monitors each token to decide if a tool should be called. When needed, the tool retriever creates vector representations of both the query and available tools to find the best match.
The tool calling component then executes the selected tool with appropriate
SPEAKER_00parameters and integrates the result back into the answer. The whole system is designed to be flexible, allowing tools to be added or removed from the tool database without retraining the model. Section 4 presents experimental results across four different data sets covering both numerical reasoning and knowledge-based question answering tasks. Chain of tools consistently outperformed baseline methods, particularly in challenging scenarios with large tool pools, 1000 plus tools, and when handling completely unseen tools.
SPEAKER_00The method worked surprisingly well, even with lower quality training data, suggesting its contrastive learning approach helps the model learn to distinguish between tools effectively. The researchers also discovered that specific dimensions in the model's hidden states play a crucial role in tool selection, providing insights into how language models represent tool-related information. The paper presents a significant contribution to tool learning by enabling frozen language models to effectively use large numbers of tools, including ones they have never seen before.
The approach preserves the model's reasoning capabilities while adding flexible
SPEAKER_00tool use without expensive retraining. The authors also contributed a new evaluation dataset with over 1,800 tools. However, they acknowledge limitations. Current datasets are relatively simple, and the method needs testing with more complex tools that return multiple values. Future work could integrate this approach with more advanced reasoning techniques like Tree of Thoughts.
Paper: https://arxiv.org/abs/2504.11159 United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Get full access to United States...
Paper: https://arxiv.org/abs/2604.16748 United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Get full access to United States...
Paper: https://arxiv.org/html/2604.01845v1 United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Get full access to United...
Paper: https://arxiv.org/abs/2604.13253 United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Get full access to United States...
Paper: https://arxiv.org/abs/2604.05257 United States of Banan is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber. Get full access to United States...