用国际象棋区分大语言模型的泛化与记忆能力
Disentangling generalization and memorization in large language models using chess
研究以国际象棋为受控测试平台,按相关先验密度构建从可记忆的常见局面到需泛化的全新局面的分类体系,无需知晓模型训练数据即可区分记忆与泛化。对GPT系列的长时段分析与Claude Opus、Gemini等当代模型的评估显示,先验越稀疏性能越差,稀疏先验任务上基础模型退至随机走子水平,各模型提出非法走法的比例急剧上升。推理增强推理虽提升表现,但无相关先验时每token的边际收益下降。
arXiv:2601.16823v4 Announce Type: replace 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org