Evaluating the Progress of Deep Learning for Visual Relational Concepts

Sebastian Stabinger, Justus H. Piater, Antonio Jose Rodríguez-Sánchez

Abstract

Convolutional Neural Networks (CNNs) have become the state of the art method for image classification in the last ten years. Despite the fact that they achieve superhuman classification accuracy on many popular datasets, they often perform much worse on more abstract image classification tasks. We will show that these difficult tasks are linked to relational concepts from cognitive psychology and that despite progress over the last few years, such relational reasoning tasks still remain difficult for current neural network architectures. We will review deep learning research that is linked to relational concept learning, even if it was not originally presented from this angle. Reviewing the current literature, we will argue that some form of attention will be an important component of future systems to solve relational tasks. In addition, we will point out the shortcomings of currently used datasets, and we will recommend steps to make future datasets more relevant for testing systems on relational reasoning.

Introduction: The Relational Frontier

In the current landscape of artificial intelligence, Convolutional Neural Networks (CNNs) have reached a level of maturity where they frequently outperform humans on standard image classification benchmarks like ImageNet. However, this success is largely confined to perceptual learning—the ability to identify objects based on local features and textures (e.g., recognizing a "dog" by its fur and snout).

A significant gap remains in relational learning, which involves understanding the abstract connections between entities, such as "A is larger than B" or "these two shapes are identical." While a toddler can easily grasp the concept of "same vs. different," state-of-the-art deep learning models often struggle with these basic logical relationships. This paper evaluates the current progress of deep learning in mastering visual relational concepts and identifies the architectural bottlenecks preventing true visual reasoning.

Methodology and Architectures

To assess the state of relational reasoning, the authors analyzed a variety of neural network architectures. These include:

  • Standard CNNs and ResNets: The foundational models for computer vision, which rely on hierarchical feature extraction.
  • Relation Networks (RNs): Specialized architectures designed to compute relations by comparing all possible pairs of object representations within a scene.
  • LSTMs (Long Short-Term Memory): Recurrent networks used to process sequences, potentially identifying patterns over time or across different parts of an image.
  • Siamese Networks: Dual-stream networks that process two distinct inputs to compare their high-level feature vectors.
A standard ResNet block with a skip connection, one of the architectures evaluated for relational reasoning.

A key variable in these evaluations is pre-attention. The authors distinguish between models that receive "raw" images and those that are fed "pre-attended" data, where objects have already been isolated into separate crops.

Benchmarking Abstract Reasoning

The study surveys several critical datasets designed to measure relational logic rather than simple pattern recognition:

  • SVRT (Synthetic Visual Reasoning Test): A set of 23 problems involving abstract shapes.
  • PGM (Procedurally Generated Matrices): A digital adaptation of Raven’s Progressive Matrices, often used in human IQ testing.
  • CLEVR: A diagnostic dataset for visual question answering involving 3D-rendered geometric objects.
  • Chess Dataset: A dataset featuring 3D-rendered chessboards to test identity and symmetry under varying camera perspectives.
Example of visual relational tasks where models must identify patterns or relationships between objects across different panels.

Key Insights: The Attention Bottleneck

The evaluation reveals a stark "Same-Different" dichotomy. Models like GoogLeNet and LeNet achieve near 100% accuracy on "Spatial-Relation" tasks (e.g., determining if a circle is inside a square). However, on "Same-Different" tasks (determining if two arbitrary shapes are identical), performance often drops to near-chance levels (50-60%).

This suggests an attention bottleneck. Relational reasoning becomes significantly easier for models when objects are pre-attended. Current feed-forward architectures struggle to simultaneously isolate multiple objects and maintain the global context necessary to compare them. Furthermore, many models "cheat" on existing datasets by exploiting statistical shortcuts. For instance, in some versions of the SVRT, a model might determine if two patches are different simply by summing pixel values rather than performing a structural comparison.

Results and Performance Gaps

  • SVRT: While spatial tasks are solved, identity-based tasks remain a major hurdle for standard CNNs.
  • PGM: The Relation Network (WReN) achieved the highest score of 63% accuracy. While impressive, this is still far below human performance and is aided by the fact that the input panels are pre-separated.
  • V-PROM: In natural image reasoning, the gap is even more pronounced. Humans achieve approximately 78% accuracy, whereas the best-performing Relation Networks reach only 61%.

Conclusion and Future Directions

The authors conclude that current deep learning architectures are not naturally suited for relational reasoning. To move forward, the field must address the "binding problem"—how a network associates specific features with a specific object while comparing it to others.

Future research should focus on:

  1. Iterative Attention Mechanisms: Developing systems that can sequentially shift focus between objects to build a relational understanding.
  2. Robust Benchmarks: Creating datasets that prevent "pixel-sum" shortcuts and require genuine logical comparison.
  3. Architectural Innovation: Moving beyond simple feed-forward layers toward structures that inherently support relational binding and comparison.

Summary updated

Abstract

Convolutional Neural Networks (CNNs) have become the state of the art method for image classification in the last ten years. Despite the fact that they achieve superhuman classification accuracy on many popular datasets, they often perform much worse on more abstract image classification tasks. We will show that these difficult tasks are linked to relational concepts from cognitive psychology and that despite progress over the last few years, such relational reasoning tasks still remain difficult for current neural network architectures. We will review deep learning research that is linked to relational concept learning, even if it was not originally presented from this angle. Reviewing the current literature, we will argue that some form of attention will be an important component of future systems to solve relational tasks. In addition, we will point out the shortcomings of currently used datasets, and we will recommend steps to make future datasets more relevant for testing systems on relational reasoning.
BibTeX
@article{stabinger2021evaluating,
  author = {Sebastian Stabinger and Justus H. Piater and Antonio Jose Rodríguez-Sánchez},
  title = {{Evaluating the Progress of Deep Learning for Visual Relational Concepts}},
  journal = {Journal of Vision},
  year = {2021},
  doi = {10.1167/jov.21.11.8},
}
Figure