AIToday
Large Language ModelsQiita 機械学習Published: Oct 29, 2026, 10:01 JST

Mahjong AI v3 hits 77.81% match with Transformer

Send on LINE
Mahjong AI v3 hits 77.81% match with Transformer

3 Key Points

  1. What happened

    The v3 mahjong AI, trained on 16 years of Tenhou records (2009–2024) and roughly 2.5 billion samples, predicts human discards with 77.81% Top-1 and 97.65% Top-3 accuracy on validation.

  2. Why it matters

    The model reaches that match rate without any human-engineered features like shanten counts or safe-tile scores; an experiment adding such derived features moved Top-1 by less than 0.1 points.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The v3 project is best understood as a clean, from-scratch reconstruction of the supervised-learning stage of mahjong AI. Instead of feeding the model hand-crafted features such as shanten counts or safe-tile scores, the author arranged the game state as three token types—one round token, 37 tile tokens, and up to 128 event tokens—and let a 6-layer Transformer mix information across all of them. A key design choice is that each tile token carries its own score, so illegal discards can be masked easily and tile-specific information stays attached to the tile.

V3 is placed against Suphx (Microsoft Research Asia, 2020) and NAGA (Dwango). The author notes that Suphx uses a CNN with about 100 layers, over 100 look-ahead features, around 20 million parameters, and reinforcement learning, while v3 uses a Transformer, no derived features, about 4.82 million parameters, and imitation only. The headline 77.81% match rate is not a measure of strength and is not directly comparable to Suphx's 76.7%, because the data and counting methods differ. v3 has not been connected to a full game engine, so its playing strength remains unmeasured.

FAQ
What data was v3 trained on?
It was trained on Tenhou game records spanning 2009 to 2024, a total of 16 years, with about 2.5 billion samples seen over 3 epochs.
Does v3 use reinforcement learning like Suphx?
No. v3 learns only by imitating human discards, while Suphx adds self-play reinforcement learning after its supervised stage.
How many parameters does v3 have?
About 4.82 million parameters in total, most of which come from six layers of roughly 790,000 parameters each.
Qiita 機械学習Read Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleOpenAI, Anthropic cut LLM prices up to 80% on open-weight pressure