Papers › Maia-2: A Unified Model for Human-AI Alignment in Chess

Maia-2: A Unified Model for Human-AI Alignment in Chess

30 Sep 2024arXiv:2409.20553archive 2025-07-28

Zhenwei Tang, Difan Jiao, Reid McIlroy-Young, Jon Kleinberg, Siddhartha Sen, Ashton Anderson

There are an increasing number of domains in which artificial intelligence (AI) systems both surpass human ability and accurately model human behavior. This introduces the possibility of algorithmically-informed teaching in these domains through more relatable AI partners and deeper insights into human decision-making. Critical to achieving this goal, however, is coherently modeling human behavior at various skill levels. Chess is an ideal model system for conducting research into this kind of human-AI alignment, with its rich history as a pivotal testbed for AI research, mature superhuman AI systems like AlphaZero, and precise measurements of skill via chess rating systems. Previous work in modeling human decision-making in chess uses completely independent models to capture human style at different skill levels, meaning they lack coherence in their ability to adapt to the full spectrum of human improvement and are ultimately limited in their effectiveness as AI partners and teaching tools. In this work, we propose a unified modeling approach for human-AI alignment in chess that coherently captures human style across different skill levels and directly captures how people improve. Recognizing the complex, non-linear nature of human learning, we introduce a skill-aware attention mechanism to dynamically integrate players' strengths with encoded chess positions, enabling our model to be sensitive to evolving player skill. Our experimental results demonstrate that this unified framework significantly enhances the alignment between AI and human players across a diverse range of expertise levels, paving the way for deeper insights into human decision-making and AI-guided teaching tools.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2409.20553")

Code

Syntology Ran 8 of 18 code samples harvested from 2 repositories linked to this paper; 10 have no recorded run. Of those that ran: 8 ran with no contract checked.

By repository: official repository: 7 samples from 1 repository, 4 ran; community (archive-listed): 11 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

csslab/maia2 officialmentioned in papermentioned on GitHubpytorchMIT report
CSSLab/maia-chess mentioned on GitHubpytorchGPL-3.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 8 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

8ran
10unverified

Licence: 11 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

load_example_train_dataset csslab/maia2/maia2/dataset.py official repository ran MIT (permissive) · 6008bedc62663800 · report
parse_args csslab/maia2/maia2/utils.py official repository ran MIT (permissive) · 2e197fc204c4df1b · report
readable_num csslab/maia2/maia2/utils.py official repository ran fingerprinted MIT (permissive) · 3d01121e567b461a · report
readable_time csslab/maia2/maia2/utils.py official repository ran fingerprinted MIT (permissive) · 1b31d7f15a7a7f53 · report
from_pretrained csslab/maia2/maia2/model.py official repository unverified MIT (permissive) · f2060b9a8207669c · report
get_preds CSSLab/maia2/maia2/inference.py official repository unverified MIT (permissive) · 56ee634d6f4bdab3 · report
load_example_test_dataset csslab/maia2/maia2/dataset.py official repository unverified MIT (permissive) · be0a07c0bc229683 · report
loadbzJson CSSLab/maia-chess/blunder_prediction/maia_chess_backend/boardTrees.py community (archive-listed) ran GPL-3.0 (copyleft) · pointer only · 17ce924b3e8437ff · report
nodeFromSeq CSSLab/maia-chess/blunder_prediction/maia_chess_backend/boardTrees.py community (archive-listed) ran GPL-3.0 (copyleft) · pointer only · 40c224517343d54a · report
toBin CSSLab/maia-chess/blunder_prediction/maia_chess_backend/fen_to_vec.py community (archive-listed) ran GPL-3.0 (copyleft) · pointer only · 88734a70ea400df9 · report
toByteBuff CSSLab/maia-chess/blunder_prediction/maia_chess_backend/fen_to_vec.py community (archive-listed) ran GPL-3.0 (copyleft) · pointer only · 326edeccdebb5bd9 · report
binarizeFiles CSSLab/maia-chess/blunder_prediction/maia_chess_backend/data_prep.py community (archive-listed) unverified GPL-3.0 (copyleft) · pointer only · af21b1c2558b6b63 · report
cleanFile CSSLab/maia-chess/blunder_prediction/maia_chess_backend/data_prep.py community (archive-listed) unverified GPL-3.0 (copyleft) · pointer only · f17b236a2f6e490c · report
genSeqs CSSLab/maia-chess/blunder_prediction/maia_chess_backend/boardTrees.py community (archive-listed) unverified GPL-3.0 (copyleft) · pointer only · eb4d1418a63392a6 · report
getBoardMoveMap CSSLab/maia-chess/blunder_prediction/maia_chess_backend/games.py community (archive-listed) unverified GPL-3.0 (copyleft) · pointer only · b821c7c8c900be7e · report
lczeroFile CSSLab/maia-chess/blunder_prediction/maia_chess_backend/data_prep.py community (archive-listed) unverified GPL-3.0 (copyleft) · pointer only · ada9bf8c1a4d8a69 · report
load_model_config CSSLab/maia-chess/blunder_prediction/maia_chess_backend/model_loader.py community (archive-listed) unverified GPL-3.0 (copyleft) · pointer only · 09eda5e6f21ccdab · report
move_to_index CSSLab/maia-chess/blunder_prediction/maia_chess_backend/fen_to_vec.py community (archive-listed) unverified GPL-3.0 (copyleft) · pointer only · 1dffeee3d0d0b59c · report

Tasks

Decision Making

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AlphaZeroAttentionSoftmax

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections