论文

用对局回放训练评估器,提升 Freeciv 长线策略智能体的奖励信号

Rome Wasn't Built in One Turn: Replay-Grounded Reward Signals for Long-Horizon Freeciv Agents

精选理由

研究团队让模型回放 Freeciv 对局来学判断哪个局面会赢,训练出的 CivTelescope 判断准确率比现成模型高 1.3-2 倍,做成的智能体比传统终局奖励基线高 77%。

论文提出 Freeciv 长线游戏中存在 scoreboard traps:在 8 款策略游戏的 8-68% 局面组合中,分数更高的局面最终反而输掉。团队构建 CivHarness 系统,可保存局面、分支决策并回放到未来回合,生成长期反馈。基于此训练出 LLM Judge 模型 CivTelescope,在 scoreboard-trap 局面上判断准确率是现成语言模型的 1.3-2.0 倍。再以 CivTelescope 作为稠密奖励训练出 CivMarshmallow 智能体,在 120 回合全程使用混合奖励,中期训练阶段比最优的终局奖励基线多获得 77% 的提升(8.94 分)。

原文 · arXiv cs.AI

Rome Wasn't Built in One Turn: Replay-Grounded Reward Signals for Long-Horizon Freeciv Agents

Training language-model agents to play long-horizon strategy games is hard because deterministic feedback is sparse and often arrives only at the end of a game. In-game scores can offer dense signals, but they do not reliably predict future outcomes: in 8-68% of position pairs across eight strategy games, the higher-scoring position leads to the worse outcome. We term this phenomenon scoreboard traps. In Freeciv, an open-source turn-based empire-building game where several players manage units, cities, and diplomacy over hundreds of turns, we look into better reward signals for gameplay agents. To facilitate this, we build CivHarness, an open system that saves current game states, branches on different decisions, and replays the game to future turns to provide measurable long-horizon feedback from saved positions. We use CivHarness to train CivTelescope, an LLM Judge that predicts which one of two game positions will yield the better outcome. On scoreboard-trap pairs, CivTelescope is 1.3-2.0 times more accurate than off-the-shelf language models, and it generalizes to new game starts, later turns, and unseen rules. We then train a Freeciv gameplay agent with CivTelescope as a dense reward, and call this recipe CivMarshmallow. When used in the middle stage of the game where scoreboard traps are common, CivMarshmallow reaches an average training phase gain of 8.94 points, 77% more than the best baseline, the end-of-game reward. Over the full 120-turn game, CivMarshmallow uses a hybrid reward that starts from the scoreboard or the end-of-game reward and shifts to CivTelescope as the game advances; this hybrid reward scores highest among the rewards we compare.