Deep Neural Networks Can Learn Generalizable Same-Different Visual Relations
Not on the map. Why?
Abstract (arXiv)
Although deep neural networks can achieve human-level performance on many object recognition benchmarks, prior work suggests that these same models fail to learn simple abstract relations, such as determining whether two objects are the same or different. Much of this prior work focuses on training convolutional neural networks to classify images of two same or two different abstract shapes, testing generalization on within-distribution stimuli. In this article, we comprehensively study whether deep neural networks can acquire and generalize same-different relations both within and out-of-distribution using a variety of architectures, forms of pretraining, and fine-tuning datasets. We find that certain pretrained transformers can learn a same-different relation that generalizes with near perfect accuracy to out-of-distribution stimuli. Furthermore, we find that fine-tuning on abstract shapes that lack texture or color provides the strongest out-of-distribution generalization. Our results suggest that, with the right approach, deep neural networks can learn generalizable same-different visual relations.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 24 of its 55 references that are in the map. First posted on arXiv 14 Oct 2023.
Builds on
24 of 55 references.
References · 24
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2022A ConvNet for the 2020scited by 3,545
- 2020Shortcut Learning in Deep Neural Networkscited by 1,928
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,430
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 671
12 more
- 2022Data Determines Distributional Robustness in Contrastive Language Image Pre-training (CLIP)cited by 137
- 2021Are Convolutional Neural Networks or Transformers more like human vision?cited by 109
- 2021Abstraction and Analogy-Making in Artificial Intelligencecited by 103
- 2020Emergent Symbols through Binding in External Memorycited by 47
- 2022On Neural Architecture Inductive Biases for Relational Taskscited by 26
- 2023The Relational Bottleneck as an Inductive Bias for Efficient Abstractioncited by 26
- 2023Systematic Visual Reasoning through Object-Centric Relational Abstractioncited by 19
- 2013Knowledge Matters: Importance of Prior Information for Optimizationcited by 15
- 2020Relational reasoning and generalization using non-symbolic neural networkscited by 15
- 201625 years of CNNs: Can we compare to human abstraction capabilities?cited by 10
- 2022A Developmentally-Inspired Examination of Shape versus Texture Bias in Machinescited by 10
- 2021Recurrent Vision Transformer for Solving Visual Reasoning Problemscited by 9
Built on by
Citing papers per year: 2024: 2; 2025: 1; 2026: 1.
4 papers.
- 2024Beyond the Doors of Perception: Vision Transformers Represent Relations Between Objectscited by 12
- 2024Visual Reasoning in Object-Centric Deep Neural Networks: A Comparative Cognition Approachcited by 1
- 2025Convolutional Neural Networks Can (Meta-)Learn the Same-Different Relationcited by 0
- 2026Feature, Alignment, and Supervision in Category Learning: A Comparative Approach with Children and Neural Networkscited by 0
- 2026Feature, Alignment, and Supervision in Category Learning: A Comparative Approach with Children and Neural Networks3 Feb 2026
- 2025Convolutional Neural Networks Can (Meta-)Learn the Same-Different Relation29 Mar 2025
- 2024Beyond the Doors of Perception: Vision Transformers Represent Relations Between Objects22 Jun 2024
- 2024Visual Reasoning in Object-Centric Deep Neural Networks: A Comparative Cognition Approach20 Feb 2024