Papers › Astral: training physics-informed neural networks with error majorants

Astral: training physics-informed neural networks with error majorants

4 Jun 2024arXiv:2406.02645archive 2025-07-28

Vladimir Fanaskov, Tianchi Yu, Alexander Rudikov, Ivan Oseledets

The primal approach to physics-informed learning is a residual minimization. We argue that residual is, at best, an indirect measure of the error of approximate solution and propose to train with error majorant instead. Since error majorant provides a direct upper bound on error, one can reliably estimate how close PiNN is to the exact solution and stop the optimization process when the desired accuracy is reached. We call loss function associated with error majorant Astral: neurAl a poSTerioRI functionAl Loss. To compare Astral and residual loss functions, we illustrate how error majorants can be derived for various PDEs and conduct experiments with diffusion equations (including anisotropic and in the L-shaped domain), convection-diffusion equation, temporal discretization of Maxwell's equation, and magnetostatics problem. The results indicate that Astral loss is competitive to the residual loss, typically leading to faster convergence and lower error (e.g., for Maxwell's equations, we observe an order of magnitude better relative error and training time). We also report that the error estimate obtained with Astral loss is usually tight enough to be informative, e.g., for a highly anisotropic equation, on average, Astral overestimates error by a factor of $1.5$, and for convection-diffusion by a factor of $1.7$.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2406.02645")

Code

Syntology Ran 11 of 13 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 10 ran with no contract checked.

By repository: found in paper text by Syntology: 13 samples from 1 repository, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

4gnskq5g2s-collab/Astral found in paper text by SyntologyUnlicense report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 11 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
10ran
2unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 4gnskq5g2s-collab/Astral. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

draw_coefficients 4gnskq5g2s-collab/Astral/datasets/Convection_Diffusion.py found in paper text by Syntology ran Unlicense (permissive) · 6c0464c49f680fda · report
gamma 4gnskq5g2s-collab/Astral/datasets/elastoplasticity.py found in paper text by Syntology ran Unlicense (permissive) · bc6fc65a144102d4 · report
get_basis 4gnskq5g2s-collab/Astral/datasets/L_shaped.py found in paper text by Syntology ran Unlicense (permissive) · 276bb5432f460935 · report
get_coefficients 4gnskq5g2s-collab/Astral/datasets/L_shaped.py found in paper text by Syntology ran Unlicense (permissive) · d3a0f8d6286b9f45 · report
get_dataset 4gnskq5g2s-collab/Astral/datasets/magnetostatics.py found in paper text by Syntology ran Unlicense (permissive) · 3d70b75be6df62eb · report
get_eigvalues 4gnskq5g2s-collab/Astral/datasets/Convection_Diffusion.py found in paper text by Syntology ran Unlicense (permissive) · 77d4bfafd1b02272 · report
get_sample 4gnskq5g2s-collab/Astral/datasets/magnetostatics.py found in paper text by Syntology ran Unlicense (permissive) · 476c537d47b2e48b · report
get_weights 4gnskq5g2s-collab/Astral/datasets/Convection_Diffusion.py found in paper text by Syntology ran Unlicense (permissive) · afa8720aaf616f2c · report
get_weights_and_frequencies 4gnskq5g2s-collab/Astral/datasets/L_shaped.py found in paper text by Syntology ran Unlicense (permissive) · 4667b36ac01d0832 · report
np_random_cos 4gnskq5g2s-collab/Astral/datasets/magnetostatics.py found in paper text by Syntology ran Unlicense (permissive) · 1e3b2f680e75fd0a · report
np_random_sin 4gnskq5g2s-collab/Astral/datasets/Anisotropic_diffusion.py found in paper text by Syntology ran · our draft was wrong Unlicense (permissive) · e1a5662398f9030a · report
sigma_11 4gnskq5g2s-collab/Astral/datasets/elastoplasticity.py found in paper text by Syntology unverified Unlicense (permissive) · e58daaccc40792ed · report
sigma_22 4gnskq5g2s-collab/Astral/datasets/elastoplasticity.py found in paper text by Syntology unverified Unlicense (permissive) · 7c404994e2c9b9be · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections