cs.AIFeb 24, 2026

High-Precision Estimation of the State-Space Complexity of Shogi via the Monte Carlo Method

Authors: Sotaro Ishii, Tetsuro Tanaka

Organizations: Graduate School of Arts and Sciences, The University of Tokyo · Information Technology Center, The University of Tokyo

Abstract

Determining the state-space complexity of Shogi (Japanese Chess) has been a challenging problem, with previous combinatorial estimates leaving a gap of five orders of magnitude (106410^{64} to 106910^{69}). This gap arises from the difficulty of distinguishing positions reachable from the initial position among the vast number of board configurations. In this paper, we present a high-precision statistical estimate of the number of reachable Shogi positions. Here, a position consists of the side to move, the board configuration, and the pieces in hand, without move history, and positions related by exchanging the two players or by horizontal reflection of the board are counted once. Our method combines Monte Carlo sampling with a reachability test that performs reverse search toward the set of ``King-King only'' (KK) positions rather than toward the single initial position. Since every KK position and the initial position are mutually reachable, reaching any KK position proves reachability, and removing pieces from the board is a much simpler objective than reconstructing the initial position. Based on a sample of five billion positions, we estimate the number of such positions in Shogi to be 6.55×10686.55 \times 10^{68}; both ends of the approximate 3σ3σ confidence interval round to this value at three significant digits. We also applied this method to Mini Shogi, obtaining approximately 2.38×10182.38 \times 10^{18}.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Chess-World-Model: A 10M-Game Benchmark for Exact State Tracking from Chess Move Sequences

    May 28, 2026Benjamin Walker, Terry LyonsRecurrent Neural NetworksState Tracking

  2. Solving Go under Positional Superko: Sound Proof Transfer and New Board Values

    Oct 21, 2026Sami Kharma, Florian Schintke

  3. Chess_db: A framework for working with large chess game datasets

    Jul 23, 2026Nicos Angelopoulos, Jan WielemakerLogic ProgrammingChess