{"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/semi-parametric-deep-neural-networks-in","title":"Semi-Parametric Inducing Point Networks and Neural Processes","arxiv_id":"2205.11718","date":"2022-05-24","proceeding":null,"authors":["Richa Rastogi","Yair Schiff","Alon Hacohen","Zhaozhi Li","Ian Lee","Yuntian Deng","Mert R. Sabuncu","Volodymyr Kuleshov"],"abstract":"We introduce semi-parametric inducing point networks (SPIN), a general-purpose architecture that can query the training set at inference time in a compute-efficient manner. Semi-parametric architectures are typically more compact than parametric models, but their computational complexity is often quadratic. In contrast, SPIN attains linear complexity via a cross-attention mechanism between datapoints inspired by inducing point methods. Querying large training sets can be particularly useful in meta-learning, as it unlocks additional training signal, but often exceeds the scaling limits of existing models. We use SPIN as the basis of the Inducing Point Neural Process, a probabilistic model which supports large contexts in meta-learning and achieves high accuracy where existing models fail. In our experiments, SPIN reduces memory requirements, improves accuracy across a range of meta-learning tasks, and improves state-of-the-art performance on an important practical problem, genotype imputation.","url_abs":"https://arxiv.org/abs/2205.11718v2","url_pdf":"https://arxiv.org/pdf/2205.11718v2.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":"semi-parametric-deep-neural-networks-in","repo_url":"https://github.com/richrast/spin","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"semi-parametric-deep-neural-networks-in","repo_url":"https://github.com/yair-schiff/ipnp","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"imputation","task_name":"Imputation"},{"task_slug":"meta-learning","task_name":"Meta-Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2205.11718","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2205.11718"}},"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/richrast/spin","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/yair-schiff/ipnp","reach":null}],"summary":{"ran":5,"unverified":10},"by_repo_kind":{"official":{"samples":15,"ran":5,"repositories":2}},"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":0,"samples":[{"code_sha256_prefix":"6fa65af7f5533c65","entry":"ABLA","repo":"yair-schiff/ipnp","repo_kind":"official","path":"regression/models/spin.py","file_url":"https://github.com/yair-schiff/ipnp/blob/HEAD/regression/models/spin.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6fa65af7f5533c65"}},{"code_sha256_prefix":"2951a42acbf4e4fe","entry":"MultiHeadAttn","repo":"yair-schiff/ipnp","repo_kind":"official","path":"regression/models/spin.py","file_url":"https://github.com/yair-schiff/ipnp/blob/HEAD/regression/models/spin.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2951a42acbf4e4fe"}},{"code_sha256_prefix":"f67f53d5cfc5d972","entry":"Spin","repo":"yair-schiff/ipnp","repo_kind":"official","path":"regression/models/spin.py","file_url":"https://github.com/yair-schiff/ipnp/blob/HEAD/regression/models/spin.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f67f53d5cfc5d972"}},{"code_sha256_prefix":"bc272bd9454c2382","entry":"XABA","repo":"yair-schiff/ipnp","repo_kind":"official","path":"regression/models/spin.py","file_url":"https://github.com/yair-schiff/ipnp/blob/HEAD/regression/models/spin.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bc272bd9454c2382"}},{"code_sha256_prefix":"8e028d9a1832af24","entry":"XABD","repo":"yair-schiff/ipnp","repo_kind":"official","path":"regression/models/spin.py","file_url":"https://github.com/yair-schiff/ipnp/blob/HEAD/regression/models/spin.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8e028d9a1832af24"}},{"code_sha256_prefix":"ca69cbfc32a85b23","entry":"SpinBlock","repo":"yair-schiff/ipnp","repo_kind":"official","path":"regression/models/spin.py","file_url":"https://github.com/yair-schiff/ipnp/blob/HEAD/regression/models/spin.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ca69cbfc32a85b23"}},{"code_sha256_prefix":"b7b4bab81728304c","entry":"build_dataloaders","repo":"richrast/spin","repo_kind":"official","path":"baselines/models/dkl_run.py","file_url":"https://github.com/richrast/spin/blob/HEAD/baselines/models/dkl_run.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b7b4bab81728304c"}},{"code_sha256_prefix":"bdaa232146fb8a71","entry":"build_dataloaders","repo":"richrast/spin","repo_kind":"official","path":"baselines/models/mc_dropout_run.py","file_url":"https://github.com/richrast/spin/blob/HEAD/baselines/models/mc_dropout_run.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bdaa232146fb8a71"}},{"code_sha256_prefix":"afcee76a5c006639","entry":"dataset_to_hypers","repo":"richrast/spin","repo_kind":"official","path":"baselines/sklearn_models.py","file_url":"https://github.com/richrast/spin/blob/HEAD/baselines/sklearn_models.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"afcee76a5c006639"}},{"code_sha256_prefix":"c994c998c3aa199a","entry":"get_CIFAR10","repo":"richrast/spin","repo_kind":"official","path":"image_npt.py","file_url":"https://github.com/richrast/spin/blob/HEAD/image_npt.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c994c998c3aa199a"}},{"code_sha256_prefix":"c192f64d5f0fa0b2","entry":"get_MNIST","repo":"richrast/spin","repo_kind":"official","path":"image_npt.py","file_url":"https://github.com/richrast/spin/blob/HEAD/image_npt.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c192f64d5f0fa0b2"}},{"code_sha256_prefix":"9bae1334bc6bb067","entry":"get_likelihood","repo":"richrast/spin","repo_kind":"official","path":"baselines/models/dkl_run.py","file_url":"https://github.com/richrast/spin/blob/HEAD/baselines/models/dkl_run.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"9bae1334bc6bb067"}},{"code_sha256_prefix":"2c47321c578191d0","entry":"str2bool","repo":"richrast/spin","repo_kind":"official","path":"npt/configs.py","file_url":"https://github.com/richrast/spin/blob/HEAD/npt/configs.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2c47321c578191d0"}},{"code_sha256_prefix":"cdd74cc2ab83119f","entry":"tabnet_add_eval_metric","repo":"richrast/spin","repo_kind":"official","path":"baselines/sklearn_models.py","file_url":"https://github.com/richrast/spin/blob/HEAD/baselines/sklearn_models.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cdd74cc2ab83119f"}},{"code_sha256_prefix":"de7de240e80643cc","entry":"train_with_label_masking","repo":"richrast/spin","repo_kind":"official","path":"image_npt.py","file_url":"https://github.com/richrast/spin/blob/HEAD/image_npt.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"de7de240e80643cc"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}