TRAD: Enhancing LLM Agents with Step-Wise Thought Retrieval and Aligned Decision
Ruiwen Zhou, Yingxuan Yang, Muning Wen, Ying Wen, Wenhao Wang,, Chunling Xi, Guoqiang Xu, Yong Yu, Weinan Zhang

TL;DR
TRAD is a novel framework that enhances LLM agents by selecting step-wise demonstrations through thought matching and aligning decisions to improve task performance and reduce irrelevant context, demonstrated on benchmarks and real-world applications.
Contribution
TRAD introduces step-level thought retrieval and aligned decision mechanisms to improve demonstration selection and decision-making in LLM agents, addressing limitations of previous trajectory-based methods.
Findings
Outperforms state-of-the-art models on ALFWorld and Mind2Web benchmarks.
Reduces irrelevant input noise and improves generalization.
Enhances success rate in real-world robotic process automation.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsImbalanced Data Classification Techniques · Explainable Artificial Intelligence (XAI) · Data Stream Mining Techniques
