Towards Brain Inspired Design for Addressing the Shortcomings of ANNs

Fahad Sarfraz, Elahe Arani, Bahram ZonoozarXiv 2023 · DOI · arXiv

Abstract

Standard Artificial Neural Networks (ANNs) often struggle with data efficiency, class imbalance, and out-of-distribution generalization due to their reliance on global error signals. This paper introduces Population Coding-based ANNs (PC-ANNs), an architecture inspired by the cerebellum's organizational principles. By partitioning neurons into specialized populations that receive personalized, partial views of the error space, PC-ANNs demonstrate improved robustness, better sample efficiency, and a reduced tendency to rely on spurious "shortcuts" in training data.

Introduction

Despite their transformative success, standard ANNs remain notoriously brittle. They are typically "data-hungry," requiring massive datasets to achieve high performance. Furthermore, they struggle with real-world "long-tail" distributions where certain classes are rare, and they often fail to generalize to out-of-distribution (OOD) data. This failure is frequently attributed to "shortcut learning," where models latch onto spurious correlations—such as a specific background or texture—rather than learning the underlying salient features of an object.

Researchers argue that these shortcomings stem from the fundamental learning mechanism of standard ANNs: every neuron typically receives the same global error signal. In contrast, the human brain—specifically the cerebellum—is remarkably efficient at learning from limited, noisy data. This work aims to bridge the gap by translating cerebellar organizational principles into a functional deep learning architecture.

Methodology: Population Coding-based ANNs

The proposed approach draws inspiration from the cerebellum, which resembles a three-layer feedforward network. In the biological cerebellum, neurons in the middle layer (Purkinje cells) are organized into small populations. Crucially, each population receives a "personalized" or biased view of the error space rather than a global signal.

To replicate this in an artificial system, the researchers utilized SplitNet, a tree-structured ANN, as a proxy for Population Coding-based ANNs (PC-ANNs). The architecture incorporates three key features:

  1. Semantic Grouping: The network learns to split classes into distinct semantic groups (e.g., "living" vs. "non-living").
  2. Disjoint Subnetworks: Model weights are partitioned into branched subtrees, where each subtree (population) only processes features relevant to its specific semantic group.
  3. Partial Error Views: During backpropagation, the disjoint nature of the subtrees ensures that each group receives a gradient signal biased toward correcting the errors of its specific semantic group, mimicking the personalized error views found in the cerebellum.
Comparison of Standard ANN, Cerebellum, and the proposed PC-ANN architecture.

Experimental Results

The authors evaluated PC-ANNs across a wide variety of benchmarks, including standard vision tasks (CIFAR, Tiny-ImageNet), OOD datasets (DomainNet, ImageNet variants), and class-imbalanced scenarios.

General Performance and Sample Efficiency

PC-ANN consistently outperformed baseline models, with the largest gains observed in complex tasks. For instance, it achieved a +3.88% accuracy boost on Tiny-ImageNet. Notably, the model is significantly more sample-efficient; a PC-ANN trained on only 10% of Tiny-ImageNet data achieved 23.09% accuracy, compared to the baseline's 18.66%.

Resilience to Shortcuts and Imbalance

One of the most striking results occurred in the CelebA-Skewed test, designed to trick models into using hair color as a shortcut for gender classification. While the baseline model relied heavily on blonde hair to identify females, the PC-ANN ignored this shortcut, focusing instead on salient facial features. This led to significantly higher accuracy on challenging test cases like "non-blonde females" and "blonde males."

Accuracy comparison on the CelebA-Skewed dataset, demonstrating PC-ANN's ability to overcome shortcut learning compared to a baseline model.

Discussion and Insights

The benefits of PC-ANNs appear to stem from implicit regularization provided by the architecture itself. By forcing neurons into specialized populations with partial error views, the model is compelled to explore the feature space more thoroughly, preventing the "narrow learning" typical of standard ANNs.

Information-theoretic analysis suggests that PC-ANNs learn more compressed representations, which is often linked to better generalization. Furthermore, the optimization landscape of PC-ANNs tends to converge toward "flatter minima," which are generally more stable and less sensitive to small perturbations in input data.

Conclusion and Future Work

While PC-ANNs show great promise in object recognition, several challenges remain. The current implementation relies on a two-stage learning process to form groups, which could be improved by making population formation dynamic during training. Additionally, while SplitNet is an effective proxy, further biological fidelity—such as incorporating more sophisticated update rules—could yield even greater robustness. This work highlights that looking toward the brain's structural organization, rather than just its scale, is a vital path forward for more resilient AI.

Summary updated

Abstract

As our understanding of the mechanisms of brain function is enhanced, the value of insights gained from neuroscience to the development of AI algorithms deserves further consideration. Here, we draw parallels with an existing tree-based ANN architecture and a recent neuroscience study[27] arguing that the error-based organization of neurons in the cerebellum that share a preference for a personalized view of the entire error space, may account for several desirable features of behavior and learning. We then analyze the learning behavior and characteristics of the model under varying scenarios to gauge the potential benefits of a similar mechanism in ANN. Our empirical results suggest that having separate populations of neurons with personalized error views can enable efficient learning under class imbalance and limited data, and reduce the susceptibility to unintended shortcut strategies, leading to improved generalization. This work highlights the potential of translating the learning machinery of the brain into the design of a new generation of ANNs and provides further credence to the argument that biologically inspired AI may hold the key to overcoming the shortcomings of ANNs.
BibTeX
@misc{sarfraz2023towards,
  author = {Fahad Sarfraz and Elahe Arani and Bahram Zonooz},
  title = {{Towards Brain Inspired Design for Addressing the Shortcomings of ANNs}},
  year = {2023},
  eprint = {2307.00039},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.00039},
}
Figure