下棋并解释走法的语言模型
研究论文 · 2026/10/05
现代国际象棋引擎棋力超人类,但不解释其走法;语言模型能生成看似合理的解释,但棋力弱,限制了其解释的实用性。我们提出 Queen,一个 40 亿参数的国际象棋语言模型,能在达到典型特级大师水平的同时解释其走法和计划。我们的新框架通过互补组件实现领域特定推理:编码器-解码器架构和迭代蒸馏算法。该架构通过交叉注意力将沉默的专家国际象棋编码器与指令微调的语言模型集成,并用问答课程训练,以从编码器表示中提取国际象棋概念。在此领域适配模型基础上,我们用自然语言版的贝尔曼更新迭代改进其解释:模型分析其最佳候选走法后的局面,并将其整合为对当前局面的解释,再蒸馏回模型。经过七次迭代,我们的模型提升超过 900 Elo 分(1782 到 2697),在棋力和谜题准确率上大幅超越所有前沿模型,尽管参数少了三个数量级。此外,基于语言模型的评估显示,我们的解释流畅,连贯性接近 GPT-5.6-Sol(high)。我们架构和训练流程的通用性表明,可将语言模型应用于存在沉默专家编码器的领域,如游戏、机器人和计算机使用。
该工作让语言模型既能下棋又能解释走法,棋力达到特级大师水平,且参数远少于前沿模型,为将语言模型应用于存在沉默专家编码器的领域提供了通用方法。
Modern chess engines are silent experts: they play at a superhuman level, but do not offer explanations for their play. On the other hand, language models (LMs) can generate plausible-sounding explanations, but their weak playing strength limits the utility of their explanations. We introduce Queen, a 4B-parameter chess-language model that can explain its moves and plans while playing at the level of a typical Grandmaster. Our novel framework enables domain-specific reasoning through complementary components: an encoder-decoder architecture and an iterative distillation algorithm. This architecture integrates a silent expert chess encoder with an instruction-tuned LM through cross-attention, which we train via a question-answering curriculum to extract chess concepts from the encoder's representations. Building on this domain-adapted model, we iteratively improve its explanations with a natural-language analog of the Bellman update: the model analyzes the positions after its top candidate moves and consolidates them into an explanation of the current position, which is then distilled back into the model. Over seven iterations, our model gains over 900 Elo points (1782 to 2697), substantially surpassing all frontier models on both playing strength and puzzle accuracy, despite containing three orders of magnitude fewer parameters. Furthermore, LM-based evaluations show that our explanations are fluent and approach GPT-5.6-Sol (high) in coherence. The generality of our architecture and training procedure suggests a recipe for applying language models to domains where silent expert encoders are available, like games, robotics, and computer use.