SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.01171 · NeurIPS · 2024

Neural Conditional Probability for Uncertainty Quantification

Massimiliano Pontil, Pietro Novelli, Vladimir Kostic, Karim Lounici, Grégoire Pacreau, Giacomo Turri

arXiv · PDF · Open in the Atlas

Code that ran

17 of 22 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 2 violated it and 3 have no contract verdict; 11 failures of our instrument; 5 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2407.01171.json · badge: /api/ran/2407.01171.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
CSML-IIT-UCL/NCP community
Papers with Code archive
9 ran · 1 no recorded run
lee-group-cmu/FlexCode community
Papers with Code archive
7 ran · 3 no recorded run
lee-group-cmu/NNKCDE community
Papers with Code archive
1 ran · 1 no recorded run
FunctionStatusWhere it lives
NCPOperator Ran
ran on a synthesized input · constructed an object; no result was computed
CSML-IIT-UCL/NCP/NCP/model.py
pointer only (licence: NONE) · get_code("5a945c81cf02322b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CSML-IIT-UCL/NCP when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

SingularLayer Ran
ran on a synthesized input · constructed an object; no result was computed
CSML-IIT-UCL/NCP/NCP/model.py
pointer only (licence: NONE) · get_code("0eee2a4d029c1104")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CSML-IIT-UCL/NCP when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

TopKReturnType Ran
ran on a synthesized input · constructed an object; no result was computed
CSML-IIT-UCL/NCP/NCP/model.py
pointer only (licence: NONE) · get_code("e3f9c741e1884e63")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CSML-IIT-UCL/NCP when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

box_transform Ran
ran, violated the contract we drafted
lee-group-cmu/FlexCode/src/flexcode/core.py
pointer only (licence: GPL-2.0) · get_code("32abafc5e441e582")
How it ran

The body of this sample is withheld: GPL-2.0, as GitHub detects it on this paper's repository, lee-group-cmu/FlexCode, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cde_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lee-group-cmu/FlexCode/src/flexcode/core.py
pointer only (licence: GPL-2.0) · get_code("10792a494a7f3b4b")
How it ran

The body of this sample is withheld: GPL-2.0, as GitHub detects it on this paper's repository, lee-group-cmu/FlexCode, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cosine_basis Ran
ran; our contract draft was wrong, not the code
lee-group-cmu/FlexCode/src/flexcode/core.py
pointer only (licence: GPL-2.0) · get_code("617ff62972595603")
How it ran

The body of this sample is withheld: GPL-2.0, as GitHub detects it on this paper's repository, lee-group-cmu/FlexCode, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ensure_torch Ran
ran, violated the contract we drafted
CSML-IIT-UCL/NCP/NCP/model.py
pointer only (licence: NONE) · get_code("a70a1a2899dfa603")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CSML-IIT-UCL/NCP when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

filter_reduced_rank_svals Ran
ran; our contract draft was wrong, not the code
CSML-IIT-UCL/NCP/NCP/model.py
pointer only (licence: NONE) · get_code("3a07f048b41f2cd1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CSML-IIT-UCL/NCP when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

fourier_basis Ran
ran; our contract draft was wrong, not the code
lee-group-cmu/FlexCode/src/flexcode/core.py
pointer only (licence: GPL-2.0) · get_code("67ec048966977d12")
How it ran

The body of this sample is withheld: GPL-2.0, as GitHub detects it on this paper's repository, lee-group-cmu/FlexCode, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

frnp Ran
ran; our contract draft was wrong, not the code
CSML-IIT-UCL/NCP/NCP/model.py
pointer only (licence: NONE) · get_code("6cca2cf1db8a2456")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CSML-IIT-UCL/NCP when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

kde Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lee-group-cmu/NNKCDE/python/src/nnkcde/core.py
pointer only (licence: NONE) · get_code("ef6f976bc872ec2c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lee-group-cmu/NNKCDE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_grid Ran
ran, honoured the contract we drafted
lee-group-cmu/FlexCode/src/flexcode/core.py
pointer only (licence: GPL-2.0) · get_code("83826ed517001ce4")
How it ran

The body of this sample is withheld: GPL-2.0, as GitHub detects it on this paper's repository, lee-group-cmu/FlexCode, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sqrtmh Ran
ran; our contract draft was wrong, not the code
CSML-IIT-UCL/NCP/NCP/model.py
pointer only (licence: NONE) · get_code("f8320b9a55f263b9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CSML-IIT-UCL/NCP when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

tensor_basis Ran
ran; our contract draft was wrong, not the code
lee-group-cmu/FlexCode/src/flexcode/core.py
pointer only (licence: GPL-2.0) · get_code("8dc81d781fb203c8")
How it ran

The body of this sample is withheld: GPL-2.0, as GitHub detects it on this paper's repository, lee-group-cmu/FlexCode, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

tonp Ran
ran; our contract draft was wrong, not the code
CSML-IIT-UCL/NCP/NCP/model.py
pointer only (licence: NONE) · get_code("12f203b46fecc22d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CSML-IIT-UCL/NCP when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

topk Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
CSML-IIT-UCL/NCP/NCP/model.py
pointer only (licence: NONE) · get_code("5cb70d0fe9e95c27")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CSML-IIT-UCL/NCP when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

wavelet_basis Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lee-group-cmu/FlexCode/src/flexcode/core.py
pointer only (licence: GPL-2.0) · get_code("3d2fc4ac3ae78854")
How it ran

The body of this sample is withheld: GPL-2.0, as GitHub detects it on this paper's repository, lee-group-cmu/FlexCode, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BasisCoefs Not yet run
unverified (harvested, no recorded run)
lee-group-cmu/FlexCode/src/flexcode/core.py
pointer only (licence: GPL-2.0) · get_code("092df1eff806e58d")
How it ran

The body of this sample is withheld: GPL-2.0, as GitHub detects it on this paper's repository, lee-group-cmu/FlexCode, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

FlexCodeModel Not yet run
unverified (harvested, no recorded run)
lee-group-cmu/FlexCode/src/flexcode/core.py
pointer only (licence: GPL-2.0) · get_code("3e6c220b84182e13")
How it ran

The body of this sample is withheld: GPL-2.0, as GitHub detects it on this paper's repository, lee-group-cmu/FlexCode, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

NNKCDE Not yet run
unverified (harvested, no recorded run)
lee-group-cmu/NNKCDE/python/src/nnkcde/core.py
pointer only (licence: NONE) · get_code("8104876ddda996f6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lee-group-cmu/NNKCDE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

cross_cov Not yet run
unverified (harvested, no recorded run)
CSML-IIT-UCL/NCP/NCP/model.py
pointer only (licence: NONE) · get_code("ed348884e63a844a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, CSML-IIT-UCL/NCP when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

evaluate_basis Not yet run
unverified (harvested, no recorded run)
lee-group-cmu/FlexCode/src/flexcode/core.py
pointer only (licence: GPL-2.0) · get_code("bc3221ff9022ccf8")
How it ran

The body of this sample is withheld: GPL-2.0, as GitHub detects it on this paper's repository, lee-group-cmu/FlexCode, is not in the permissive set Syntology serves inline. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 22 samples lifted from this paper's linked repositories, 22 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 21 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
tonp
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2201.10777 (2022-01)
Meta-learning Spiking Neural Networks with Surrogate Gradient Descent

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2407.01171")
get_code_for_paper("2407.01171")
have("2407.01171")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2407.01171.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2407.01171.svg)](https://syntology.ai/paper/2407.01171)

Connect an agent — have() is free.