Back to search

San Jose State University

Stepwise Sudoku Reasoning Training using Transformers

Abstract

dc:description.abstract

Sudoku is a constraint satisfaction problem that serves as a testbed for studying reasoning and stepwise deduction. While many solvers can produce correct solutions, they often fail to generate human interpretable sequences of logically consistent steps. This study investigates whether a transformer trained on stepwise deduction traces can learn to solve Sudoku puzzles through sequential, logically deducible moves. Results show that solve accuracy improves significantly with more training data, reaching approximately 78% at 1500k samples. Stepwise analysis indicates that the model effectively learns simple strategies, achieving near-perfect performance. However, performance on more complex strategies remains limited. Overall, while the model demonstrates strong constraint awareness and produces largely deducible steps, it struggles to consistently capture more complex reasoning, highlighting the need for improved data balance or architectural enhancements.

Degree

thesis:*
Name thesis:degree_name
Master of Science in Computer Science (MSCS)
Discipline thesis:degree_discipline
Computer Science

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Chu, Lok Man
Contributors dc:contributor
  • Robert Chun
  • Thomas Austin
  • Avinash Sharma

Subjects

dc:subject × 5

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
San Jose State University
Base URL
scholarworks.sjsu.edu/do/oai/
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Chu, Lok Man. Stepwise Sudoku Reasoning Training using Transformers. https://doi.org/10.31979/etd.qxyr-jv4p