Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Trial and Error: Exploration-Based Trajectory Optimization for LLM Agents

About

Large Language Models (LLMs) have become integral components in various autonomous agent systems. In this study, we present an exploration-based trajectory optimization approach, referred to as ETO. This learning method is designed to enhance the performance of open LLM agents. Contrary to previous studies that exclusively train on successful expert trajectories, our method allows agents to learn from their exploration failures. This leads to improved performance through an iterative optimization framework. During the exploration phase, the agent interacts with the environment while completing given tasks, gathering failure trajectories to create contrastive trajectory pairs. In the subsequent training phase, the agent utilizes these trajectory preference pairs to update its policy using contrastive learning methods like DPO. This iterative cycle of exploration and training fosters continued improvement in the agents. Our experiments on three complex tasks demonstrate that ETO consistently surpasses baseline performance by a large margin. Furthermore, an examination of task-solving efficiency and potential in scenarios lacking expert trajectory underscores the effectiveness of our approach.

Yifan Song, Da Yin, Xiang Yue, Jie Huang, Sujian Li, Bill Yuchen Lin• 2024

Related benchmarks

TaskDatasetResultRank
Web Navigation and ShoppingWebshop--
153
Interactive Decision-makingScienceWorld Seen
Success Rate76.29
72
Interactive Decision-makingALFWorld (test)
Success Rate69.5
71
Mathematical ReasoningMATH
Accuracy (%)77.4
52
Interactive Task CompletionAlfWorld--
45
Interactive Decision-makingWebShop (test)
Success Rate90
37
Math ReasoningOlympiad Bench
Accuracy51
36
Interactive Decision-makingScienceWorld Unseen
Success Rate77.25
32
Interactive Decision-makingALFWorld Seen
Success Rate80
32
Interactive Decision-makingALFWorld Unseen
Success Rate71.6
32
Showing 10 of 50 rows

Other info

Follow for update