← Latest papers
🧬 biology

Discovering and decoding latent mean-field structure with variational autoencoders

This paper establishes that a successful variational autoencoder inherently learns a latent mean-field theory by demonstrating that its conditionally independent decoder structurally mirrors a finite-size mean-field factorization, thereby enabling the direct extraction of microscopic parameters and collective variables from both solvable models and experimental neural data.

Original authors: Vincenzo Vitelli, Marco Biroli, Max Welling

Published 2026-08-18
📖 5 min read🧠 Deep dive

Original authors: Vincenzo Vitelli, Marco Biroli, Max Welling

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ⚕️ This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer

Complex systems, from the swirling atoms in a magnet to the firing neurons in a living brain, are defined by how their individual parts influence one another. When billions of tiny components interact, they create patterns that are far more intricate than the sum of their parts. For decades, scientists have struggled to predict these behaviors because the mathematics required to track every single connection is often impossible to solve. To make sense of this chaos, researchers have long relied on a simplifying strategy called mean-field theory. This approach assumes that instead of tracking every specific interaction between neighbors, each part of the system only needs to react to a single, average force generated by the entire group. While this works beautifully for some materials, it fails for others where local, specific connections matter too much to be ignored. The question has always been: how do we know if a complex system actually follows this simpler rule, or if it is too tangled for such a shortcut?

A team of researchers at the University of Chicago and the University of Amsterdam has found a way to answer this question using a type of artificial intelligence known as a variational autoencoder. These are computer programs designed to learn the hidden rules behind a dataset by compressing it into a smaller, simpler form and then trying to rebuild it. The researchers discovered that when these programs succeed in reconstructing the data, they are not just finding a random pattern; they are mathematically proving that the system follows a mean-field structure. In essence, the AI acts as a decoder that reveals whether the complex web of interactions can be reduced to a few collective variables, and if it can, the AI can read out the exact physical laws governing those variables.

The researchers began by establishing a clear test for success. They reasoned that for an AI to perfectly rebuild a complex system, the hidden variables it creates must contain enough information to explain all the correlations between the parts. If the system is too messy and relies on specific, local connections that cannot be summarized by a few averages, the AI will inevitably fail, no matter how much it is trained. The team proved that if the AI succeeds, the system must have a latent mean-field structure, meaning the chaos is actually organized around a few underlying forces. Furthermore, they showed that the specific numbers the AI learns to rebuild the data are not just abstract weights; they correspond directly to the physical parameters of the system, such as the strength of magnetic forces or the patterns stored in a neural network.

To verify this, the team tested their method on a hierarchy of known models, ranging from simple magnets to complex liquid crystals. They started with the two-dimensional Ising model, a classic representation of magnetism that is known to be too complex for mean-field theory to describe accurately. As predicted, the AI failed to reconstruct the data, leaving behind a clear signal that the system's correlations were too intricate to be simplified. In contrast, when they applied the same method to the Curie-Weiss model, a system designed to follow mean-field rules, the AI succeeded perfectly. It reconstructed the magnetic behavior across all temperatures and, crucially, recovered the exact mathematical description of the system's average field. The researchers then moved to more complex scenarios involving vector and tensor order parameters, such as the Hopfield model for memory storage and the Maier-Saupe model for liquid crystals. In every case where the system admitted a mean-field description, the AI not only reproduced the data but also extracted the hidden patterns and physical constants directly from its own internal settings.

The most striking application of this discovery came from analyzing real-world biological data. The team applied their method to recordings from the retinas of salamanders, capturing the electrical activity of forty neurons as they responded to a natural movie clip. Previous studies had modeled this data using thousands of specific connections between every pair of neurons, a massive and unwieldy approach. The new method, however, found that the entire population of forty neurons could be described by just two hidden variables. The AI successfully reconstructed the firing patterns of the neurons using only these two collective factors. By reading the weights of the trained AI, the researchers were able to identify the specific "stored patterns" that the neural population was responding to, effectively reverse-engineering the brain's code. They found that the neural activity was organized around two dominant patterns, with a few neurons acting as silent inhibitors, a structure that a standard model of random connections would have missed.

This work provides a powerful new lens for understanding complex systems. It offers a definitive test to determine whether a system can be understood through a few collective variables or if it requires a full, detailed map of every interaction. When the test is passed, the AI does not just simulate the system; it reveals the underlying physical theory and the specific parameters that drive it. This means that for systems ranging from magnetic materials to neural circuits, scientists can now use machine learning not just as a black box for prediction, but as a tool to discover the fundamental laws of nature hidden within the data. The ability to read the microscopic parameters directly from a trained network suggests that the gap between artificial intelligence and physical theory is narrower than previously thought, offering a path to decode the collective behavior of the natural world.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →