SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1703.06114 · 2017

Deep Sets

Ruslan Salakhutdinov, Manzil Zaheer, Barnabás Póczos, Alexander Smola, Satwik Kottur, Siamak Ravanbhakhsh

arXiv · PDF · Open in the Atlas

Code that ran

11 of 12 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; 1 honoured the contract we drafted, 0 violated it and 7 have no contract verdict; 3 failures of our instrument; 1 no recorded run), measured 2026-11-22; 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/1703.06114.json · badge: /api/ran/1703.06114.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
acciorocketships/setautoencoder community
Papers with Code archive
7 ran · 1 no recorded run
lwtnn/lwtnn community (classifier label)
classifier basis not recorded on the link
2 ran · 0 no recorded run
jmmartyn/neural-network-quantum-field-states community
Papers with Code archive
1 ran · 0 no recorded run
MathieuCarriere/perslay community
Papers with Code archive
1 ran · 0 no recorded run
FunctionStatusWhere it lives
BatchNorm Ran
ran on a synthesized input · constructed an object; no result was computed
acciorocketships/setautoencoder/sae/sae_model.py
pointer only (licence: NONE) · get_code("df424652992b1ee4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, acciorocketships/setautoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Deep_Sets Ran
ran on a synthesized input
jmmartyn/neural-network-quantum-field-states/modules/deep_sets.py
pointer only (licence: NONE) · get_code("93db4879dbe6b4fc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, jmmartyn/neural-network-quantum-field-states when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Encoder Ran
ran on a synthesized input · constructed an object; no result was computed
acciorocketships/setautoencoder/sae/sae_model.py
pointer only (licence: NONE) · get_code("cf29a040d84184cd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, acciorocketships/setautoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MLP Ran
ran on a synthesized input · constructed an object; no result was computed
acciorocketships/setautoencoder/sae/sae_model.py
pointer only (licence: NONE) · get_code("817c6712a6d43aa5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, acciorocketships/setautoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

PositionalEncoding Ran
ran on a synthesized input · constructed an object; no result was computed
acciorocketships/setautoencoder/sae/sae_model.py
pointer only (licence: NONE) · get_code("a3add5dc120276fb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, acciorocketships/setautoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_mlp Ran
ran; our contract draft was wrong, not the code
acciorocketships/setautoencoder/sae/sae_model.py
pointer only (licence: NONE) · get_code("494a90bf2dbe7c14")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, acciorocketships/setautoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_nodes Ran
ran on a synthesized input
lwtnn/lwtnn/converters/sequential2graph.py
code served (permissive licence) · get_code("e96d56347b21f00b")
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 torch

torch.manual_seed(0)

ARGS = {
    'n_layers': 3,
    'n_inputs': 4
}
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 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
funcify_inputs Ran
ran on a synthesized input
lwtnn/lwtnn/converters/sequential2graph.py
code served (permissive licence) · get_code("0f63631b41d5d899")
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 torch

torch.manual_seed(0)

# Analyze the function:
# - inputs: a list of dicts, each with at least a 'name' key
# - defaults: a dict mapping input names to default values
# - The function iterates over inputs, copies each one, checks if 'name' is in defaults,
#   and optionally adds a 'default' field
# - Returns a list containing one dict with 'name' and 'variables' keys

# Construct test arguments
inputs = [
    {'name': 'param1', 'type': 'float'},
    {'name': 'param2', 'type': 'int'},
    {'name': 'param3', 'type': 'string'},
]

defaults = {
    'param1': 3.14,
    'param2': 42,
}

ARGS = {
    'inputs': inputs,
    'defaults': defaults,
}
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 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
layergen Ran
ran, honoured the contract we drafted
acciorocketships/setautoencoder/sae/sae_model.py
pointer only (licence: NONE) · get_code("d223c42b7d7f76ea")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, acciorocketships/setautoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

permutation_equivariant_layer Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
MathieuCarriere/perslay/perslay/perslay.py
code served (permissive licence) · get_code("e90dad77419f3bc4")
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 SymbolicTensor. 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 tensorflow as tf
import numpy as np

# Set seed for reproducibility
tf.random.set_seed(0)
np.random.seed(0)

# Create small test tensors
batch_size = 2
num_pts = 3
dimension_before = 4
dimension = 5

# inp shape: [batch_size, num_pts, dimension_before]
inp = tf.constant(np.random.randn(batch_size, num_pts, dimension_before).astype(np.float32))

# dimension: output dimension
dimension = 5

# perm_op: one of 'max', 'min', 'sum', or None
perm_op = 'max'

# lbda: weight matrix for transformation [dimension_before, dimension]
lbda = tf.constant(np.random.randn(dimension_before, dimension).astype(np.float32))

# b: bias term [dimension]
b = tf.constant(np.random.randn(dimension).astype(np.float32))

# gamma: weight matrix for permutation operation [dimension_before, dimension]
gamma = tf.constant(np.random.randn(dimension_before, dimension).astype(np.float32))

ARGS = {
    'inp': inp,
    'dimension': dimension,
    'perm_op': perm_op,
    'lbda': lbda,
    'b': b,
    'gamma': gamma
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type SymbolicTensor — a SymbolicTensor 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
scatter Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
acciorocketships/setautoencoder/sae/sae_model.py
pointer only (licence: NONE) · get_code("0808761c59163052")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, acciorocketships/setautoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

broadcast Not yet run
unverified (harvested, no recorded run)
acciorocketships/setautoencoder/sae/sae_model.py
pointer only (licence: NONE) · get_code("bc85e620db3cca51")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, acciorocketships/setautoencoder when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 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 12 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-22.

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 study the problem of designing models for machine learning tasks defined on sets. In contrast to traditional approach of operating on fixed dimensional vectors, we consider objective functions defined on sets that are invariant to permutations. Such problems are widespread, ranging from estimation of population statistics [1], to anomaly detection in piezometer data of embankment dams [2], to cosmology [3,4]. Our main theorem characterizes the permutation invariant functions and provides a family of functions to which any permutation invariant objective function must belong. This family of functions has a special structure which enables us to design a deep network architecture that can operate on sets and which can be deployed on a variety of scenarios including both unsupervised and supervised learning tasks. We also derive the necessary and sufficient conditions for permutation equivariance in deep models. We demonstrate the applicability of our method on population statistic estimation, point cloud classification, set expansion, and outlier detection.

For agents

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

get_harvested_code_for_paper("1703.06114")
get_code_for_paper("1703.06114")
have("1703.06114")

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

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

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

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

Connect an agent — have() is free.