Logical subspace in LLMs
Abstract
Recent work has identified a human brain network specialized for abstract formal reasoning (Kean et al., 2025). Does the same hold true in language models? To answer this question, we introduce the minimal viable subspace (MVS) method, which searches for the lowest-rank activation subspace at a layer that preserves task performance when everything outside that subspace is ablated. Using MVS, we demonstrate low-rank subspaces supporting logical inference on Gemma and Qwen models. Furthermore, these subspaces exhibit a clear dissociation from model capacities on other tasks, such that retaining these late logic subspaces preserves inference while impairing factual knowledge, working memory, cognitive control, and arithmetic. Conversely, ablating them reduces logical inference accuracy to chance while largely sparing these other capacities. Our results suggest a functionally localizable core machinery for logic akin to that in the human brain.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL
Related papers
Revisiting LLMs as Context Engineers
Shared title terminologycs.AIJunrui Zhang, Zeyu Xu, Runchuan Zhu et al.
PseuDRAGON: Knowledge-Guided Local LLMs for Financial-Data Pseudonymization in Closed Networks
Shared title terminologycs.AIGwangui Hong, Seonho An, Seonkyu Lim et al.
Aligning Judge Models to Be Logically Consistent Multi-Rule Interpreters
Shared title terminologycs.AIMichel Liao, Nimra Nadeem, Luxi He et al.
Just Let Linear States Forget the Distant Past: Prefix Caching via Suffix Replay for Hybrid LLMs
Shared title terminologycs.AIYirui Liu, Ruoling Qi, Xuaner Wu et al.
Unlocking Latent Personalization in LLMs
Shared title terminologycs.AIWei Chen, Guanghui Zhu, Zhongliang Cai et al.
SeOPD: Self-Evolving LLMs via Online Policy Distillation from Self-Generated Chain-of-Thought
Shared title terminologycs.AIXiaoshu Chen, Sihang Zhou, Ke Liang et al.