Training LLMs to know when to use tools and when to think on their own
https://arxiv.org/abs/2411.00412
π€ Original Problem:
LLMs struggle with complex scientific problems, often producing hallucinations. While integrating them with tools helps, it leads to over-reliance on tools even for simple problems that could be solved through basic reasoning.
-----
π§ Solution in this Paper:
β Introduces a two-component training method: World Knowledge Distillation (WKD) and Tool Usage Adaptation (TUA)
β WKD trains LLMs using solutions generated with tool information to build internal domain knowledge
β TUA classifies problems as easy/hard based on model accuracy, then trains the model to use direct reasoning for easy problems while leveraging tools for hard ones
β Implements a mixed loss function to maintain knowledge consistency across different prompting strategies
-----
π‘ Key Insights:
β LLMs can be trained to make intelligent decisions about tool usage similar to human experts
β A two-stage training approach enables adaptive problem-solving based on complexity
β The method shows robustness against noisy training data
β The approach works across diverse scientific domains from math to climate science
-----
π Results:
β 28.18% improvement in answer accuracy across all datasets
β 13.89% increase in tool usage precision
β Outperformed state-of-the-art models including GPT-4 and Claude-3.5
β Showed 61.80% to 75.50% tool usage accuracy across different domains










