Degraded Polygons Raise Fundamental Questions of Neural Network Perception

Leonard Tang, Dan Ley

The Human-Machine Vision Gap

Neural networks and humans see the world through fundamentally different lenses. While modern computer vision systems achieve remarkable feats, they often exhibit behaviors misaligned with human perception—suffering in settings that humans handle effortlessly, such as adversarial attacks or image corruptions.

By testing models on degraded simple polygons, researchers have uncovered a striking "perceptual misalignment": while humans rely heavily on corners to identify shapes, AI models rely almost exclusively on edges. This gap persists across different neural network architectures and can even worsen with certain types of pretraining.

Human vs. AI perception of degraded polygons

What Problem Does This Paper Address?

Despite the massive success of deep learning, vision models remain brittle. This paper investigates a structural question at the heart of this brittleness: Do neural networks share the same geometric "priors" as the human visual system?

In cognitive science, the Recognition-by-Components (RBC) theory suggests that humans recognize objects by identifying basic geometric parts and their spatial relationships. Crucially, human recognition is highly robust if a shape's corners (vertices) are intact, even if the edges are mostly deleted. Conversely, if you delete the corners, human recognition collapses. The authors set out to determine if modern AI follows this biological blueprint or if it has developed an entirely "unhuman" way of seeing.

Methods and the ASRT Dataset

To test this, the authors developed the Automated Shape Recoverability Test (ASRT), a pipeline that generates regular polygons and applies two specific types of degradation:

  1. Corner Degradation: Erasing the areas around the vertices.
  2. Edge Degradation: Erasing the mid-segments of the lines connecting the vertices.

This pipeline was used to create a massive new benchmark: the ASRT Dataset, comprising 1,260,000 black-and-white sketches of 7 regular polygons (triangles through octagons). The dataset features 9 levels of degradation, ranging from 10% to 70% of the perimeter removed.

The researchers trained and tested several popular architectures—ResNet-18, ResNet-50, ViT (Vision Transformer), and MLP-Mixer—to classify these shapes. To understand the role of "nature vs. nurture," they also compared models pretrained on natural images (ImageNet) against those pretrained on mathematically generated fractals (FractalDB).

Key Insights and Results

The Great Perceptual Reversal

The most striking finding is that neural networks behave exactly the opposite of humans. While humans struggle when corners are missing, neural networks struggle significantly more when edges are missing. As the proportion of deleted perimeter increases, model accuracy plummets much sharper for edge-degraded shapes than for corner-degraded ones.

Architecture Doesn't Fix It

This edge-bias is not a quirk of a specific design. Whether using a Convolutional Neural Network (ResNet), a Transformer (ViT), or an MLP-based model, the bias toward edges remains. This suggests the issue is fundamental to how modern models learn features.

Model accuracy across different architectures under edge vs. corner degradation

The Fractal Paradox

Pretraining on fractals—which are rich in straight lines and symmetry—actually increased the gap between machine and human vision. Fractal-pretrained models became even more "edge-obsessed," making them better at handling corner-loss but even worse at handling edge-loss compared to ImageNet-pretrained models.

Classification Collapse

At high levels of degradation (e.g., 70%), models often lost the ability to distinguish between classes entirely. They frequently defaulted to predicting a single class (like "triangle") regardless of the input, highlighting a severe breakdown in shape representation.

Limitations and Future Work

The authors acknowledge that their study is limited to 2D sketches of regular polygons. Real-world vision involves 3D objects, textures, and lighting, which might trigger different behaviors. Additionally, the human comparison relies on historical data from Biederman’s original 1987 study; a modern, large-scale human study using the exact same ASRT pipeline would provide a more precise baseline.

Future work could involve exploring "curved" fractals for pretraining to see if they encourage models to value vertices more, or developing new loss functions that explicitly penalize models for ignoring non-accidental properties like junctions and corners. Ultimately, the fact that models exhibit these pathologies on something as simple as a triangle suggests that their performance on complex real-world images might be based on spurious features we don't yet fully understand.

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