Demo-ToT: Enhancing the Reasoning Capabilities of AI Agent via Improved Demonstrations Retrieval Strategy
Innovative reasoning frameworks have been proposed to enhance the reasoning capabilities of AI agents, improving their performance in various tasks. However, most existing research has focused on enhancing designing frameworks for LLMs, with limited attention on leveraging in-context learning to boost their reasoning power. This paper proposes a novel approach, Demo-ToT, which enhances the Tree-of-Thought (ToT) reasoning framework by dynamically retrieving relevant demonstrations to improve reasoning accuracy. Various demonstration retrieval strategies, including vector similarity, sparse retrieval, and string similarity, were explored to identify the most effective methods for optimizing LLM performance. Experiments conducted across multiple benchmarks and language models of varying sizes demonstrated that Demo-ToT substantially enhanced the reasoning ability of smaller LLMs, achieving performance comparable to or even surpassing that of much larger models such as GPT-4.
Authors
- Honghui Chen (ORCID: https://orcid.org/0009-0003-5234-0592)
- Bangbang Ren (ORCID: https://orcid.org/0000-0003-0355-0545)
- Jiahui Li (ORCID: https://orcid.org/0009-0008-5627-6141)
- Mengmeng Zhang (ORCID: https://orcid.org/0000-0002-7777-7219)
Institutions
- National University of Defense Technology (CN)
Publication Details
- Journal
- Big Data and Cognitive Computing
- Published
- 2025-11-02
- DOI
- https://doi.org/10.3390/bdcc9110276
- Primary Topic
- AI-based Problem Solving and Planning
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China