Papers › Attentive Neural Processes

Attentive Neural Processes

17 Jan 2019ICLR 2019 5arXiv:1901.05761archive 2025-07-28

Hyunjik Kim, andriy mnih, Jonathan Schwarz, Marta Garnelo, Ali Eslami, Dan Rosenbaum, Oriol Vinyals, Yee Whye Teh

Neural Processes (NPs) (Garnelo et al 2018a;b) approach regression by learning to map a context set of observed input-output pairs to a distribution over regression functions. Each function models the distribution of the output given an input, conditioned on the context. NPs have the benefit of fitting observed data efficiently with linear complexity in the number of context input-output pairs, and can learn a wide family of conditional distributions; they learn predictive distributions conditioned on context sets of arbitrary size. Nonetheless, we show that NPs suffer a fundamental drawback of underfitting, giving inaccurate predictions at the inputs of the observed data they condition on. We address this issue by incorporating attention into NPs, allowing each input location to attend to the relevant context points for the prediction. We show that this greatly improves the accuracy of predictions, results in noticeably faster training, and expands the range of functions that can be modelled.

PaperPDFConference PDFCodeCode 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="1901.05761")

Code

Syntology Ran 0 of 13 code samples harvested from 4 repositories linked to this paper; 13 have no recorded run.

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

deepmind/neural-processes officialmentioned in papermentioned on GitHubtfApache-2.0 report
3springs/np_vs_kriging mentioned on GitHub report
deepmind/conditional-neural-process mentioned on GitHubtfApache-2.0 report
google-deepmind/neural-processes mentioned on GitHubtfApache-2.0 report
revsic/tf-neural-process mentioned on GitHubtfMIT report
soobinseo/attentive-neural-process mentioned on GitHubpytorchApache-2.0 report
wyn430/NP_ODE mentioned on GitHubpytorchMIT 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; 0 ran; 0 honoured the contract we drafted; 13 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.

13unverified

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 4 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.

add_time wyn430/NP_ODE/NP_ODE/Decoder_ODE.py community (archive-listed) unverified MIT (permissive) · d4a70fdf79805f9e · report
check_in_list MIT-Omnipush/omnipush-metalearning-baselines/preprocess.py community (archive-listed) unverified MIT (permissive) · c66bed3bb5416312 · report
collate_fn soobinseo/attentive-neural-process/preprocess.py community (archive-listed) unverified Apache-2.0 (permissive) · 598249d285dd3da3 · report
conv3x3 wyn430/NP_ODE/NP_ODE/Decoder_ODE.py community (archive-listed) unverified MIT (permissive) · d89f70014190873d · report
dense_sequential revsic/tf-neural-process/neural_process/module/tfutils.py community (archive-listed) unverified MIT (permissive) · 5ec581fc5c14068d · report
dotprod_attention revsic/tf-neural-process/neural_process/module/attention.py community (archive-listed) unverified MIT (permissive) · e961d0763aac6af6 · report
laplace_attention revsic/tf-neural-process/neural_process/module/attention.py community (archive-listed) unverified MIT (permissive) · e5d5284f5dcd795e · report
norm wyn430/NP_ODE/NP_ODE/Decoder_ODE.py community (archive-listed) unverified MIT (permissive) · 7b7fa330431d3cae · report
ode_solve wyn430/NP_ODE/NP_ODE/Neural_ODE.py community (archive-listed) unverified MIT (permissive) · 6e5c482aee3281e6 · report
omnipush MIT-Omnipush/omnipush-metalearning-baselines/preprocess.py community (archive-listed) unverified MIT (permissive) · f13efa2dfc5c08cd · report
omnipush_collate_fn MIT-Omnipush/omnipush-metalearning-baselines/preprocess.py community (archive-listed) unverified MIT (permissive) · dd6053b19e3b6819 · report
plot_functions wyn430/NP_ODE/NP_ODE/tools.py community (archive-listed) unverified MIT (permissive) · fb7e90554ec3877b · report
uniform_attention revsic/tf-neural-process/neural_process/module/attention.py community (archive-listed) unverified MIT (permissive) · 99de32874176bade · report

Tasks

regression

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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