Reasoning Circuits in Language Models: A Mechanistic Interpretation of Syllogistic Inference

Recent studies on reasoning in language models (LMs) have sparked a debate on whether they can learn systematic inferential principles or merely exploit superficial patterns in the training data.To understand and uncover the mechanisms adopted for formal reasoning in LMs, this paper presents a mechanistic interpretation of syllogistic inference.Specifically, we present a methodology for circuit discovery aimed at interpreting content-independent and formal reasoning mechanisms.Through two distinct intervention methods, we uncover a sufficient and necessary circuit involving middle-term suppression that elucidates how LMs transfer information to derive valid conclusions from premises.Furthermore, we investigate how belief biases manifest in syllogistic inference, finding evidence of partial contamination from additional attention heads responsible for encoding commonsense and contextualized knowledge.Finally, we explore the generalization of the discovered mechanisms across various syllogistic schemes, model sizes and architectures.The identified circuit is sufficient and necessary for syllogistic schemes on which the models achieve high accuracy ( 60%), with compatible activation patterns across models of different families.Overall, our findings suggest that LMs learn transferable contentindependent reasoning mechanisms, but that, at the same time, such mechanisms do not involve generalizable and abstract logical primitives, being susceptible to contamination by the same world knowledge acquired during pre-training.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.525
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Reasoning Circuits in Language Models: A Mechanistic Interpretation of Syllogistic Inference

André Victor Lucci Freitas, Marco Valentino, Geonhee Kim
Natural Language Processing Techniques
article

Reasoning Circuits in Language Models: A Mechanistic Interpretation of Syllogistic Inference

André Victor Lucci Freitas, Marco Valentino, Geonhee Kim
article en

Abstract

Recent studies on reasoning in language models (LMs) have sparked a debate on whether they can learn systematic inferential principles or merely exploit superficial patterns in the training data.To understand and uncover the mechanisms adopted for formal reasoning in LMs, this paper presents a mechanistic interpretation of syllogistic inference.Specifically, we present a methodology for circuit discovery aimed at interpreting content-independent and formal reasoning mechanisms.Through two distinct intervention methods, we uncover a sufficient and necessary circuit involving middle-term suppression that elucidates how LMs transfer information to derive valid conclusions from premises.Furthermore, we investigate how belief biases manifest in syllogistic inference, finding evidence of partial contamination from additional attention heads responsible for encoding commonsense and contextualized knowledge.Finally, we explore the generalization of the discovered mechanisms across various syllogistic schemes, model sizes and architectures.The identified circuit is sufficient and necessary for syllogistic schemes on which the models achieve high accuracy ( 60%), with compatible activation patterns across models of different families.Overall, our findings suggest that LMs learn transferable contentindependent reasoning mechanisms, but that, at the same time, such mechanisms do not involve generalizable and abstract logical primitives, being susceptible to contamination by the same world knowledge acquired during pre-training.

National Science Foundation, Cancer Research UK, National Institute for Health and Care Research, Schweizerischer Nationalfonds zur Förderung der Wissenschaftlichen Forschung, Manchester Biomedical Research Centre
Quality Education
Openalex Percentile: Top 90%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.