PINN-Slicer:利用旋转对称性求解黑洞周围的光子轨道方程

arXiv cs.CL 论文

摘要

本文提出了 PINN-Slicer,一种利用平移不变性的方法:在自变量的一个窄区间上训练单个物理信息神经网络(PINN),再递归应用该网络来求解二阶自治常微分方程。在黑洞周围的光子轨道方程上进行的演示表明,该方法的均方根误差(RMSE)低于 1e-3,且无需重新训练即可泛化到新的初始条件。

arXiv:2611.33953v1 Announce Type: new Abstract: Physics-Informed Neural Networks (PINNs) typically struggle with long-horizon domains, often requiring the network to be retrained as the domain grows. We present PINN-Slicer, a method for second-order autonomous ordinary differential equations, $\ddot{u} = G(u, \dot{u})$, which exploits the invariance of this class of equations under translations of the independent variable. A single PINN, embedded within a solution ansatz that enforces the initial conditions explicitly, is trained on a thin slice of the independent variable using Sobol-sampled initial conditions. The PINN is then deployed recursively, slice-by-slice, across the full domain. We demonstrate PINN-Slicer on the nonlinear equation that describes photon orbits around a black hole, and reach a point-by-point root-mean-square error (RMSE) below $10^{-3}$ in $u = r_s/r$ (the inverse radial coordinate in units of the Schwarzschild radius) relative to a finite-difference reference solution. A key advantage of PINN-Slicer is that a single trained network generalizes to any orbital initial condition within the training range, without retraining. In addition, PINN-Slicer can cope with solution domains that may not be known a priori.
查看原文
查看缓存全文

缓存时间: 2026/11/26 09:35

# PINN-Slicer: Exploiting Rotational Symmetry to Solve the Photon Orbit Equation Around a Black Hole
Source: [https://arxiv.org/html/2611.33953](https://arxiv.org/html/2611.33953)
Claire David††thanks:Part of this work was carried out while the author was at AIMS South Africa\.Tlotlo OepengAffiliation:De Beers GroupHarrison B\. ProsperAffiliation:Florida State UniversityAffiliation:Tallahassee, USA

###### Abstract

Physics\-Informed Neural Networks \(PINNs\) typically struggle with long\-horizon domains, often requiring the network to be retrained as the domain grows\. We present PINN\-Slicer, a method for second\-order autonomous ordinary differential equations,u¨=G⁡\(u,u˙\)\\ddot\{u\}=G\(u,\\dot\{u\}\), which exploits the invariance of this class of equations under translations of the independent variable\. A*single*PINN, embedded within a solution*ansatz*that enforces the initial conditions explicitly, is trained on a thin slice of the independent variable using Sobol\-sampled initial conditions\. The PINN is then deployed recursively, slice\-by\-slice, across the full domain\. We demonstrate PINN\-Slicer on the nonlinear equation that describes photon orbits around a black hole, and reach a point\-by\-point root\-mean\-square error \(RMSE\) below10−310^\{\-3\}inu=rs/ru=r\_\{s\}/r\(the inverse radial coordinate in units of the Schwarzschild radius\) relative to a finite\-difference reference solution\. A key advantage of PINN\-Slicer is that a single trained network generalizes to any orbital initial condition within the training range, without retraining\. In addition, PINN\-Slicer can cope with solution domains that may not be known*a priori*\.

## 1Introduction

The work reported here was motivated by the following questions: \(i\) can a Physics\-Informed Neural Network \(PINN\)\[[1](https://arxiv.org/html/2611.33953#bib.bib3)\]accurately model the solutions of an ordinary differential equation \(ODE\) when the physical domain of the solutions may be unknown, and \(ii\) can it provide an accurate surrogate for solutions that are differentiable with respect to the initial conditions\[[2](https://arxiv.org/html/2611.33953#bib.bib4)\]? Photon orbits around a black hole can escape to infinity or terminate at the Schwarzschild radius, and can be sensitive to the initial conditions\[[3](https://arxiv.org/html/2611.33953#bib.bib1)\]\. They therefore provide a well\-studied benchmark for these questions\. PINNs, however, remain challenging to train\[[4](https://arxiv.org/html/2611.33953#bib.bib5)\]: models that perform well on simple problems can fail on slightly more complex ones\[[5](https://arxiv.org/html/2611.33953#bib.bib6)\]\. Proposed remedies include domain decomposition\[[6](https://arxiv.org/html/2611.33953#bib.bib8),[7](https://arxiv.org/html/2611.33953#bib.bib7)\], curriculum and sequential training\[[5](https://arxiv.org/html/2611.33953#bib.bib6),[8](https://arxiv.org/html/2611.33953#bib.bib9)\], and modifications to the optimization objective\[[4](https://arxiv.org/html/2611.33953#bib.bib5)\]\.

In this paper, we present PINN\-Slicer,111Code is available at[https://github\.com/soot\-bit/pinnslicer/](https://github.com/soot-bit/pinnslicer/)\.a method for second\-order autonomous ODEs\. PINN\-Slicer is trained on a single segment222We use the terms*slice*and*segment*interchangeably\.of the independent variable and applied recursively to construct the full solution, a strategy that resembles that of Wang and Perdikaris\[[9](https://arxiv.org/html/2611.33953#bib.bib11)\]\. However, our method incorporates initial conditions explicitly thanks to an*ansatz*from the theory of connections\[[10](https://arxiv.org/html/2611.33953#bib.bib10)\], so that our loss is based solely on the ODE residuals\.

## 2The photon orbit equation

We focus on the equation\[[3](https://arxiv.org/html/2611.33953#bib.bib1),[11](https://arxiv.org/html/2611.33953#bib.bib2)\]

u¨\\displaystyle\\ddot\{u\}=32​u2−u,\\displaystyle\\,=\\frac\{3\}\{2\}\\,u^\{2\}\-u,\(1\)which describes the trajectory of a photon around a black hole in the Schwarzschild metric\. Hereu=rs/ru=r\_\{s\}/ris the inverse radial coordinate in units of the Schwarzschild radiusrsr\_\{s\}, and the overdot \(u¨\\ddot\{u\}\) denotes differentiation with respect to the azimuthal angleϕ\\phi\. Figure[1](https://arxiv.org/html/2611.33953#S2.F1)illustrates the geometry, together with the initial conditions\(r0,δ0\)\(r\_\{0\},\\delta\_\{0\}\)atϕ=0\\phi=0\. These initial conditions can also be expressed in the bounded variables

u0=rsr0,v0=u˙​\(0\),\\displaystyle u\_\{0\}=\\frac\{r\_\{s\}\}\{r\_\{0\}\},\\qquad\\qquad v\_\{0\}=\\dot\{u\}\(0\),\(2\)wherev0v\_\{0\}follows fromδ0\\delta\_\{0\}via the initial radial velocity \(see Appendix[A](https://arxiv.org/html/2611.33953#A1)\)\.

Figure 1:Coordinate system: a photon emitted at\(r0,δ0\)\(r\_\{0\},\\delta\_\{0\}\)from a black hole of Schwarzschild radiusrsr\_\{s\}follows a trajectory parametrized by radiusrr\(oru=rs/ru=r\_\{s\}/r\) and azimuthal angleϕ\\phi, measured from the initial radial direction \(set to the horizontal here without loss of generality\)\.In this context, the physical range ofϕ\\phiis not known*a priori*: depending on the initial conditions, the photon either escapes to infinity, is absorbed by the black hole, or orbits indefinitely \(the special case of an unstable circular orbit on the photon sphere\[[3](https://arxiv.org/html/2611.33953#bib.bib1)\]\)\. The extent ofϕ\\phifor which a solution exists is, therefore, determined only by solving the equation itself\.

## 3Methodology

### 3\.1PINN

PINNs are typically trained by minimizing a composite loss combining a data termℒdata\\mathcal\{L\}\_\{\\text\{data\}\}, a physics termℒode\\mathcal\{L\}\_\{\\text\{ode\}\}embedding the governing physics via the residual of the ODE, and a boundary/initial\-condition termℒbc\\mathcal\{L\}\_\{\\text\{bc\}\}\[[1](https://arxiv.org/html/2611.33953#bib.bib3)\],

ℒtotal​\(ω\)=wdata​ℒdata​\(ω\)\+wode​ℒode​\(ω\)\+wbc​ℒbc​\(ω\),\\displaystyle\\mathcal\{L\}\_\{\\text\{total\}\}\(\\omega\)=w\_\{\\text\{data\}\}\\mathcal\{L\}\_\{\\text\{data\}\}\(\\omega\)\+w\_\{\\text\{ode\}\}\\mathcal\{L\}\_\{\\text\{ode\}\}\(\\omega\)\+w\_\{\\text\{bc\}\}\\mathcal\{L\}\_\{\\text\{bc\}\}\(\\omega\),\(3\)whereω\\omegaare the network’s trainable parameters\. The coefficientswdata,wode,wbcw\_\{\\text\{data\}\},w\_\{\\text\{ode\}\},w\_\{\\text\{bc\}\}are additional hyperparameters weighting the relative contribution of each term\. In our setting there are no observed data to fit, soℒdata\\mathcal\{L\}\_\{\\text\{data\}\}is absent\. Instead, the PINN is trained onN=216N=2^\{16\}points\(ϕ,u0,v0\)i\(\\phi,u\_\{0\},v\_\{0\}\)\_\{i\},i=0,…,N−1i=0,\\ldots,N\-1, sampled using Sobol sampling on the domain\[0,Δ​ϕ\]×\[0\.10,0\.99\]×\[−1,1\]\[0,\\Delta\\phi\]\\times\[0\.10,0\.99\]\\times\[\-1,1\]\. We chose Sobol sampling over uniform sampling because Sobol sequences are quasi\-random and cover the sampling space more evenly than pure random sampling\. As the equation has no spatial boundary, only an initial condition atϕ=0\\phi=0, the boundary term reduces to an initial\-condition termℒic\\mathcal\{L\}\_\{\\text\{ic\}\}\. The composite loss becomes

ℒtotal​\(ω\)=wode​ℒode​\(ω\)\+wic​ℒic​\(ω\)\.\\displaystyle\\mathcal\{L\}\_\{\\text\{total\}\}\(\\omega\)=w\_\{\\text\{ode\}\}\\,\\mathcal\{L\}\_\{\\text\{ode\}\}\(\\omega\)\+w\_\{\\text\{ic\}\}\\,\\mathcal\{L\}\_\{\\text\{ic\}\}\(\\omega\)\.\(4\)This still leaves two coefficients,wodew\_\{\\text\{ode\}\}andwicw\_\{\\text\{ic\}\}, which need to be carefully chosen\. Different terms in the loss function often converge at different rates, complicating training\[[4](https://arxiv.org/html/2611.33953#bib.bib5)\], and PINN training can fail unpredictably as problem complexity increases only slightly\[[5](https://arxiv.org/html/2611.33953#bib.bib6)\]\.

### 3\.2Solutionansatz

Instead of a soft constraint on the initial conditions as an additional term in the loss function, we adopt anansatzfrom the theory of connections \(ToC\)\[[10](https://arxiv.org/html/2611.33953#bib.bib10)\],

u⁡\(ϕ,u0,v0\)\\displaystyle u\(\\phi,u\_\{0\},v\_\{0\}\)=u0\+gω​\(ϕ,u0,v0\)−gω​\(0,u0,v0\)\+ϕ⁡\[v0−g˙ω​\(0,u0,v0\)\],\\displaystyle=u\_\{0\}\+g\_\{\\omega\}\(\\phi,u\_\{0\},v\_\{0\}\)\-g\_\{\\omega\}\(0,u\_\{0\},v\_\{0\}\)\+\\phi\\left\[v\_\{0\}\-\\dot\{g\}\_\{\\omega\}\(0,u\_\{0\},v\_\{0\}\)\\right\],u˙​\(ϕ,u0,v0\)\\displaystyle\\dot\{u\}\(\\phi,u\_\{0\},v\_\{0\}\)=v0\+g˙ω​\(ϕ,u0,v0\)−g˙ω​\(0,u0,v0\),\\displaystyle=v\_\{0\}\+\\dot\{g\}\_\{\\omega\}\(\\phi,u\_\{0\},v\_\{0\}\)\-\\dot\{g\}\_\{\\omega\}\(0,u\_\{0\},v\_\{0\}\),\(5\)which incorporates the initial conditions directly and includes them as inputs togωg\_\{\\omega\}, a feedforward network with trainable parametersω\\omega;g˙ω\\dot\{g\}\_\{\\omega\}denotes its derivative with respect toϕ\\phi\. The network is a fully connected architecture with 3 hidden layers of 75 neurons each and sine activation functions\. We did not perform systematic hyperparameter optimization\.

Thanks to theansatzin Equation[5](https://arxiv.org/html/2611.33953#S3.E5), the initial conditions are satisfied explicitly, by construction, rather than through a loss penalty\. This removesℒic\\mathcal\{L\}\_\{\\text\{ic\}\}and its coefficient, leaving a loss with one term and no coefficient to tune\.

### 3\.3Domain slicing strategy

Figure 2:Four orbits computed with the finite\-difference solver \(FD\) and the PINN, trained and deployed over\[0,5​π/2\]\[0,5\\pi/2\], shown in the\(x,y\)\(x,y\)plane \(left\) and the\(ϕ,u\)\(\\phi,u\)plane \(right\)\. The PINN fails over its own training domain\.We use a custom fourth\-order finite\-difference \(FD\) solver to compare with the PINN solutions \(Appendix[B](https://arxiv.org/html/2611.33953#A2)\)\. A first deployment of our PINN, trained over the range\[0,5​π/2\]\[0,5\\pi/2\], leads to a catastrophic failure, as seen in Figure[2](https://arxiv.org/html/2611.33953#S3.F2)\. Appendix[C](https://arxiv.org/html/2611.33953#A3)shows a further example using boomerang orbits, which are highly sensitive to small perturbations and therefore a particularly stringent test of the method\. Such failures are not a surprise, as PINNs are known to fail even for relatively simple problems\[[5](https://arxiv.org/html/2611.33953#bib.bib6)\]\.

Various mitigating strategies show that PINNs can benefit from decomposing the computational domain \(cPINN\[[7](https://arxiv.org/html/2611.33953#bib.bib7)\], XPINN\[[6](https://arxiv.org/html/2611.33953#bib.bib8)\]\)\. Inspired by this, we propose a recursive method exploiting the key observation that our ODE is*autonomous*\. In other words, the coordinate system can be rotated to a different starting azimuthal angle\.

Figure 3:Illustration of the slicing strategy\. Four orbits are computed with the FD solver over the fullϕ\\phidomain \(left\)\. For three of these orbits, the segments of widthΔ​ϕ\\Delta\\phiare overlaid on the common slice\[0,Δ​ϕ\]\[0,\\Delta\\phi\]\(right\)\.Therefore, the PINN is trained and deployed only over a thinner slice\[0,Δ​ϕ\]\[0,\\Delta\\phi\]\. Our recursive algorithm stitches together successiveΔ​ϕ\\Delta\\phisegments: the solutionu⁡\(Δ​ϕ\)u\(\\Delta\\phi\)and its derivativev⁡\(Δ​ϕ\)v\(\\Delta\\phi\)at the end of one segment become the initial conditions\(u0,v0\)\(u\_\{0\},v\_\{0\}\)for the next\. The procedure is repeated until the desiredϕ\\phicoverage is reached\. Figure[3](https://arxiv.org/html/2611.33953#S3.F3)shows three orbits in the\(ϕ,u\)\(\\phi,u\)plane, together with three side panels displaying, for each orbit, its segments overlaid on the common slice\[0,Δ​ϕ\]\[0,\\Delta\\phi\]\. For illustration purposes, a large segment ofΔ​ϕ=π/2\\Delta\\phi=\\pi/2is used; the method’s actual training segment is smaller \(see Section[4](https://arxiv.org/html/2611.33953#S4)\)\.

## 4Results

PINN\-Slicer was trained on an NVIDIA GeForce RTX 5090 for11million iterations at452452iterations/second, completing in 37 minutes\. We trained several PINNs over differentΔ​ϕ\\Delta\\phisegments: 0\.05, 0\.1, 0\.2, 0\.4, 0\.8, and 1\.6 radians\. The lowest mean validation loss,2\.07×10−102\.07\\times 10^\{\-10\}, is achieved atΔ​ϕ=0\.1\\Delta\\phi=0\.1\(see Appendix[D](https://arxiv.org/html/2611.33953#A4)for the full comparison across segments\)\.

ForΔ​ϕ=0\.1\\Delta\\phi=0\.1, the largest point\-by\-point root\-mean\-square error \(RMSE\) among the four orbits is4\.94×10−44\.94\\times 10^\{\-4\}inuuand5\.96×10−45\.96\\times 10^\{\-4\}invv, computed over theϕ\\phipoints where both solutions exist\. Over a41×4141\\times 41grid of initial conditions covering the training region \(1,642 comparable orbits\), every orbit has RMSEu<10−3\{\}\_\{u\}<10^\{\-3\}forΔ​ϕ=0\.1\\Delta\\phi=0\.1\(Appendix[F](https://arxiv.org/html/2611.33953#A6)\)\.

Figure 4:Solutions of PINN\-Slicer, trained over the slice\[0,Δ​ϕ\]\[0,\\Delta\\phi\], withΔ​ϕ=0\.1\\Delta\\phi=0\.1, and recursively deployed over the full domain of\[0,5​π/2\]\[0,5\\pi/2\], closely matching the FD solver reference solutions\.Table 1:Per\-orbit results for the PINN trained with aϕ\\phi\-slice of\[0,0\.1\]\[0,0\.1\]: RMSE relative to the FD solution, the orbit type, and the physical range of the solution domain\.
## 5Discussion

Our study demonstrates a successful deployment of a PINN over a long\-horizon domain, achieved through recursion over the independent variable and reaching an RMSE below10−310^\{\-3\}\. PINN\-Slicer recovers both the solution and its physical domain\. We believe this method generalizes to any second\-order*autonomous*ODE\. Work is underway to apply and test PINN\-Slicer on other such equations across various branches of physics\.

## References

- \[1\]M\. Raissi, P\. Perdikaris, and G\. E\. Karniadakis\(2019\)Physics\-informed neural networks: a deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations\.Journal of Computational Physics378,pp\. 686–707\.External Links:[Document](https://dx.doi.org/10.1016/j.jcp.2018.10.045)Cited by:[§1](https://arxiv.org/html/2611.33953#S1.p1.1),[§3\.1](https://arxiv.org/html/2611.33953#S3.SS1.p1.1)\.
- \[2\]L\. Sun, H\. Gao, S\. Pan, and J\. Wang\(2020\)Surrogate modeling for fluid flows based on physics\-constrained deep learning without simulation data\.Computer Methods in Applied Mechanics and Engineering361,pp\. 112732\.External Links:ISSN 0045\-7825,[Document](https://dx.doi.org/10.1016/j.cma.2019.112732)Cited by:[§1](https://arxiv.org/html/2611.33953#S1.p1.1)\.
- \[3\]J\. B\. Hartle\(2021\)Gravity: an introduction to Einstein’s general relativity\.Cambridge University Press\.Note:Originally published 2003 by Addison\-WesleyExternal Links:ISBN 9781316517543,[Link](https://books.google.com/books?id=iVctEAAAQBAJ)Cited by:[§1](https://arxiv.org/html/2611.33953#S1.p1.1),[§2](https://arxiv.org/html/2611.33953#S2.p1.1),[§2](https://arxiv.org/html/2611.33953#S2.p2.1)\.
- \[4\]S\. Wang, X\. Yu, and P\. Perdikaris\(2022\)When and why PINNs fail to train: a neural tangent kernel perspective\.Journal of Computational Physics449,pp\. 110768\.External Links:[Document](https://dx.doi.org/10.1016/j.jcp.2021.110768)Cited by:[§1](https://arxiv.org/html/2611.33953#S1.p1.1),[§3\.1](https://arxiv.org/html/2611.33953#S3.SS1.p1.3)\.
- \[5\]A\. S\. Krishnapriyan, A\. Gholami, S\. Zhe, R\. M\. Kirby, and M\. W\. Mahoney\(2021\)Characterizing possible failure modes in physics\-informed neural networks\.InAdvances in Neural Information Processing Systems,Vol\.34\.Cited by:[§1](https://arxiv.org/html/2611.33953#S1.p1.1),[§3\.1](https://arxiv.org/html/2611.33953#S3.SS1.p1.3),[§3\.3](https://arxiv.org/html/2611.33953#S3.SS3.p1.1)\.
- \[6\]A\. D\. Jagtap and G\. E\. Karniadakis\(2020\)Extended physics\-informed neural networks \(XPINNs\): a generalized space\-time domain decomposition based deep learning framework for nonlinear partial differential equations\.Communications in Computational Physics28\(5\),pp\. 2002–2041\.External Links:[Document](https://dx.doi.org/10.4208/cicp.OA-2020-0164)Cited by:[§1](https://arxiv.org/html/2611.33953#S1.p1.1),[§3\.3](https://arxiv.org/html/2611.33953#S3.SS3.p2.1)\.
- \[7\]A\. D\. Jagtap, E\. Kharazmi, and G\. E\. Karniadakis\(2020\)Conservative physics\-informed neural networks on discrete domains for conservation laws: applications to forward and inverse problems\.Computer Methods in Applied Mechanics and Engineering365,pp\. 113028\.External Links:ISSN 0045\-7825,[Document](https://dx.doi.org/10.1016/j.cma.2020.113028)Cited by:[§1](https://arxiv.org/html/2611.33953#S1.p1.1),[§3\.3](https://arxiv.org/html/2611.33953#S3.SS3.p2.1)\.
- \[8\]C\. L\. Wight and J\. Zhao\(2021\)Solving Allen\-Cahn and Cahn\-Hilliard equations using the adaptive physics informed neural networks\.Communications in Computational Physics29\(3\),pp\. 930–954\.External Links:[Document](https://dx.doi.org/10.4208/cicp.OA-2020-0086)Cited by:[§1](https://arxiv.org/html/2611.33953#S1.p1.1)\.
- \[9\]S\. Wang and P\. Perdikaris\(2023\)Long\-time integration of parametric evolution equations with physics\-informed DeepONets\.Journal of Computational Physics475,pp\. 111855\.External Links:[Document](https://dx.doi.org/10.1016/j.jcp.2022.111855)Cited by:[§1](https://arxiv.org/html/2611.33953#S1.p2.1)\.
- \[10\]D\. Mortari\(2017\)The theory of connections: connecting points\.Mathematics5\(4\),pp\. 57\.External Links:[Document](https://dx.doi.org/10.3390/math5040057)Cited by:[§1](https://arxiv.org/html/2611.33953#S1.p2.1),[§3\.2](https://arxiv.org/html/2611.33953#S3.SS2.p1.1)\.
- \[11\]H\. A\. Atwater\(1974\)Introduction to general relativity\.International Series of Monographs in Natural Philosophy, Vol\.63,Pergamon Press\.External Links:ISBN 9780080176925,LCCN lc73016251,[Link](https://books.google.com/books?id=O4ApAQAAMAAJ)Cited by:[§2](https://arxiv.org/html/2611.33953#S2.p1.1)\.

## Appendix ADerivation of the initial condition𝒗𝟎​\(𝜹𝟎\)\\boldsymbol\{v\_\{0\}\(\\delta\_\{0\}\)\}

We recall the two initial conditions of our 2nd order ODE are expressed in terms of the bounded variables:

u=rsrv=u˙,\\displaystyle u=\\frac\{r\_\{s\}\}\{r\}\\qquad\\qquad v=\\dot\{u\},\(6\)whereuuis the inverse radial coordinateu=rs/ru=r\_\{s\}/r, withrsr\_\{s\}the Schwarzschild radius\. Without loss of generality, we takeϕ=0\\phi=0to be the initial value of the azimuthal coordinate:

u0=rsr⁡\(ϕ=0\),v0=u˙​\(ϕ=0\)\.\\displaystyle u\_\{0\}=\\frac\{r\_\{s\}\}\{r\(\\phi=0\)\},\\qquad\\qquad v\_\{0\}=\\dot\{u\}\(\\phi=0\)\.\(7\)
However, one can relate the derivative to the more intuitive emission angleδ0\\delta\_\{0\}, as shown in Figure[5](https://arxiv.org/html/2611.33953#A1.F5), between the initial photon direction and the radial vector pointing towards the center of mass from the initial point,\(r=r0,ϕ=0\)\(r=r\_\{0\},\\phi=0\)\.

Figure 5:Definition of photon emission angleδ\\deltaand its relationship to the radial and angular photon velocities\.To computev0v\_\{0\}in terms of this emission angleδ0\\delta\_\{0\}, we start with the metric for null geodesics \(the spacetime paths followed by massless particles\),

d​s2\\displaystyle ds^\{2\}=f​\(c​d​t\)2−\(f−1​d​r2\+r2​d​ϕ2\)=0,\\displaystyle=f\(cdt\)^\{2\}\-\(f^\{\-1\}dr^\{2\}\+r^\{2\}\\,d\\phi^\{2\}\)=0,\(8\)which we rewrite as follows,

c2\\displaystyle c^\{2\}=f−1​\(d​rd​τ\)2\+r2​\(d​ϕd​τ\)2,d​τ=f1/2​d​t,\\displaystyle=f^\{\-1\}\\left\(\\frac\{dr\}\{d\\tau\}\\right\)^\{2\}\+r^\{2\}\\,\\left\(\\frac\{d\\phi\}\{d\\tau\}\\right\)^\{2\},\\quad d\\tau=f^\{1/2\}\\,dt,\(9\)wheref=1−uf=1\-uandd​τd\\tauis the proper time, that is, the time recorded by an observer at spatial coordinate\(r,ϕ\)≡\(u,ϕ\)\(r,\\phi\)\\equiv\(u,\\phi\)\. The expression above is an instance of Pythagoras’s theorem: the first term on the right is the square of the radial speed,vrv\_\{r\}, of the photon while the second term is the square of the angular speed,vϕv\_\{\\phi\}\. The sumvr2\+vϕ2v\_\{r\}^\{2\}\+v\_\{\\phi\}^\{2\}necessarily equals the square of the speed of light in vacuum\. The angle of interest is given by

tan⁡δ\\displaystyle\\tan\\delta=vϕvr,\\displaystyle=\\frac\{v\_\{\\phi\}\}\{v\_\{r\}\},\(10\)=±r​d​ϕ/d​τf−1/2dr/dτ,\\displaystyle=\\pm\\frac\{rd\\phi/d\\tau\}\{f^\{\-1/2\}dr/d\\tau\},=±r1−u/d​rd​ϕ,\\displaystyle=\\pm r\\sqrt\{1\-u\}\\,/\\,\\frac\{dr\}\{d\\phi\},=±u1−u/d​ud​ϕ,\\displaystyle=\\pm u\\sqrt\{1\-u\}\\,/\\,\\frac\{du\}\{d\\phi\},\(11\)→v⁡\(ϕ\)≡d​ud​ϕ\\displaystyle\\rightarrow v\(\\phi\)\\equiv\\frac\{du\}\{d\\phi\}=±u​1−utan⁡δ,valid for​u<1\.\\displaystyle=\\pm\\frac\{u\\sqrt\{1\-u\}\}\{\\tan\\delta\},\\quad\\text\{valid for \}u<1\.\(12\)Atϕ=0\\phi=0, and taking the positive sign to be consistent with Figure[5](https://arxiv.org/html/2611.33953#A1.F5)we find

v0\\displaystyle v\_\{0\}=u0​1−u0tan⁡δ\.\\displaystyle=\\frac\{u\_\{0\}\\sqrt\{1\-u\_\{0\}\}\}\{\\tan\\delta\}\\,\.\(13\)

## Appendix BCustom finite\-difference solver

We developed a custom finite\-difference solver, giving us full control over the accuracy of the reference solutions, specifically for the equation

u¨=G⁡\(u\),G⁡\(u\)=3​u22−u,\\displaystyle\\ddot\{u\}=G\(u\),\\quad G\(u\)=\\frac\{3u^\{2\}\}\{2\}\-u,\(14\)exploiting its algebraic structure to compute exact derivatives, here up to fourth order\. Its accuracy can be systematically extended to higher order\.

The 2nd\-order ODE is coded within the solver as two coupled 1st\-order equations

D​u\\displaystyle Du=v,\\displaystyle=v,\(15\)D​v\\displaystyle Dv=G,\\displaystyle=G,\(16\)whereDDis the derivative operator,d/d​ϕd/d\\phi\.

The solution atu⁡\(ϕ\+h\)u\(\\phi\+h\)can be computed using the Taylor series expansion:

u⁡\(ϕ\+h\)\\displaystyle u\(\\phi\+h\)=u\+D​u​h\+D2​u​h22\!\+D3​u​h33\!\+D4​u​h44\!\+𝒪⁡\(h5\),\\displaystyle=u\+Du\\,h\+\\frac\{D^\{2\}u\\,h^\{2\}\}\{2\!\}\+\\frac\{D^\{3\}u\\,h^\{3\}\}\{3\!\}\+\\frac\{D^\{4\}u\\,h^\{4\}\}\{4\!\}\+\\mathscr\{O\}\(h^\{5\}\),\(17\)=u\+v​h\+G​h22\+D​G​h36\+D2​G​h424\+𝒪⁡\(h5\)\.\\displaystyle=u\+v\\,h\+\\frac\{G\\,h^\{2\}\}\{2\}\+\\frac\{DG\\,h^\{3\}\}\{6\}\+\\frac\{D^\{2\}G\\,h^\{4\}\}\{24\}\+\\mathscr\{O\}\(h^\{5\}\)\.\(18\)
Applying the operatorDDtou⁡\(ϕ\+h\)u\(\\phi\+h\)yields

v⁡\(ϕ\+h\)\\displaystyle v\(\\phi\+h\)=v\+G​h\+D​G​h22\+D2​G​h36\+D3​G​h424\+𝒪⁡\(h5\)\.\\displaystyle=v\+G\\,h\+\\frac\{DG\\,h^\{2\}\}\{2\}\+\\frac\{D^\{2\}G\\,h^\{3\}\}\{6\}\+\\frac\{D^\{3\}G\\,h^\{4\}\}\{24\}\+\\mathscr\{O\}\(h^\{5\}\)\.\(19\)
Because of the simplicity of the functionG⁡\(u\)=3​u22−uG\(u\)=\\frac\{3u^\{2\}\}\{2\}\-u, the quantitiesD​GDG,D2​GD^\{2\}G, andD3​GD^\{3\}Gare readily computed:

D​G\\displaystyle DG=D⁡\[3​u22−u\],\\displaystyle=D\\left\[\\frac\{3u^\{2\}\}\{2\}\-u\\right\],=3​u​D​u−D​u,\\displaystyle=3uDu\-Du,=Q​v,where​Q≡3​u−1,\\displaystyle=Qv,\\quad\\text\{ where \}Q\\equiv 3u\-1,\(20\)D2​G\\displaystyle D^\{2\}G=\(D​Q\)​v\+Q⁡\(D​v\),\\displaystyle=\(DQ\)v\+Q\(Dv\),\(21\)=3​v2\+Q​G,\\displaystyle=3v^\{2\}\+QG,\(22\)D3​G\\displaystyle D^\{3\}G=\(9​G\+Q2\)​v\.\\displaystyle=\(9G\+Q^\{2\}\)v\.\(23\)
We thus arrive at explicit formulae foru⁡\(ϕ\+h\)u\(\\phi\+h\)andv⁡\(ϕ\+h\)v\(\\phi\+h\)that depend solely on the known quantitiesu⁡\(ϕ\)u\(\\phi\),v⁡\(ϕ\)v\(\\phi\), andG⁡\(ϕ\)G\(\\phi\)\. The solution is arrived at through iterative application of these formulae\.

## Appendix CBoomerang orbits

A boomerang orbit is a special case in which the photon’s trajectory encircles the black hole before passing back through its initial point of emission, for a precise and specific pair\(u0,v0\)\(u\_\{0\},v\_\{0\}\)\. This makes boomerang orbits a stringent test of solver accuracy, as any small deviation is immediately visible: the trajectory simply misses the starting point\. Figure[6](https://arxiv.org/html/2611.33953#A3.F6)shows the failure of a PINN trained and deployed over a large domain\. With PINN\-Slicer, the boomerang orbits are accurately reproduced \(Figure[7](https://arxiv.org/html/2611.33953#A3.F7)\)\.

Figure 6:Seven boomerang orbits computed with the finite\-difference solver \(FD\) and the PINN, trained and deployed overΔ​ϕ\\Delta\\phiover\[0,5​π/2\]\[0,5\\pi/2\], shown in the\(x,y\)\(x,y\)plane \(left\) and the\(ϕ,u\)\(\\phi,u\)plane \(right\)\. The PINN fails over its own training domain\.Figure 7:Seven boomerang orbits computed with the finite\-difference solver \(FD\) and PINN\-Slicer, shown in the\(x,y\)\(x,y\)plane \(left\) and the\(ϕ,u\)\(\\phi,u\)plane \(right\)\. PINN\-Slicer was trained overΔ​ϕ=0\.1\\Delta\\phi=0\.1and deployed over the domain\[0,5​π/2\]\[0,5\\pi/2\]\. PINN\-Slicer accurately reproduces the boomerang orbits\.
## Appendix DValidation loss across training segments

Figure 8:Average validation loss \(at the end of training\) as a function ofΔ​ϕ\\Delta\\phifor 6 training runs, each associated with a different random number seed\. The solid line shows the mean over these runs\. The shaded band is the standard deviation\. The grey points are the individual final average losses\. The lowest average loss is achieved atΔ​ϕ=0\.1\\Delta\\phi=0\.1\.
## Appendix EAdditional FD–PINN comparisons

Figures[9](https://arxiv.org/html/2611.33953#A5.F9)–[13](https://arxiv.org/html/2611.33953#A5.F13)show the same comparison as Figure[4](https://arxiv.org/html/2611.33953#S4.F4)but for PINNs trained and deployed using otherϕ\\phi\-slices\. AsΔ​ϕ\\Delta\\phiincreases, the recursively deployed PINN progressively diverges from the FD reference\.

Figure 9:PINN\-Slicer solutions, trained withΔ​ϕ=0\.05\\Delta\\phi=0\.05, are in excellent agreement with the FD reference solutions over the full domain, despite the slightly larger final average validation loss \(Figure[8](https://arxiv.org/html/2611.33953#A4.F8)\)\.Figure 10:PINN\-Slicer solutions, trained withΔ​ϕ=0\.2\\Delta\\phi=0\.2, exhibit a very slight deviation near the end of the domain, mostly visible on the inward\-spiral orbit \(red\)\.Figure 11:FD and PINN\-Slicer solutions forΔ​ϕ=0\.4\\Delta\\phi=0\.4\. The PINN begins to deviate from the FD reference near the end of the domain, most visibly for the inward\-spiral orbit\.Figure 12:FD and PINN\-Slicer solutions forΔ​ϕ=0\.8\\Delta\\phi=0\.8, overϕ∈\[0,5​π/2\]\\phi\\in\[0,5\\pi/2\]\. The photon\-sphere orbit clearly diverges from the FD reference beforeϕ=5​π/2\\phi=5\\pi/2\.Figure 13:FD and PINN\-Slicer solutions forΔ​ϕ=1\.6\\Delta\\phi=1\.6\. All orbits are visibly shifted relative to the FD reference\.
## Appendix FPINN\-Slicer vs FD over a grid of initial conditions

We tested PINN\-Slicer over a41×4141\\times 41grid of initial conditions\(u0,v0\)\(u\_\{0\},v\_\{0\}\)covering the training region\. For each sliceΔ​ϕ\\Delta\\phi\(0\.05, 0\.1, 0\.2, 0\.4, 0\.8, 1\.6\), the model trained with that slice was deployed recursively and compared to the FD solution, using the RMSE ofuuover theϕ\\phipoints where both solutions exist \(Figure[14](https://arxiv.org/html/2611.33953#A6.F14)\)\. The PINN without slicing is shown as well\.

![Refer to caption](https://arxiv.org/html/2611.33953v1/rmse_vs_ic.png)Figure 14:RMSEubetween FD and the PINN trained withΔ​ϕ=0\.1\\Delta\\phi=0\.1,Δ​ϕ=1\.6\\Delta\\phi=1\.6and without slicing \(Δ​ϕ=5​π/2\\Delta\\phi=5\\pi/2\), over the41×4141\\times 41grid of initial conditions\. The ‘\+’ marks the photon\-sphere orbit,\(u0,v0\)=\(2/3,0\)\(u\_\{0\},v\_\{0\}\)=\(2/3,0\)\. The white cells \(upper right\) correspond to photons starting close to the event horizon and moving inward: they are absorbed within a small angleϕ\\phi, leaving too few points to compare with the FD solution\.Table 2:Median and maximum RMSEu, and percentage of orbits with RMSEu<10−3\{\}\_\{u\}<10^\{\-3\}, over the 1,642 comparable orbits of the grid, for eachΔ​ϕ\\Delta\\phiand without slicing\.The bright arc showcasing large errors corresponds to the set of initial conditions of near\-critical orbits, where a slight change in initial conditions changes the outcome \(absorption or escape to infinity\)\.

ForΔ​ϕ≤0\.4\\Delta\\phi\\leq 0\.4, 100% of the 1,642 comparable orbits have RMSEu<10−3\{\}\_\{u\}<10^\{\-3\}, with a median below10−610^\{\-6\}\(Table[2](https://arxiv.org/html/2611.33953#A6.T2)\)\. Without slicing, only 3\.3% of the orbits reach this accuracy\.

相似文章

从非凸自和谐正则化到可扩展的PINNs拟牛顿训练

arXiv cs.LG

本文提出了SCORE,一种受自和谐启发的拟牛顿方法,用于训练物理信息神经网络(PINNs)。它使用递减耦合的移位割线几何,在不需要计算Hessian矩阵的情况下,提高了非线性PDE基准测试的最终精度。

EvoPINN:面向物理信息神经网络的智能体式可执行算法发现

arXiv cs.AI

EvoPINN 是一个智能体式框架,将 PINN 开发重新表述为基于执行验证的算法发现问题,利用 LLM 智能体提出程序化修改。它能够自主发现针对 PDE 特化的学习算法,包括一种名为 SLRC-PINN 的新型架构,该架构在多种 PDE 场景中均优于基线方法。

Pion:一种通过正交等价变换保持谱的优化器

Hugging Face Daily Papers

本文介绍了 Pion,这是一种用于大语言模型训练的的新型谱保持优化器。它利用正交等价变换在权重更新过程中维持奇异值,从而提供与标准优化器相当的稳定性能。