mlsanityData to 14 Oct 2026

Propositional Logic for Probing Generalization in Neural Networks

arXiv 2506.08978 ↗First posted 10 Jun 2025cs.LG cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

The extent to which neural networks are able to acquire and represent symbolic rules remains a key topic of research and debate. Much current work focuses on the impressive capabilities of large language models, as well as their often ill-understood failures on a wide range of reasoning tasks. In this paper, in contrast, we investigate the generalization behavior of three key neural architectures (Transformers, Graph Convolution Networks and LSTMs) in a controlled task rooted in propositional logic. The task requires models to generate satisfying assignments for logical formulas, making it a structured and interpretable setting for studying compositionality. We introduce a balanced extension of an existing dataset to eliminate superficial patterns and enable testing on unseen operator combinations. Using this dataset, we evaluate the ability of the three architectures to generalize beyond the training distribution. While all models perform well in-distribution, we find that generalization to unseen patterns, particularly those involving negation, remains a significant challenge. Transformers fail to apply negation compositionally, unless structural biases are introduced. Our findings highlight persistent limitations in the ability of standard architectures to learn systematic representations of logical operators, suggesting the need for stronger inductive biases to support robust rule-based reasoning.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 25 of its 38 references that are in the map. First posted on arXiv 10 Jun 2025.

Builds on

25 of 38 references.

References · 25

  1. 2017Attention Is All You Needcited by 60,361
  2. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  3. 2019Similarity of Neural Network Representations Revisitedcited by 1,755
  4. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 876
  5. 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 724
  6. 2019Compositionality decomposed: how do neural networks generalise?cited by 265
  7. 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 263
  8. 2019Negated and Misprimed Probes for Pretrained Language Models: Birds Can Talk, But Cannot Flycited by 243
  9. 2018Learning a SAT Solver from Single-Bit Supervisioncited by 200
  10. 2017Neural-Symbolic Learning and Reasoning: A Survey and Interpretationcited by 196
  11. 2024Beyond Autoregression: Discrete Diffusion for Complex Reasoning and Planningcited by 135
  12. 2022Scaling Laws vs Model Architectures: How does Inductive Bias Influence Scaling?cited by 103
13 more
  1. 2022Formal Language Recognition by Hard Attention Transformers: Perspectives from Circuit Complexitycited by 93
  2. 2024Beyond Accuracy: Evaluating the Reasoning Behavior of Large Language Models -- A Surveycited by 83
  3. 2023Language models are not naysayers: An analysis of language models on negation benchmarkscited by 74
  4. 2018Rearranging the Familiar: Testing Compositional Generalization in Recurrent Networkscited by 51
  5. 2020Teaching Temporal Logics to Neural Networkscited by 51
  6. 2025SynLogic: Synthesizing Verifiable Reasoning Data at Scale for Learning Logical Reasoning and Beyondcited by 50
  7. 2020Transferring Inductive Biases through Knowledge Distillationcited by 41
  8. 2021Symbolic Brittleness in Sequence Models: on Systematic Generalization in Symbolic Mathematicscited by 27
  9. 2021Pushing the Limits of Rule Reasoning in Transformers through Natural Language Satisfiabilitycited by 18
  10. 2023ScoNe: Benchmarking Negation Reasoning in Language Models With Fine-Tuning and In-Context Learningcited by 18
  11. 2025Have Large Language Models Learned to Reason? A Characterization via 3-SAT Phase Transitioncited by 14
  12. 2025Neurosymbolic Diffusion Modelscited by 13
  13. 2023Transparency at the Source: Evaluating and Interpreting Language Models With Access to the True Distributioncited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.