Emergent mechanisms of evidence integration in recurrent neural networks

Silvan C. Quax, Marcel van GervenPLoS 2018

Abstract

Recent advances in machine learning have enabled neural networks to solve tasks humans typically perform. These networks offer an exciting new tool for neuroscience that can give us insight into the emergence of neural and behavioral mechanisms. A significant gap remains between the very deep neural networks popular in computer vision and the highly recurrently connected human brain. This trend towards ever-deeper architectures raises the question of why the brain has not developed such an architecture. Besides wiring constraints, we argue that the brain operates under different circumstances when performing object recognition, being confronted with noisy and ambiguous sensory input. The role of time in the process of object recognition is investigated, showing that a recurrent network trained through reinforcement learning is able to learn the amount of time needed to arrive at an accurate estimate of the stimulus and develops behavioral and neural mechanisms similar to those found in the human and non-human primate literature.

Introduction

In the field of computer vision, the prevailing design philosophy has favored increasingly deep feedforward architectures, such as ResNets, which often exceed 100 layers. In contrast, the human visual system is relatively shallow—comprising roughly 7–9 processing stages in the ventral stream—but is characterized by dense recurrent connectivity. This research explores the hypothesis that the brain's architecture is optimized for constraints often absent in standard machine learning benchmarks: metabolic efficiency, wiring limits, and the necessity of integrating noisy, ambiguous information over time.

While feedforward networks excel at processing static snapshots, biological systems must integrate evidence over time to resolve uncertainty. This study investigates whether a simple recurrent model can spontaneously develop biological behaviors, such as the speed-accuracy trade-off and specific neural firing patterns, simply by learning to solve a noisy classification task.

Methodology

Model Architecture

The researchers employed a two-layer Recurrent Neural Network (RNN) utilizing Gated Recurrent Units (GRUs). While GRUs are standard in machine learning for handling temporal dependencies, in this context, they serve as a functional proxy for the recurrent loops found in the biological visual cortex.

Training Paradigms

The study compared two distinct training approaches:

  1. Supervised Learning: The network was trained with fixed integration times to evaluate how extended observation periods influenced accuracy under varying noise conditions.
  2. Reinforcement Learning (RL): Utilizing an Actor-Critic framework, the agent was granted the agency to decide at each time step whether to classify the stimulus (Class A or B) or request an "extra observation" (look for one more time step).

The RL agent received a reward for correct classifications and incurred a "cost" for each additional observation, incentivizing the development of an optimal policy for evidence integration.

Datasets and Noise Conditions

The model was tested on the MNIST dataset of handwritten digits. To simulate real-world ambiguity, varying levels of pixel noise (0% to 97%) were introduced in two forms:

  • Static Noise: The noise pattern remained constant across all time steps in a trial.
  • Dynamic Noise: A new random noise pattern was generated at every time step, while the underlying signal (the digit) remained unchanged. This mimics the temporal fluctuations inherent in natural sensory input.

Results and Key Insights

The Necessity of Dynamic Change

A critical finding was that the network only benefited from extended integration times when the noise was dynamic. In static noise conditions, accuracy plateaued almost immediately because the network lacked new information to average out. This highlights that temporal integration is fundamentally a mechanism for filtering out non-stationary noise.

Emergent Biological Signatures

Without explicit biological programming, the RNN's hidden units developed firing patterns remarkably similar to neurons in the macaque Lateral Intraparietal (LIP) area. Specifically, certain units functioned as "accumulators," ramping up their activity as evidence for a specific class increased over time.

Adaptive Deliberation and Speed-Accuracy Trade-off

The RL agent successfully learned that "time is money." For high-signal (low noise) stimuli, the agent reached decisions almost instantly. Conversely, for low-signal (high noise) stimuli, it autonomously chose to integrate evidence for significantly longer periods. By adjusting the "cost" per observation, the researchers could shift the agent's behavior along a speed-accuracy trade-off curve, mirroring human behavioral data.

Functional Specialization

K-means clustering of the hidden units revealed four distinct functional groups: two sets of class-specific accumulators, a "fixation" group that signaled the start of a trial, and an "uncertainty" group that tracked noise levels to inform the decision of whether to seek more data.

Discussion and Future Work

A primary limitation of the current model is the lack of internal stochasticity. In biological systems, humans take longer to process even static noisy images because neural processing itself is noisy. This deterministic model only benefits from integration when the external stimulus changes. Future iterations could incorporate stochasticity into the network units to better simulate internal neural noise.

Furthermore, while MNIST provides a useful benchmark for evidence integration, it lacks spatial complexity. Scaling this approach to high-resolution natural images or video would likely require integrating these recurrent mechanisms with convolutional layers to better approximate the hierarchical nature of the human visual system.

Summary updated

BibTeX
@inproceedings{quax2018emergent,
  author = {Silvan C. Quax and Marcel van Gerven},
  title = {{Emergent mechanisms of evidence integration in recurrent neural networks}},
  booktitle = {PLoS},
  year = {2018},
  doi = {10.1371/journal.pone.0205676},
}
Figure