New benchmark exposes the true reasoning capabilities of LLMs using dynamic puzzle generation
K&K puzzles, proposed in this paper, reveal how LLMs balance memorization and reasoning in logical problem-solving
π https://arxiv.org/abs/2410.23123
π€ Original Problem:
LLMs show puzzling behavior in reasoning tasks - excellent performance on complex problems but basic mistakes on simple ones. This raises questions about whether they truly reason or just memorize training data.
-----
π§ Solution in this Paper:
β Introduces Knights and Knaves (K&K) puzzles as a dynamic benchmark for testing logical reasoning
β Develops Local Inconsistency-based Memorization Score (LiMem) that measures model performance on original vs perturbed puzzles
β Creates two key modules:
- Abstract Module: Generates puzzles with specified complexity
- Natural Language Module: Converts abstract puzzles to natural text
β Implements systematic perturbation tests at both mathematical and linguistic levels
-----
π‘ Key Insights:
β LLMs can simultaneously use memorization and genuine reasoning
β Fine-tuning improves generalization even as memorization increases
β Models can develop reasoning skills even when trained only on question-answer pairs
β More complex puzzles show higher memorization scores
β Language-level perturbations affect models less than mathematical structure changes
-----
π Results:
β Only advanced LLMs achieve >70% accuracy on 2-person puzzles
β Performance drops to 11% for 8-person puzzles
β GPT4o-mini reaches near 100% training accuracy on 3/5-person puzzles
β LiMem scores ~50% on 8-person puzzles indicate heavy memorization
β Models show 80% memorization under role-flipping perturbations










