Mixing Expert Knowledge: Bring Human Thoughts Back To the Game of Go

Yichuan Ma, Linyang Li, Yongkang Chen, Peiji Li, Jiasheng Ye, Qipeng Guo, Dahua Lin, Kai Chen

TL;DR

Researchers have developed LoGos, the first general-purpose Large Language Model (LLM) to achieve professional-level performance in the game of Go while maintaining its elite reasoning skills in math and coding. By combining structured domain expertise with long Chain-of-Thought (CoT) reinforcement learning, LoGos bridges the gap between specialized "black-box" game engines like AlphaGo and the natural language reasoning of modern LLMs.

The Problem: "Silent" Experts vs. Generalist LLMs

While specialized AI systems like AlphaGo reached superhuman levels years ago, they are essentially "silent" experts—they can play perfectly but cannot explain their moves or reason in natural language. Conversely, state-of-the-art general LLMs (like GPT-4 or o1) are notoriously bad at Go, often struggling to reach even beginner-level proficiency.

The authors identify two main hurdles preventing LLMs from mastering Go:

  1. Data Scarcity: There is a severe lack of high-quality natural language corpora for Go compared to domains like math or code.
  2. The "Context Curse": As a Go game progresses, the move history grows. LLMs, which process information as a serialized string of text, eventually lose track of the complex 19x19 spatial board state, leading to a sharp decline in performance during the mid-to-late game.

Methods: Injecting Expert Knowledge

The authors propose a novel training paradigm to "inject" expert knowledge into a general reasoning model (Qwen2.5) without losing its general-purpose capabilities.

Training pipeline for LoGos, showing the progression from cold start data to self-exploration.
  • Mixed Cold Start (SFT): The model is first fine-tuned on a mixture of general reasoning data (math/code) and a massive Go dataset. Crucially, the Go data isn't just a list of moves; it uses a heuristic template that forces the model to identify the player, analyze potential variations, and summarize the logic before outputting a move.
  • Reinforcement Learning (GRPO): Using Group Relative Policy Optimization, the model is encouraged to "self-explore." It is rewarded not just for picking the right move (as determined by the KataGo engine), but also for accurately estimating the win rate of that move.
  • 2D Board Rendering: To solve the "context curse," the researchers modified the input prompt to include a 19x19 numerical array representing the current board state. This allows the model to "see" the spatial relationships directly rather than trying to reconstruct the board from a long list of text coordinates.

Datasets

To facilitate this training, the team introduced several new resources:

  • Go Professional Dataset: A newly constructed dataset featuring 10 million game states annotated by the KataGo engine and 100,000 cases of human Go commentary.
  • KataGo-Bench-1K: A new evaluation benchmark consisting of 1,000 samples across various skill levels to test LLM proficiency in Go.

Key Insights

  • Reasoning Transfer: The "aha moment" of the paper is that reasoning structures learned from math and coding can be successfully applied to Go if the model is given a structured "cold start." The model doesn't just learn to play Go; it learns to reason about Go using its existing logic circuits.
  • The Necessity of Heuristics: The paper proves that "naive fitting" (simply training on move lists) fails. A structured reasoning template is essential for the model to reach a high performance ceiling.
  • Spatial Awareness via Text: Even though LLMs are text-based, providing a 2D array representation of the board effectively bypasses the limitations of serialized attention, allowing the model to maintain accuracy even in games exceeding 200 moves.

Key Results

LoGos demonstrates that an LLM can master a complex spatial game without sacrificing its core competencies.

Win rates of LoGos against various AI and LLM opponents.
  • Professional Proficiency: LoGos-32B achieved an 88.6% accuracy on the KataGo-Bench-1K, surpassing the KataGo-HumanSL-9d model (87.8%), which mimics top amateur and professional players.
  • Dominating Existing LLMs: LoGos crushed general-purpose models. For comparison, Claude 3.7-Sonnet scored 34.3% and o1-mini scored 27.3% on the same Go benchmark.
  • No "Catastrophic Forgetting": Despite the heavy Go training, LoGos-32B maintained a 96.5% on the MATH benchmark and 50.9% on LiveCodeBench, outperforming the base Qwen2.5-Instruct models.

Limitations and Future Work

While groundbreaking, the approach has limitations. It relies heavily on a high-quality "teacher" (KataGo) to provide the initial structured data and rewards, making it challenging to apply to domains without a perfect simulator. Additionally, because LoGos is an autoregressive LLM that "thinks" in text before moving, its inference is significantly slower than traditional Go AIs, making it less suitable for real-time, high-speed competitive play. Finally, human evaluators noted occasional misuse of specific Go terminology, an area ripe for future refinement.

Summary updated

BibTeX
@inproceedings{ma2025mixing,
  author = {Yichuan Ma and Linyang Li and Yongkang Chen and Peiji Li and Jiasheng Ye and Qipeng Guo and Dahua Lin and Kai Chen},
  title = {{Mixing Expert Knowledge: Bring Human Thoughts Back To the Game of Go}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=baNBqpzvMT},
}
Figure