paper-with-me

홈 › Papers

TRAD: Enhancing LLM Agents with Step-Wise Thought Retrieval and Aligned Decision

2024-03-10 · Ruiwen Zhou, Yingxuan Yang, Muning Wen, Ying Wen, Wenhao Wang, Chunling Xi, Guoqiang Xu, Yong Yu, Weinan Zhang

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.

📄 PDF Abstract BibTeX arXiv:2403.06221

Code (1)

skyriver-2000/trad-official 공식 구현 pytorch

Tasks

Language ModellingLarge Language ModelRetrievalSequential Decision Making

Similar Papers 제목 키워드 기반

FinVision: A Multi-Agent Framework for Stock Market Prediction

2024-10-29 · Sorouralsadat Fatemi, Yuheng Hu

Financial trading has been a challenging task, as it requires the integration of vast amounts of data from various modalities. Traditional deep learning and reinforcement learning methods require large training data and …

Decision MakingPredictionStock Market Prediction

Orcust: Stepwise-Feedback Reinforcement Learning for GUI Agent

2025-09-22 · Junyu Lu, Songxin Zhang, Zejian Xie, Zhuoyang Song 외 arxiv

Recent advances in GUI agents have achieved remarkable grounding and action-prediction performance, yet existing models struggle with unreliable reward signals and limited online trajectory generation. In this paper, we …

Reinforcement Learning

SAND: Boosting LLM Agents with Self-Taught Action Deliberation

2025-07-10 · Yu Xia, Yiran Jenny Shen, Junda Wu, Tong Yu 외

Large Language Model (LLM) agents are commonly tuned with supervised finetuning on ReAct-style expert trajectories or preference optimization over pairwise rollouts. Most of these methods focus on imitating specific expe…

Large Language ModelSand

WISE: Weak-Supervision-Guided Step-by-Step Explanations for Multimodal LLMs in Image Classification

2025-09-22 · Yiwen Jiang, Deval Mehta, Siyuan Yan, Yaling Shen 외 arxiv

Multimodal Large Language Models (MLLMs) have shown promise in visual-textual reasoning, with Multimodal Chain-of-Thought (MCoT) prompting significantly enhancing interpretability. However, existing MCoT methods rely on …

Image Classification

Deep Thinking by Markov Chain of Continuous Thoughts

2025-09-29 · Jiayu Liu, Zhenya Huang, Xuan Yang, Tianyun Ji 외 arxiv

Transformer-based models can perform complicated reasoning by generating reasoning paths token by token. While effective, this approach often requires generating thousands of tokens to solve a single problem, which can b…