Spacetime Emergence in the Memory of a Learning Agent

Philip A. LeMaitre, T. Rick PerchearXiv 2026

TL;DR

Researchers have demonstrated that the causal structure of spacetime—the "light cone" geometry of Einstein’s relativity—can emerge naturally within the memory of a model-based reinforcement learning (RL) agent. By training an agent to maximize quantum mutual information between two probes in a vacuum, the agent builds an internal representation of its environment that allows for the reconstruction of the Minkowski metric with near-perfect accuracy.

What Problem Does This Paper Address?

In general relativity, we describe spacetime using a metric tensor—a mathematical object that defines distances, angles, and causal relationships. However, we never observe this metric directly. Instead, we infer it from the behavior of physical systems, such as light signals or particle trajectories.

This paper explores a fundamental question in "emergent spacetime": Is the raw operational data from quantum interactions enough for an observer to reconstruct the underlying geometry? More provocatively, if an AI agent with no prior knowledge of physics or geometry is dropped into a quantum environment, will it "discover" spacetime as a byproduct of learning to solve a task?

Methods

The authors set up a (1+1)-dimensional "environment" consisting of a massless scalar quantum field in Minkowski spacetime. They use two Unruh-DeWitt (UDW) detectors—simple two-level quantum systems (qubits)—as probes. One detector is fixed at the origin, while the RL agent controls the spacetime position of the second detector.

The Agent Architecture

The authors employed a model-based Reinforcement Learning agent. Unlike model-free agents that just learn which buttons to press, this agent builds an internal "world model" consisting of:

  • Encoder: Maps raw coordinates $(x, t)$ into a high-dimensional latent space.
  • Latent Dynamics Model: Predicts how its actions (moving the detector) will change its internal state.
  • Reward Model: Predicts the "reward" it will receive at a given state.
  • Decoder: Maps the internal latent state back to physical coordinates to ensure the representation stays "anchored."
A schematic of the agent architecture and learning pipeline.

The Task and Reward

The agent's goal is to maximize the Quantum Mutual Information (QMI) between the two detectors. QMI is a measure of the total correlations (both classical and quantum) between the probes. Because these correlations are mediated by the quantum field, they are strongest when the detectors are close together and exhibit a distinct "ridge" along the light cone (where $x = \pm t$).

Datasets

The study does not use a static dataset. Instead, the data is generated dynamically through the physics of the UDW model. The environment is a $301 \times 301$ grid representing a spacetime slice where $x, t \in [-10, 10]$. The agent explores this grid, sampling the QMI "reward landscape" shown below.

The transformed quantum mutual information landscape navigated by the agent.

Key Insights and Ideas

  • Spacetime as a Predictive Tool: The agent isn't told about light cones or metrics. However, to accurately predict its rewards (the QMI), its internal model must capture the fact that correlations propagate along specific diagonal paths in spacetime.
  • Metric Reconstruction from Memory: After the agent is trained, the researchers "interrogated" its memory. By looking at the agent's internal score field, they identified the points the agent found most significant. These points perfectly traced the light cone.
  • Conformal Geometry Emergence: In (1+1) dimensions, knowing the "null directions" (the paths light takes) is enough to define the metric up to a conformal factor. The agent’s internal preference for these paths allowed the researchers to extract the components of the metric tensor $g_{\mu\nu}$.
  • Latent Scrambling: Even though the agent's internal latent space is a "scrambled" 20-dimensional vector space with no inherent geometric meaning, the relationships it learns between these states preserve the underlying Minkowski geometry.

Key Results

The researchers were able to reconstruct the Minkowski metric from the agent's learned representation with high precision. Using the convention where the spatial component $g_{xx} = 1$:

  • Time component ($g_{tt}$): Reconstructed as $\simeq -0.99988$ (True value: $-1.0$).
  • Off-diagonal component ($g_{tx}$): Reconstructed as $\simeq 7.79 \times 10^{-8}$ (True value: $0.0$).
  • Light-cone slopes: Reconstructed as $\simeq \pm 0.99994$ (True value: $\pm 1.0$).

These results show that the agent's internal "memory" is a faithful representation of the physical spacetime it inhabits, despite having no symbolic physics training.

Limitations and Future Work

  • Dimensionality: The current work is limited to a (1+1)-dimensional flat spacetime slice. Extending this to (3+1) dimensions and curved spacetimes (where the light cone structure varies by location) is the next major challenge.
  • Conformal Freedom: The method currently only recovers the metric up to a conformal factor—it knows the "shape" of the causal structure but not the absolute scale of distances.
  • Measure Specificity: Quantum mutual information includes both causal signaling and non-causal correlations (like entanglement at spacelike separation). Future iterations could provide the agent with more specific operational quantities, like signaling estimators, to better distinguish between different types of physical propagation.
  • Autonomous Discovery: Currently, the metric is extracted by the researchers from the agent's memory. A more advanced "agentic" goal would be to have the agent itself learn to output the metric or a symbolic representation of the geometry.

Summary updated

BibTeX
@misc{lemaitre2026spacetime,
  author = {Philip A. LeMaitre and T. Rick Perche},
  title = {{Spacetime Emergence in the Memory of a Learning Agent}},
  year = {2026},
  eprint = {2611.03596},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.03596},
}
Figure