mlsanityData to 7 Oct 2026

A Fast Algorithm for Computing the Deficiency Number of a Mahjong Hand

arXiv 2108.06832 ↗First posted 15 Aug 2021cs.AI cs.DM cs.MAcited by 0

Not on the map. Why?

Abstract (arXiv)

The tile-based multiplayer game Mahjong is widely played in Asia and has also become increasingly popular worldwide. Face-to-face or online, each player begins with a hand of 13 tiles and players draw and discard tiles in turn until they complete a winning hand. An important notion in Mahjong is the deficiency number (a.k.a. shanten number in Japanese Mahjong) of a hand, which estimates how many tile changes are necessary to complete the hand into a winning hand. The deficiency number plays an essential role in major decision-making tasks such as selecting a tile to discard. This paper proposes a fast algorithm for computing the deficiency number of a Mahjong hand. Compared with the baseline algorithm, the new algorithm is usually 100 times faster and, more importantly, respects the agent's knowledge about available tiles. The algorithm can be used as a basic procedure in all Mahjong variants by both rule-based and machine learning-based Mahjong AI.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 3 of its 17 references that are in the map. First posted on arXiv 15 Aug 2021.

Builds on

3 of 17 references.

References · 3

  1. 2020Suphx: Mastering Mahjong with Deep Reinforcement Learningcited by 55
  2. 2017Safe and Nested Subgame Solving for Imperfect-Information Gamescited by 39
  3. 2019Method for Constructing Artificial Intelligence Player with Abstraction to Markov Decision Processes in Multiplayer Game of Mahjongcited by 3

Built on by

Not cited yet.