Solving stiff dark matter equations via Jacobian Normalization with Physics-Informed Neural Networks
Authors: M. P. Bento, H. B. Câmara, J. R. Rocha, J. F. Seabra
Organizations: Departamento de Física and CFTP, Instituto Superior Técnico, Universidade de Lisboa, Av. Rovisco Pais 1, 1049-001 Lisboa, Portugal · Institute of Experimental and Applied Physics, Czech Technical University in Prague, Prague 160 00, Czech Republic
Stiff differential equations pose a major challenge for Physics-Informed Neural Networks (PINNs), often causing poor convergence. We propose a simple, hyperparameter-free method to address stiffness by normalizing loss residuals with the Jacobian. We provide theoretical indications that Jacobian-based normalization can improve gradient descent and validate it on benchmark stiff ordinary differential equations. We then apply it to a realistic system: the stiff Boltzmann equations (BEs) governing weakly interacting massive particle (WIMP) dark matter (DM). Our approach achieves higher accuracy than attention mechanisms previously proposed for handling stiffness, recovering the full solution where prior methods fail. This is further demonstrated in an inverse problem with a single experimental data point - the observed DM relic density - where our inverse PINNs correctly infer the cross section that solves the BEs in both Standard and alternative cosmologies.
Figures & tables
Figure 1: PINN results for ODE ( 8 ), with normalized (unnormalized) residuals in green (red). Left: Maximum Hessian eigenvalue λmax ( 9 ) in terms of the Jacobian C . The circles (crosses) indicate normalized (unnormalized) residuals. The linear fit slope gives the power-law scaling exponent of λmax with C . Right: Mean squared difference between PINN and FEM solutions ( 26 ) in terms of C .
Figure 2: PINN results for ODEs Eq. ( 27 ) (left) and ( 28 ) (right), with normalized [unnormalized] residuals in magenta [blue]. Top panels: Maximum Hessian eigenvalue λmax ( 9 ) in terms of C . Bottom panels: Mean squared difference between PINN and FEM solutions ε ( 26 ) in terms of C .
Figure 3: PINN 95% confidence intervals for εrel(z) ( 43 ) with (magenta) and without (blue) Jacobian normalization, using linear (left) or negative sigmoid (right) output layers.
Figure 4: Solution of the freeze-out DM BE obtained with FEM (black dashed line) and various PINN approaches: vanilla (blue), Jacobian normalization (magenta), residual-based attention (green), and soft attention (brown). Left (Right): Results without (with) a negative sigmoid activation in the output layer. Top: Evolution of the WIMP DM particle yield. The horizontal dotted line satisfies the CDM abundance ( 1 ). Middle: Mean relative squared difference ( 45 ) between PINN and FEM during training. Bottom: Comparison of residual weights.
Figure 5: Diagrammatic representation of the inverse PINN structure modeling the WIMP DM BE for a given cosmological scenario (see text for details).
Figure 6: Inverse PINN solution: particle yield evolution Wn(z) for Standard (magenta), GB (green) and RS (brown) cosmology. We set zt=ln500 . Black-dashed curves were obtained via FEM. The horizontal dotted line corresponds to the Wn(z) value reproducing the observed DM abundance ( 1 ).
γ
CPINN
⟨σv⟩(GeV−2)
W(zf)FEM
ΩhFEM2
−2/3
27.6359
3.1174×10−10
−26.1585
0.1200
0
29.2037
1.4951×10−9
−26.1585
0.1200
2
31.7022
1.8187×10−8
−26.1585
0.1200
Table 1: Inverse PINN solution: finding C [see Eq. ( 37 )] for GB ( γ=−2/3 ), Standard ( γ=0 ) and RS ( γ=2 ) cosmology –see Fig. 6 . Last two columns cross-check the PINN results with FEM.
Department of Information Engineering and Computer Science, University of Trento, Trento, Italy · Division of Applied Mathematics, Brown University, Providence, RI, USA · Departament de Física, Universitat d’Alacant, Spain +3