AskToAct: Enhancing LLMs Tool Use via Self-Correcting Clarification
Xuan Zhang, Yongliang Shen, Zhe Zheng, Linjuan Wu, Wenqi Zhang, Yuchen Yan, Qiuying Peng, Jun Wang, Weiming Lu
摘要
Large language models (LLMs) have demonstrated remarkable capabilities in tool learning. In real-world scenarios, user queries are often ambiguous and incomplete, requiring effective clarification. However, existing interactive clarification approaches face two critical limitations: reliance on manually constructed datasets, which inherently constrains training data scale and diversity, and lack of error correction mechanisms during multiturn clarification, leading to error accumulation that compromises both accuracy and efficiency. We present ASKTOACT, which addresses these challenges by exploiting the structural mapping between queries and their tool invocation solutions. Our key insight is that tool parameters naturally represent explicit user intents. By systematically removing key parameters from queries while retaining them as ground truth, we enable automated construction of high-quality training data. We further enhance model robustness through error-correction pairs and selective masking, enabling dynamic error detection during clarification interactions. Comprehensive experiments demonstrate that ASK-TOACT significantly outperforms existing approaches, achieving above 57% accuracy in recovering critical unspecified intents and enhancing clarification efficiency by an average of 10.46% while maintaining high accuracy in tool invocation. Our framework exhibits robust performance across different model architectures and successfully generalizes to entirely unseen APIs without additional training, achieving performance comparable to GPT-4o with substantially fewer computational resources. User: I want to order some food on Uber Eats to 123 Main St., and also need to book a ride to the same address. Assistant: The task can be decomposed into 2 steps for solving. Step 1: Order some food on Uber Eats to 123 Main St. using "order_food_delivery" API. Step 2: Book a ride to the same address using "order_taxi" API. The information I currently have is: In step 1, the parameter "food" for API "order_food_delivery" lacks a clear value, the parameter "platform" for API "order_food_delivery" has a value of "Uber Eats", the parameter "location" for API "order_food_delivery" has a value of "123 Main St.". In step 2, the parameter "platform" for API "order_taxi" lacks a clear value, the parameter "location" for API "order_taxi" has a value of "123 Main St.". Could you please specify what food you would like to order on Uber Eats? User: Sure! The answer is "fried chicken". Let me know if you have more questions! Assistant: Now I know that the parameter "food" for API "order_food_delivery" has a value of "fried chicken". Which ridesharing platform would you prefer to use for your ride? User: The answer is: Lyft. Assistant: Now I know that the parameter "platform" for API "order_taxi" has a value of "Lyft". I have all the information needed and can now call the relevant APIs to solve the task. The solution path is as follows:
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Gorilla: Large Language Model Connected with Massive APIs 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Self-Refine: Iterative Refinement with Self-Feedback 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs 引用了 Gorilla: Large Language Model Connected with Massive APIs
- ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
引用它的顶会 Paper2
它引用的 Paper13
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- Self-Refine: Iterative Refinement with Self-FeedbackAman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan 等NeurIPS 2023 · 4,972 次引用
- Gorilla: Large Language Model Connected with Massive APIsShishir G. Patil, Tianjun Zhang, Xin Wang, Joseph E. GonzalezNeurIPS 2024 · 1,715 次引用
- ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIsYujia Qin, Shihao Liang, Yining Ye, Kunlun Zhu 等ICLR 2024 · 1,469 次引用
相关 Paper
- Uncertainty-Aware Clarification in LLM Agents with Information GainMengyi DENG, Zhiwei Li, Xin Li, Tingyu ZHU 等ICML 2026 · 1 次引用
- Generating Multi-turn Clarification for Web Information SeekingZiliang Zhao, Zhicheng DouWWW 2024 · 15 次引用
- When and What to Ask: AskBench and Rubric-Guided RLVR for LLM ClarificationJiale Zhao, Ke Fang, Lu ChengACL Findings 2026 · 1 次引用
- Modeling Future Conversation Turns to Teach LLMs to Ask Clarifying QuestionsMichael J. Q. Zhang, W. Bradley Knox, Eunsol ChoiICLR 2025
- Let's Chat to Find the APIs: Connecting Human, LLM and Knowledge Graph through AI ChainQing Huang, Zhenyu Wan, Zhenchang Xing, Changjing Wang 等ASE 2023 · 15 次引用
