SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.02626 · NeurIPS · 2022

Infinite Recommendation Networks: A Data-Centric Approach

Julian Mcauley, Noveen Sachdeva, Carole-Jean Wu, Mehak Dhaliwal

arXiv · PDF · Open in the Atlas

Code that ran

8 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 5 have no contract verdict; 2 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/2206.02626.json · badge: /api/ran/2206.02626.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
noveens/infinite_ae_cf canonical (classifier label)
classifier basis not recorded on the link
3 ran · 2 no recorded run
noveens/distill_cf canonical (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
AmazingDD/daisyRec community
Papers with Code archive
3 ran · 3 no recorded run
FunctionStatusWhere it lives
BPRLoss Ran
ran on a synthesized input
AmazingDD/daisyRec/daisy/model/EASERecommender.py
code served (permissive licence) · get_code("44e9a7fc60c3de3c")
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 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
import torch.nn as nn

class BPRLoss(nn.Module):

    def __init__(self, gamma=1e-10):
        super(BPRLoss, self).__init__()
        self.gamma = gamma

    def forward(self, pos_score, neg_score):
        loss = -(self.gamma + torch.sigmoid(pos_score - neg_score)).log().sum()
        return loss


INIT_ARGS = {
    'gamma': 1e-10
}

ARGS = {
    'pos_score': torch.randn(2, 4),
    'neg_score': torch.randn(2, 4)
}

if __name__ == '__main__':
    model = BPRLoss(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Output: {output}")
    print(f"Output shape: {output.shape}")
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 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
HingeLoss Ran
ran on a synthesized input
AmazingDD/daisyRec/daisy/model/EASERecommender.py
code served (permissive licence) · get_code("1e23ad42f13d3766")
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 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
import torch.nn as nn

class HingeLoss(nn.Module):

    def __init__(self):
        super(HingeLoss, self).__init__()

    def forward(self, pos_score, neg_score):
        loss = torch.clamp(1 - (pos_score - neg_score), min=0).sum()
        return loss


INIT_ARGS = {}

ARGS = {
    'pos_score': torch.tensor([0.8, 0.9, 0.7, 0.6], dtype=torch.float32),
    'neg_score': torch.tensor([0.2, 0.3, 0.1, 0.4], dtype=torch.float32)
}

if __name__ == '__main__':
    model = HingeLoss(**INIT_ARGS)
    output = model(**ARGS)
    print(f"Loss output: {output}")
    print(f"Output type: {type(output)}")
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 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
TOP1Loss Ran
ran on a synthesized input
AmazingDD/daisyRec/daisy/model/EASERecommender.py
code served (permissive licence) · get_code("4819c6d8b7646571")
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 0, 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 numpy as np

INIT_ARGS = {}

ARGS = {
    'pos_score': torch.randn(2, 4),
    'neg_score': torch.randn(2, 4)
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, 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)
get_common_path Ran
ran on a synthesized input
noveens/infinite_ae_cf/utils.py
code served (permissive licence) · get_code("3ab0f054172cf3f8")
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 str. 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

ARGS = {
    'hyper_params': {
        'dataset': 'mnist',
        'user_support': 5,
        'depth': 3,
        'grid_search_lamda': False,
        'lamda': 0.01,
        'seed': 42
    }
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
get_item_propensity Ran
ran, honoured the contract we drafted
noveens/infinite_ae_cf/utils.py
code served (permissive licence) · get_code("39c4594180be0c7c")
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 ndarray, ndim 1, dtype family float, shape (3,) 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 numpy as np
from collections import defaultdict

class MockData:
    def __init__(self):
        self.data = {
            'train': [
                (0, 0, 5),
                (1, 1, 4),
                (2, 0, 3),
                (3, 2, 5),
                (4, 1, 2),
            ]
        }

hyper_params = {
    'num_items': 3,
    'num_interactions': 5
}

data = MockData()

ARGS = {
    'hyper_params': hyper_params,
    'data': data,
    'A': 0.55,
    'B': 1.5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (3,) — shape (3,) 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
get_update_functions Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
noveens/distill_cf/distill.py
code served (permissive licence) · get_code("0030ec204abad735")
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) 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 jax
import jax.numpy as jnp
from jax.example_libraries import optimizers
import numpy as np

# Mock model module with make_loss_fn
class MockModel:
    @staticmethod
    def make_loss_fn(hyper_params):
        def loss_fn(x, x_target, key, reg=1.0):
            # Simple mock loss that returns a scalar and auxiliary data
            loss = jnp.sum(x ** 2)
            aux = (None, key)
            return loss, aux
        
        def kernelized_rr_forward(x):
            return x
        
        def multi_gumbel_sampling(x, key):
            return x, key
        
        def kernel_fn(x):
            return x
        
        return loss_fn, kernelized_rr_forward, multi_gumbel_sampling, kernel_fn

# Patch the model module
import sys
sys.modules['model'] = MockModel

# Create hyper_params dict
hyper_params = {
    'learning_rate': 0.001,
    'accumulate_steps': 2,
}

# Create init_params - a dict with 'x' key containing a JAX array
init_params = {
    'x': jnp.array([[1.0, 2.0, 3.0, 4.0],
                    [5.0, 6.0, 7.0, 8.0]])
}

ARGS = {
    'hyper_params': hyper_params,
    'init_params': init_params,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
jax, model, numpy — 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
initialize Ran
ran; our contract draft was wrong, not the code
noveens/distill_cf/distill.py
code served (permissive licence) · get_code("ba82c8f5022469d4")
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) 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
import torch.nn as nn

torch.manual_seed(0)

class MockData:
    def __init__(self):
        self.users = torch.randn(5, 4)
    
    def sample_users(self, support_size):
        """Sample users based on support size"""
        return self.users[:support_size]

hyper_params = {
    'user_support': 3
}

data = MockData()

ARGS = {
    'hyper_params': hyper_params,
    'data': data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
prep_movielens Ran
ran on a synthesized input
noveens/infinite_ae_cf/preprocess.py
code served (permissive licence) · get_code("ca4b9f603f7b24a2")
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 rating_data. 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 os
import tempfile

# Create a temporary ratings file in MovieLens format
temp_dir = tempfile.mkdtemp()
ratings_file = os.path.join(temp_dir, "ratings.dat")

# Write a small sample of ratings data in MovieLens format (user::item::rating::timestamp)
with open(ratings_file, 'w') as f:
    f.write("1::101::5.0::1000000000\n")
    f.write("1::102::4.0::1000000001\n")
    f.write("1::103::3.5::1000000002\n")
    f.write("2::101::2.0::1000000003\n")
    f.write("2::104::4.5::1000000004\n")
    f.write("3::102::5.0::1000000005\n")
    f.write("3::103::3.0::1000000006\n")
    f.write("3::105::2.5::1000000007\n")

ARGS = {
    "ratings_file_path": ratings_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
h5py, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type rating_data — a rating_data output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a rating_data 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
AbstractRecommender Not yet run
unverified (harvested, no recorded run)
AmazingDD/daisyRec/daisy/model/EASERecommender.py
code served (permissive licence) · get_code("56616f78c00e1103")
How it ran

no invocation recorded.

EASE Not yet run
unverified (harvested, no recorded run)
AmazingDD/daisyRec/daisy/model/EASERecommender.py
code served (permissive licence) · get_code("bfd5c06502832fdf")
How it ran

no invocation recorded.

GeneralRecommender Not yet run
unverified (harvested, no recorded run)
AmazingDD/daisyRec/daisy/model/EASERecommender.py
code served (permissive licence) · get_code("695d9cfdcb0be46e")
How it ran

no invocation recorded.

get_item_count_map Not yet run
unverified (harvested, no recorded run)
noveens/infinite_ae_cf/utils.py
code served (permissive licence) · get_code("dc1e506d9e302f57")
How it ran

no invocation recorded.

load_raw_dataset Not yet run
unverified (harvested, no recorded run)
noveens/infinite_ae_cf/data.py
code served (permissive licence) · get_code("a16c3bab848068f1")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 2 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 2 later) and 11 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
get_item_count_map 1 other paper
1 later
2405.04746 (2024-05)
SVD-AE: Simple Autoencoders for Collaborative Filtering
get_item_propensity 1 other paper
1 later
2405.04746 (2024-05)
SVD-AE: Simple Autoencoders for Collaborative Filtering

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 leverage the Neural Tangent Kernel and its equivalence to training infinitelywide neural networks to devise ∞-AE: an autoencoder with infinitely-wide bottleneck layers. The outcome is a highly expressive yet simplistic recommendation model with a single hyper-parameter and a closed-form solution. Leveraging ∞-AE's simplicity, we also develop DISTILL-CF for synthesizing tiny, high-fidelity data summaries which distill the most important knowledge from the extremely large and sparse user-item interaction matrix for efficient and accurate subsequent data-usage like model training, inference, architecture search, etc. This takes a data-centric approach to recommendation, where we aim to improve the quality of logged user-feedback data for subsequent modeling, independent of the learning algorithm. We particularly utilize the concept of differentiable Gumbel-sampling to handle the inherent data heterogeneity, sparsity, and semi-structuredness, while being scalable to datasets with hundreds of millions of user-item interactions. Both of our proposed approaches significantly outperform their respective state-of-theart and when used together, we observe 96 -105% of ∞-AE's performance on the full dataset with as little as 0.1% of the original dataset size, leading us to explore the counter-intuitive question: Is more data what you need for better recommendation?

For agents

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

get_harvested_code_for_paper("2206.02626")
get_code_for_paper("2206.02626")
have("2206.02626")

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

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

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

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

Connect an agent — have() is free.