Skip to main content
QUICK REVIEW

[Paper Review] Same-different problems strain convolutional neural networks

Matthew Ricci, Junkyung Kim|arXiv (Cornell University)|Feb 9, 2018
Industrial Technology and Control SystemsEngineering6 citations
TL;DR

This paper demonstrates that convolutional neural networks (CNNs) fundamentally struggle with same-different visual relation tasks, failing to generalize even after extensive training, unlike humans and animals that learn such relations from few examples. The authors show CNNs rely on rote memorization rather than abstract reasoning, and propose that feedback mechanisms like attention and perceptual grouping are essential for true visual relation detection.

ABSTRACT

The robust and efficient recognition of visual relations in images is a hallmark of biological vision. We argue that, despite recent progress in visual recognition, modern machine vision algorithms are severely limited in their ability to learn visual relations. Through controlled experiments, we demonstrate that visual-relation problems strain convolutional neural networks (CNNs). The networks eventually break altogether when rote memorization becomes impossible, as when intra-class variability exceeds network capacity. Motivated by the comparable success of biological vision, we argue that feedback mechanisms including attention and perceptual grouping may be the key computational components underlying abstract visual reasoning.\

Motivation & Objective

  • To investigate whether the failure of CNNs on visual-relation tasks is due to architectural limitations or hyperparameter choices.
  • To systematically evaluate the performance of multiple CNN architectures on synthetic visual reasoning tasks (SVRT), particularly distinguishing same-different from spatial-relation problems.
  • To design a controlled experiment demonstrating that CNNs solve same-different problems via memorization rather than generalization.
  • To argue that feedback mechanisms—such as attention and perceptual grouping—are essential for abstract visual reasoning, inspired by biological vision.
  • To motivate the development of new visual reasoning architectures that incorporate non-feedforward processes like dynamic attention and feature grouping.

Proposed method

  • Trained nine CNN architectures with varying depths (2, 4, 6 conv layers), initial receptive field sizes (2×2, 4×4, 6×6), and filter counts (6, 12, 18) on all 23 SVRT problems.
  • Used ReLU activations, 3×3 max pooling with stride 2 after each convolutional layer, and three fully connected layers (1,024 units each) followed by a 2-way classification layer.
  • Applied Xavier weight initialization and Adam optimization with a learning rate of 10⁻⁴ across all experiments.
  • Evaluated performance on SVRT problems, ranking models by accuracy and categorizing tasks as 'same-different' (red) or 'spatial-relation' (blue) based on problem definitions.
  • Designed a novel PSVRT (Perceptual-Grouping SVRT) task to test generalization to unseen object pairs, simulating perceptual grouping by assigning scene items to separate feature channels.
  • Compared standard CNNs and relational networks (Santoro et al., 2017) to a modified feedforward network that simulates dynamic attention shifts via channel-based grouping, avoiding combinatorial explosion.

Experimental results

Research questions

  • RQ1Can modern CNNs generalize to same-different visual relation problems, or do they rely solely on memorization?
  • RQ2How do performance levels of CNNs compare across different types of visual reasoning tasks—specifically, same-different versus spatial-relation problems?
  • RQ3To what extent can feedback mechanisms such as attention and perceptual grouping improve generalization in visual reasoning beyond feedforward CNNs?
  • RQ4Can a feedforward network that simulates dynamic attention shifts through channel-based grouping outperform standard CNNs on same-different tasks without overfitting?
  • RQ5Why do humans and animals generalize same-different relations from few examples, while deep networks fail even after millions of examples?

Key findings

  • CNNs achieved uniformly lower accuracy on same-different problems (red bars) compared to spatial-relation problems (blue bars) across all 23 SVRT tasks.
  • The best-performing CNN on the most challenging same-different problem (SVRT #20) failed to exceed chance performance after one million training examples, while humans learned the rule from an average of only six examples.
  • In controlled experiments, CNNs solved same-different tasks exclusively through rote memorization, breaking down completely when intra-class variability exceeded network capacity.
  • A feedforward network that simulated perceptual grouping by assigning scene items to separate channels successfully learned PSVRT tasks without overfitting, outperforming standard CNNs and relational networks.
  • Relational networks (Santoro et al., 2017), which exhaustively attend to all feature pairs, also strained and overfit, indicating that combinatorial attention mechanisms are not scalable.
  • The results suggest that non-feedforward processes—especially attention and perceptual grouping—are critical for abstract visual reasoning and must be integrated into future visual reasoning architectures.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.