{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/conditional-neural-processes","title":"Conditional Neural Processes","arxiv_id":"1807.01613","date":"2018-07-04","proceeding":"ICML 2018 7","authors":["Marta Garnelo","Dan Rosenbaum","Chris J. Maddison","Tiago Ramalho","David Saxton","Murray Shanahan","Yee Whye Teh","Danilo J. Rezende","S. M. Ali Eslami"],"abstract":"Deep neural networks excel at function approximation, yet they are typically\ntrained from scratch for each new function. On the other hand, Bayesian\nmethods, such as Gaussian Processes (GPs), exploit prior knowledge to quickly\ninfer the shape of a new function at test time. Yet GPs are computationally\nexpensive, and it can be hard to design appropriate priors. In this paper we\npropose a family of neural models, Conditional Neural Processes (CNPs), that\ncombine the benefits of both. CNPs are inspired by the flexibility of\nstochastic processes such as GPs, but are structured as neural networks and\ntrained via gradient descent. CNPs make accurate predictions after observing\nonly a handful of training data points, yet scale to complex functions and\nlarge datasets. We demonstrate the performance and versatility of the approach\non a range of canonical machine learning tasks, including regression,\nclassification and image completion.","url_abs":"http://arxiv.org/abs/1807.01613v1","url_pdf":"http://arxiv.org/pdf/1807.01613v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/Arnaud15/CS236_Neural_Processes_For_Image_Completion","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/CocoJam/CNP_on_omniglot","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/CocoJam/Conditional_Neural_process","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/DongYongfei36/Conditional-Neural-Process","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/JEM-Mosig/blog-garnelo_neural_2018","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"GPL-3.0"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/aayushkumarjvs/ConditionalNeuralProcess-Implementation","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/ciupakabra/conditional-neural-processes","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/cschin/CNP-clustering","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/deepmind/conditional-neural-process","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/deepmind/neural-processes","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/google-deepmind/neural-processes","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/jusonn/Neural-Process","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/peterholderrieth/steerable_cnps","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/revsic/tf-neural-process","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/shalijiang/neural-process","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/vasselai/Replication-of-Conditional-Neural-Processes","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/wesselb/NeuralProcesses.jl","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"unanswered"}},{"paper_slug":"conditional-neural-processes","repo_url":"https://github.com/sarus-tech/tf2-published-models/tree/master/cnp","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"tf","reach":null}],"tasks":[{"task_slug":"gaussian-processes","task_name":"Gaussian Processes"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1807.01613","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1807.01613"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/wesselb/NeuralProcesses.jl","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/vasselai/Replication-of-Conditional-Neural-Processes","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/revsic/tf-neural-process","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/CocoJam/CNP_on_omniglot","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sarus-tech/tf2-published-models/tree/master/cnp","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/deepmind/neural-processes","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/jusonn/Neural-Process","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/google-deepmind/neural-processes","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Arnaud15/CS236_Neural_Processes_For_Image_Completion","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/CocoJam/Conditional_Neural_process","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/ciupakabra/conditional-neural-processes","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/JEM-Mosig/blog-garnelo_neural_2018","reach":{"status":"ok","spdx":"GPL-3.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/aayushkumarjvs/ConditionalNeuralProcess-Implementation","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/deepmind/conditional-neural-process","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/shalijiang/neural-process","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/cschin/CNP-clustering","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/DongYongfei36/Conditional-Neural-Process","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/peterholderrieth/steerable_cnps","reach":{"status":"ok"}}],"summary":{"ran_draft_wrong":1},"by_repo_kind":{},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":1,"samples":[{"code_sha256_prefix":"dba028b9ac289b46","entry":"all_forward","repo":null,"repo_kind":null,"path":null,"file_url":null,"link_basis":"identical_code_first_harvested_elsewhere","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"mcp_get_code":{"code_sha256":"dba028b9ac289b46"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}