Papers › Neural Processes

Neural Processes

4 Jul 2018arXiv:1807.01622archive 2025-07-28

Marta Garnelo, Jonathan Schwarz, Dan Rosenbaum, Fabio Viola, Danilo J. Rezende, S. M. Ali Eslami, Yee Whye Teh

A neural network (NN) is a parameterised function that can be tuned via gradient descent to approximate a labelled collection of data with high precision. A Gaussian process (GP), on the other hand, is a probabilistic model that defines a distribution over possible functions, and is updated in light of data via the rules of probabilistic inference. GPs are probabilistic, data-efficient and flexible, however they are also computationally intensive and thus limited in their applicability. We introduce a class of neural latent variable models which we call Neural Processes (NPs), combining the best of both worlds. Like GPs, NPs define distributions over functions, are capable of rapid adaptation to new observations, and can estimate the uncertainty in their predictions. Like NNs, NPs are computationally efficient during training and evaluation but also learn to adapt their priors to data. We demonstrate the performance of NPs on a range of learning tasks, including regression and optimisation, and compare and contrast with related models in the literature.

PaperPDFCodeCode 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="1807.01622")

Code

Syntology Ran 1 of 12 code samples harvested from 3 repositories linked to this paper; 11 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: community (archive-listed): 12 samples from 3 repositories, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

14 repositories listed; official and paper-mentioned ones first.

deepmind/neural-processes officialmentioned on GitHubtfApache-2.0 report
3springs/np_vs_kriging mentioned on GitHub report
ALRhub/HiP-RSSM mentioned on GitHubpytorch report
E-DEEP/PapersReview mentioned on GitHub report
EmilienDupont/neural-processes mentioned on GitHubpytorchMIT report
JEM-Mosig/blog-garnelo_neural_2018 mentioned on GitHubtfGPL-3.0 report
Usefulmaths/Neural-Processes mentioned on GitHubpytorch report
deepmind/conditional-neural-process mentioned on GitHubtfApache-2.0 report
google-deepmind/neural-processes mentioned on GitHubtfApache-2.0 report
jusonn/Neural-Process mentioned on GitHubpytorchMIT report
revsic/tf-neural-process mentioned on GitHubtfMIT report
wesselb/NeuralProcesses.jl mentioned on GitHub report
yamad07/NeuralProcess mentioned on GitHubpytorch 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

12 samples harvested; 1 ran; 0 honoured the contract we drafted; 11 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
11unverified

Licence: 0 of the 12 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.

all_forward Arnaud15/CS236_Neural_Processes_For_Image_Completion/NP.py community (archive-listed) ran · our draft was wrong MIT (permissive) · dba028b9ac289b46 · report
KLD_gaussian jusonn/Neural-Process/np_regression.py community (archive-listed) unverified MIT (permissive) · 4244bd096a5b4d3e · report
celeba EmilienDupont/neural-processes/datasets.py community (archive-listed) unverified MIT (permissive) · c64f8a677007682e · report
context_target_split EmilienDupont/neural-processes/utils.py community (archive-listed) unverified MIT (permissive) · 5fd036a6c28983fe · report
generate_grid jusonn/Neural-Process/np_mnist.py community (archive-listed) unverified MIT (permissive) · d51da53a48566f61 · report
get_context_idx jusonn/Neural-Process/np_mnist.py community (archive-listed) unverified MIT (permissive) · bc1e90169bd42ed3 · report
idx_to_y jusonn/Neural-Process/np_mnist.py community (archive-listed) unverified MIT (permissive) · ff65d8af5d3b97d1 · report
img_mask_to_np_input EmilienDupont/neural-processes/utils.py community (archive-listed) unverified MIT (permissive) · 895f72cd45ff0f13 · report
log_likelihood jusonn/Neural-Process/np_regression.py community (archive-listed) unverified MIT (permissive) · aa12408acd63ec57 · report
mnist EmilienDupont/neural-processes/datasets.py community (archive-listed) unverified MIT (permissive) · 6e22049190dc8b13 · report
random_context_target_mask EmilienDupont/neural-processes/utils.py community (archive-listed) unverified MIT (permissive) · e912b4a390c2e8fc · report
random_split_c_t jusonn/Neural-Process/np_regression.py community (archive-listed) unverified MIT (permissive) · 78e067a8184547c2 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Gaussian Process

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