SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.11886 · NeurIPS · 2022

On the Generalizability and Predictability of Recommender Systems

Duncan Mcelfresh, John Dickerson, Colin White, Abacus Ai, Sujay Khandagale, Jonathan Valverde, Arthurai, Dataset Meta-Feature Selection

arXiv · PDF · Open in the Atlas

Code that ran

9 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; 3 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 5 failures of our instrument; 4 no recorded run), measured 2026-11-24; 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.11886.json · badge: /api/ran/2206.11886.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
naszilla/reczilla canonical (classifier label)
classifier basis: classifier_2025
9 ran · 4 no recorded run
FunctionStatusWhere it lives
compute_feature_corrs Ran
ran, honoured the contract we drafted
naszilla/reczilla/RecSys2019_DeepLearning_Evaluation/ReczillaClassifier/run_reczilla.py
code served (permissive licence) · get_code("203f2961b800f53b")
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 DataFrame. 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 numpy as np
import pandas as pd

# Create a small sample dataframe with metafeatures
np.random.seed(0)

n_rows = 12
n_features = 3

# Create metafeature dataframe
data = {
    'alg_param_name': ['alg_A'] * 6 + ['alg_B'] * 6,
    'alg_family': ['family_1'] * 6 + ['family_2'] * 6,
    'dataset_family': ['ds_fam_1', 'ds_fam_1', 'ds_fam_2', 'ds_fam_2', 'ds_fam_3', 'ds_fam_3'] * 2,
    'metric': np.random.rand(n_rows),
    'f_feat1': np.random.rand(n_rows),
    'f_feat2': np.random.rand(n_rows),
    'f_feat3': np.random.rand(n_rows),
}

metafeats = pd.DataFrame(data)

# Define arguments dictionary
ARGS = {
    'metafeats': metafeats,
    'exclude_dataset_families': None,
    'metric_name': 'metric',
    'selected_algs': None,
    'by_alg_family': False,
    'filter_nans': True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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
dataset_family_lookup Ran
ran; our contract draft was wrong, not the code
naszilla/reczilla/RecSys2019_DeepLearning_Evaluation/ReczillaClassifier/run_reczilla.py
code served (permissive licence) · get_code("f95d2eb37f3c4bdd")
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

# The function uses reverse_family_map which is a dict mapping dataset names to families
# It takes dataset_name (str) and strict_match (bool) as parameters

ARGS = {
    'dataset_name': 'AmazonBooksReader',
    'strict_match': True
}
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
filter_for_cunha Ran
ran; our contract draft was wrong, not the code
naszilla/reczilla/RecSys2019_DeepLearning_Evaluation/ReczillaClassifier/run_reczilla.py
code served (permissive licence) · get_code("404f06fb48571615")
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

# Construct valid arguments for filter_for_cunha
selected_algs = [
    'model_default_v1',
    'model_default_v2',
    'model_custom_v1',
    'algorithm_default_optimized'
]

selected_feats = [
    'feature_1',
    'feature_2_landmarker',
    'feature_3',
    'feature_4_landmarker',
    'feature_5'
]

compare_cunha_cf4cf = 'cf4cf'
compare_cunha_2018 = 'cunha-2018'

ARGS = {
    'selected_algs': selected_algs,
    'selected_feats': selected_feats,
    'compare_cunha': compare_cunha_cf4cf
}
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_metafeats Ran
ran; our contract draft was wrong, not the code
naszilla/reczilla/RecSys2019_DeepLearning_Evaluation/ReczillaClassifier/run_reczilla.py
code served (permissive licence) · get_code("36ab817c64f4674d")
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 DataFrame. 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 pickle
import pandas as pd
import tempfile
import os

# Create a temporary directory to serve as RESULTS_DIR
temp_dir = tempfile.mkdtemp()
results_dir = os.path.join(temp_dir, 'metadatasets')
os.makedirs(results_dir, exist_ok=True)

# Create a minimal meta_dataset pickle file
meta_dataset = pd.DataFrame({
    'original_split_path': [
        'gs://reczilla-results/dataset-splits/path1',
        'gs://reczilla-results/dataset-splits/path2'
    ]
})

metadataset_filename = 'test_metadataset'
metadataset_pkl_path = os.path.join(results_dir, f'{metadataset_filename}.pkl')
with open(metadataset_pkl_path, 'wb') as f:
    pickle.dump(meta_dataset, f)

# Create a minimal Metafeatures CSV file
metafeats_dir = os.path.join(temp_dir, 'Metafeatures')
os.makedirs(metafeats_dir, exist_ok=True)
metafeats_csv_path = os.path.join(metafeats_dir, 'Metafeatures.csv')

metafeats_data = pd.DataFrame({
    'bucket_path': ['path1', 'path2'],
    'split_name': ['train', 'test'],
    'dataset_name': ['AmazonBooksReader', 'Movielens1MReader'],
    'original_split_path': [
        'gs://reczilla-results/dataset-splits/path1',
        'gs://reczilla-results/dataset-splits/path2'
    ],
    'feature1': [1.0, 2.0],
    'feature2': [3.0, 4.0]
})
metafeats_data.to_csv(metafeats_csv_path, index=False)

# Patch the module-level variables and paths
import sys
from types import ModuleType

# Create a mock module to inject the patched paths
mock_module = ModuleType('mock_metadatasets')
mock_module.RESULTS_DIR = results_dir

# Change working directory to temp_dir so relative paths work
original_cwd = os.getcwd()
os.chdir(temp_dir)

ARGS = {
    'metadataset_filename': 'test_metadataset'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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
is_time_metric Ran
ran, violated the contract we drafted
naszilla/reczilla/RecSys2019_DeepLearning_Evaluation/ReczillaClassifier/run_reczilla.py
code served (permissive licence) · get_code("69d8d93b52b4825f")
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 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

ARGS = {
    "metric_name": "inference_time"
}
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 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
run_metalearner Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
naszilla/reczilla/RecSys2019_DeepLearning_Evaluation/ReczillaClassifier/run_reczilla.py
code served (permissive licence) · get_code("2aea19c0e6e97c49")
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 2, dtype family float, shape (1, 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
import random

random.seed(0)
np.random.seed(0)

# Create small synthetic data
# X_train: 2 samples, 4 features
# y_train: 2 samples, 3 output targets
X_train = np.random.randn(2, 4).astype(np.float32)
y_train = np.random.randn(2, 3).astype(np.float32)

# X_test: 1 sample, 4 features
X_test = np.random.randn(1, 4).astype(np.float32)

ARGS = {
    "model_name": "xgboost",
    "X_train": X_train,
    "y_train": y_train,
    "X_test": X_test,
    "return_model": False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn, xgboost — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (1, 3) — shape (1, 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
select_features Ran
ran; our contract draft was wrong, not the code
naszilla/reczilla/RecSys2019_DeepLearning_Evaluation/ReczillaClassifier/run_reczilla.py
code served (permissive licence) · get_code("25df574617c68a5b")
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 list, ndim 1, 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 numpy as np
import pandas as pd

# Create a minimal metafeats DataFrame
np.random.seed(0)

# Create dataset families
dataset_families = ['family_A', 'family_B', 'family_C']
num_rows = 30

metafeats_data = {
    'dataset_family': np.random.choice(dataset_families, num_rows),
    'alg_param_name': np.random.choice(['alg_1', 'alg_2', 'alg_3'], num_rows),
    'alg_family': np.random.choice(['fam_x', 'fam_y'], num_rows),
    'f_1': np.random.randn(num_rows),
    'f_2': np.random.randn(num_rows),
    'f_3': np.random.randn(num_rows),
    'f_4': np.random.randn(num_rows),
    'f_5': np.random.randn(num_rows),
    'metric_score': np.random.randn(num_rows),
}

metafeats = pd.DataFrame(metafeats_data)

# Create test_datasets (exclude_dataset_families parameter)
test_datasets = ['family_A']

# Create metric_name
metric_name = 'metric_score'

# Create selected_algs
selected_algs = ['alg_1', 'alg_2']

# Create num_feats
num_feats = 3

# Create filter_nans
filter_nans = True

ARGS = {
    'metafeats': metafeats,
    'test_datasets': test_datasets,
    'metric_name': metric_name,
    'selected_algs': selected_algs,
    'num_feats': num_feats,
    'filter_nans': filter_nans,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
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
w_cov Ran
ran, honoured the contract we drafted
naszilla/reczilla/RecSys2019_DeepLearning_Evaluation/ReczillaClassifier/run_reczilla.py
code served (permissive licence) · get_code("e77042e64036e265")
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 float64, 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 numpy as np

# Create small numpy arrays for x, y, and weights
x = np.array([1.0, 2.0, 3.0, 4.0])
y = np.array([2.0, 4.0, 5.0, 7.0])
w = np.array([0.1, 0.2, 0.3, 0.4])

ARGS = {
    "x": x,
    "y": y,
    "w": w
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
weighted_corr Ran
ran, honoured the contract we drafted
naszilla/reczilla/RecSys2019_DeepLearning_Evaluation/ReczillaClassifier/run_reczilla.py
code served (permissive licence) · get_code("affdef6e712df04e")
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 float64, 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 numpy as np

# Create small numpy arrays for x, y, and weights
np.random.seed(0)

x = np.array([1.0, 2.0, 3.0, 4.0])
y = np.array([2.0, 4.0, 5.0, 7.0])
w = np.array([0.1, 0.2, 0.3, 0.4])

ARGS = {
    "x": x,
    "y": y,
    "w": w
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
alg_feature_selection_featurized Not yet run
unverified (harvested, no recorded run)
naszilla/reczilla/RecSys2019_DeepLearning_Evaluation/ReczillaClassifier/run_reczilla.py
code served (permissive licence) · get_code("520f5c5a2bc9a05c")
How it ran

no invocation recorded.

my_print Not yet run
unverified (harvested, no recorded run)
naszilla/reczilla/RecSys2019_DeepLearning_Evaluation/ReczillaClassifier/run_reczilla.py
code served (permissive licence) · get_code("449d6c338ab3dd80")
How it ran

no invocation recorded.

reczilla_train Not yet run
unverified (harvested, no recorded run)
naszilla/reczilla/RecSys2019_DeepLearning_Evaluation/ReczillaClassifier/run_reczilla.py
code served (permissive licence) · get_code("0dcb984da98265e6")
How it ran

no invocation recorded.

select_algs Not yet run
unverified (harvested, no recorded run)
naszilla/reczilla/RecSys2019_DeepLearning_Evaluation/ReczillaClassifier/run_reczilla.py
code served (permissive licence) · get_code("f7c30d0cf631977f")
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, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 13 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.

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

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

While other areas of machine learning have seen more and more automation, designing a high-performing recommender system still requires a high level of human effort. Furthermore, recent work has shown that modern recommender system algorithms do not always improve over well-tuned baselines. A natural follow-up question is, "how do we choose the right algorithm for a new dataset and performance metric?" In this work, we start by giving the first large-scale study of recommender system approaches by comparing 24 algorithms and 100 sets of hyperparameters across 85 datasets and 315 metrics. We find that the best algorithms and hyperparameters are highly dependent on the dataset and performance metric. However, there is also a strong correlation between the performance of each algorithm and various meta-features of the datasets. Motivated by these findings, we create RecZilla, a meta-learning approach to recommender systems that uses a model to predict the best algorithm and hyperparameters for new, unseen datasets. By using far more meta-training data than prior work, RecZilla is able to substantially reduce the level of human involvement when faced with a new recommender system application. We not only release our code and pretrained RecZilla models, but also all of our raw experimental results, so that practitioners can train a RecZilla model for their desired performance metric: https://github.com/naszilla/reczilla.

For agents

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

get_harvested_code_for_paper("2206.11886")
get_code_for_paper("2206.11886")
have("2206.11886")

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

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

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

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

Connect an agent — have() is free.