atlas

Research map / Large language models / Agents, code and math

Confucius: Iterative Tool Learning from Introspection Feedback by Easy-to-Difficult Curriculum

AAAI 2024 · Large language models › Agents, code and math · approach: Agent instruction-following benchmarks · 16 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Confucius, a tool-learning framework that trains LLaMA-7B with an easy-to-difficult three-stage curriculum (warm-up, in-category, cross-category) plus iterative self-instruct guided by perplexity-based introspective feedback, evaluated on seen/unseen toolsets.

Problem

Open-source LLMs trained for tool use mostly learn to execute human-provided minimal toolsets and fail to select correct tools from large retrieved candidate sets; self-instruct data ignores differences in tool complexity and generalizes poorly to unseen tools.

Approach

A multi-stage curriculum that gradually adds related and retrieved distractor tools to the candidate set, combined with an iterative data-generation loop that uses high-perplexity generated instances as seeds for further self-instruct generation, so training focuses on intricate tools the model misuses.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
train with Confucius instead of ChatGPTLLaMA-7B · Seen ToolsetTool Selection (NDCG): 83.62 -> 88.61Helped
train with Confucius instead of ChatGPTLLaMA-7B · Unseen ToolsetTool Selection (NDCG): 57.65 -> 59.79Helped
add warm-up training (ablation)Confucius · Seen ToolsetParameter Correctness: 70.16 -> 77.72Helped
add in-category training (ablation)Confucius · Seen ToolsetTool Selection (NDCG): 85.73 -> 88.61Helped
add cross-category training (ablation)Confucius · Seen ToolsetTool Selection (NDCG): 83.49 -> 88.61Helped
add cross-category training (ablation)Confucius · Unseen ToolsetParameter Correctness: 40.70 -> 50.21Helped
add ISIF instead of training without ISIF (ablation)Confucius · Seen ToolsetTool Selection (NDCG): 83.52 -> 88.61Helped
add ISIF instead of training without ISIF (ablation)Confucius · Unseen ToolsetParameter Correctness: 41.45 -> 50.21Helped
increase ISIF update percentage from 20% to 30% (ablation)Confucius · Seen and Unseen ToolsetsOverall performanceHurt

Surprising findings

Limitations

Experimental setup

Datasets: Self-generated tool-use dataset (110 tools, 72,000 instances)

Benchmarks: Seen toolset test (2,000 instances) Unseen toolset test (2,000 instances)

Metrics: tool selection (NDCG) parameter correctness compositional reasoning (ROUGE-L over tool order) interaction fluency (ROUGE-1/2/L avg) human executability and fluency

Baselines: ChatGPT Claude Text-davinci-003 ChatGLM-6B ChatGLM2-6B Llama-7B Llama2-7B Vicuna-7B Vicuna-13B GPT4Tools ToolLLaMA Toolformer

Builds on: Self-Instruct Toolformer GPT4Tools ToolBench ToolLLaMA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy