In the early 2000s, a shift began in the field of artificial intelligence. Researchers started moving away from "heuristics"—ad-hoc tricks designed for specific tasks—toward a rigorous, "formal" science of intelligence. As Jürgen Schmidhuber argued in 2006: Celebrating 75 years of AI - History and Outlook: the Next 25 Years, the goal was to find a mathematical "gold standard" for what it means to be intelligent.
This research direction, known as Universal Artificial Intelligence (UAI), seeks to define an agent that can learn and act optimally in any environment, no matter how complex or unknown.
Defining Intelligence Mathematically
To build a universal agent, you first need a way to measure it. In A Formal Measure of Machine Intelligence, Shane Legg and Marcus Hutter proposed a definition: intelligence is an agent’s ability to achieve goals in a wide range of environments.
Crucially, they used Algorithmic Information Theory to weight these environments. Simple environments (those that can be described by short computer programs) are more likely than complex ones. This "simplicity prior" allows us to calculate a single score for an agent by averaging its performance across every possible computable world.
The Universal Predictor: Solomonoff Induction
The engine of UAI is prediction. If an agent can predict what will happen next, it can choose actions that lead to rewards. The theoretical ideal for this is Solomonoff Induction.
As explained by Marcus Hutter in Algorithmic Randomness as Foundation of Inductive Reasoning and Artificial Intelligence, Solomonoff Induction works by considering every possible computer program that could have generated the data seen so far. It then predicts the future by favoring the shortest programs (the simplest explanations). This is a formal version of Occam’s Razor. It is mathematically "universal" because it will eventually outperform any other prediction method in any computable environment.
AIXI: The Grand Unified Theory
In his seminal paper, A Theory of Universal Artificial Intelligence based on Algorithmic Complexity, Marcus Hutter introduced AIXI. AIXI is the combination of two powerful ideas:
- Solomonoff Induction for universal prediction.
- Sequential Decision Theory (specifically Bellman equations) for optimal planning.
AIXI doesn't know the rules of its environment beforehand. Instead, it maintains a "mixture" of all possible computable worlds. As it interacts with the world, it drops the programs that don't match its observations and focuses on the ones that do. It then picks the action that maximizes its expected future reward across all remaining possible worlds.
The Problem of Incomputability
There is a catch: AIXI is fundamentally incomputable. To work perfectly, it would need to run every possible program, including those that never halt. This is known as the Halting Problem.
Jan Leike and Marcus Hutter explored this in On the Computability of AIXI, mapping exactly how "unreachable" the agent is. Because it relies on Kolmogorov complexity—the length of the shortest program—it cannot be executed on any physical hardware. It serves not as a blueprint for a chip, but as a mathematical "north star" for the field.
Bridging the Gap to Practice
Since the ideal AIXI is impossible to build, researchers focus on approximations. The challenge is to keep the "universal" spirit while staying within the limits of finite time and memory.
- Monte Carlo Approximations: In Reinforcement Learning via AIXI Approximation, Joel Veness, David Silver, and others created MC-AIXI. They replaced the infinite sum of programs with a search tree (Monte Carlo Tree Search) and used a compression algorithm (Context Tree Weighting) to approximate the simplicity prior.
- Neural Approximations: More recently, researchers have tried to "bake" universal biases into neural networks. In Learning Universal Predictors, Jordi Grau-Moya and colleagues at DeepMind showed that Transformers can be meta-trained on data from Universal Turing Machines to behave like Solomonoff inductors.
- Self-Prediction: In Self-Predictive Universal AI, Elliot Catt and others proposed Self-AIXI, which avoids exhaustive planning by having the agent predict its own future actions, providing a theoretical link to modern "policy distillation" techniques.
Why It Matters
UAI provides the only formal definition of general intelligence we have. While we cannot build AIXI, understanding it helps us understand the limits of what any agent can do. It also allows us to reason about safety; for instance, Michael K. Cohen and Marcus Hutter used these frameworks in Asymptotically Unambitious Artificial General Intelligence to prove that it is theoretically possible to build a super-intelligent agent that remains "unambitious" and safe.