Introduction: The Concretization Gap
Large Language Models (LLMs) are notoriously brittle when it comes to logical reasoning. A slight change in phrasing or a single typo can cause a model’s reasoning capabilities to crumble. Historically, researchers have treated this as a surface-level issue, assuming the model simply gets confused by the specific vocabulary.
However, this paper asks a deeper mechanistic question: Does an LLM utilize the same internal "reasoning engine" for a logic problem regardless of how it is phrased? Specifically, the authors investigate the Concretization Gap—the massive performance drop that occurs when a problem is translated from an abstract Formal Language (FL), such as Z3 code, into a "concrete" Natural Language (NL) story. Their findings uncover a phenomenon they term Reasoning Compartmentalization, revealing that models process formal logic and natural language through separate, isolated internal channels.
Methodology: Isolating the Reasoning Engine
To isolate the effect of problem representation from the underlying logic, the researchers designed a highly controlled experimental setup:
- Isomorphic Task Pairs: The authors generated Boolean satisfiability (SAT) and Constraint Satisfaction Problems (CSP). Each problem was represented in two formats: executable Z3 code (FL) and a prose puzzle (NL). Crucially, the underlying logic was mathematically identical; only the surface presentation changed.
- Mechanistic Diagnostics: To look "under the hood," the team employed several techniques:
- Linear Centered Kernel Alignment (CKA): To compare the similarity of internal neural representations across different layers.
- Grad × Input Attribution: To measure which specific tokens (words or code symbols) the model pays attention to during problem-solving.
- Activation Patching: A technique to swap internal hidden states from an FL run into an NL run to test if reasoning "knowledge" transfers.
These tests were run across a custom dataset of synthetic SAT/CSP pairs (ranging from 3x3 to 5x5 variables), the Knights-and-Knaves (K&K) logic benchmark, and several robustness benchmarks including PlanBench, R2ATA, and CatAttack.
Key Findings: The Compartmentalization Phenomenon
The experiments revealed that the concretization gap is both stark and deeply rooted in the model's architecture:
- The Performance Drop: Prior to any intervention, models struggled heavily with NL formats. For example, Qwen3-30B-A3B experienced a 66% drop in accuracy when a 3x3 SAT problem was moved from code to natural language.
- Disjoint Errors: The errors models made in FL versus NL were almost entirely different (Jaccard similarity < 0.12). This indicates that the model isn't just finding the NL version "harder"—it is failing in fundamentally different ways.
- Isolated Representations: Even when two problems are logically identical, the model’s internal activations for FL and NL exist in completely different "neighborhoods" of its high-dimensional space.
- Lack of Learning Transfer: Training a model to improve on the code version of a problem does not translate to better performance on the language version. Optimization signals remain trapped within their respective compartments.
- Attention Distraction: In FL, the model correctly focuses on logical operators (e.g.,
And,Not). In NL, the model's attention is frequently hijacked by irrelevant function words or punctuation.
Intervention: Abstraction-Based Routing
To mitigate this compartmentalization, the researchers introduced Abstraction Alignment. They tested two methods to bridge the gap: prompting the model to translate the NL puzzle into FL code before solving it, and using Reinforcement Learning (RL) to train the model to translate NL to FL (rewarding it only if the resulting code was logically isomorphic to the original).
This intervention yielded significant gains. After RL-based abstraction training, models like GPT-oss-20B saw their NL performance approach their FL accuracy baselines. Furthermore, these abstraction-trained models became much more robust to out-of-domain noise, demonstrating an 8.2% improvement on PlanBench and better resistance to adversarial typos.
Routing, Not Fusion: The most surprising mechanistic finding was how this intervention worked. Training models to translate NL to FL did not merge their internal representations. The NL and FL compartments remained distinct. Instead, the training improved the model's ability to route information from the language channel into the logic channel. Abstraction acts as a bridge between compartments, rather than a blender that fuses them together.
Limitations and Future Directions
While these findings offer a profound look into LLM reasoning, the study primarily focuses on "closed-loop" logic tasks like SAT and CSP. It remains an open question whether these insights apply to open-ended mathematical proofs or subjective common-sense reasoning. Additionally, while the authors tested several state-of-the-art models, the deepest mechanistic analyses were limited to specific architectures.
Ultimately, this research suggests a shift in how we approach AI reasoning. Rather than simply scaling up data and hoping models implicitly learn to connect language and logic, building "verifiable abstraction layers"—where models are explicitly trained to map messy natural language to formal, structured pathways—may be the most promising route to robust, reliable AI.
Summary updated