首页 > AI前沿 > CHSM8: A Chess Transformer that Follows Natural-Language Style Prompts

CHSM8: A Chess Transformer that Follows Natural-Language Style Prompts

arXiv自然语言 2026-10-18 23:57 5 阅读 查看原文
用户需要我将一段纯文本的新闻正文,按照特定规则排版成语义化的HTML片段。 规则要求: 1. 只输出HTML片段本身,不要Markdown围栏、不要解释。 2. 每个自然段落用`

`包裹,长文用`

`/`

`划分小节。 3. 列表内容用`
  • `,引用用`
    `,代码用`
    `,重要句子可用``。
    4. 保留原文所有信息,不得增删改内容。
    5. 不要输出``/``/``等文档级标签。
    
    分析原文:
    原文是一段关于CHSM8模型的学术/技术新闻。它没有明显的列表、引用或代码。它就是一个长段落。
    我需要将其合理地划分小节,用`

    `或`

    `,并用`

    `包裹各个自然段落。 原文内容: "We present CHSM8, a 210M-parameter chess transformer that plays moves conditioned on a free-text description of a playing style, e.g. "go for the Sicilian Defense", "solid, safe, risk-free chess" or "You are Magnus Carlsen in his prime". The model is pretrained without search on 1.07B filtered Lichess games, using a factorized move representation and legal-move masking. It reaches 1837 Elo against a strength-limited Stockfish and, in 1,000-game matches, beat every other public model we tested that was likewise trained without preference tuning, rewards or search, including one with 13 times as many parameters. We then fine-tune it to follow text on a synthetic dataset: Gemma-4-31B describes the playing style of 3M game sides, a 1B Gemma-3 model distilled from the 2.4M of those descriptions that contradict nothing on the board labels the rest, and every one of 30M selected game sides gets five descriptions. Supervised fine-tuning attaches a frozen text encoder through gated cross-attention, and direct preference optimization (DPO) uses the same moves under a mismatched description as the rejected sample. After DPO, style adherence rises on every prompt we test (for example, queens traded early 53% -> 67%, pawn moves 29% -> 32% of all moves, queenside castling 97.3% -> 99.7%), and strength without a prompt stays within noise of SFT (1792 vs. 1797 Elo). Design choices at every stage were made by fixed-budget automated search loops on top of standard architectures and training recipes. We document the full pipeline and the decisions behind it, report the ablations that failed, and evaluate the models across many style prompts and kinds of games, with 1,000 games per setting. The work is fully open source and reproducible: weights, datasets with all training labels, prompts, configurations, inference code and playable demos are public and free to build on." 为了应用`

    `/`

    `,我可以把原文拆分成几个逻辑小节,但注意“不得增删改内容”,这意味着我不能添加原文没有的标题文字,或者如果添加小标题,必须非常小心。不过规则说“长文用`

    `/`

    `划分小节”,如果没有现成的标题,我可以把段落本身用`

    `包裹,或者如果非要用`

    `,可能会违反“不得增删改内容”。 等等,规则说“长文用`

    `/`

    `划分小节”,如果我没有小标题,我可以直接用`

    `,或者把第一句话变成`

    `?不,修改句子结构可能违反“不得增删改内容”。 最安全的做法是:原文实际上是一个完整的长段落。我可以将其拆分为几个`

    `,或者如果必须使用`

    `/`

    `,我可以不添加额外的文字,但这很难。 再读规则:“每个自然段落用`

    `包裹,长文用`

    `/`

    `划分小节”。既然原文只有一个自然段落,且没有现成的小标题,我可以直接用`

    `包裹整个段落,或者根据句号拆分成多个`

    `。为了体现“长文”,我可以将整个文本放在一个`

    `中,或者拆成几个`

    `。 但是,如果有强制使用`

    `/`

    `的倾向,我能不能把某些关键句作为标题?不行,“不得增删改内容”。 那就只用`

    `,如果非要有层次,可以把第一句话作为`

    `?不,这算增删改。 其实,如果原文没有标题,直接输出`

    ...

    `是符合“每个自然段落用`

    `包裹”的。为了排版美观,我可以把长段落按逻辑拆成几个`

    `。 比如: `

    We present CHSM8... as many parameters.

    ` `

    We then fine-tune it... five descriptions.

    ` `

    Supervised fine-tuning attaches... rejected sample.

    ` `

    After DPO, style adherence... 1797 Elo).

    ` `

    Design choices at every stage... per setting.

    ` `

    The work is fully open source... build on.

    ` 等等,规则里提到“长文用`

    `/`

    `划分小节”,如果我不使用`

    `/`

    `,会不会被认为没有遵守规则?如果原文本身没有小标题,我强行加小标题(如“模型介绍”、“微调过程”)就违反了“不得增删改内容”。所以,不使用`

    `/`

    `,或者只使用`

    `是更稳妥的,或者我可以在不增加文字的情况下,把某些句子用``加粗,符合“重要句子可用``”。 让我们再仔细看原文,有没有可以当作列表或引用的部分? 没有。 所以,我将原文按逻辑拆分为几个`

    `,并对一些重要句子使用``。 拆分段落: 段1:We present CHSM8, a 210M-parameter chess transformer that plays moves conditioned on a free-text description of a playing style, e.g. "go for the Sicilian Defense", "solid, safe, risk-free chess" or "You are Magnus Carlsen in his prime". The model is pretrained without search on 1.07B filtered Lichess games, using a factorized move representation and legal-move masking. It reaches 1837 Elo against a strength-limited Stockfish and, in 1,000-game matches, beat every other public model we tested that was likewise trained without preference tuning, rewards or search, including one with 13 times as many parameters. 段2:We then fine-tune it to follow text on a synthetic dataset: Gemma-4-31B describes the playing style of 3M game sides, a 1B Gemma-3 model distilled from the 2.4M of those descriptions that contradict nothing on the board labels the rest, and every one of 30M selected game sides gets five descriptions. 段3:Supervised fine-tuning attaches a frozen text encoder through gated cross-attention, and direct preference optimization (DPO) uses the same moves under a mismatched description as the rejected sample. 段4:After DPO, style adherence rises on every prompt we test (for example, queens traded early 53% -> 67%, pawn moves 29% -> 32% of all moves, queenside castling 97.3% -> 99.7%), and strength without a prompt stays within noise of SFT (1792 vs. 1797 Elo). 段5:Design choices at every stage were made by fixed-budget automated search loops on top of standard architectures and training recipes. We document the full pipeline and the decisions behind it, report the ablations that failed, and evaluate the models across many style prompts and kinds of games, with 1,000 games per setting. 段6:The work is fully open source and reproducible: weights, datasets with all training labels, prompts, configurations, inference code and playable demos are public and free to build on. 关于`

    `/`

    `