PINN-Slicer: Exploiting Rotational Symmetry to Solve the Photon Orbit Equation Around a Black Hole

Claire David, Tlotlo Oepeng, Harrison B. ProsperarXiv 2026

TL;DR

Physics-Informed Neural Networks (PINNs) often crash and burn when asked to predict complex trajectories over long horizons, like the chaotic path of light bending around a black hole. By exploiting the rotational symmetry of black hole spacetime, PINN-Slicer trains a single neural network on a tiny angular slice of the problem and stitches those slices together recursively. The result is a fast, accurate, and differentiable solver that handles arbitrary starting positions without ever needing to be retrained.

What Problem Does This Paper Address?

Imagine firing a photon near a black hole. Depending on its exact starting radius and angle, it might slingshot out to infinity, spiral past the event horizon, or get trapped in an unstable circular orbit on the "photon sphere."

Figure 1: Coordinate system: a photon emitted at (r0, δ0) from a black hole of Schwarzschild radius rs follows a trajectory parametrized by radius r (or u = rs/r) and azimuthal angle ϕ, measured from the initial radial direction (set to the horizontal here without loss of generality).

Mathematically, this trajectory is governed by a nonlinear second-order ordinary differential equation (ODE): $\ddot{u} = \frac{3}{2}u^2 - u$, where $u$ is the inverse distance from the black hole and the dots represent derivatives with respect to the azimuthal angle $\phi$. Crucially, you don't know the valid domain of $\phi$ beforehand—you only find out where the photon ends up by actually solving the equation.

Physics-Informed Neural Networks (PINNs)—which bake differential equations directly into their loss functions rather than relying on simulation data—should be great surrogates for this. However, standard PINNs notoriously struggle with "long-horizon" domains. Furthermore, balancing the competing loss terms (satisfying the ODE vs. matching initial conditions) makes training brittle. When the authors trained a standard PINN across a full orbital domain of $[0, 5\pi/2]$, it failed catastrophically, completely missing the true trajectories:

Figure 2: Four orbits computed with the finite-difference solver (FD) and the PINN, trained and deployed over [0, 5π/2], shown in the (x, y) plane (left) and the (ϕ, u) plane (right). The PINN fails over its own training domain.

Methods

To tame this long-horizon failure, the authors introduce PINN-Slicer, combining two clever mathematical tricks:

  1. Hard-Coding Initial Conditions (Theory of Connections): Instead of begging the network to respect initial position ($u_0$) and velocity ($v_0$) via a weighted penalty in the loss function, the authors wrap a 3-layer sine-activated network inside a mathematical ansatz (a structured functional template). By construction, this formula evaluates to exact initial conditions at $\phi = 0$. That eliminates the initial-condition loss term entirely—leaving only the pure physics residual to optimize, with zero hyperparameter weights to tune.
  2. Exploiting Symmetry via Domain Slicing: Notice that the governing ODE is autonomous—the angle $\phi$ doesn't explicitly appear in $\ddot{u} = \frac{3}{2}u^2 - u$. Physically, spacetime around a non-rotating black hole looks identical no matter how you rotate your coordinate system. Instead of forcing the PINN to learn whole orbits, the authors train it on a razor-thin angular slice $[0, \Delta\phi]$ across a wide range of initial conditions. At deployment, the network predicts the photon's state at $\Delta\phi$, rotates the coordinate frame so those outputs become the new $(u_0, v_0)$, and repeats slice-by-slice.
Figure 3: Illustration of the slicing strategy. Four orbits are computed with the FD solver over the full ϕ domain (left). For three of these orbits, the segments of width ∆ϕ are overlaid on the common slice [0, ∆ϕ] (right).

Datasets

Because PINNs learn directly from governing equations, no external observational or simulation datasets were used for training. Instead, the network trained on $N = 2^{16}$ (65,536) synthetic collocation points $(\phi, u_0, v_0)$ generated via quasi-random Sobol sampling (which covers space more evenly than uniform random sampling) over $[0, \Delta\phi] \times [0.10, 0.99] \times [-1, 1]$. For evaluation, predictions were benchmarked against a custom fourth-order finite-difference (FD) numerical solver.

Key Insights and Ideas

  • Symmetry turns hard global problems into easy local ones: By recognizing that translational invariance in $\phi$ means every segment of an orbit obeys the exact same local rules, a single lightweight network (3 hidden layers of 75 neurons) can act as a universal propagator.
  • Unknown horizons are no longer a roadblock: Because PINN-Slicer steps forward recursively, you don't need to know when a photon will hit the singularity or escape to infinity a priori—you simply step forward until $u$ crosses physical boundaries ($u \to 0$ for escape, $u = 1$ for the event horizon).
  • Zero-retraining generalization: Passing $(u_0, v_0)$ directly as network inputs means one 37-minute training run yields a continuous, differentiable surrogate for any orbit within the sampled parameter space.

Key Results

Trained for 1 million iterations on an NVIDIA RTX 5090 (taking 37 minutes), PINN-Slicer was tested across slice widths from $0.05$ to $1.6$ radians:

  • Optimal Slice Width: $\Delta\phi = 0.1$ radians achieved the lowest mean validation loss of $2.07 \times 10^{-10}$.
  • High Trajectory Accuracy: Deployed recursively up to $5\pi/2$ across four benchmark orbits (escaping, inward spiral, and unstable photon sphere), point-by-point RMSE stayed below $4.94 \times 10^{-4}$ in $u$ and $5.96 \times 10^{-4}$ in $v$.
  • Broad Generalization: Evaluated across a dense $41 \times 41$ grid of initial conditions (1,642 comparable orbits), every single orbit achieved $\text{RMSE}_u < 10^{-3}$, visually matching the reference solver:

Limitations and Future Work

  • Equation Scope: PINN-Slicer specifically relies on the ODE being autonomous (invariant to shifts in the independent variable) and second-order. It cannot be directly applied to non-autonomous systems without modification.
  • Hyperparameter Tuning: The authors note they did not perform systematic hyperparameter optimization on the neural architecture.
  • Future Directions: Work is currently underway to test and extend PINN-Slicer on other second-order autonomous differential equations across various branches of physics.

Summary updated

BibTeX
@misc{david2026pinn,
  author = {Claire David and Tlotlo Oepeng and Harrison B. Prosper},
  title = {{PINN-Slicer: Exploiting Rotational Symmetry to Solve the Photon Orbit Equation Around a Black Hole}},
  year = {2026},
  eprint = {2611.33953},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33953},
}
Figure