Bio-inspired neural networks implement different recurrent visual processing strategies than task-trained ones do

Grace W. Lindsay, Thomas D. Mrsic‐Flogel, Maneesh SahanibioRxiv 2022

Abstract

Behavioral studies suggest that recurrence in the visual system is important for processing degraded stimuli. There are two broad anatomical forms this recurrence can take, lateral or feedback, each with different assumed functions. Here we add four different kinds of recurrence—two of each anatomical form—to a feedforward convolutional neural network and find all forms capable of increasing the ability of the network to classify noisy digit images. Specifically, we take inspiration from findings in biology by adding predictive feedback and lateral surround suppression. To compare these forms of recurrence to anatomically-matched counterparts we also train feedback and lateral connections directly to classify degraded images. Counter-intuitively, we find that the anatomy of the recurrence is not related to its function: both forms of task-trained recurrence change neural activity and behavior similarly to each other and differently from their bio-inspired anatomical counterparts. By using several analysis tools frequently applied to neural data, we identified the distinct strategies used by the predictive versus task-trained networks. Specifically, predictive feedback de-noises the representation of noisy images at the first layer of the network and decreases its dimensionality, leading to an expected increase in classification performance. Surprisingly, in the task-trained networks, representations are not de-noised over time at the first layer (in fact, they become ‘noiser’ and dimensionality increases) yet these dynamics do lead to de-noising at later layers. The analyses used here can be applied to real neural recordings to identify the strategies at play in the brain. Our analysis of an fMRI dataset weakly supports the predictive feedback model but points to a need for higher-resolution cross-regional data to understand recurrent visual processing.

Introduction

Human vision is remarkably robust; we can identify a dog in a blurry photo or a car in a heavy rainstorm with ease. Standard feedforward Convolutional Neural Networks (CNNs), however, often struggle when images are degraded. Neuroscience suggests the brain solves this using recurrence—connections that loop back (feedback) or spread sideways (lateral).

Despite their prevalence, the "functional logic" of these loops remains poorly understood. Do they exist primarily to "clean up" the image (de-noising), or do they perform a more complex transformation? This study investigates whether the physical layout of these loops (anatomy) or the way they are trained (function) dictates how they process information.

Methods

The researchers utilized a "feedforward core" consisting of a 4-layer CNN trained to recognize clean MNIST digits. They then added four different types of recurrence to this fixed core:

  1. Task-Trained Feedback (FB-TT): Connections from Layer 2 back to Layer 1, trained via backpropagation to improve classification of noisy images.
  2. Task-Trained Lateral (LR-TT): Connections within Layer 1, also trained via backpropagation for classification.
  3. Predictive Coding Feedback (FB-PC): A bio-inspired approach where Layer 2 learns to "predict" the clean activity of Layer 1.
  4. Surround Suppression (LR-SS): A bio-inspired lateral connection using a fixed "Difference of Gaussians" filter, mimicking how real neurons inhibit neighbors to sharpen edges.
Architectures of the four recurrent models and examples of degraded MNIST stimuli.

The models were tested on MNIST digits degraded by Gaussian pixel noise, blur, low contrast, and occlusion. Computational neuroscience tools, including Principal Component Analysis (PCA) and dimensionality metrics, were used to analyze how neural activity changed over time.

Key Insights and Ideas

A central finding of the study is that anatomy is not destiny. Surprisingly, the two task-trained models (FB-TT and LR-TT) behaved almost identically, despite one being feedback-based and the other lateral. This suggests that if a network is optimized to solve a specific task, the training process will converge on the same functional strategy regardless of the starting anatomical constraints.

Furthermore, the study revealed an "anti-de-noising" strategy in task-trained models. While the bio-inspired predictive model (FB-PC) acted as a traditional de-noiser—reducing noise and dimensionality at the first layer—the task-trained models did the opposite. They actually increased the dimensionality and "noise" at Layer 1, effectively spreading the data out to make it easier for the final layers to classify. This suggests that recurrence isn't just about fixing a single layer; it is about improving coordination across the entire hierarchy.

Key Results

All four recurrent models significantly outperformed the feedforward-only baseline on noisy images. However, their internal dynamics differed sharply: in the predictive model (FB-PC), Layer 1 dimensionality decreased over time, whereas in task-trained models, it increased.

Performance metrics and similarity analysis across recurrent models.

When comparing these models to human fMRI data, the results were subtle. However, some subjects showed "de-noising" patterns in the V1 area of the brain that more closely matched the Predictive Coding (FB-PC) model than the task-trained ones, providing weak support for predictive strategies in biological vision.

Limitations and Future Work

While insightful, the study utilized the relatively simple MNIST dataset. More complex tasks, such as ImageNet, might force task-trained networks to adopt more bio-inspired strategies. Additionally, the temporal resolution of fMRI is limited; higher-resolution data (like ECoG or multi-unit recordings) is needed to truly capture these dynamics in the human brain. Finally, because the feedforward weights were frozen in this study, future work should explore how feedforward and recurrent connections might co-develop to create even more integrated processing strategies.

Summary updated

BibTeX
@misc{lindsay2022bio,
  author = {Grace W. Lindsay and Thomas D. Mrsic‐Flogel and Maneesh Sahani},
  title = {{Bio-inspired neural networks implement different recurrent visual processing strategies than task-trained ones do}},
  year = {2022},
  doi = {10.1101/2022.03.07.483196},
  howpublished = {bioRxiv},
}
Figure