S3Gym:大语言模型能否将自我测试与自我评判转化为自我提升?

·

研究论文 · 2026/09/03

大型语言模型(LLM)越来越多地与外部环境交互并积累大量行为经验,但现有的智能体基准大多将其作为固定策略进行评估。因此,尚不清楚智能体能否主动测试自身行为、判断所得经验,并利用这些经验改进未来决策。我们提出了S³Gym,一个交互式基准,用于通过三种耦合能力评估LLM的自我改进:自我测试、自我判断和自我改进。S³Gym将允许性探索与严格的留出评估分开,并在七个具有可执行环境验证器的基于文本的游戏中实例化该协议。我们评估了三种整合交互经验的途径:直接历史上下文学习、基于分数条件的摘要记忆和参数训练。实验表明,自我改进既不是自动的也不是均匀的。上下文级经验提高了几个模型-游戏对的性能,但最有效的途径强烈依赖于任务结构:当经验可以压缩为可重用的策略规则时,摘要是有益的,但当成功依赖于精确的状态相关信息时,摘要往往不如原始历史。参数训练在某些任务上产生显著提升,但在其他任务上表现出不稳定的改进和严重的负迁移。这些发现表明,识别成功行动是不够的;智能体还必须将反馈转化为可执行和可迁移的策略。S³Gym提供了一个统一框架来诊断这一过程,并识别阻止智能体将交互经验转化为可靠自我改进的瓶颈。

该论文针对LLM智能体自我改进的关键问题,提出了一个新颖的基准S³Gym,并系统评估了多种经验整合途径,揭示了任务结构对改进效果的影响,为理解和提升LLM的自我改进能力提供了重要框架和实证洞察。

Large language models (LLMs) increasingly interact with external environments and accumulate substantial behavioral experience, yet existing agent benchmarks largely evaluate them as fixed policies. It therefore remains unclear whether an agent can actively test its behavior, judge the resulting experience, and use that experience to improve future decisions. We introduce S\textsuperscript{3Gym}, an interactive benchmark for evaluating LLM self-improvement through three coupled capabilities: Self-Testing, Self-Judging, and Self-Improvement. S^3Gym separates permissive exploration from strict held-out evaluation and instantiates this protocol in seven text-based games with executable environment verifiers. We evaluate three pathways for incorporating interaction experience: direct History ICL, score-conditioned Summary Memory, and parameter Training. Our experiments reveal that self-improvement is neither automatic nor uniform. Context-level experience improves performance for several model--game pairs, but the most effective pathway depends strongly on the task structure: summaries are beneficial when experience can be compressed into reusable strategic rules, yet often underperform raw history when success depends on precise, state-contingent information. Parameter training produces substantial gains on some tasks, but also exhibits unstable improvement and severe negative transfer on others. These findings show that recognizing successful actions is insufficient; agents must also transform feedback into executable and transferable policies. S^3Gym provides a unified framework for diagnosing this process and identifying the bottlenecks that prevent agents from translating interaction experience into reliable self-improvement.

阅读原文

参与讨论