Reproduce “Retrospex: Language Agent Meets Offline Reinforcement Learning Critic” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Yufei Xiang, Yiqun Shen, Yeqin Zhang, Cam-Tu Nguyen
Retrospex, developed at Nanjing University, introduces a framework for LLM-based agents that integrates an external, lightweight Reinforcement Learning Critic to leverage extensive past experiences without exceeding LLM context limits. This approach dynamically combines LLM-generated action likelihoods with experience-based Q-values, resulting in improved success rates across interactive environments such as ScienceWorld, ALFWorld, and Webshop.
Key insights
- An external, lightweight RL Critic can effectively utilize vast historical experience without directly embedding it into the LLM's context, bypassing context length limitations.
- Dynamically adjusting the influence of LLM likelihoods and experience-based Q-values enables adaptable decision-making, allowing agents to leverage commonsense for initial steps and refined experience for complex, longer tasks.
- Offline Reinforcement Learning provides a memory-efficient and stable method for training an experience-based value function, learning from diverse trajectories including suboptimal actions and mistakes.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.