atlas

Research map / Large language models / Retrieval and knowledge

AvaTaR: Optimizing LLM Agents for Tool Usage via Contrastive Reasoning

NeurIPS 2024 · Large language models › Retrieval and knowledge · approach: Knowledge editing in LLMs · 7 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 AvaTaR, which optimizes an LLM agent's prompts and tool-use action sequences via a comparator LLM that performs batch-wise contrastive reasoning over positive and negative training queries, evaluated on STaRK, Flickr30K-Entities retrieval and three QA benchmarks.

Problem

LLM agents that use tools for multi-step retrieval and QA require hand-engineered prompts that are brittle and labor-intensive; existing LLM-as-optimizer methods fail to refine tool-usage strategies and generalize poorly.

Approach

A comparator LLM contrasts batches of positive (well-performing) and negative (poorly-performing) queries to produce holistic instructions (a robust "gradient") that update an actor LLM's prompts and action code, with a memory bank of top-5 past action sequences.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add the comparator module to AvaTaR (ablation)AvaTaR · STaRK AmazonHit@1: 40.92 -> 49.87Helped
Add the comparator module to AvaTaR (ablation)AvaTaR · STaRK MAGHit@1: 33.25 -> 44.36Helped
Add the comparator module to AvaTaR (ablation)AvaTaR · STaRK PrimeHit@1: 8.82 -> 18.44Helped
Add the comparator module to AvaTaR (ablation)AvaTaR · HotpotQAexact match: 41.0% -> 53.0%Helped
Add the comparator module to AvaTaR (ablation)AvaTaR · ArxivQALLM judge score: 73.0% -> 84.0%Helped
Add the comparator module to AvaTaR (ablation)AvaTaR · ToolQA SciREX-hardLLM judge score: 13.3% -> 23.3%Helped
Optimize prompts through AvaTaR for 25 iterationsAvaTaR · Flickr30K-EntitiesHit@1: 5.1% to 28.6%Helped
Optimize prompts through AvaTaR for 25 iterationsAvaTaR · STaRK PrimeRecall@20: 30.3% to 39.3%Helped
Set the positive and negative query thresholds to ℓ=0.6 and h=0.5 instead of the default ℓ=h=0.5 (ablation)AvaTaR · STaRK AmazonHit@1: 49.87 -> 50.45Helped

Surprising findings

Limitations

Experimental setup

Datasets: STaRK-Amazon STaRK-MAG STaRK-Prime Flickr30K-Entities HotpotQA ArxivQA ToolQA

Benchmarks: STaRK-Amazon STaRK-MAG STaRK-Prime Flickr30K-Entities HotpotQA ArxivQA ToolQA

Metrics: Hit@1 Hit@5 Recall@20 MRR exact match LLM judge score

Baselines: DPR QAGNN ada-002 multi-ada-002 ReAct Reflexion ExpeL Retroformer

Builds on: ReAct Reflexion ExpeL Retroformer

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