Text Is the Bottleneck: A Small-Scale Replication of LLM Game Playing in Riichi Mahjong

Mingge XuarXiv 2026 · arXiv

TL;DR

This small-scale replication of LLM game-playing in Riichi Mahjong reveals that text is the bottleneck: a tiny 2.6M-parameter board encoder outperforms 2B-parameter LLMs when trained on the same data. While LLMs can learn to play, the overhead of processing game states as prose prevents them from reaching the efficiency or strength of specialized architectures on a consumer-grade budget.

What Problem Does This Paper Address?

Recent research (e.g., Wang et al., 2025) suggested that Large Language Models (LLMs) could approach the performance of expert-level game AIs through supervised fine-tuning on text descriptions of game states. However, these studies often use massive compute budgets (e.g., 8×H100 GPUs) and large models (7B–9B parameters).

The author, Mingge Xu, investigates whether these conclusions hold up under "drastically smaller" constraints: a single 16GB consumer GPU (RTX 5070 Ti) and models under 2B parameters. The core question is whether the LLM's transformer architecture is actually learning the game logic effectively, or if the act of serializing a complex, 2D game board into a long string of text creates a representation gap that hinders learning.

Methods

The paper employs a rigorous replication and comparison strategy:

  • Replication: The author reconstructed the data pipeline from the original "LLM4CardGame" paper, including re-implementing private engine patches required to let an LLM play in an arena.
  • Model Comparison: They compared text-prompted LLMs (Qwen3.5-0.8B/2B, TinySwallow-1.5B) against specialized "board encoders"—a 2.6M-parameter CNN and a 4.9M-parameter Transformer—that consume the game state as a structured tensor rather than prose.
  • Training: LLMs were trained using LoRA (Low-Rank Adaptation) for one epoch. Encoders were trained from scratch. Both were supervised using either human expert records or labels from Mortal, a state-of-the-art Mahjong AI.
  • Divide-and-Conquer Pipeline: To leverage LLMs' strengths in language without the "text bottleneck," the author proposed a hybrid system where a frozen encoder handles the decision-making, and the LLM integrates program-supplied facts to generate human-readable rationales.

Datasets

  • Tenhou Houou (Phoenix) Table Records: A 2026 dump of top-tier human games (12,188 hanchan).
  • Mortal Distillation: Labels and Q-values from the "VoidShine-298k" checkpoint of Mortal were used as a "teacher" signal for both the LLMs and the encoders.
  • Unified Test Set: A fixed 5,000-decision sample used to measure "offline agreement" (how often the model picks the same move as the teacher).

Key Insights and Ideas

  • Text is the Bottleneck: On identical 100k-decision training sets, the 2.6M CNN reached 80.6% agreement with the teacher AI, beating the best 2B LLM (77.8%). The LLM is roughly 770× larger but performs worse because it has to "un-serialize" prose back into a mental model of the board.
  • Supervision > Scale: For these small models, training on high-quality AI labels (Mortal) improved performance more than a 2.5× increase in parameter count.
  • The "Imitation Ceiling": The scaled Transformer encoder reached 94.7% agreement and achieved statistical parity with Mortal. The author notes that parity against your teacher is essentially the ceiling for pure imitation learning.
  • Agreement vs. Strength: A crucial finding is that small gains in "offline agreement" (picking the right move on a test set) do not always translate to better "at the table" performance in small sample sizes (100 games). This suggests that evaluation protocols in game AI need higher power to be meaningful.
Figure 1: Agreement with Mortal’s first choice vs. parameter count (log scale). Text-prompt LLMs (circles: human labels; squares: Mortal labels) reach 71–78% across the 0.5B–2B range (TS-1.5B, 61%, was trained on 20k decisions— its 100k run was interrupted at step 5,005/6,188 and is not evaluated), while board encoders (diamonds) consuming the same prompt fields as tensors reach 80.6–94.7%; the dashed line marks human houou experts (81.9% on this test set). Encoder annotations give training-set size in decisions.

Key Results

  • Efficiency: The 2.6M CNN trains in just 1.6 minutes, whereas the 0.8B LLM takes nearly 10 hours on the same hardware.
  • Playing Strength: While the LLMs achieved an average placement of ~3.0 (where 2.5 is parity and 3.9 is random), the scaled Transformer encoder hit 2.51, effectively matching the champion-level AI it was trained to imitate.
  • Rationale Fidelity: By using a "divide-and-conquer" approach, the author achieved 93% "sentence-exact" rationales. Without providing the LLM with program-verified facts, this dropped to 43%, as the model would frequently hallucinate numbers (e.g., claiming "47 acceptances" when only 46 exist).
Figure 2: (a) Placement distributions showing the Transformer encoder (TF enc) reaching parity with Mortal. (b) The correlation between offline agreement and playing strength across different model families.

Limitations and Future Work

  • Scale Limits: The study only looked at models up to 2B parameters. It remains an open question whether 7B+ models eventually overcome the "text bottleneck" through sheer capacity.
  • Single-Run Noise: Due to budget constraints, most configurations were trained only once, meaning some results might be affected by training variance.
  • Licensing: Per Tenhou’s terms of service, the author did not release trained weights, only the code and evaluation protocols.
  • Future Direction: The author suggests that the best path forward for "Game LLMs" isn't end-to-end text, but a division of labor: let structured encoders handle the "what" (decisions) and LLMs handle the "why" (rationales).
Figure 3: The divide-and-conquer pipeline. A small perception head turns pixels into the structured state; a frozen CNN encoder compresses it into 35 soft tokens; a program appends checkable facts (including the encoder’s ranking in the rationale setting); the LLM integrates them. The percentages shown are from the clean-state pipeline: action 91.6% without facts, rationale sentences 92.8% with facts. The dashed path is the original paper’s text-only baseline.

Summary updated

Abstract

We replicate the riichi-mahjong track of "Can Large Language Models Master Complex Card Games?" (arXiv:2509.01328) under a drastically smaller budget: models of at most 2B parameters, one 16 GB consumer GPU, about five GPU-days. (1) With matched data and labels, text is the bottleneck: on the same 100k-decision training set, a 2.6M-parameter convolutional board encoder agrees with the strong AI Mortal on 80.6% of test decisions, above every text-prompt LLM we train (best 77.8%), and places better at the table (2.85 over 1,000 games vs. ~3.0 for the LLMs; paired difference at n=100 not significant). Scaled to 1.71M decisions, a 4.9M-parameter Transformer reaches 94.7% agreement, beats the 0.8B LLMs on identical seeds (-0.45 ranks, sign test p=0.005), and is statistically equivalent to parity against three Mortal champions (TOST within 0.10 ranks, p=6e-4); parity against a teacher-opponent is roughly the ceiling of pure imitation. (2) Training toward the teacher raises teacher agreement more than a 2.5x parameter increase does (+2.5 vs. +1.5 points); on human-record agreement both effects are +1.0, and neither is visible at the table. (3) Few-point agreement differences do not resolve into playing strength within a family: +2.5 agreement points coincide with a paired placement difference of +0.02 +/- 0.12 ranks (p=1.0), and +2.0 points at 2B with -0.06 (p=0.37) - both below the ~0.25-rank resolution of 100 paired games. We also document a paper-code mismatch in the original winner filter, reconstruct its two private engine patches, and show that a divide-and-conquer pipeline makes template-generated Japanese rationales 93% sentence-exact (43% without facts). Per Tenhou's terms we release no trained weights - only code, configurations, and evaluation protocols.
BibTeX
@misc{xu2026text,
  author = {Mingge Xu},
  title = {{Text Is the Bottleneck: A Small-Scale Replication of LLM Game Playing in Riichi Mahjong}},
  year = {2026},
  eprint = {2610.34791},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.34791},
}
Figure