The Algorithm Is Not the Behavior: Learned Priors Override Look-Ahead in a Chess-Playing Neural Network
Elias Sandmann, Sebastian Lapuschkin, Wojciech Samek
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: LLM Reasoning, Memory & RAG › LLM Reasoning Enhancement · Type: empirical study · Keywords: neural network interpretability, algorithmic behavior, safety priors, chess AI, mechanistic analysis, overridden solutions
Areas: Safety & Security › Safety Benchmarking › Safety Incentives and Governance
Summary
We show that in Leela Chess Zero, algorithmic solutions such as immediate checkmates are internally represented but often overridden by safety priors, and we recover 61.7% of these 'forgotten puzzles' by steering the model against those preferences.
Explained to a 5-year-old
A computer program learned to play chess and can think ahead like a chess master. Inside the program, it sometimes finds the right move, like a checkmate. But another part of the program likes to play safely, so it ignores the good move. By making the safe part less strong, we can get the program to use the right move more often. This shows that even if a program knows the answer, it might still choose a different one.
Explained to a 5-year-old, longer
A computer made by people can play chess very well. It looks at the board and thinks about many possible moves, like a chess player does. While it is thinking, it sometimes finds the perfect move that would win the game right away. This perfect move is hidden inside the computer, but when it finally decides, the computer often does something else. The computer has another rule that prefers safe moves, so it chooses those instead of the perfect one. The researchers noticed this problem and called these hidden perfect moves "forgotten puzzles". They discovered that the computer still understands the good move and can even explain it if you look inside. To test if safety is the reason, they changed the computer so it liked safe moves less. After making this change, many of the forgotten puzzles were solved again. About 62 out of 100 of those hidden solutions came back when the safety rule was weakened. This shows that even when a computer knows the right answer, it might not use it because of other preferences. Understanding this helps us build smarter and safer AI systems in the future.
For a technical reader
The study analyzes Leela Chess Zero, a neural network that plays chess, by looking inside its layers with a technique called logit lens. They find that the network internally computes correct moves (including checkmates) but later layers override these solutions to favor safer play. By manipulating the network’s preferences, they recover about 62% of the overridden solutions, proving that safety priors can dominate algorithmic reasoning. This demonstrates that the presence of an algorithmic structure in a model does not guarantee that the model will follow it. The work highlights the importance of aligning learned priors with desired behavior for reliable AI systems.
Problem
It is unclear whether algorithmic structure in neural networks guarantees algorithmic behavior. Specifically, can internal algorithmic solutions be overridden by other learned preferences, leading to incorrect outputs?
Method
The authors extend the logit lens analysis to the policy network of Leela Chess Zero, identify positions where correct solutions appear in intermediate layers but are overridden, replicate prior mechanistic analyses to confirm algorithmic integrity, and then intervene by steering the model to reduce safety priors, recovering many of the overridden solutions.
Results
By steering the model against safety priors, the authors recover 61.7% of the previously overridden puzzle solutions, demonstrating that safety preferences can dominate algorithmic outputs.
Contributions
We introduce the concept of 'forgotten puzzles' where algorithmic solutions are internally present but overridden, provide mechanistic evidence that look-ahead works correctly, and show that safety priors cause the override, offering a causal intervention to recover many of these cases.
Practical relevance
These findings highlight the need for mechanisms to ensure that learned priors align with desired algorithmic behavior in safety-critical applications.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction