Self-orthogonalizing attractor neural networks emerging from the free energy principle

Tamas Spisak, Karl Friston
5/28/2025
q-bio.NCcs.AIcs.LG

No official code found. Best implementation: pni-lab/fep-attractor-network (26 stars, last commit 2026-04-03).

Abstract

Attractor dynamics are a hallmark of many complex systems, including the brain. Understanding how such self-organizing dynamics emerge from first principles is crucial for advancing our understanding of neuronal computations and the design of artificial intelligence systems. Here we formalize how attractor networks emerge from the free energy principle applied to a universal partitioning of random dynamical systems. Our approach obviates the need for explicitly imposed learning and inference rules and identifies emergent, but efficient and biologically plausible inference and learning dynamics for such self-organizing systems. These result in a collective, multi-level Bayesian active inference process. Attractors on the free energy landscape encode prior beliefs; inference integrates sensory data into posterior beliefs; and learning fine-tunes couplings to minimize long-term surprise. Analytically and via simulations, we establish that the proposed networks favor approximately orthogonalized attractor representations, a consequence of simultaneously optimizing predictive accuracy and model complexity. These attractors efficiently span the input subspace, enhancing generalization and the mutual information between hidden causes and observable effects. Furthermore, while random data presentation leads to symmetric and sparse couplings, sequential data fosters asymmetric couplings and non-equilibrium steady-state dynamics, offering a natural extension to conventional Boltzmann Machines. Our findings offer a unifying theory of self-organizing attractor networks, providing novel insights for AI and neuroscience.

View on arXivView PDF

Code Implementations(1)

Manuscript source: Self-orthogonalizing attractor neural networks emerging from the free energy principle

265TeX, PythonMay 5, 20256 months ago
active-inferenceattractor-neural-networkfree-energy-principleself-orthogonalizing

Similar Papers

Cite this paper

@article{spisak2025selforthogonalizing,
  title  = {Self-orthogonalizing attractor neural networks emerging from the free energy principle},
  author = {Tamas Spisak and Karl Friston},
  year   = {2025},
  eprint = {2505.22749},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.22749v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.22749.svg)](https://codeofpaper.com/paper/2505.22749)

Discussion