A biological vision inspired framework for machine perception of abutting grating illusory contours

Xiao Zhang, Kai-Fu Yang, Xian-Shi Zhang, Hong-Zhi You, Hong-Mei Yan, Yong-Jie LiarXiv 2025 · DOI

Abstract

Modern Deep Neural Networks (DNNs) often exhibit a strong texture bias, failing to perceive illusory contours that are readily apparent to human observers. This paper introduces the Illusory Contour Perception Network (ICPNet), a biologically inspired framework designed to bridge this gap. By mimicking the hierarchical structure and feedback mechanisms of the human visual cortex—specifically the ventral stream (V1, V2, V4, IT)—ICPNet incorporates multi-scale feature projection, feature interaction attention, and edge fusion modules. Evaluated on the AG-MNIST and a newly introduced AG-Fashion-MNIST benchmark, ICPNet significantly outperforms state-of-the-art models, demonstrating a robust ability to perceive global shapes defined by abutting grating illusions.

Introduction

Human vision is remarkably robust, capable of perceiving shapes and boundaries even when they are only implied. A classic example is the "abutting grating" illusion, where the offset of parallel lines creates the perception of a curve or digit. This ability to "see the unseen" is a hallmark of human-level intelligence, facilitating navigation in ambiguous or incomplete visual environments.

Examples of abutting grating illusions: (a) an illusory line and (b) an illusory digit '6'.

In contrast, standard DNNs, including state-of-the-art Convolutional Neural Networks (CNNs) and Transformers, suffer from a pronounced "texture bias." These models tend to focus on local pixel patterns rather than global shapes. Recent studies indicate that such models often fail to recognize objects defined by illusory contours, performing no better than random guessing. This research seeks to address this limitation by incorporating neuroscientific principles into neural network architecture.

Methodology: The ICPNet Framework

The proposed Illusory Contour Perception Network (ICPNet) departs from standard feedforward architectures by introducing three key biologically inspired components organized into four stages corresponding to the ventral stream hierarchy: V1, V2, V4, and the Inferior Temporal (IT) cortex.

The overall architecture of ICPNet, illustrating the hierarchical stages (V1-IT) and the integration of feedback loops and multi-task learning.

1. Multi-scale Feature Projection (MFP)

Mimicking the varied receptive fields found in the early stages of biological vision, the MFP module uses parallel dilated convolutions to extract features at multiple scales. This replaces the single initial convolution found in traditional models.

2. Feature Interaction Attention Module (FIAM)

Inspired by the feedback connections between different areas of the visual cortex (e.g., V2 to V1), the FIAM facilitates a "dialogue" between top-down global features and bottom-up local features. This iterative refinement allows the network to "fill in" missing boundaries.

3. Edge Fusion Module (EFM) and Multi-task Learning

To combat texture bias, the authors inject a "shape bias" by training the network on two tasks simultaneously: image classification and edge detection. The EFM merges side outputs from different resolutions to guide the network to concentrate on the foreground structure.

Experimental Setup and Datasets

The models were evaluated on two primary benchmarks:

  • AG-MNIST: An existing dataset where MNIST digits are rendered as abutting grating illusions.
  • AG-Fashion-MNIST: A new benchmark introduced by the authors. Using the Segment Anything Model (SAM), they extracted masks from the Fashion-MNIST dataset and applied grating distortion to create complex illusory shapes like shirts and shoes.

Crucially, models were trained on standard images but tested on these "Abutting Grating" (AG) versions to assess their innate ability to perceive illusory contours.

Results and Discussion

ICPNet achieved an average top-1 accuracy of 89.39% on AG-MNIST, significantly outperforming models like Swin Transformer and ConvNeXt, which often dropped to near-random performance (10-20%) on difficult subsets. On the AG-Fashion-MNIST dataset, ICPNet often doubled the accuracy of competing models.

Key insights from the results include:

  • Feedback is Essential: The iterative refinement provided by FIAM feedback loops is critical for perceiving illusions that feedforward-only models miss.
  • Receptive Field Scaling: Matching kernel sizes to biological receptive field ratios (e.g., V2 being roughly twice the size of V1) improved structural rationality.
  • Perceptual Bias: ICPNet’s performance varied with grating line intervals, mirroring human psychophysical results and suggesting the model captures human-like perceptual limits.
  • Shape over Texture: Grad-CAM visualizations confirmed that while standard models focused on background textures, ICPNet's attention was concentrated on illusory boundaries and foreground objects.

Conclusion

ICPNet represents a significant step toward machine perception that aligns more closely with human vision. While a performance gap remains compared to near-perfect human accuracy, the integration of bio-inspired feedback loops and multi-task learning provides a robust framework for perceiving illusory contours. Future work will explore a wider variety of illusory figures and apply these principles to real-world challenges like camouflaged object detection.

Summary updated

BibTeX
@misc{zhang2025biological,
  author = {Xiao Zhang and Kai-Fu Yang and Xian-Shi Zhang and Hong-Zhi You and Hong-Mei Yan and Yong-Jie Li},
  title = {{A biological vision inspired framework for machine perception of abutting grating illusory contours}},
  year = {2025},
  eprint = {2508.17254},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.17254},
}
Figure