Beyond Pattern Matching: Tracing Symbolic Reasoning Failures in LLMs to Their Mechanistic Origin
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:53 UTC · c1ff6c29f398 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "U8kgxasLfy"- }- ],- "title": "Beyond Pattern Matching: Tracing Symbolic Reasoning Failures in LLMs to Their Mechanistic Origin",- "authors": [],- "abstract": "Large language models (LLMs) have shown strong performance across \nreasoning benchmarks, yet whether this reflects genuine symbolic \nreasoning or sophisticated pattern matching remains actively debated. We \ninvestigate this question using regular languages, the simplest \nclass of formal languages, where operator semantics are unambiguous \nand correctness is exactly checkable. Our work proceeds \nin three stages. First, by applying a cross-consistency protocol to \nfrontier models (GPT-5.2, Grok-4.1, Gemini-2.5) and open-weight \nQwen 2.5 models (1.5B, 7B, 14B), we show that models cannot \nreliably interpret regular expressions: they describe constraints \nthey then violate in generation and recognition, revealing eleven \nsystematic failure modes that recur across all architectures \nregardless of scale. Second, when asked to construct deterministic \nfinite automata, these semantic failures propagate into six classes of structural construction errors that persist regardless of construction strategy. Third, we examine if training can fix these failures. Fine-tuning on a purpose-built \nregex-to-DFA benchmark (22,500 training, 1,000 test examples) \nrecovers near-perfect accuracy on simpler tiers, but a persistent \ngap remains at the highest complexity tier that no supervision format, curriculum ordering, or model scale closes. Because the gap survives every behavioral intervention, we look inside the model. Mechanistic analysis points to a consistent picture: the outcome is largely predictable from early-layer representations, no individual neuron or localized group implements subset construction, correcting the internal representation at any layer repairs no case beyond a matched control, and inference-time steering recovers at most 2.4 percentage points of the residual gap. Thus, symbolic reasoning failures in LLMs are structural \nand only partially remediable.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "a123f14a-5574-4705-88ab-31c04ef9dd0a"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Beyond Pattern Matching: Tracing Symbolic Reasoning Failures in LLMs to Their Mechanistic Origin",+ "authors": [],+ "abstract": "Large language models (LLMs) have shown strong performance across \nreasoning benchmarks, yet whether this reflects genuine symbolic \nreasoning or sophisticated pattern matching remains actively debated. We \ninvestigate this question using regular languages, the simplest \nclass of formal languages, where operator semantics are unambiguous \nand correctness is exactly checkable. Our work proceeds \nin three stages. First, by applying a cross-consistency protocol to \nfrontier models (GPT-5.2, Grok-4.1, Gemini-2.5) and open-weight \nQwen 2.5 models (1.5B, 7B, 14B), we show that models cannot \nreliably interpret regular expressions: they describe constraints \nthey then violate in generation and recognition, revealing eleven \nsystematic failure modes that recur across all architectures \nregardless of scale. Second, when asked to construct deterministic \nfinite automata, these semantic failures propagate into six classes of structural construction errors that persist regardless of construction strategy. Third, we examine if training can fix these failures. Fine-tuning on a purpose-built \nregex-to-DFA benchmark (22,500 training, 1,000 test examples) \nrecovers near-perfect accuracy on simpler tiers, but a persistent \ngap remains at the highest complexity tier that no supervision format, curriculum ordering, or model scale closes. Because the gap survives every behavioral intervention, we look inside the model. Mechanistic analysis points to a consistent picture: the outcome is largely predictable from early-layer representations, no individual neuron or localized group implements subset construction, correcting the internal representation at any layer repairs no case beyond a matched control, and inference-time steering recovers at most 2.4 percentage points of the residual gap. Thus, symbolic reasoning failures in LLMs are structural \nand only partially remediable.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}