TL;DR
Large Language Models (LLMs) excel at language processing but often stumble on complex logic. This paper demonstrates that LLM internal states partially align with human brain activity during deductive reasoning, and crucially, leverages these fMRI signals to directly steer and improve LLM reasoning capabilities, achieving up to a 13% absolute accuracy gain.
What Problem Does This Paper Address?
While frontier LLMs show impressive performance across various tasks, their reasoning abilities remain brittle. They frequently fail on simple, out-of-distribution logical problems, raising debates about whether they truly "understand" or are merely exploiting statistical surface patterns.
In cognitive neuroscience, it is well-established that language and logical thought are dissociable—they recruit distinct, non-overlapping networks in the human brain. Most prior NeuroAI research has focused on aligning AI with the brain's language network. This paper tackles a new frontier: determining whether LLMs align with the human reasoning network, and whether human neural activation patterns can be used as a functional blueprint to make AI reasoning more robust.
Methods
The authors move beyond passive correlation to introduce a brain-guided framework that actively steers an LLM's internal representations using task-fMRI data. The framework operates via two complementary methods:
- NARI (Neural Activation guided Representation Intervention): An inference-time technique. The authors fit a cross-validated ridge regression to map LLM hidden states to human fMRI spaces. For problems where the model fails, they compute the gradient of a similarity metric between the mapped hidden states and true human brain activity. They then use projected gradient ascent to nudge the intermediate attention representations along this neural-induced direction, correcting the model's reasoning trajectory on the fly.
- NARF (Neural Activation guided Representation Fine-tuning): A training-time technique. Instead of temporary interventions, NARF internalizes this neural knowledge into the model's weights. Using Low-Rank Adaptation (LoRA) on the middle-layer attention modules, the model is trained to maximize representational similarity with human brain activations.
A key mathematical innovation is dropping the regression intercept during gradient calculation. This introduces a "structure-mediated systematic shift" that targets and corrects specific model biases rather than just forcing a global alignment. NARF can also be combined with standard cross-entropy loss on text labels to create a hybrid training objective.
Datasets
- fMRI Dataset (OpenNeuro ds003076): Contains brain recordings from 10 healthy adults solving 70 deductive logic problems (syllogistic and transitive reasoning). The stimuli used pseudowords (e.g., "All blons are pink") to eliminate semantic confounds.
- Generated Evaluation Sets: To test generalization under distribution shifts, the authors generated new sets of syllogistic and transitive problems with permuted premise orders and increased premise counts (4–6 premises). They also generated propositional reasoning problems (e.g., modus ponens, modus tollens).
- FOLIO: A standard natural language first-order logic dataset used to test broader generalization.
- HCP Relational Processing Task: An independent dataset from the Human Connectome Project involving visual relational reasoning, adapted into text descriptions for LLMs to provide external pipeline validation.
Key Insights and Ideas
- Coarse Alignment, Fine Divergence: At an aggregate level across all tasks, LLMs capture an impressive ~76% of the explainable variance in human reasoning brain regions. However, when evaluating within specific reasoning types (syllogistic vs. transitive), predictivity drops to ~27%. This indicates that while LLMs emulate domain-general cognitive demands well, their fine-grained mechanics diverge from biology.
- Causal Utility of Brain Scores: Traditionally, "brain scores" are used as passive evaluation metrics. This paper turns them into a causal tool, proving that the joint structure of biological and artificial representations contains actionable information for error correction.
- Implicit Process Supervision: Standard language fine-tuning primarily shapes the final layer's output tokens. In contrast, NARF acts as a form of implicit process supervision, inducing cleaner, more discriminative reasoning trajectories throughout the intermediate layers of the network.
Key Results
- 100% Intervention Success: At inference time, NARI achieved a 100% success rate in flipping initially incorrect answers to correct ones within a bounded perturbation range across six evaluated LLMs.
- Robust Generalization: NARF fine-tuning successfully generalized to out-of-distribution tasks, such as problems with permuted premise orders, more premises, and entirely different reasoning types (propositional logic).
- Orthogonal Performance Gains: Across 10 diverse LLMs (ranging from 1.5B to 72B parameters), augmenting standard language supervision with NARF yielded consistent accuracy boosts. Notably, Mistral-7B saw an absolute 13.2% accuracy gain on propositional reasoning tasks.
- No Catastrophic Forgetting: Testing on standard benchmarks (MMLU, GSM8K, HumanEval) confirmed that injecting biological neural knowledge did not degrade the models' general capabilities.
Limitations and Future Work
- Low Temporal Resolution: fMRI measures slow hemodynamic responses (1–3 seconds), capturing an aggregated snapshot of thought. It cannot track the fast, step-by-step dynamical processes of chain-of-thought ("slow thinking") models. The authors suggest exploring high-temporal-resolution modalities like MEG or EEG in future work.
- Data Scarcity: Collecting fMRI data is expensive and difficult to scale compared to raw text corpora, presenting a bottleneck for training massive models.
- Hyperparameter Sensitivity: The optimal intervention scale ($\alpha$) is highly sensitive and specific to individual model architectures, meaning the steering vectors are not yet uniformly plug-and-play.
Summary updated