Einstein Fields: A Neural Perspective To Computational General Relativity

Sandeep Suresh Cranganore, Andrei Bodnar, Arturs Berzins, Johannes Brandstetter
7/15/2025
cs.LGgr-qc

Official code: AndreiB137/EinFields (76 stars, MIT, last commit 2025-08-26).

Abstract

We introduce Einstein Fields, a neural representation that is designed to compress computationally intensive four-dimensional numerical relativity simulations into compact implicit neural network weights. By modeling the \emph{metric}, which is the core tensor field of general relativity, Einstein Fields enable the derivation of physical quantities via automatic differentiation. However, unlike conventional neural fields (e.g., signed distance, occupancy, or radiance fields), Einstein Fields are \emph{Neural Tensor Fields} with the key difference that when encoding the spacetime geometry of general relativity into neural field representations, dynamics emerge naturally as a byproduct. Einstein Fields show remarkable potential, including continuum modeling of 4D spacetime, mesh-agnosticity, storage efficiency, derivative accuracy, and ease of use. We address these challenges across several canonical test beds of general relativity and release an open source JAX-based library, paving the way for more scalable and expressive approaches to numerical relativity. Code is made available at https://github.com/AndreiB137/EinFields

View on arXivView PDF

Code Implementations(1)

MIT

Einstein Fields official implementation in JAX.

7617Python, Jupyter NotebookJul 2, 20251 years agoMIT

Similar Papers

Cite this paper

@article{cranganore2025einstein,
  title  = {Einstein Fields: A Neural Perspective To Computational General Relativity},
  author = {Sandeep Suresh Cranganore and Andrei Bodnar and Arturs Berzins and Johannes Brandstetter},
  year   = {2025},
  eprint = {2507.11589},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.11589v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.11589.svg)](https://codeofpaper.com/paper/2507.11589)

Discussion