Degraded Polygons Raise Fundamental Questions of Neural Network Perception

Leonard Tang, Dan Ley

TL;DR

Neural networks perceive the world fundamentally differently than humans: while we rely on corners to recognize shapes, AI models are obsessed with edges. By modernizing a 30-year-old cognitive science experiment, researchers have shown that deep learning models fail to recognize shapes when their edges are degraded, even though humans find these same images easily "recoverable."

What Problem Does This Paper Address?

Despite their superhuman performance in many tasks, deep learning models remain fragile. They are easily fooled by adversarial attacks and often rely on "spurious features"—like background textures—rather than the actual shape of an object. This paper investigates the "human-machine vision gap" by revisiting the Recognition-by-Components (RBC) theory.

In the 1980s, cognitive scientist Irving Biederman proposed that humans recognize objects by breaking them down into simple geometric components (geons) and that vertices (corners) are the most critical information for this process. If you delete the corners of a sketch, humans struggle to identify it; if you delete the midsegments of the edges, we identify it easily. The authors ask: Do neural networks share this fundamental human visual prior?

Methods

The authors developed the Automated Shape Recoverability Test, a high-speed pipeline to generate large-scale datasets of degraded regular polygons (triangles through octagons).

The pipeline creates two types of degradation:

  1. Corner Degradation: Removing the regions surrounding the vertices.
  2. Edge Degradation: Removing the midsegments of the edges.
Figure 1: Specific instance of the Automated Shape Recoverablility Test generation pipeline for an example pentagon with 50% degradation proportion. Whole shapes are generated and subsequently edited with corner degradation (top), and edge degradation (bottom). Our experiments indicate that, unlike time-constrained humans performing sketch recovery (Biederman, 1987), neural networks rely heavily on edges rather than corners to recover degraded shapes.

They tested several popular architectures, including ResNet-18, ResNet-50, MLP-Mixer, and Vision Transformers (ViT). These models were fine-tuned on "whole" polygons and then tested on degraded versions to see how well they could "recover" the underlying shape.

Datasets

  • Automated Shape Recoverability Test Dataset: A new benchmark containing 1,260,000 sketches of regular polygons across 7 categories, 9 levels of degradation severity, and 2 forms of degradation.
  • ImageNet: Used for standard pretraining to provide "natural" visual priors.
  • FractalDB: A synthetic dataset of fractals used to investigate how pretraining on non-natural, mathematically defined shapes affects perception.

Key Insights and Ideas

  • The Great Inversion: The most striking finding is that neural networks exhibit the exact opposite behavior of humans. Models like ResNet and MLP-Mixer are significantly better at identifying shapes with missing corners than shapes with missing edges.
  • Non-Accidental Properties (NAPs): Humans rely on NAPs—features like collinearity, symmetry, and vertices—that are unlikely to occur by accident in a 3D world. As shown in Figure 2, vertices are a primary NAP for human vision. Neural networks, however, seem to treat these properties with different weights, prioritizing the continuity of edges over the junctions of corners.
Figure 2: The five classes of nonaccidental properties (NAPs) for object recognition in the visual cortex are 1) collinearity, the presence of straight lines; 2) curvilinearity, the presence of smoothly curved elements; 3) symmetry across arbitrary axes; 4) parallel curves; and 5) vertices, junctions of two or more contours (Lowe, 1985). Critically, cognitive scientists suggest that NAPs form a perceptual basis for the set of components that enable object recognition.
  • Pretraining Matters: Models pretrained on fractals (FractalDB) showed even stronger performance on corner-degraded shapes but failed even faster on edge-degraded ones compared to ImageNet-pretrained models. This suggests that fractal pretraining, while useful for some tasks, might push AI even further away from human-like perception.
  • Architecture Differences: While ResNets and MLP-Mixers showed a heavy edge bias, the Vision Transformer (ViT) was more "balanced," performing similarly on both types of degradation. This hints that the global attention mechanism of Transformers might process shapes differently than the local feature extraction of CNNs.

Key Results

The quantitative results highlight a massive performance gap. As the proportion of degradation ($p_d$) increases, the accuracy of models like ResNet-18 and MLP-Mixer drops much more sharply for edge-degraded shapes than for corner-degraded ones.

Figure 3: Top-1 test accuracy (%) within ±1 SD (across 10 training trials) of ImageNet-pretrained and whole-polygon finetuned models on the shape recovery task. Accuracy decreases as degradation proportion, pd, increases. Moreover, ResNet-15, ResNet-50, and MLP-Mixer all exhibit worse performance on edge-degraded compared to corner-degraded shapes, the opposite of human behavior.

When compared directly to human data from Biederman’s original studies, the contrast is stark. As degradation increases, humans maintain high accuracy on edge-degraded images but fail on corner-degraded ones. The MLP-Mixer does the inverse, showing a negative "Edge-Corner" accuracy gap that widens as the images get messier.

A comparison of the accuracy gap between humans and the MLP-Mixer model.

Limitations and Future Work

The study focuses on simple, regular polygons. While this provides a "minimum viable task" to prove the misalignment, real-world objects are far more complex. The authors also note that the human experiments were "time-constrained" (flashing images for milliseconds), whereas the neural networks had no such limit.

Future research could explore:

  • Whether different fractal generation algorithms (like "Fractal Flames") can produce more human-like visual priors.
  • Testing these models on more complex, multi-component "geon" sketches to see if the edge-bias persists in hierarchical object recognition.
  • Developing new training objectives that explicitly encourage models to value vertices and junctions, potentially leading to more robust and human-aligned computer vision.

Summary updated

BibTeX
@inproceedings{tang2023degraded,
  author = {Leonard Tang and Dan Ley},
  title = {{Degraded Polygons Raise Fundamental Questions of Neural Network Perception}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=LE4AN1FGjJ},
}
Figure