mlsanityData to 14 Oct 2026

Disentangling and Integrating Relational and Sensory Information in Transformer Architectures

arXiv 2405.16727 ↗First posted 26 May 2024cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Relational reasoning is a central component of generally intelligent systems, enabling robust and data-efficient inductive generalization. Recent empirical evidence shows that many existing neural architectures, including Transformers, struggle with tasks requiring relational reasoning. In this work, we distinguish between two types of information: sensory information about the properties of individual objects, and relational information about the relationships between objects. While neural attention provides a powerful mechanism for controlling the flow of sensory information between objects, the Transformer lacks an explicit computational mechanism for routing and processing relational information. To address this limitation, we propose an architectural extension of the Transformer framework that we call the Dual Attention Transformer (DAT), featuring two distinct attention mechanisms: sensory attention for directing the flow of sensory information, and a novel relational attention mechanism for directing the flow of relational information. We empirically evaluate DAT on a diverse set of tasks ranging from synthetic relational benchmarks to complex real-world tasks such as language modeling and visual processing. Our results demonstrate that integrating explicit relational computational mechanisms into the Transformer architecture leads to significant performance gains in terms of data efficiency and parameter efficiency.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 51 of its 80 references that are in the map. First posted on arXiv 26 May 2024.

Builds on

51 of 80 references.

References · 51

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  7. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  8. 2020End-to-End Object Detection with Transformerscited by 7,414
  9. 2020Scaling Laws for Neural Language Modelscited by 6,586
  10. 2016Layer Normalizationcited by 5,669
  11. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  12. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
38 more
  1. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  2. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  3. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  4. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  5. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,884
  6. 2020GLU Variants Improve Transformercited by 1,804
  7. 2019Root Mean Square Layer Normalizationcited by 1,480
  8. 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,457
  9. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
  10. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  11. 2018Self-Attention with Relative Position Representationscited by 1,120
  12. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,017
  13. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  14. 2021Scaling Vision Transformerscited by 999
  15. 2022In-context Learning and Induction Headscited by 964
  16. 2020On Layer Normalization in the Transformer Architecturecited by 922
  17. 2020Object-Centric Learning with Slot Attentioncited by 876
  18. 2018AutoAugment: Learning Augmentation Policies from Datacited by 730
  19. 2016Language Modeling with Gated Convolutional Networkscited by 702
  20. 2022Towards Reasoning in Large Language Models: A Surveycited by 596
  21. 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
  22. 2017A simple neural network module for relational reasoningcited by 346
  23. 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 335
  24. 2020Inductive Biases for Deep Learning of Higher-Level Cognitioncited by 275
  25. 2022Emergent Analogical Reasoning in Large Language Modelscited by 240
  26. 2018Measuring abstract reasoning in neural networkscited by 166
  27. 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 139
  28. 2016Tying Word Vectors and Word Classifiers: A Loss Framework for Language Modelingcited by 92
  29. 2019Do Attention Heads in BERT Track Syntactic Dependencies?cited by 88
  30. 2018Relational recurrent neural networkscited by 65
  31. 2019Learning to Make Analogies by Contrasting Abstract Relational Structurecited by 53
  32. 2020Emergent Symbols through Binding in External Memorycited by 47
  33. 2022A Benchmark for Compositional Visual Reasoningcited by 43
  34. 2019An Explicitly Relational Neural Network Architecturecited by 35
  35. 2023The Relational Bottleneck as an Inductive Bias for Efficient Abstractioncited by 27
  36. 2022On Neural Architecture Inductive Biases for Relational Taskscited by 26
  37. 2023Abstractors and relational cross-attention: An inductive bias for explicit relational reasoning in Transformerscited by 12
  38. 2024Approximation of relation functions and attention mechanismscited by 5

50 most cited of 51 All 51 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 3.

5 papers.