[Paper Review] Efficient Tool Use with Chain-of-Abstraction Reasoning
The paper introduces Chain-of-Abstraction (CoA) reasoning to decouple general multi-step reasoning from domain-specific tool use, enabling abstract reasoning chains to be reified by tools for accurate and faster multi-step problem solving in math and Wiki QA tasks.
To achieve faithful reasoning that aligns with human expectations, large language models (LLMs) need to ground their reasoning to real-world knowledge (e.g., web facts, math and physical rules). Tools help LLMs access this external knowledge, but there remains challenges for fine-tuning LLM agents (e.g., Toolformer) to invoke tools in multi-step reasoning problems, where inter-connected tool calls require holistic and efficient tool usage planning. In this work, we propose a new method for LLMs to better leverage tools in multi-step reasoning. Our method, Chain-of-Abstraction (CoA), trains LLMs to first decode reasoning chains with abstract placeholders, and then call domain tools to reify each reasoning chain by filling in specific knowledge. This planning with abstract chains enables LLMs to learn more general reasoning strategies, which are robust to shifts of domain knowledge (e.g., math results) relevant to different reasoning questions. It also allows LLMs to perform decoding and calling of external tools in parallel, which avoids the inference delay caused by waiting for tool responses. In mathematical reasoning and Wiki QA domains, we show that our method consistently outperforms previous chain-of-thought and tool-augmented baselines on both in-distribution and out-of-distribution test sets, with an average ~6% absolute QA accuracy improvement. LLM agents trained with our method also show more efficient tool use, with inference speed being on average ~1.4x faster than baseline tool-augmented LLMs.
Motivation & Objective
- Motivate faithful, grounded reasoning in LLMs by leveraging external tools for domain knowledge.
- Develop a training pipeline that teaches LLMs to produce abstract reasoning chains with placeholders.
- Decouple general reasoning from tool-based grounding to enable parallel decoding and tool infilling.
- Evaluate CoA on mathematical reasoning and Wikipedia QA to assess robustness to knowledge shifts.
Proposed method
- Fine-tune LLMs to generate reasoning chains with abstract placeholders (CoA traces).
- Use domain-specific tools to reify placeholders by computing or retrieving knowledge, grounding the chain of reasoning.
- Construct CoA fine-tuning data by rewriting gold answers into abstract chains and validating with tools.
- Evaluate decoding efficiency by enabling parallel tool calls after abstract chain generation, amortizing inference time.
- Compare CoA against CoT-FSP, CoT-FT, Toolformer, and FireAct baselines on math and Wiki QA datasets.
Experimental results
Research questions
- RQ1Can abstract reasoning chains improve robustness to domain knowledge shifts in multi-step reasoning?
- RQ2Does decoupling abstract reasoning from tool use yield more efficient and accurate tool-augmented reasoning in math and Wiki QA?
- RQ3How does CoA perform relative to existing tool-augmented and chain-of-thought baselines on in-distribution and out-of-distribution test sets?
- RQ4What is the impact of CoA on inference speed when scaling to multi-step reasoning tasks?
Key findings
- CoA yields average absolute QA accuracy improvements of approximately 7.5% on math and 4.5% on Wiki QA (in-distribution and out-of-distribution).
- Inference speed with CoA is about 1.47x faster on math and 1.33x faster on Wiki QA compared to baselines.
- Human evaluation shows about 8% fewer reasoning errors with CoA than baselines.
- CoA outperforms Toolformer and other baselines on complex multi-step reasoning and long reasoning chains, even without in-domain tool augmentation.
- Separating abstract reasoning from tool calls enables parallel decoding and tool infilling, reducing waiting times and improving efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.