Manuscript Offprint

arXiv:2609.01768

Emergence of Fibrations, Compression, and Symmetry Breaking in Artificial Neural Networks

Osvaldo M Velarde, Lucas C Parra, Alireza Hashemi, Hernan A Makse

Abstract

Artificial neural networks are often regarded as powerful yet opaque “black boxes”. Here, we demonstrate that learning in deep neural networks generates local symmetries known in graph theory as fibrations and coverings. We prove that covering symmetries are stable attractors of stochastic gradient descent. Consistent with this theory, we report the emergence of covering symmetries across major network architectures, including multi-layer, convolutional, recurrent, and transformer networks. Exploiting these symmetries enables drastic model compression — reducing networks to 17% of their original size without sacrificing performance. Furthermore, controlled breaking of covering symmetry overcomes the loss of plasticity, achieving state-of-the-art performance in continual learning. The theoretical results provide a new foundation for AI systems based on symmetries that convert black boxes into interpretable “colored graphs” and enable more efficient inference and lifelong learning.

Keywords: graph fibrations, network compression, continual learning, symmetry breaking

1 Main

Despite the development of increasingly powerful neural network architectures, our understanding of their internal structure remains limited. They are often regarded as black boxes, unable to provide explanations for how their network connections capture the regularity of training data. In the absence of a theoretically grounded understanding of learning, the recent surge in artificial intelligence (AI) has been driven predominantly by empirical scaling laws [1, 2], resulting in ever increasing model sizes.

The reliance on scaling as a substitute for understanding creates significant challenges. Training with single large runs has massive cost and energy demands, and when trained sequentially, networks can suffer from a loss of plasticity over time [3–5]. Additionally, training large models from scratch is data-inefficient, requiring exceedingly large datasets. Without principled guidelines, architecture design becomes a costly trial-and-error process. Finally, when models are excessively over-parameterized, paradoxically, they still perform well in practice [6], a subject of ongoing theoretical debate [7, 8].

To address these challenges, we propose a new theoretical formalism that analyzes the internal structure of deep neural networks through the lens of graph symmetries. While global symmetry groups are fundamental to geometric deep learning (GDL) [9] and our understanding of theoretical physics [9–11], they are too rigid to capture the diversity observed in both artificial and biological neural systems [12–15]. For instance, existing machine learning applications rely heavily on strict global symmetries, such as shift equivariance in convolutional neural networks (CNNs) [16, 17] or permutation equivariance [18–20] in graph neural networks (GNNs) [9]. Instead, we identify less restrictive local symmetries that naturally emerge in the input and output trees of computational graphs. These local symmetries are known in graph theory as fibrations, opfibrations, and coverings [12, 21]. Originally introduced by Grothendieck as maps in category theory [22], they were later adapted for graphs [21, 23].

Here, we provide a unified mathematical framework demonstrating that stochastic gradient descent (SGD) acts as a mechanism for local symmetry formation. We prove mathematically that covering symmetries emerge in SGD due to the "synchronized learning" of weight updates. This synchronized learning induces fibration symmetries, providing a formal explanation for the emergence of neural activity synchronization, which has often been reported in deep networks [15, 24, 25]. Furthermore, we develop a "balance coloring" algorithm [26] to identify these structures in the weights of deep networks, and use the resulting fibrations for substantial compression of trained models with minimal impact on performance. We validate the emergence of these local symmetries across a wide range of architectures, including multilayer perceptrons (MLP), CNNs, recurrent networks (e.g., long short-term memory, LSTM), and Transformers in both supervised and reinforcement learning (RL) settings. Finally, by carefully breaking these emergent symmetries, we expand the capacity of the network to overcome loss of plasticity [4, 5], demonstrating state-of-the-art performance in continual learning [3].

References (63)