SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2205.11718 · ICLR · 2023

Semi-Parametric Inducing Point Networks and Neural Processes

Yuntian Deng, Mert Sabuncu, Yair Schiff, Volodymyr Kuleshov, Richa Rastogi, Zhaozhi Li, Ian Lee, Alon Hacohen

arXiv · PDF · Open in the Atlas

Code that ran

10 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (4 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 9 have no contract verdict; 0 failures of our instrument; 5 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/2205.11718.json · badge: /api/ran/2205.11718.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
richrast/spin canonical (classifier label)
classifier basis not recorded on the link
5 ran · 4 no recorded run
yair-schiff/ipnp canonical (classifier label)
classifier basis: classifier_2025
5 ran · 1 no recorded run
FunctionStatusWhere it lives
ABLA Ran
ran on a synthesized input · constructed an object; no result was computed
yair-schiff/ipnp/regression/models/spin.py
code served (permissive licence) · get_code("6fa65af7f5533c65")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ABLA: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

# Define ARGS dict with all parameters for ABLA.__init__
ARGS = {
    "latent_dim": 4,
    "latent_dim_mult": 2,
    "num_heads": 2,
}

# Create an instance to verify it works
model = nn.Module()
from torch.nn import Linear, LayerNorm

class MultiHeadAttn(nn.Module):
    def __init__(self, dim_q, dim_k, dim_v, dim_out, num_heads=8):
        super().__init__()
        self.num_heads = num_heads
        self.dim_out = dim_out
        self.fc_q = nn.Linear(dim_q, dim_out, bias=False)
        self.fc_k = nn.Linear(dim_k, dim_out, bias=False)
        self.fc_v = nn.Linear(dim_v, dim_out, bias=False)
        self.fc_out = nn.Linear(dim_out, dim_out)
        self.ln1 = nn.LayerNorm(dim_out)
        self.ln2 = nn.LayerNorm(dim_out)

    def scatter(self, x):
        return torch.cat(x.chunk(self.num_heads, -1), -3)

    def gather(self, x):
        return torch.cat(x.chunk(self.num_heads, -3), -1)

    def attend(self, q, k, v, mask=None, permute_dims=False):
        q_, k_, v_ = [self.scatter(x) for x in [q, k, v]]
        if permute_dims:
            q_ = q_.permute(0, 2, 1)
            k_ = k_.permute(0, 2, 1)
            v_ = v_.permute(0, 2, 1)
        A_logits = q_ @ k_.transpose(-2, -1) / math.sqrt(self.dim_out)
        if mask is not None:
            mask = mask.bool().to(q.device)
            mask = torch.stack([mask] * q.shape[-2], -2)
            mask = torch.cat([mask] * self.num_heads, -3)
            A = torch.softmax(A_logits.masked_fill(mask, -float('inf')), -1)
            A = A.masked_fill(torch.isnan(A), 0.0)
        else:
            A = torch.softmax(A_logits, -1)
        attended_values = A @ v_
        if permute_dims:
            attended_values = attended_values.permute(0, 2, 1)
        return self.gather(attended_values)

    def forward(self, q, k, v, mask=None, permute_dims=False):
        q, k, v = (self.fc_q(q), self.fc_k(k), self.fc_v(v))
        out = self.ln1(q + self.attend(q, k, v, mask=mask, permute_dims=permute_dims))
        out = self.ln2(out + torch.nn.functional.relu(self.fc_out(out)))
        return out

class ABLA(nn.Module):
    def __init__(self, latent_dim, latent_dim_mult, num_heads=8):
        super().__init__()
        self.attr_attn = MultiHeadAttn(dim_q=latent_dim, dim_k=latent_dim, dim_v=latent_dim, dim_out=latent_dim * latent_dim_mult, num_heads=num_heads)

    def forward(self, H):
        return self.attr_attn(q=H, k=H, v=H, mask=None, permute_dims=True)

# Test instantiation
abla_instance = ABLA(**ARGS)
H = torch.randn(2, 3, ARGS["latent_dim"])
output = abla_instance(H)

ARGS = {
    "latent_dim": 4,
    "latent_dim_mult": 2,
    "num_heads": 2,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ABLA — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ABLA output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
MultiHeadAttn Ran
ran on a synthesized input
yair-schiff/ipnp/regression/models/spin.py
code served (permissive licence) · get_code("2951a42acbf4e4fe")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

# INIT_ARGS for MultiHeadAttn.__init__
INIT_ARGS = {
    'dim_q': 6,
    'dim_k': 8,
    'dim_v': 10,
    'dim_out': 12,
    'num_heads': 4
}

# ARGS for MultiHeadAttn.forward
batch_size = 2
seq_len_q = 5
seq_len_k = 7

q = torch.randn(batch_size, seq_len_q, INIT_ARGS['dim_q'])
k = torch.randn(batch_size, seq_len_k, INIT_ARGS['dim_k'])
v = torch.randn(batch_size, seq_len_k, INIT_ARGS['dim_v'])
mask = torch.zeros(batch_size, seq_len_k)
mask[:, :3] = 1  # mask first 3 positions

ARGS = {
    'q': q,
    'k': k,
    'v': v,
    'mask': mask,
    'permute_dims': False
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Spin Ran
ran on a synthesized input · constructed an object; no result was computed
yair-schiff/ipnp/regression/models/spin.py
code served (permissive licence) · get_code("f67f53d5cfc5d972")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, Spin: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

# Define stand-in classes for any dependencies if needed
class DummyConfig:
    pass

# Set up minimal but valid arguments for Spin
ARGS = {
    'data_dim': 4,
    'latent_dim_mult': 2,
    'use_H_A': True,
    'use_ABLA_induce': True,
    'H_A_dim': 3,
    'H_D_init': 'xavier',
    'num_induce': 2,
    'num_heads': 2,
    'num_spin_blocks': 1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Spin — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Spin output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
XABA Ran
ran on a synthesized input · constructed an object; no result was computed
yair-schiff/ipnp/regression/models/spin.py
code served (permissive licence) · get_code("bc272bd9454c2382")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, XABA: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

# Create dummy tensors with distinct sizes
batch_size = 2
data_dim = 4
latent_dim = 3
latent_dim_mult = 2
num_heads = 2
seq_len = 5

# x: input data tensor (batch, seq_len, data_dim)
x = torch.randn(batch_size, seq_len, data_dim)

# H_A: latent representation (batch, seq_len, latent_dim)
H_A = torch.randn(batch_size, seq_len, latent_dim)

# mask: optional attention mask (batch, seq_len)
mask = torch.zeros(batch_size, seq_len, dtype=torch.bool)

ARGS = {
    "data_dim": data_dim,
    "latent_dim": latent_dim,
    "latent_dim_mult": latent_dim_mult,
    "num_heads": num_heads,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type XABA — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a XABA output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
XABD Ran
ran on a synthesized input · constructed an object; no result was computed
yair-schiff/ipnp/regression/models/spin.py
code served (permissive licence) · get_code("8e028d9a1832af24")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, XABD: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import math

torch.manual_seed(0)

# Set up parameters for XABD
latent_dim = 4
latent_dim_mult = 2
num_heads = 2

# Create small tensors for testing
# Batch size: 2, sequence length: 3, latent_dim: 4
batch_size = 2
seq_len = 3

H_A = torch.randn(batch_size, seq_len, latent_dim)
H_D = torch.randn(batch_size, seq_len, latent_dim)

# Optional mask - shape (batch_size, seq_len)
mask = torch.zeros(batch_size, seq_len, dtype=torch.bool)

ARGS = {
    "latent_dim": latent_dim,
    "latent_dim_mult": latent_dim_mult,
    "num_heads": num_heads,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type XABD — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a XABD output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
build_dataloaders Ran
ran on a synthesized input
richrast/spin/baselines/models/dkl_run.py
code served (permissive licence) · get_code("b7b4bab81728304c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from torch.utils.data import TensorDataset, DataLoader

torch.manual_seed(0)

# Create a stand-in dataset class
class StandInCVDataset:
    def __init__(self):
        # Create data_arrs with 3 columns (features): 2 non-target, 1 target
        # Each column has shape (10, 2) - 10 samples, 2 time steps
        self.data_dict = {
            'data_arrs': [
                torch.randn(10, 2),  # non-target col 0
                torch.randn(10, 2),  # non-target col 1
                torch.randn(10, 2),  # target col (classification: 2 classes)
            ],
            'new_train_val_test_indices': (
                torch.tensor([0, 1, 2, 3, 4]),  # train indices
                torch.tensor([5, 6]),            # val indices
                torch.tensor([7, 8, 9]),         # test indices
            )
        }

class StandInDataset:
    def __init__(self):
        self.cv_dataset = StandInCVDataset()
        self.metadata = {
            'D': 3,  # total number of columns
            'cat_target_cols': [2],  # column 2 is categorical target
            'num_target_cols': [],   # no numeric targets
        }

# Create the dataset
dataset = StandInDataset()
batch_size = 2

ARGS = {
    'dataset': dataset,
    'batch_size': batch_size,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_CIFAR10 Ran
ran on a synthesized input
richrast/spin/image_npt.py
code served (permissive licence) · get_code("c994c998c3aa199a")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
from unittest.mock import Mock, MagicMock
import tempfile
import os

torch.manual_seed(0)

# Create a minimal mock for CIFAR10 dataset
class MockCIFAR10:
    def __init__(self, root, train=True, transform=None, download=False):
        self.root = root
        self.train = train
        self.transform = transform
        self.download = download
        self.data = np.random.randint(0, 256, (10, 32, 32, 3), dtype=np.uint8)
        self.targets = np.random.randint(0, 10, (10,))
    
    def __len__(self):
        return len(self.data)
    
    def __getitem__(self, idx):
        img = self.data[idx]
        label = self.targets[idx]
        if self.transform:
            from PIL import Image
            img = Image.fromarray(img)
            img = self.transform(img)
        return img, label

# Monkey patch datasets.CIFAR10 to use our mock
import torchvision.datasets as datasets
original_cifar10 = datasets.CIFAR10
datasets.CIFAR10 = MockCIFAR10

# Create temporary directory for root
temp_dir = tempfile.mkdtemp()

ARGS = {
    'root': temp_dir + '/'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_likelihood Ran
ran on a synthesized input
richrast/spin/baselines/models/dkl_run.py
code served (permissive licence) · get_code("9bae1334bc6bb067")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned SoftmaxLikelihood. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import gpytorch

torch.manual_seed(0)

ARGS = {
    "dataset_is_classification": True,
    "num_features": 4,
    "num_classes": 3,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
gpytorch, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SoftmaxLikelihood — a SoftmaxLikelihood output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SoftmaxLikelihood output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
str2bool Ran
ran, violated the contract we drafted
richrast/spin/npt/configs.py
code served (permissive licence) · get_code("2c47321c578191d0")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

def str2bool(v):
    """https://stackoverflow.com/questions/15008758/
    parsing-boolean-values-with-argparse/36031646"""
    return v.lower() in ('yes', 'true', 't', '1')

ARGS = {
    'v': 'true'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
tabnet_add_eval_metric Ran
ran on a synthesized input
richrast/spin/baselines/sklearn_models.py
code served (permissive licence) · get_code("cdd74cc2ab83119f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

# Test case 1: regression mode with dict
ARGS = {
    'class_reg_mode': 'reg',
    'hypers': {'learning_rate': 0.01, 'num_steps': 100}
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
SpinBlock Not yet run
unverified (harvested, no recorded run)
yair-schiff/ipnp/regression/models/spin.py
code served (permissive licence) · get_code("ca69cbfc32a85b23")
How it ran

no invocation recorded.

build_dataloaders Not yet run
unverified (harvested, no recorded run)
richrast/spin/baselines/models/mc_dropout_run.py
code served (permissive licence) · get_code("bdaa232146fb8a71")
How it ran

no invocation recorded.

dataset_to_hypers Not yet run
unverified (harvested, no recorded run)
richrast/spin/baselines/sklearn_models.py
code served (permissive licence) · get_code("afcee76a5c006639")
How it ran

no invocation recorded.

get_MNIST Not yet run
unverified (harvested, no recorded run)
richrast/spin/image_npt.py
code served (permissive licence) · get_code("c192f64d5f0fa0b2")
How it ran

no invocation recorded.

train_with_label_masking Not yet run
unverified (harvested, no recorded run)
richrast/spin/image_npt.py
code served (permissive licence) · get_code("de7de240e80643cc")
How it ran

no invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 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, 1 later) and 14 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
str2bool 23 other papers
19 dated earlier, 4 later
1410.5401 (2014-10)
Neural Turing Machines
1502.04623 (2015-02)
DRAW: A Recurrent Neural Network For Image Generation
1504.06852 (2015-04)
FlowNet: Learning Optical Flow with Convolutional Networks
and 20 more not named here

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

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 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 metalearning and achieves high accuracy where existing models fail. In our experiments, SPIN reduces memory requirements, improves accuracy across a range of metalearning tasks, and improves state-of-the-art performance on an important practical problem, genotype imputation.

For agents

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

get_harvested_code_for_paper("2205.11718")
get_code_for_paper("2205.11718")
have("2205.11718")

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

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

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

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

Connect an agent — have() is free.