arXiv:2611.03596quant-phNov 2026

Manuscript Offprint

arXiv:2611.03596

Spacetime Emergence in the Memory of a Learning Agent

Philip A. LeMaitre, T. Rick Perche

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Philip A. LeMaitre1,∗^{1,*} and T. Rick Perche2,†^{2,\dagger}

1^{1}University of Innsbruck, Institute for Theoretical Physics, Technikerstrasse 21a, A-6020 Innsbruck, Austria

2^{2}Nordita, KTH Royal Institute of Technology and Stockholm University, Hannes Alfvéns väg 12, 23, SE-106 91 Stockholm, Sweden

(Dated: November 3, 2026)

We show that the causal structure of spacetime can emerge within the memory of a learning agent performing a quantum information task. We train a model-based reinforcement-learning agent to maximize the quantum mutual information between localized quantum probes interacting with a quantum field in Minkowski spacetime, without directly providing it with information regarding the spacetime metric or causal structure. In learning to accomplish this task, the reinforcement-learning agent constructs an internal predictive model whose planner develops the characteristic null structure of spacetime, allowing us to reconstruct the causal structure of the Minkowski metric with high accuracy. Within this task, spacetime geometry is obtained from an agent's successful predictions and actions, providing a first step toward showing that spacetime concepts emerge from operational quantum experience.

I. INTRODUCTION

General relativity is our most successful description of spacetime and has passed a remarkably broad range of experimental tests to date [1], yet the geometry described by the theory — commonly represented by a Lorentzian metric tensor, which is an object encoding spacetime distances, angles, and causal relationships [2, 3] — is never accessed directly in experiment but is instead inferred from the records left by physical systems interacting with matter and fields [3, 4]. Whether through families of causal trajectories or the responses of localized detectors, every observation provides only finite operational information from which the underlying geometry must be reconstructed [3, 5–11]. This operational viewpoint shifts the emphasis from geometry itself to the physical records encoding that geometry, motivating broader questions that lie at the heart of spacetime reconstruction: what kind of records are sufficient for an observer to recover the structure of the underlying spacetime and to what extent do they preserve the geometric information of the spacetime that generated them?

Multiple approaches have been developed to try and answer these questions, with quantum-information-based schemes being of particular interest with regards to what will be considered in the current work (introduced further down). For instance, Ref. [12] reconstructs spatial geometry from the entanglement structure of a Hilbert space factorization by using mutual information to define effective distances before fitting an emergent geometry. Ref. [13] advocates for replacing spacetime distance by correlation strength, treating abstract correla-

tors as the primary structure from which spacetime and fields may arise as approximate descriptions. Additionally, Ref. [14] analyzes how relative distance can be associated with mutual information in entanglement-based emergent-spacetime scenarios while showing that simple entangled systems already contain ambiguities in such reconstructions.

Relativistic quantum information (RQI) arguably provides the most natural framework in which to address this question. In particular, Unruh-DeWitt (UDW) detectors [15, 16] furnish a simple model of localized quantum systems interacting with quantum fields [17, 18] while remaining sufficiently tractable that the resulting detector states can be analyzed using the tools of quantum information theory [19–21]. It is through these interactions that geometric and causal relationships as well as field correlations become encoded into finite-dimensional quantum states whose operational properties can be studied directly. UDW systems have consequently become one of the principal tools [22] for investigating how spacetime structure is reflected in quantum information, leading to a variety of protocols for reconstructing geometric quantities from detector data [9, 10, 23].

The perspective adopted here is somewhat different to the above mentioned works in that we ask whether a learning agent interacting only with operational quantum data sourced from quantum systems embedded in a spacetime (and with no a priori knowledge of spacetime), can itself acquire an internal representation that reflects the geometry of the spacetime generating those observations. The question is therefore whether successful interaction with a relativistic quantum environment naturally gives rise to representations from which that geometry can subsequently be extracted. Viewed in this way, a learning agent serves as a concrete operational observer whose internal memory is shaped by experience. More concretely, our setting considers model-based

reinforcement-learning (RL) agents acting on an environment defined by the outcomes of a quantum information protocol performed in spacetime. RL converts the structure of that environment into a memory of actions that we can attempt to query to ascertain whether it contains a recoverable metric structure.

Our application of machine learning in pursuit of answering this question is a somewhat recent development with only a relatively small number of works employing the same strategy, and fewer still using RL. For example, the authors of Ref. [24] train a model on entanglement features so that the learned tensor-network geometry reproduces the entanglement structure of a quantum many-body state; the authors of Refs. [25, 26] use deep learning in AdS/CFT-inspired settings to infer emergent bulk metrics from field-theoretic or lattice data, and more recently used interpretable neural architectures to reconstruct gravitational metrics from linear-response data [27]; recent holographic reconstruction work uses entanglement-entropy data as input to a machine-learning inverse problem for the bulk metric [28]; and in the RQI sphere, Ref. [29] uses deep learning to distinguish field states, detect field thermalization, and sense spacetime boundaries. Work on quantum-enhanced agents and causal machine learning in quantum settings comes closer still by treating agents as active participants whose actions and records mediate what can be learned about a quantum environment [30]. Our approach combines this active participant idea with RL in an RQI setting in a way that answers the original questions, but also distinguishes itself from these other works by drawing attention to the agentic aspect of learning new concepts from acting. In this respect, the problem is also related to work on intuitive physics and physical concept learning, where predictive models acquire internal representations of physical regularities from experience rather than having access to an explicit symbolic theory [31].

To investigate these questions, we construct a detector-generated environment in which one Gaussian-smeared UDW detector remains fixed while a second is translated across a two-dimensional grid of spacetime smearing centres x=(x,t)x = (x,t). Their interaction with a real massless scalar quantum field in (3+1)(3+1)-dimensional Minkowski spacetime, holding two spatial dimensions fixed, generates a transformed quantum mutual-information objective that provides the sole reward to a model-based RL agent with no initial conception of spacetime. The underlying spacetime structure is implicitly encoded in this reward and so the RL agent must learn a predictive representation of the environment — and thus the spacetime structure — through interaction with it. We then ask whether the memory supporting its successful behaviour retains enough of the structure underlying the operational quantum information for the spacetime geometry to be reconstructed from it. For this we apply a mask to the learned planner representation that mini-

mally identifies lightcone-like branches, to which we fit a quadratic form whose coefficients yield the metric tensor components gtt≃−0.99988g_{tt} \simeq -0.99988 and gtx≃7.79×10−8g_{tx} \simeq 7.79 \times 10^{-8} (after fixing the conformal freedom by setting gxx=1g_{xx} = 1) with null slopes dx/dt≃±0.99994dx/dt \simeq \pm 0.99994, in close agreement with the corresponding Minkowski values. Since null structure determines the Lorentzian metric only up to a conformal factor [3, 7, 8], this demonstrates that an internal representation learned solely for prediction and action can preserve sufficient operational information for the local conformal geometry of the spacetime to then be recovered.

The remainder of the paper is organized as follows. Section II establishes the basics of the UDW model and the framework of Algebraic Quantum Field Theory (AQFT), then derives the relevant quantities for the detector-generated reward landscape. Section III briefly introduces the basics of RL and details the architecture of the learning agent. The details of the learning task and RL agent training procedure are then given in Section IV, and subsequently Section V presents the reconstruction of the spacetime metric from the learned representation in the RL agent's memory. Finally, Section VI discusses the implications, limitations, and possible extensions of the framework. The code used to obtain the results can be found in an accompanying GitHub repository [32].