{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2605-17565","title":"Generalization or Memorization? Brittleness Testing for Chess-Trained Language Models","arxiv_id":"2605.17565","date":"2026-05-17","proceeding":null,"authors":["Ethan Tang"],"abstract":"Recent work has fine-tuned language models on chess data and reported high benchmark scores as evidence that the resulting models can understand the rules of chess, play full chess games at a professional level, or generate human-readable explanations grounded in expert knowledge. We train KinGPT, a 25M-parameter character-level language model trained only on (position, best-move) pairs, who exceeds 3B-parameter ChessGPT on a 600-puzzle mate-in-N suite and 4B-parameter C1-4B over a 20-theme puzzle benchmark. We examine several claims made in existing literature regarding chess-trained language models and assert that their impressive benchmark performance is largely explained by pattern-matching. We also demonstrate how LLM-Modulo, a verifier-in-the-loop framework, raises RedPajama 3B's best move accuracy from 1.2% to 21.2% and move generation validity from 19.3% to 95.3% on mate-in-N chess puzzles, comparable to gains achieved from ChessGPT's fine-tuning on chess-specific web corpora at a fraction of the cost. Our results illustrate how pairing a general LLM with an external verifier offers a more flexible alternative to directly training on synthetic data for well-defined domains. We open source all training/evaluation code, datasets, puzzle samples, and KinGPT model checkpoints for reproducibility.","url_abs":"https://arxiv.org/abs/2605.17565","url_pdf":"https://arxiv.org/pdf/2605.17565","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":null,"mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2605.17565"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/ethanjtang/KinGPT","reach":{"status":"ok","spdx":"NOASSERTION"}},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/ethanjtang/GAMBIT","reach":null}],"summary":{"ran":5},"by_repo_kind":{"found_in_text":{"samples":5,"ran":5,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":5,"samples":[{"code_sha256_prefix":"e3266e4f554042c3","entry":"build_prompt","repo":"ethanjtang/GAMBIT","repo_kind":"found_in_text","path":"eval_models_on_puzzles/eval_all_models_base.py","file_url":"https://github.com/ethanjtang/GAMBIT/blob/HEAD/eval_models_on_puzzles/eval_all_models_base.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"e3266e4f554042c3"}},{"code_sha256_prefix":"c3c0cecdd5b102dd","entry":"expected_score","repo":"ethanjtang/GAMBIT","repo_kind":"found_in_text","path":"misc/chessLLM_perf_calc.py","file_url":"https://github.com/ethanjtang/GAMBIT/blob/HEAD/misc/chessLLM_perf_calc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"c3c0cecdd5b102dd"}},{"code_sha256_prefix":"9006d9d9d587b7ad","entry":"generate_response","repo":"ethanjtang/GAMBIT","repo_kind":"found_in_text","path":"eval_models_on_puzzles/eval_all_models_modulo.py","file_url":"https://github.com/ethanjtang/GAMBIT/blob/HEAD/eval_models_on_puzzles/eval_all_models_modulo.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"9006d9d9d587b7ad"}},{"code_sha256_prefix":"7478215b75b24d64","entry":"performance_rating","repo":"ethanjtang/GAMBIT","repo_kind":"found_in_text","path":"misc/chessLLM_perf_calc.py","file_url":"https://github.com/ethanjtang/GAMBIT/blob/HEAD/misc/chessLLM_perf_calc.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"7478215b75b24d64"}},{"code_sha256_prefix":"8d65b9d03dfac1b3","entry":"sample_puzzles","repo":"ethanjtang/GAMBIT","repo_kind":"found_in_text","path":"eval_models_on_puzzles/puzzle_utils.py","file_url":"https://github.com/ethanjtang/GAMBIT/blob/HEAD/eval_models_on_puzzles/puzzle_utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"8d65b9d03dfac1b3"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CL","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}