Intelligent agents designed for interactive environments face significant challenges in text-based games, a domain that demands complex reasoning and adaptability. While agents based on large language models (LLMs) using self-reflection have shown promise, they struggle when initially successful and exhibit reduced effectiveness when using smaller LLMs. We introduce Sweet&Sour, a novel approach that addresses these limitations in existing reflection methods by incorporating positive experiences and managed memory to enrich the context available to the agent at decision time. Our comprehensive analysis spans both closed- and open-source LLMs and demonstrates the effectiveness of Sweet&Sour in improving agent performance, particularly in scenarios where previous approaches fall short.
Reflection of Episodes: Learning to Play Game from Expert and Self Experiences
College of Artificial Intelligence, Nankai University(南开大学人工智能学院);Laboratory for Big Data and Decision, National University of Defense Technology(国防科技大学大数据与决策实验室);Jiangsu Automation Research Institute(江苏自动化研究所);Nanjing Research Institute of Electronic Engineering(南京电子工程研究所)
Improving Interactive Diagnostic Ability of a Large Language Model Agent Through Clinical Experience Learning
Research Center of Computational Life Science, Zhejiang Lab(浙江实验室计算生命科学研究中心);TransTek Medical(TransTek医疗);Sir Run Run Shaw Hospital, School of Medicine, Zhejiang University(浙江大学医学院附属邵逸夫医院);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院)
Agent-Pro: Learning to Evolve via Policy-Level Reflection and Optimization
College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);Nanjing Institute of Software Technology(南京软件技术学院);Nanjing University of Posts and Telecommunications(南京邮电大学);University of Chinese Academy of Sciences(中国科学院大学);Beijing University of Technology(北京工业大学);Nanjing University of Information Science and Technology(南京信息工程大学)
Towards Enhanced Immersion and Agency for LLM-based Interactive Drama
School of Computer Science, Shanghai Jiao Tong University(上海交通大学计算机科学学院);University of Zurich(苏黎世大学);Key Laboratory of Shanghai Education Commission for Intelligent Interaction and Cognitive Engineering, Shanghai Jiao Tong University(上海教育委员会智能交互与认知工程重点实验室,上海交通大学);Shanghai Key Laboratory of Trusted Data Circulation and Governance in Web3(上海Web3可信数据流通与治理重点实验室)
RoT: Enhancing Large Language Models with Reflection on Search Trees
School of Information Science and Technology, ShanghaiTech(上海科技大学信息科学与技术学院);Shanghai Engineering Research Center of Intelligent Vision and Imaging(上海智能视觉与成像工程技术研究中心)
Embodied-Reasoner: Synergizing Visual Search, Reasoning, and Action for Embodied Interactive Tasks
College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Alibaba Group(阿里巴巴集团);DAMO Academy, Alibaba Group(阿里巴巴集团大模型学院);Nanjing Institute of Software Technology(南京软件技术研究所);Nanjing University of Posts and Telecommunications(南京邮电大学);Hohai University(河海大学)