Evaluating the progress of deep learning for visual relational concepts

Sebastian Stabinger, David Peer, Justus Piater, Antonio Rodrı́guez-Sánchez

TL;DR

Deep learning models excel at perceptual tasks but struggle with relational reasoning, a key aspect of human intelligence. This paper argues that attentional mechanisms are crucial for these relational tasks and highlights significant limitations in current datasets that may be overestimating model performance.

What Problem Does This Paper Address?

While Convolutional Neural Networks (CNNs) have achieved remarkable success in image classification, they often falter on more abstract tasks that require understanding relationships between objects or concepts. This paper bridges the gap between cognitive psychology's understanding of "relational concepts" and the capabilities of modern deep learning architectures. The authors aim to demonstrate that these relational reasoning tasks remain a significant challenge for current models and that existing benchmarks may not be adequately testing this capability.

Methods

The paper doesn't introduce novel algorithms but rather reviews and synthesizes existing research on deep learning architectures and their performance on tasks related to concept learning. It discusses:

  • Deep Learning Architectures: A brief overview of CNNs, Residual Networks (ResNets), and Long Short-Term Memory (LSTM) networks, explaining their core mechanisms.
  • Relational Concept Learning: The paper frames the problem through the lens of cognitive psychology, categorizing concepts into perceptual, associative, and relational. It focuses on relational concepts, which involve understanding relationships between entities.
  • Hypotheses: The authors propose two key hypotheses:
  • H1: Attentional mechanisms are essential for successfully learning relational concepts.
  • H2: Relational concepts are inherently more difficult for current neural network architectures to learn than other types of concepts.

Datasets

The paper discusses several datasets used to evaluate deep learning models on relational reasoning tasks:

  • Synthetic Visual Reasoning Test (SVRT): A dataset designed to test abstract reasoning and compare AI to human performance.
  • Raven's Progressive Matrices (RPMs): A classic intelligence test adapted for machine learning, involving identifying patterns in visual matrices.
  • Procedurally Generated Matrices (PGM): A dataset that closely replicates RPMs, designed for machine learning research.
  • Visual Progressive Matrices (V-PROM): Similar to RPMs but uses natural images and includes various training/testing splits to evaluate generalizability.
  • Bongard Problems: A type of problem where the goal is to describe the abstract property separating two sets of images.
  • Chess Dataset: A custom dataset with identity and symmetry tasks involving chessboards and pawns, designed to be more robust and closer to natural images.
  • Parametric SVRT (PSVRT): A dataset designed to address the unpredictability of SVRT by controlling image parameters like patch size and orientation.

Key Insights and Ideas

  • Perceptual vs. Relational: CNNs are inherently designed for perceptual tasks (recognizing features and patterns) and excel there. Relational tasks, however, require a deeper understanding of how entities interact, which current architectures struggle with.
  • The "Preattention" Problem: Many existing datasets provide pre-separated objects or entities, effectively giving models an "attentional" advantage. This makes it difficult to assess true relational reasoning capabilities, as real-world scenarios often lack this pre-processing.
  • Attention is Key: The consistent strong performance of architectures incorporating attention mechanisms (like Relation Networks) on relational tasks, and the struggles of models without it, strongly supports the hypothesis that attention is crucial.
  • Dataset Limitations: The paper critically examines several datasets, pointing out issues like low variance, reliance on statistical shortcuts, and the "preattention" bias, which can lead to overestimating model performance.
  • Same-Different is Hard: Tasks requiring the comparison of "sameness" or "difference" (a core relational concept) are consistently more challenging for CNNs than tasks involving spatial relationships.

Key Results

  • Mixed Performance: While deep learning models can achieve high accuracy on some relational tasks (e.g., 97% on a multiple-choice RPM task by Hoshen and Werman), their performance often lags behind human capabilities on more complex or less constrained datasets.
  • Relation Networks Shine (with caveats): Relation Networks (RNs) generally perform better on relational tasks, but their effectiveness is often tied to the pre-attended nature of the input data.
  • SVRT Dichotomy: Experiments on the SVRT dataset showed CNNs performing well on spatial-relation problems but struggling significantly with same-different problems, reinforcing Hypothesis 2.
  • PGM and V-PROM Challenges: On datasets like PGM and V-PROM, even advanced architectures like Relation Networks and ResNets showed limitations, with accuracies far from perfect, suggesting the inherent difficulty of these tasks.

Limitations and Future Work

  • Dataset Design: The authors emphasize the need for new datasets that avoid pre-attention and control for confounding factors to accurately assess relational reasoning. They suggest the PSVRT dataset, with specific modifications, could be a good starting point.
  • Attentional Mechanisms: Future research should focus on developing architectures with more sophisticated attentional mechanisms, potentially involving iterative attention shifts, to handle complex relational tasks more efficiently.
  • Associative Concepts: The paper notes that associative concept learning in deep learning has not been extensively studied and suggests this as a potential area for future research.
  • Transformer Architectures: The authors highlight transformer architectures, with their inherent self-attention mechanisms, as a promising direction for future work in relational reasoning.

Summary updated

Abstract

Convolutional neural networks have become the state-of-the-art method for image classification in the last 10 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 David Peer and Justus Piater and Antonio 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},
}

Loading related content...

Figure