Investigating the intrinsic top-down dynamics of deep generative models

Lorenzo Tausani, Alberto Testolin, Marco ZorziScientific 2025

Abstract

Hierarchical generative models can produce data samples based on the statistical structure of their training distribution. This capability can be linked to current theories in computational neuroscience, which propose that spontaneous brain activity at rest is the manifestation of top-down dynamics of generative models detached from action-perception cycles. In this work, we study the generative dynamics of a recent extension of the Deep Belief Network (DBN), the iterative DBN (iDBN), which more faithfully simulates neurocognitive development by jointly tuning the connection weights across all layers of the hierarchy. We characterize the number of states visited during top-down sampling and investigate whether the heterogeneity of visited attractors could be increased by initiating the generation process from biased hidden states. Our findings suggest that the top-down dynamics of hierarchical generative models is significantly influenced by the shape of the energy function, which depends both on the depth of the processing architecture and on the statistical structure of the sensory data.

Introduction

In neuroscience, "spontaneous brain activity" refers to the neural firing observed when a subject is at rest. A leading theory suggests this activity is the brain’s generative model running "offline" to explore internal representations. However, replicating this in AI is difficult: traditional energy-based models like Deep Belief Networks (DBNs) often get stuck in a single state (an "attractor") or take an impractically long time to reach a steady state when sampling. This paper explores how iterative Deep Belief Networks (iDBNs) can simulate this phenomenon and demonstrates that deeper architectures possess richer internal dynamics than shallow ones.

The iDBN Architecture

The researchers utilized an iterative Deep Belief Network (iDBN). Unlike standard DBNs that are trained layer-by-layer in a "greedy" fashion, the iDBN tunes all connection weights jointly, which is more biologically plausible. This hierarchical structure allows for multiple levels of representation.

The hierarchical architecture of the iDBN, showing the visible layer (V) and three hidden layers (H1, H2, H3) with their respective neuron counts.

Chimera Biasing: Exploring the State Space

The core innovation of this work is Chimera Biasing. To prevent the model from settling into a single familiar pattern (like the digit "1"), the authors initialized the top layer of the network with a "chimera state"—a blend of two different classes (e.g., a mix of the features for "2" and "9").

Comparison between standard one-hot class label initialization and the two-hot "chimera" biasing method used to trigger diverse top-down generation.

These "chimeras" act as unstable starting points that force the model to traverse the energy landscape, visiting multiple "attractor basins" (different digits or faces) in a single sampling run. The authors tested two variants: Double Label Biasing ($C_{2LB}$), which activates two class labels simultaneously, and the Intersection Method ($C_{int}$), which finds common active neurons between two distinct class representations.

Key Insights and Results

  • Depth Breeds Dynamism: Hierarchical (deep) models showed significantly richer top-down dynamics than shallow Restricted Boltzmann Machines (RBMs). The deep models were more likely to transition between different "perceptual states" rather than staying static. iDBNs visited a significantly higher number of unique states compared to shallow RBMs across all biasing methods.
  • Spontaneous Activity as Replay: The paper reinforces the idea that "rest" is not "noise." In the iDBN, spontaneous top-down generation produces "prototypes" that represent the statistical essence of the training data.
  • Mitigating Catastrophic Forgetting: In continual learning tests, using "generative replay" (training on new data plus samples generated via chimera biasing) preserved MNIST accuracy at near-original levels (~95%) while learning new datasets (EMNIST and Fashion-MNIST). Without this replay, accuracy on the original task plummeted.

Conclusion

While the iDBN is more dynamic than an RBM, it still isn't able to transition between all potential target states in a single trajectory; some "attractors" (like the digits 0 and 1) are so strong they act as "sinks" that are hard to escape. Nevertheless, the results suggest that the top-down dynamics of hierarchical generative models are significantly influenced by the shape of the energy function, which depends both on the depth of the processing architecture and on the statistical structure of the sensory data.

Summary updated

BibTeX
@inproceedings{tausani2025investigating,
  author = {Lorenzo Tausani and Alberto Testolin and Marco Zorzi},
  title = {{Investigating the intrinsic top-down dynamics of deep generative models}},
  booktitle = {Scientific},
  year = {2025},
  doi = {10.1038/s41598-024-85055-y},
}
Figure