Papers › Neural Conditional Probability for Uncertainty Quantification

Neural Conditional Probability for Uncertainty Quantification

1 Jul 2024arXiv:2407.01171archive 2025-07-28

Vladimir R. Kostic, Karim Lounici, Gregoire Pacreau, Pietro Novelli, Giacomo Turri, Massimiliano Pontil

We introduce Neural Conditional Probability (NCP), an operator-theoretic approach to learning conditional distributions with a focus on statistical inference tasks. NCP can be used to build conditional confidence regions and extract key statistics such as conditional quantiles, mean, and covariance. It offers streamlined learning via a single unconditional training phase, allowing efficient inference without the need for retraining even when conditioning changes. By leveraging the approximation capabilities of neural networks, NCP efficiently handles a wide variety of complex probability distributions. We provide theoretical guarantees that ensure both optimization consistency and statistical accuracy. In experiments, we show that NCP with a 2-hidden-layer network matches or outperforms leading methods. This demonstrates that a a minimalistic architecture with a theoretically grounded loss can achieve competitive results, even in the face of more complex architectures.

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="2407.01171")

Code

Syntology Ran 17 of 22 code samples harvested from 3 repositories linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · violated contract; 7 ran · our draft was wrong; 4 ran · fixture could not drive it; 3 ran with no contract checked.

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

CSML-IIT-UCL/NCP found in paper text by Syntology report
lee-group-cmu/NNKCDE found in paper text by Syntology report
lee-group-cmu/FlexCode found in paper text by Syntology report
ZijunGao/LinCDE found in paper text by Syntology 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

22 samples harvested; 17 ran; 1 honoured the contract we drafted; 5 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 · honoured contract
2ran · violated contract
7ran · our draft was wrong
4ran · fixture could not drive it
3ran
5unverified

Licence: 22 of the 22 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 3 repositories linked to this paper, official or community; each sample names its own and says which. “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.

NCPOperator CSML-IIT-UCL/NCP/NCP/model.py found in paper text by Syntology ran no licence file found · pointer only · 5a945c81cf02322b · report
SingularLayer CSML-IIT-UCL/NCP/NCP/model.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 0eee2a4d029c1104 · report
TopKReturnType CSML-IIT-UCL/NCP/NCP/model.py found in paper text by Syntology ran no licence file found · pointer only · e3f9c741e1884e63 · report
box_transform lee-group-cmu/FlexCode/src/flexcode/core.py found in paper text by Syntology ran · violated contract fingerprinted GPL-2.0 (copyleft) · pointer only · 32abafc5e441e582 · report
cde_loss lee-group-cmu/FlexCode/src/flexcode/core.py found in paper text by Syntology ran · fixture could not drive it GPL-2.0 (copyleft) · pointer only · 10792a494a7f3b4b · report
cosine_basis lee-group-cmu/FlexCode/src/flexcode/core.py found in paper text by Syntology ran · our draft was wrong fingerprinted GPL-2.0 (copyleft) · pointer only · 617ff62972595603 · report
ensure_torch CSML-IIT-UCL/NCP/NCP/model.py found in paper text by Syntology ran · violated contract fingerprinted no licence file found · pointer only · a70a1a2899dfa603 · report
filter_reduced_rank_svals CSML-IIT-UCL/NCP/NCP/model.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 3a07f048b41f2cd1 · report
fourier_basis lee-group-cmu/FlexCode/src/flexcode/core.py found in paper text by Syntology ran · our draft was wrong fingerprinted GPL-2.0 (copyleft) · pointer only · 67ec048966977d12 · report
frnp CSML-IIT-UCL/NCP/NCP/model.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 6cca2cf1db8a2456 · report
kde lee-group-cmu/NNKCDE/python/src/nnkcde/core.py found in paper text by Syntology ran · fixture could not drive it no licence file found · pointer only · ef6f976bc872ec2c · report
make_grid lee-group-cmu/FlexCode/src/flexcode/core.py found in paper text by Syntology ran · honoured contract GPL-2.0 (copyleft) · pointer only · 83826ed517001ce4 · report
sqrtmh CSML-IIT-UCL/NCP/NCP/model.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · f8320b9a55f263b9 · report
tensor_basis lee-group-cmu/FlexCode/src/flexcode/core.py found in paper text by Syntology ran · our draft was wrong GPL-2.0 (copyleft) · pointer only · 8dc81d781fb203c8 · report
tonp CSML-IIT-UCL/NCP/NCP/model.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 12f203b46fecc22d · report
topk CSML-IIT-UCL/NCP/NCP/model.py found in paper text by Syntology ran · fixture could not drive it fingerprinted no licence file found · pointer only · 5cb70d0fe9e95c27 · report
wavelet_basis lee-group-cmu/FlexCode/src/flexcode/core.py found in paper text by Syntology ran · fixture could not drive it GPL-2.0 (copyleft) · pointer only · 3d2fc4ac3ae78854 · report
BasisCoefs lee-group-cmu/FlexCode/src/flexcode/core.py found in paper text by Syntology unverified GPL-2.0 (copyleft) · pointer only · 092df1eff806e58d · report
FlexCodeModel lee-group-cmu/FlexCode/src/flexcode/core.py found in paper text by Syntology unverified GPL-2.0 (copyleft) · pointer only · 3e6c220b84182e13 · report
NNKCDE lee-group-cmu/NNKCDE/python/src/nnkcde/core.py found in paper text by Syntology unverified no licence file found · pointer only · 8104876ddda996f6 · report
cross_cov CSML-IIT-UCL/NCP/NCP/model.py found in paper text by Syntology unverified no licence file found · pointer only · ed348884e63a844a · report
evaluate_basis lee-group-cmu/FlexCode/src/flexcode/core.py found in paper text by Syntology unverified GPL-2.0 (copyleft) · pointer only · bc3221ff9022ccf8 · report

Tasks

Uncertainty Quantification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Focus

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