TRAD: Enhancing LLM Agents with Step-Wise Thought Retrieval and Aligned Decision
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 1 more
Abstract (arXiv)
Numerous large language model (LLM) agents have been built for different tasks like web navigation and online shopping due to LLM's wide knowledge and text-understanding ability. Among these works, many of them utilize in-context examples to achieve generalization without the need for fine-tuning, while few of them have considered the problem of how to select and effectively utilize these examples. Recently, methods based on trajectory-level retrieval with task meta-data and using trajectories as in-context examples have been proposed to improve the agent's overall performance in some sequential decision making tasks. However, these methods can be problematic due to plausible examples retrieved without task-specific state transition dynamics and long input with plenty of irrelevant context. In this paper, we propose a novel framework (TRAD) to address these issues. TRAD first conducts Thought Retrieval, achieving step-level demonstration selection via thought matching, leading to more helpful demonstrations and less irrelevant input noise. Then, TRAD introduces Aligned Decision, complementing retrieved demonstration steps with their previous or subsequent steps, which enables tolerance for imperfect thought and provides a choice for balance between more context and less noise. Extensive experiments on ALFWorld and Mind2Web benchmarks show that TRAD not only outperforms state-of-the-art models but also effectively helps in reducing noise and promoting generalization. Furthermore, TRAD has been deployed in real-world scenarios of a global business insurance company and improves the success rate of robotic process automation.
Key facts. Cited by 23 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 12 of its 48 references that are in the map. First posted on arXiv 10 Mar 2024.
Builds on
12 of 48 references.
References · 12
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2023GPT-4 Technical Reportcited by 18,132
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 873
- 2023LLM+P: Empowering Large Language Models with Optimal Planning Proficiencycited by 496
- 2023Large Language Models for Information Retrieval: A Surveycited by 331
- 2023Everything of Thoughts: Defying the Law of Penrose Triangle for Thought Generationcited by 73
Built on by
Citing papers per year: 2024: 3; 2025: 11; 2026: 9.
23 papers.
Sort:
By area:
- 2026MemRL: Self-Evolving Agents via Runtime Reinforcement Learning on Episodic Memorycited by 113
- 2025Agent KB: Leveraging Cross-Domain Experience for Agentic Problem Solvingcited by 90
- 2025AgentNet: Decentralized Evolutionary Coordination for LLM-based Multi-Agent Systemscited by 86
- 2025A Survey of AI Agent Protocolscited by 77
- 2024RuleArena: A Benchmark for Rule-Guided Reasoning with LLMs in Real-World Scenarioscited by 26
- 2024Agentic Information Retrievalcited by 19
- 2025Self-Generated In-Context Examples Improve LLM Agents for Sequential Decision-Making Taskscited by 17
- 2025Agent Exchange: Shaping the Future of AI Agent Economicscited by 15
- 2026Structurally Aligned Subtask-Level Memory for Software Engineering Agentscited by 11
- 2025HiPlan: Hierarchical Planning for LLM-Based Agents with Adaptive Global-Local Guidancecited by 10
- 2025Boosting Virtual Agent Learning and Reasoning: A Step-Wise, Multi-Dimensional, and Generalist Reward Model with Benchmarkcited by 9
- 2025Mining Intrinsic Rewards from LLM Hidden States for Efficient Best-of-N Samplingcited by 9
11 more
- 2026World-Model-Augmented Web Agents with Action Correctioncited by 8
- 2026Epistemic Context Learning: Building Trust the Right Way in LLM-Based Multi-Agent Systemscited by 6
- 2026ActMem: Bridging the Gap Between Memory Retrieval and Reasoning in LLM Agentscited by 6
- 2026Self-Evolving World Models for LLM Agent Planningcited by 5
- 2025Leveraging In-Context Learning for Language Model Agentscited by 4
- 2026Bridging the Agent-World Gap: Text World Models for LLM-based Agentscited by 3
- 2025Inference-Time Distillation: Cost-Efficient Agents Without Fine-Tuning or Manual Prompt Engineeringcited by 2
- 2024LLM-R: A Framework for Domain-Adaptive Maintenance Scheme Generation Combining Hierarchical Agents and RAGcited by 1
- 2025Reflecting with Two Voices: A Co-Adaptive Dual-Strategy Framework for LLM-Based Agent Decision Makingcited by 1
- 2026Foundation-Model-Based Agents in Industrial Automation: Purposes, Capabilities, and Open Challengescited by 1
- 2026Leveraging Trajectory Graphs for Pre-Execution Error Diagnosis in Agentic LLM Systemscited by 0
- 2026Leveraging Trajectory Graphs for Pre-Execution Error Diagnosis in Agentic LLM Systems29 Jul 2026
- 2026Self-Evolving World Models for LLM Agent Planning29 Jun 2026
- 2026Bridging the Agent-World Gap: Text World Models for LLM-based Agents8 Jun 2026
- 2026Foundation-Model-Based Agents in Industrial Automation: Purposes, Capabilities, and Open Challenges4 May 2026
- 2026Structurally Aligned Subtask-Level Memory for Software Engineering Agents25 Feb 2026
- 2026World-Model-Augmented Web Agents with Action Correction17 Feb 2026
- 2026ActMem: Bridging the Gap Between Memory Retrieval and Reasoning in LLM Agents4 Feb 2026
- 2026Epistemic Context Learning: Building Trust the Right Way in LLM-Based Multi-Agent Systems29 Jan 2026
- 2026MemRL: Self-Evolving Agents via Runtime Reinforcement Learning on Episodic Memory6 Jan 2026
- 2025Reflecting with Two Voices: A Co-Adaptive Dual-Strategy Framework for LLM-Based Agent Decision Making9 Dec 2025
- 2025Inference-Time Distillation: Cost-Efficient Agents Without Fine-Tuning or Manual Prompt Engineering2 Dec 2025
- 2025HiPlan: Hierarchical Planning for LLM-Based Agents with Adaptive Global-Local Guidance26 Aug 2025
11 more
- 2025Agent KB: Leveraging Cross-Domain Experience for Agentic Problem Solving8 Jul 2025
- 2025Agent Exchange: Shaping the Future of AI Agent Economics5 Jul 2025
- 2025Leveraging In-Context Learning for Language Model Agents16 Jun 2025
- 2025Mining Intrinsic Rewards from LLM Hidden States for Efficient Best-of-N Sampling18 May 2025
- 2025Self-Generated In-Context Examples Improve LLM Agents for Sequential Decision-Making Tasks1 May 2025
- 2025A Survey of AI Agent Protocols23 Apr 2025
- 2025AgentNet: Decentralized Evolutionary Coordination for LLM-based Multi-Agent Systems1 Apr 2025
- 2025Boosting Virtual Agent Learning and Reasoning: A Step-Wise, Multi-Dimensional, and Generalist Reward Model with Benchmark24 Mar 2025
- 2024RuleArena: A Benchmark for Rule-Guided Reasoning with LLMs in Real-World Scenarios12 Dec 2024
- 2024LLM-R: A Framework for Domain-Adaptive Maintenance Scheme Generation Combining Hierarchical Agents and RAG7 Nov 2024
- 2024Agentic Information Retrieval13 Oct 2024
- 2025Agent KB: Leveraging Cross-Domain Experience for Agentic Problem Solvingcited by 90
- 2025AgentNet: Decentralized Evolutionary Coordination for LLM-based Multi-Agent Systemscited by 86
- 2025A Survey of AI Agent Protocolscited by 77
- 2024Agentic Information Retrievalcited by 19
- 2025Self-Generated In-Context Examples Improve LLM Agents for Sequential Decision-Making Taskscited by 17
- 2025Agent Exchange: Shaping the Future of AI Agent Economicscited by 15
- 2026Structurally Aligned Subtask-Level Memory for Software Engineering Agentscited by 11
- 2025HiPlan: Hierarchical Planning for LLM-Based Agents with Adaptive Global-Local Guidancecited by 10
- 2026Epistemic Context Learning: Building Trust the Right Way in LLM-Based Multi-Agent Systemscited by 6
- 2025Leveraging In-Context Learning for Language Model Agentscited by 4
- 2025Inference-Time Distillation: Cost-Efficient Agents Without Fine-Tuning or Manual Prompt Engineeringcited by 2
- 2024LLM-R: A Framework for Domain-Adaptive Maintenance Scheme Generation Combining Hierarchical Agents and RAGcited by 1
12 most cited of 14 All 14 (JSON)
- 2026Leveraging Trajectory Graphs for Pre-Execution Error Diagnosis in Agentic LLM Systems29 Jul 2026
- 2026Foundation-Model-Based Agents in Industrial Automation: Purposes, Capabilities, and Open Challenges4 May 2026
- 2026Structurally Aligned Subtask-Level Memory for Software Engineering Agents25 Feb 2026
- 2026Epistemic Context Learning: Building Trust the Right Way in LLM-Based Multi-Agent Systems29 Jan 2026
- 2025Inference-Time Distillation: Cost-Efficient Agents Without Fine-Tuning or Manual Prompt Engineering2 Dec 2025
- 2025HiPlan: Hierarchical Planning for LLM-Based Agents with Adaptive Global-Local Guidance26 Aug 2025
- 2025Agent KB: Leveraging Cross-Domain Experience for Agentic Problem Solving8 Jul 2025
- 2025Agent Exchange: Shaping the Future of AI Agent Economics5 Jul 2025
- 2025Leveraging In-Context Learning for Language Model Agents16 Jun 2025
- 2025Self-Generated In-Context Examples Improve LLM Agents for Sequential Decision-Making Tasks1 May 2025
- 2025A Survey of AI Agent Protocols23 Apr 2025
- 2025AgentNet: Decentralized Evolutionary Coordination for LLM-based Multi-Agent Systems1 Apr 2025
12 newest of 14 All 14 (JSON)
- 2026Self-Evolving World Models for LLM Agent Planning29 Jun 2026
- 2026Bridging the Agent-World Gap: Text World Models for LLM-based Agents8 Jun 2026
- 2026World-Model-Augmented Web Agents with Action Correction17 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2026Retrieval-Augmented LLM Agents: Learning to Learn from Experience
- 2024Learning From Failure: Integrating Negative Examples when Fine-tuning Large Language Models as Agents
- 2025AgentPRM: Process Reward Models for LLM Agents via Step-Wise Promise and Progress
- 2025Scaling Autonomous Agents via Automatic Reward Modeling And Planning
- 2026Thought-Retriever: Don't Just Retrieve Raw Data, Retrieve Thoughts for Memory-Augmented Agentic Systems
- 2025An Empirical Study on Reinforcement Learning for Reasoning-Search Interleaved LLM Agents
- 2026LLM Agents Factory: Retrieval of Domain-Specific LLM Agents
- 2025Distilling LLM Agent into Small Models with Retrieval and Code Tools