Papers › Random test functions, H⁻¹ norm equivalence, and stochastic variational...

Random test functions, H⁻¹ norm equivalence, and stochastic variational physics-informed neural networks

5 May 2026arXiv:2605.03542added by Syntology

Diego Marcondes

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

The dual norm characterisation of weak solutions of second-order linear elliptic partial differential equations is mathematically natural but computationally intractable: evaluating the H⁻¹ norm of the residual requires a supremum over an infinite-dimensional test space. We prove that the H⁻¹ norm of any functional is equivalent to its expected squared evaluation against a random test function whose probability distribution depends only on the domain. Crucially, realisations of this random test function have negative Sobolev regularity for d ≥2, yet this roughness is not an obstacle: averaging over the distribution exactly recovers the correct weak topology, independently of the differential operator, and no supremum evaluation is necessary. This equivalence introduces the notion of stochastically weak solutions, which coincide with classical weak solutions, and motivates stochastic variational physics-informed neural networks (SV-PINNs): neural networks trained by minimising an empirical approximation of the stochastic norm of the PDE residual. Although instantiated here with neural networks, the underlying principle is independent of the trial space and suggests a broader paradigm for numerical methods based on stochastic rather than deterministic test spaces. The framework extends naturally to higher-order elliptic, parabolic and hyperbolic equations and to abstract operator equations on Hilbert spaces. As a proof of concept, we present numerical experiments on eight challenging second-order linear elliptic problems spanning high-frequency and multi-scale solutions, indefinite operators, variable coefficients, and non-standard domains, in which SV-PINNs consistently and significantly outperform standard PINNs, recovering solutions to within one percent relative error in hundreds of L-BFGS steps.

PaperPDFCode Syntology ran

In Syntology 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="2605.03542")

Code

Syntology Ran 11 of 17 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · violated contract; 7 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: found in paper text by Syntology: 17 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.

dmarcondes/JINNAX found in paper text by Syntology report

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

17 samples harvested; 11 ran; 2 honoured the contract we drafted; 6 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.

2ran · honoured contract
1ran · violated contract
7ran · our draft was wrong
1ran · fixture could not drive it
6unverified

Licence: 17 of the 17 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 dmarcondes/JINNAX. “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.

L2error dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology ran · honoured contract fingerprinted no licence file found · pointer only · 83366f8878ab1e3b · report
MSE dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology ran · violated contract fingerprinted no licence file found · pointer only · 280eb0974866d37c · report
dirichlet_eigs_nd dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology ran · fixture could not drive it fingerprinted no licence file found · pointer only · 1591f6efc06abd03 · report
dstn dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 4ad2dc8e20244617 · report
eigenf_laplace dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 5ab78eac415dc22c · report
generate_matern_sample dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology ran · honoured contract fingerprinted no licence file found · pointer only · 23e7b6e91590a954 · report
generate_matern_sample_batch dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 99ff83120b782770 · report
get_activation dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · e4f3553d77d6b12b · report
idst1 dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · b821b32bfd1cad17 · report
idstn dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · af6a63048a5f814c · report
multiple_daff dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 3db6859c8d916182 · report
assert_lbfgs_state_float64 dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology unverified no licence file found · pointer only · c881fce53f0888ed · report
assert_tree_float64 dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology unverified no licence file found · pointer only · 7b0d9befc41180ca · report
check_grads_float64 dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology unverified no licence file found · pointer only · 785a295724b5ad9a · report
fconNN dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology unverified no licence file found · pointer only · 2e00b315b017127e · report
to_float64 dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology unverified no licence file found · pointer only · 765450e653769581 · report
train_SV_PINN dmarcondes/JINNAX/jinnax/nn.py found in paper text by Syntology unverified no licence file found · pointer only · d51b9c7e07afde5d · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.03542, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.

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