cs.CLJan 23, 2026

Disentangling generalization and memorization in large language models using chess

Authors: Leonard S. Pleiss, Maximilian Schiffer, Robert K. von Weizsaecker

Organizations: Technical University of Munich

Abstract

Large Language Models (LLMs) exhibit remarkable capabilities, yet it remains unclear to what extent these reflect sophisticated recall or genuine reasoning ability. We introduce chess as a controlled testbed aimed at disentangling these faculties. Leveraging the game's structure and scalable engine evaluations, we construct a taxonomy of positions varying in density of relevant priors -- ranging from common states solvable by memorization to completely novel ones requiring generalization. Crucially, our approach achieves this distinction without requiring explicit knowledge of the models' training data. Applying this taxonomy, we combine a longitudinal analysis of the GPT lineage with a rigorous evaluation of contemporary models, including Claude Opus and Gemini. Our analysis reveals a steep gradient: performance consistently degrades as the density of relevant priors decreases. Notably, for tasks with few relevant priors, base model performance regresses to the random-play baseline, and all models propose illegal moves at sharply increasing rates, indicating that they fail to reliably apply the fixed rules of the game in unfamiliar positions. While newer models improve, progress slows significantly for tasks with sparse priors. Furthermore, while reasoning-augmented inference improves performance, its relative marginal benefit per token decreases in the absence of relevant priors. These results suggest limitations in systematic generalization, highlighting the need for mechanisms beyond scale to achieve robust performance when deprived of relevant priors.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Reasoning Capabilities of Large Language Models. Lessons Learned from General Game Playing

    Feb 22, 2026Maciej Świechowski, Adam Żychowski, Jacek MańdziukLLM ReasoningLLM Evaluation

  2. Generalization or Memorization? Brittleness Testing for Chess-Trained Language Models

    May 17, 2026Ethan TangLLM EvaluationLanguage Modeling

  3. How Reasoning Evolves from Post-Training Data: An Empirical Study Using Chess

    Apr 6, 2026Lucas Dionisopoulos, Nicklas Majamaki, Prithviraj AmmanabroluLanguage Model Post-TrainingRL for Language Model Reasoning