arXiv:2409.06477cs.AIcs.LG2024-09被引 1

用强化学习与模型预测控制提升国际象棋引擎决策能力。

Superior Computer Chess with Model Predictive Control, Reinforcement Learning, and Rollout

  • 用两台引擎分别评估局面和模拟对手走法,实现更优选步。
  • 单步前瞻搜索使顶尖引擎如Stockfish性能显著提升。
  • 架构通用性强,适合各类引擎,尤其对弱引擎增益明显。

本文将模型预测控制(MPC)、滚动优化(rollout)和强化学习(RL)方法应用于计算机国际象棋。提出一种新的走法选择架构,其中现有国际象棋引擎作为组件使用:一台引擎用于价值空间中的局面评估,另一台作为名义对手,模拟真实对手的走法。实验表明,该架构显著提升了局面评估引擎的性能,为基于其构建的引擎增加了额外智能层。这一优势对任何强度的引擎均有效,包括顶级引擎Stockfish和Komodo Dragon,以及较弱引擎。基本架构采用单步前瞻搜索,先生成由名义对手引擎决定的中间走法,再由另一引擎进行局面评估。不使用名义对手的简化方案也优于原评估器,但提升幅度较小;多步前瞻方案性能随前瞻长度增加而提高。理论上,该方法依赖于通用成本改进性质及牛顿法的超线性收敛框架,是价值空间近似、相关MPC/RL和滚动/策略迭代方法的基础。关键要求是首次前瞻步骤必须精确执行,这一原则指导了架构设计,并显然是提升当前最强引擎性能的重要因素。

原文摘要 · Abstract (English)

In this paper we apply model predictive control (MPC), rollout, and reinforcement learning (RL) methodologies to computer chess. We introduce a new architecture for move selection, within which available chess engines are used as components. One engine is used to provide position evaluations in an approximation in value space MPC/RL scheme, while a second engine is used as nominal opponent, to emulate or approximate the moves of the true opponent player. We show that our architecture improves substantially the performance of the position evaluation engine. In other words our architecture provides an additional layer of intelligence, on top of the intelligence of the engines on which it is based. This is true for any engine, regardless of its strength: top engines such as Stockfish and Komodo Dragon (of varying strengths), as well as weaker engines. Structurally, our basic architecture selects moves by a one-move lookahead search, with an intermediate move generated by a nominal opponent engine, and followed by a position evaluation by another chess engine. Simpler schemes that forego the use of the nominal opponent, also perform better than the position evaluator, but not quite by as much. More complex schemes, involving multistep lookahead, may also be used and generally tend to perform better as the length of the lookahead increases. Theoretically, our methodology relies on generic cost improvement properties and the superlinear convergence framework of Newton's method, which fundamentally underlies approximation in value space, and related MPC/RL and rollout/policy iteration schemes. A critical requirement of this framework is that the first lookahead step should be executed exactly. This fact has guided our architectural choices, and is apparently an important factor in improving the performance of even the best available chess engines.

国际象棋强化学习模型预测

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。