SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.16588 · 2023

Vision Transformers Need Registers

arXiv · PDF · Open in the Atlas

Code that ran

15 of 20 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, 1 violated it and 11 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/2309.16588.json · badge: /api/ran/2309.16588.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
facebookresearch/dinov2 canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
borisdayma/clip-jax community (classifier label)
classifier basis not recorded on the link
12 ran · 3 no recorded run
copy not recorded community
not in the paper's declared repositories
0 ran · 2 no recorded run
FunctionStatusWhere it lives
convert_path_or_url_to_url Ran
ran; our contract draft was wrong, not the code
facebookresearch/dinov2/dinov2/hub/backbones.py
code served (permissive licence) · get_code("7715dbecb1b8cfd6")
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 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.

from pathlib import Path

# The function convert_path_or_url_to_url takes a single parameter: path (str)
# It checks if the path is a URL using is_url()
# If it's a URL (scheme is 'https' or 'file'), it returns it as-is
# Otherwise, it converts a local file path to a file:// URI

# Test with a local file path
ARGS = {
    "path": "/home/user/myfile.txt"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
none outside the standard library — 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
count_params Ran
ran on a synthesized input
borisdayma/clip-jax/clip_jax/utils.py
code served (permissive licence) · get_code("141f5bebbf4455dd")
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 int, ndim 0, dtype family int, 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 jax
import jax.numpy as jnp

# The function count_params takes a pytree and counts the total size of all leaves
# A pytree in JAX can be any nested structure of arrays, dicts, lists, tuples, etc.
# We need to construct a pytree with some JAX arrays

# Create a simple pytree with multiple leaves
pytree = {
    'layer1': jnp.array([1.0, 2.0, 3.0, 4.0]),
    'layer2': {
        'weights': jnp.array([[1.0, 2.0], [3.0, 4.0], [5.0, 6.0]]),
        'bias': jnp.array([0.1, 0.2])
    },
    'layer3': jnp.array([[[1.0, 2.0], [3.0, 4.0]]])
}

ARGS = {
    'pytree': pytree
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, 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
image_to_logits Ran
ran on a synthesized input
borisdayma/clip-jax/clip_jax/data.py
code served (permissive licence) · get_code("d3f6068e5f1cc03f")
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 3, dtype family float, shape (4, 3, 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

# Create a sample image as a numpy array
# Using shape (4, 3, 3) for height, width, channels to have distinct dimensions
image = np.random.randint(0, 256, size=(4, 3, 3), dtype=np.uint8)

# Define the arguments dictionary
ARGS = {
    'image': image,
    'mean': (0.5, 0.5, 0.5),
    'std': (0.5, 0.5, 0.5),
    'format': 'rgb'
}
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 3, dtype family float, shape (4, 3, 3) — shape (4, 3, 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
is_url Ran
ran, violated the contract we drafted
facebookresearch/dinov2/dinov2/hub/backbones.py
code served (permissive licence) · get_code("911ac52477a145cc")
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
import numpy as np
from urllib.parse import urlparse

torch.manual_seed(0)

# The function is_url takes a single parameter 'path' which is a string
# It parses the URL and checks if the scheme is 'https' or 'file'
# We need to provide a valid string argument

ARGS = {
    "path": "https://example.com/resource"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, 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
logical_axis_rules Ran
ran on a synthesized input
borisdayma/clip-jax/clip_jax/partitions.py
code served (permissive licence) · get_code("c8e657cf59894a37")
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 2, 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 numpy as np

torch.manual_seed(0)

ARGS = {
    "activation_partitioning_dims": 1,
    "parameter_partitioning_dims": 1,
}
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 list, ndim 2, 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
maybe_get_artifact Ran
ran on a synthesized input
borisdayma/clip-jax/clip_jax/wandb_utils.py
code served (permissive licence) · get_code("4be991be800e82bc")
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 os
import tempfile
import torch
import wandb

# Mock wandb to avoid actual API calls
class MockArtifact:
    def download(self, path):
        return path

class MockRun:
    def use_artifact(self, name):
        return MockArtifact()

class MockApi:
    def artifact(self, name):
        return MockArtifact()

# Patch wandb for testing
wandb.run = None
wandb.Api = MockApi

ARGS = {
    "pretrained_model_name_or_path": "my-project/my-model:v1",
    "tmp_dir": tempfile.gettempdir()
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, wandb — 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
named_apply Ran
ran; our contract draft was wrong, not the code
facebookresearch/dinov2/dinov2/models/vision_transformer.py
code served (permissive licence) · get_code("e7fcb6d9ac9deaf4")
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 SimpleModel. 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)

# Create a simple nested module structure
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.layer1 = nn.Linear(4, 3)
        self.layer2 = nn.Sequential(
            nn.Linear(3, 2),
            nn.ReLU()
        )
    
    def forward(self, x):
        x = self.layer1(x)
        x = self.layer2(x)
        return x

# Create a simple callback function that tracks module names
collected_modules = []

def callback_fn(module, name):
    collected_modules.append((name, type(module).__name__))

# Instantiate the module
module = SimpleModel()

# Define ARGS dictionary with all parameters
ARGS = {
    'fn': callback_fn,
    'module': module,
    'name': '',
    'depth_first': True,
    'include_root': False
}
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 SimpleModel — a SimpleModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleModel 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
norm Ran
ran on a synthesized input
borisdayma/clip-jax/clip_jax/modeling.py
code served (permissive licence) · get_code("e89c437719b73776")
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 function. 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 flax.linen as nn

# The function 'norm' takes one parameter: use_rmsnorm (a boolean)
# It returns a normalization layer class/function based on that boolean
# When use_rmsnorm is True, it returns a lambda that wraps nn.RMSNorm
# When use_rmsnorm is False, it returns nn.LayerNorm directly

# The function doesn't actually execute the returned normalization layer,
# it just returns the appropriate class/function. So we just need to
# provide valid boolean values for use_rmsnorm.

ARGS = {
    "use_rmsnorm": True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
flax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function 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
normalize Ran
ran on a synthesized input
borisdayma/clip-jax/clip_jax/modeling.py
code served (permissive licence) · get_code("9446a8d501beb52e")
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 ArrayImpl, ndim 2, dtype family float, shape (2, 4) 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 jax
import jax.numpy as jnp

# Create a small JAX array with shape (2, 4) - batch of 2, dimension 4
x = jnp.array([
    [1.0, 2.0, 3.0, 4.0],
    [5.0, 6.0, 7.0, 8.0]
])

ARGS = {
    "x": x,
    "eps": 1e-06,
    "safe_norm": True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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
posemb_sincos_2d Ran
ran, honoured the contract we drafted
borisdayma/clip-jax/clip_jax/modeling.py
code served (permissive licence) · get_code("2d67a8a756fe7cf8")
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 ArrayImpl, ndim 3, dtype family float, shape (1, 12, 8) 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 jax.numpy as jnp

ARGS = {
    'h': 4,
    'w': 3,
    'width': 8,
    'temperature': 10000.0,
    'dtype': jnp.float32,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 3, dtype family float, shape (1, 12, 8) — shape (1, 12, 8) 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
sample_nucleus_topp_logits Ran
ran on a synthesized input
borisdayma/clip-jax/clip_jax/maxtext/inference_utils.py
code served (permissive licence) · get_code("9e0d5ce23e1ddbfb")
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 ArrayImpl, ndim 1, dtype family int, shape (2,) 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 jax
import jax.numpy as jnp
import jax.random

# Set seed for reproducibility
key = jax.random.PRNGKey(0)

# Create small logits tensor (batch_size=2, vocab_size=4)
logits = jnp.array([
    [1.0, 2.0, 3.0, 0.5],
    [0.1, 0.5, 1.5, 2.0]
], dtype=jnp.float32)

# nucleus_topp parameter: probability threshold
nucleus_topp = 0.9

# temperature parameter: controls randomness in sampling
temperature = 1.0

# rng: JAX random key
rng = jax.random.PRNGKey(42)

ARGS = {
    "logits": logits,
    "nucleus_topp": nucleus_topp,
    "temperature": temperature,
    "rng": rng,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 1, dtype family int, shape (2,) — shape (2,) 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
sample_topk_logits Ran
ran on a synthesized input
borisdayma/clip-jax/clip_jax/maxtext/inference_utils.py
code served (permissive licence) · get_code("213c7fbbc33f5eec")
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 ArrayImpl, ndim 1, dtype family int, shape (2,) 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 jax
import jax.numpy as jnp
import jax.random as jrandom

# Set seed for reproducibility
key = jrandom.PRNGKey(0)

# Create small logits tensor (batch_size=2, vocab_size=4)
logits = jnp.array([
    [1.0, 2.0, 3.0, 0.5],
    [0.5, 1.5, 2.5, 1.0]
], dtype=jnp.float32)

# Top-k parameter
topk = 3

# Temperature parameter for scaling logits
temperature = 0.8

# JAX random key for sampling
rng = key

ARGS = {
    "logits": logits,
    "topk": topk,
    "temperature": temperature,
    "rng": rng
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 1, dtype family int, shape (2,) — shape (2,) 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
sampling Ran
ran on a synthesized input
borisdayma/clip-jax/clip_jax/maxtext/inference_utils.py
code served (permissive licence) · get_code("5d8736f0387a699d")
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 ArrayImpl, ndim 1, dtype family int, shape (2,) 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 jax
import jax.numpy as jnp
import jax.random

# Create a small vocabulary size and batch dimensions
vocab_size = 4
batch_size = 2

# Create random logits with shape [batch_size, vocab_size]
key = jax.random.PRNGKey(0)
logits = jax.random.normal(key, shape=(batch_size, vocab_size))

# Split the key for use in sampling
key, subkey = jax.random.split(key)

ARGS = {
    'logits': logits,
    'rng': subkey,
    'algorithm': 'weighted',
    'topk': 2,
    'nucleus_topp': 0.9,
    'temperature': 1.0,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
jax — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 1, dtype family int, shape (2,) — shape (2,) 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
shift_tokens_left Ran
ran on a synthesized input
borisdayma/clip-jax/clip_jax/data.py
code served (permissive licence) · get_code("fd9f7273b986bc74")
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 (2, 4) 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

# Create valid arguments for shift_tokens_left function
logits = np.random.randn(2, 4).astype(np.float32)  # batch_size=2, seq_len=4
pad_token_id = 0  # integer pad token ID

ARGS = {
    "logits": logits,
    "pad_token_id": pad_token_id,
}
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 2, dtype family float, shape (2, 4) — shape (2, 4) 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
with_logical_constraint Ran
ran on a synthesized input
borisdayma/clip-jax/clip_jax/utils.py
code served (permissive licence) · get_code("b2d0cfef5bc878ce")
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 ArrayImpl, ndim 2, dtype family float, shape (2, 4) 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 jax
import jax.numpy as jnp
from flax import linen as nn

torch.manual_seed(0)

# Construct tiny JAX arrays for testing
x = jnp.ones((2, 4))
c = jnp.array([1, 0, 1, 0])

ARGS = {
    "x": x,
    "c": c,
    "use_constraint": False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
flax, jax, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ArrayImpl, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) 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_system_characteristics Not yet run
unverified (harvested, no recorded run)
borisdayma/clip-jax/clip_jax/maxtext/accelerator_to_spec_map.py
code served (permissive licence) · get_code("87c57735e68651cc")
How it ran

no invocation recorded.

has_ddp_wrapper Not yet run
unverified (harvested, no recorded run)
this paper's copy was not recorded; identical code first harvested from wenquanlu/noisy_dinov2
pointer only · get_code("1cd2728a84872357")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

load_config Not yet run
unverified (harvested, no recorded run)
borisdayma/clip-jax/clip_jax/utils.py
code served (permissive licence) · get_code("831515af28a2a745")
How it ran

no invocation recorded.

logits_to_image Not yet run
unverified (harvested, no recorded run)
borisdayma/clip-jax/clip_jax/data.py
code served (permissive licence) · get_code("e147d773ebc71aa4")
How it ran

no invocation recorded.

remove_ddp_wrapper Not yet run
unverified (harvested, no recorded run)
this paper's copy was not recorded; identical code first harvested from wenquanlu/noisy_dinov2
pointer only · get_code("f565e9c6316d8c64")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 5 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 5 later) and 15 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
named_apply 26 other papers
3 dated earlier, 21 later, 2 undated
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2204.07683 (2022-04)
Safe Self-Refinement for Transformer-based Domain Adaptation
2304.07193 (2023-04)
DINOv2: Learning Robust Visual Features without Supervision
and 23 more not named here
has_ddp_wrapper 5 other papers
1 dated earlier, 4 later
2103.00020 (2021-03)
Learning Transferable Visual Models From Natural Language Supervision
2407.10366 (2024-07)
Accessing Vision Foundation Models via ImageNet-1K
2505.12191 (2025-05)
Ditch the Denoiser: Emergence of Noise Robustness in Self-Supervised Learning from Data Curriculum
and 2 more not named here
posemb_sincos_2d 5 other papers
2 dated earlier, 3 later
2205.01580 (2022-05)
Better plain ViT baselines for ImageNet-1k
2305.07011 (2023-05)
Region-Aware Pretraining for Open-Vocabulary Object Detection with Vision Transformers
2310.13807 (2023-10)
Learning to (Learn at Test Time)
and 2 more not named here
remove_ddp_wrapper 4 other papers
1 dated earlier, 3 later
2103.00020 (2021-03)
Learning Transferable Visual Models From Natural Language Supervision
2407.10366 (2024-07)
Accessing Vision Foundation Models via ImageNet-1K
2505.12191 (2025-05)
Ditch the Denoiser: Emergence of Noise Robustness in Self-Supervised Learning from Data Curriculum
and 1 more not named here
get_system_characteristics 2 other papers
2 later
2405.08553 (2024-05)
Improving Transformers with Dynamically Composable Multi-Head Attention
2410.23168 (2024-10)
TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parameters

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

Transformers have recently emerged as a powerful tool for learning visual representations. In this paper, we identify and characterize artifacts in feature maps of both supervised and self-supervised ViT networks. The artifacts correspond to high-norm tokens appearing during inference primarily in low-informative background areas of images, that are repurposed for internal computations. We propose a simple yet effective solution based on providing additional tokens to the input sequence of the Vision Transformer to fill that role. We show that this solution fixes that problem entirely for both supervised and self-supervised models, sets a new state of the art for self-supervised visual models on dense visual prediction tasks, enables object discovery methods with larger models, and most importantly leads to smoother feature maps and attention maps for downstream visual processing.

For agents

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

get_harvested_code_for_paper("2309.16588")
get_code_for_paper("2309.16588")
have("2309.16588")

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

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

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

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

Connect an agent — have() is free.