mlsanityData to 7 Oct 2026

Do Transformers know symbolic rules, and would we know if they did?

arXiv 2203.00162 ↗First posted 19 Feb 2022cs.LG cs.AI cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

To improve the explainability of leading Transformer networks used in NLP, it is important to tease apart genuine symbolic rules from merely associative input-output patterns. However, we identify several inconsistencies in how ``symbolicity'' has been construed in recent NLP literature. To mitigate this problem, we propose two criteria to be the most relevant, one pertaining to a system's internal architecture and the other to the dissociation between abstract rules and specific input identities. From this perspective, we critically examine prior work on the symbolic capacities of Transformers, and deem the results to be fundamentally inconclusive for reasons inherent in experiment design. We further maintain that there is no simple fix to this problem, since it arises -- to an extent -- in all end-to-end settings. Nonetheless, we emphasize the need for more robust evaluation of whether non-symbolic explanations exist for success in seemingly symbolic tasks. To facilitate this, we experiment on four sequence modelling tasks on the T5 Transformer in two experiment settings: zero-shot generalization, and generalization across class-specific vocabularies flipped between the training and test set. We observe that T5's generalization is markedly stronger in sequence-to-sequence tasks than in comparable classification tasks. Based on this, we propose a thus far overlooked analysis, where the Transformer itself does not need to be symbolic to be part of a symbolic architecture as the processor, operating on the input and output as external memory components.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 35 of its 75 references that are in the map. First posted on arXiv 19 Feb 2022.

Builds on

35 of 75 references.

References · 35

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
  6. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
  7. 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
  8. 2021Improving language models by retrieving from trillions of tokenscited by 1,278
  9. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  10. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  11. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  12. 2020StereoSet: Measuring stereotypical bias in pretrained language modelscited by 911
23 more
  1. 2019Right for the Wrong Reasons: Diagnosing Syntactic Heuristics in Natural Language Inferencecited by 864
  2. 2018Annotation Artifacts in Natural Language Inference Datacited by 656
  3. 2020BERT-ATTACK: Adversarial Attack Against BERT Using BERTcited by 488
  4. 2020ProofWriter: Generating Implications, Proofs, and Abductive Statements over Natural Languagecited by 309
  5. 2019Revealing the Dark Secrets of BERTcited by 300
  6. 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
  7. 2019Measuring Bias in Contextualized Word Representationscited by 275
  8. 2019Deep Learning for Symbolic Mathematicscited by 266
  9. 2020Transformers as Soft Reasoners over Languagecited by 265
  10. 2019Compositionality decomposed: how do neural networks generalise?cited by 264
  11. 2018Deep Learning: A Critical Appraisalcited by 214
  12. 2020A Survey of the State of Explainable AI for Natural Language Processingcited by 206
  13. 2020The Next Decade in AI: Four Steps Towards Robust Artificial Intelligencecited by 194
  14. 2019Assessing BERT's Syntactic Abilitiescited by 191
  15. 2019oLMpics -- On what Language Model Pre-training Capturescited by 161
  16. 2020Multilingual Alignment of Contextual Word Representationscited by 113
  17. 2021Probing BERT in Hyperbolic Spacescited by 50
  18. 2020Probing Linguistic Systematicitycited by 37
  19. 2019Generating Token-Level Explanations for Natural Language Inferencecited by 28
  20. 2020Natural Language Inference in Context -- Investigating Contextual Reasoning over Long Textscited by 23
  21. 2019What do you mean, BERT? Assessing BERT as a Distributional Semantics Modelcited by 14
  22. 2020On Commonsense Cues in BERT for Solving Commonsense Taskscited by 13
  23. 2022Discrete and continuous representations and processing in deep learning: Looking forwardcited by 12

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

  1. 2026How LLMs Might Thinkcited by 0