SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2112.07173 · NeurIPS · 2021

On the use of Cortical Magnification and Saccades as Biological Proxies for Data Augmentation

Arturo Deza, Binxu Wang, David Mayo, Andrei Barbu, Colin Conwell

arXiv · PDF · Open in the Atlas

Code that ran

11 of 14 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; 0 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 2 failures of our instrument; 3 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/2112.07173.json · badge: /api/ran/2112.07173.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
animadversio/foveated_saccade_simclr canonical (classifier label)
classifier basis not recorded on the link
11 ran · 3 no recorded run
FunctionStatusWhere it lives
accuracy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
animadversio/foveated_saccade_simclr/utils.py
code served (permissive licence) · get_code("b0f936d4d6ae3b8c")
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 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

torch.manual_seed(0)

# Create output tensor: batch_size=2, num_classes=4
# This represents logits from a model
output = torch.randn(2, 4)

# Create target tensor: batch_size=2
# These are class indices (0-3 for 4 classes)
target = torch.tensor([1, 3])

# topk parameter: tuple of k values to compute accuracy for
topk = (1, 2)

ARGS = {
    "output": output,
    "target": target,
    "topk": topk,
}
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 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
cortical_magnif_tsr_demo Ran
ran on a synthesized input
animadversio/foveated_saccade_simclr/data_aug/cort_magnif_tfm.py
code served (permissive licence) · get_code("3a12f4bfe3b890b0")
How it ran

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

import torch
import numpy as np

torch.manual_seed(0)

# Create a small image tensor (C, H, W)
imgtsr = torch.randn(3, 64, 48)

# Define a point (X, Y) in image coordinates
pnt = (24, 32)

# Define a grid_func that generates interpolation grids
def grid_func(imgtsr, pnt):
    """Generate coordinate grids for cortical magnification."""
    _, H, W = imgtsr.shape
    pY, pX = pnt
    
    # Create output grid (H, W) for interpolation coordinates
    yy, xx = np.meshgrid(np.arange(H), np.arange(W), indexing='ij')
    
    # Simple cortical magnification: scale distances from point
    dy = yy - pY
    dx = xx - pX
    r = np.sqrt(dx**2 + dy**2)
    
    # Log-polar-like transformation
    r_mag = np.log(r + 1) * 10
    
    # Reconstruct coordinates with magnification
    with np.errstate(divide='ignore', invalid='ignore'):
        scale = r_mag / (r + 1e-6)
        scale = np.nan_to_num(scale, nan=1.0)
    
    XX_intp = pX + dx * scale
    YY_intp = pY + dy * scale
    
    # Clip to valid range
    XX_intp = np.clip(XX_intp, 0, W - 1)
    YY_intp = np.clip(YY_intp, 0, H - 1)
    
    return XX_intp, YY_intp

ARGS = {
    'imgtsr': imgtsr,
    'pnt': pnt,
    'grid_func': grid_func,
    'subN': 2
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy, 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_RandomMagnifTfm Ran
ran on a synthesized input
animadversio/foveated_saccade_simclr/data_aug/cort_magnif_tfm.py
code served (permissive licence) · get_code("bc27f8b82d39e6b2")
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 torch
import numpy as np

torch.manual_seed(0)
np.random.seed(0)

# Create a small image tensor (C, H, W format)
img_tensor = torch.randn(3, 64, 64)

# Create a point (pY, pX) - coordinates in the image
pnt = (32, 32)

# Define a simple grid function that returns XX_intp and YY_intp
def simple_grid_func(imgtsr, pnt):
    _, H, W = imgtsr.shape
    Hhalf, Whalf = (H // 2, W // 2)
    pY, pX = pnt
    
    # Create simple linear grids
    X_ticks = np.linspace(0, W-1, W)
    Y_ticks = np.linspace(0, H-1, H)
    XX_intp, YY_intp = np.meshgrid(X_ticks, Y_ticks)
    return (XX_intp, YY_intp)

# Map all parameters to ARGS
ARGS = {
    'imgtsr': img_tensor,
    'pnt': pnt,
    'grid_func': simple_grid_func,
    'demo': False,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy, scipy, torch — 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
get_test_transform Ran
ran on a synthesized input
animadversio/foveated_saccade_simclr/linear_eval.py
code served (permissive licence) · get_code("ff4b28634ac96b47")
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 Compose. 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 torchvision

torch.manual_seed(0)

ARGS = {
    "size": (224, 224)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Compose — a Compose output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Compose 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
image_standardize Ran
ran on a synthesized input
animadversio/foveated_saccade_simclr/data_aug/calc_saliency.py
code served (permissive licence) · get_code("634e4b67c5d926aa")
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 int, shape (4, 5, 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 test images with different shapes
# Grayscale 2D image (H, W)
grayscale_2d = np.random.randint(0, 256, (4, 5), dtype=np.uint8)

# Single channel 3D image (H, W, 1)
single_channel = np.random.randint(0, 256, (4, 5, 1), dtype=np.uint8)

# RGB image (H, W, 3)
rgb_image = np.random.randint(0, 256, (4, 5, 3), dtype=np.uint8)

# RGBA image (H, W, 4)
rgba_image = np.random.randint(0, 256, (4, 5, 4), dtype=np.uint8)

ARGS = {
    "image": rgb_image
}
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 int, shape (4, 5, 3) — shape (4, 5, 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
img_cortical_magnif_tsr Ran
ran on a synthesized input
animadversio/foveated_saccade_simclr/data_aug/cort_magnif_tfm.py
code served (permissive licence) · get_code("4ae0f89119053f65")
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 Tensor, ndim 3, dtype family float, shape (3, 32, 48) 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

torch.manual_seed(0)

# Create a small 3-channel image tensor (C, H, W)
imgtsr = torch.randn(3, 32, 48)

# Define a point (pY, pX) in the original image
pnt = (16, 24)

# Define a grid_func that takes imgtsr and pnt and returns XX_intp, YY_intp
def grid_func(imgtsr, pnt):
    """
    Creates interpolated grid coordinates for cortical magnification.
    Returns XX_intp, YY_intp as numpy arrays or similar that can be converted to tensors.
    """
    _, H, W = imgtsr.shape
    pY, pX = pnt
    
    # Create a simple log-polar-like grid centered at pnt
    # Generate output grid coordinates
    out_H, out_W = 32, 48
    y_out, x_out = np.meshgrid(np.arange(out_H), np.arange(out_W), indexing='ij')
    
    # Simple magnification: map from log-polar to Cartesian around the point
    # Normalize coordinates to [-1, 1] relative to the point
    x_norm = (x_out - out_W / 2) / (out_W / 2)
    y_norm = (y_out - out_H / 2) / (out_H / 2)
    
    # Apply exponential magnification
    r = np.sqrt(x_norm**2 + y_norm**2)
    theta = np.arctan2(y_norm, x_norm)
    r_exp = np.exp(r * 0.5)
    
    XX_intp = pX + r_exp * np.cos(theta) * W / 4
    YY_intp = pY + r_exp * np.sin(theta) * H / 4
    
    return XX_intp, YY_intp

ARGS = {
    'imgtsr': imgtsr,
    'pnt': pnt,
    'grid_func': grid_func,
    'demo': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, 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 3, dtype family float, shape (3, 32, 48) — shape (3, 32, 48) 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
prep_feature_readout Ran
ran on a synthesized input
animadversio/foveated_saccade_simclr/feature_eval.py
code served (permissive licence) · get_code("6d7a88514f669cac")
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 MinimalResNet. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
import torchvision

torch.manual_seed(0)

# Create a minimal model that satisfies the function's expectations
class MinimalResNet(nn.Module):
    def __init__(self):
        super().__init__()
        self.fc = nn.Linear(512, 10)
    
    def forward(self, x):
        return self.fc(x)

# Create a checkpoint dict with state_dict
checkpoint = {
    'state_dict': {
        'backbone.conv1.weight': torch.randn(64, 3, 7, 7),
        'backbone.layer1.0.conv1.weight': torch.randn(64, 64, 3, 3),
        'backbone.fc.weight': torch.randn(10, 512),
        'backbone.fc.bias': torch.randn(10),
    }
}

# Save checkpoint to a temporary file path (we won't actually write it, just use string path)
model_path_str = '/tmp/fake_checkpoint.pt'

# For the nn.Module case, create a model instance
model_instance = MinimalResNet()

ARGS = {
    'model_path': model_instance,
    'arch': 'resnet18',
    'device': 'cpu',
    'num_classes': 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MinimalResNet — a MinimalResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MinimalResNet 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
resnet_forward Ran
ran on a synthesized input
animadversio/foveated_saccade_simclr/data_aug/calc_saliency.py
code served (permissive licence) · get_code("1f6329a8b051f08b")
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 Tensor, ndim 2, dtype family float, shape (2, 10) 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

torch.manual_seed(0)

class SimpleResNet(nn.Module):
    def __init__(self):
        super().__init__()
        self.conv1 = nn.Conv2d(3, 8, kernel_size=3, padding=1)
        self.bn1 = nn.BatchNorm2d(8)
        self.relu = nn.ReLU(inplace=True)
        self.maxpool = nn.MaxPool2d(kernel_size=2, stride=2)
        self.layer1 = nn.Sequential(nn.Conv2d(8, 16, kernel_size=3, padding=1))
        self.layer2 = nn.Sequential(nn.Conv2d(16, 32, kernel_size=3, padding=1))
        self.layer3 = nn.Sequential(nn.Conv2d(32, 64, kernel_size=3, padding=1))
        self.layer4 = nn.Sequential(nn.Conv2d(64, 128, kernel_size=3, padding=1))
        self.avgpool = nn.AdaptiveAvgPool2d((1, 1))
        self.fc = nn.Linear(128, 10)

model = SimpleResNet()
x = torch.randn(2, 3, 8, 8)

ARGS = {
    'model': model,
    'x': x
}
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 Tensor, ndim 2, dtype family float, shape (2, 10) — shape (2, 10) 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
showimg Ran
ran on a synthesized input
animadversio/foveated_saccade_simclr/data_aug/calc_saliency.py
code served (permissive licence) · get_code("fe7cfba0bbfa81d5")
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, 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
import numpy as np
import matplotlib
matplotlib.use('Agg')  # Use non-interactive backend
import matplotlib.pyplot as plt

torch.manual_seed(0)

# Create test images with different shapes
# Single 3D image (H, W, C)
single_image_3d = np.random.randint(0, 256, (4, 5, 3), dtype=np.uint8)

# Single 3D image with 1 channel (H, W, 1)
single_image_1ch = np.random.randint(0, 256, (4, 5, 1), dtype=np.uint8)

# 4D batch of images (B, H, W, C)
batch_image_4d = np.random.randint(0, 256, (2, 4, 5, 3), dtype=np.uint8)

# List of images
list_of_images = [
    np.random.randint(0, 256, (4, 5, 3), dtype=np.uint8),
    np.random.randint(0, 256, (4, 5, 3), dtype=np.uint8)
]

# Tuple of images
tuple_of_images = (
    np.random.randint(0, 256, (4, 5, 3), dtype=np.uint8),
    np.random.randint(0, 256, (4, 5, 3), dtype=np.uint8)
)

ARGS = {
    'image': single_image_3d,
    'figsize': [8, 8],
    'cmap': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple 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
unravel_indices Ran
ran on a synthesized input
animadversio/foveated_saccade_simclr/data_aug/aug_utils.py
code served (permissive licence) · get_code("a6fbbdfce6406411")
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 Tensor, ndim 3, dtype family int, shape (2, 4, 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 torch
from typing import Tuple

torch.manual_seed(0)

# The function unravel_indices takes:
# 1. indices: A LongTensor of flat indices with shape (*, N)
# 2. shape: A tuple of ints representing the target shape (D,)

# Create sample flat indices tensor
# Shape: (2, 4) meaning batch of 2, with 4 indices each
indices = torch.tensor([[5, 10, 15, 20], [3, 7, 12, 18]], dtype=torch.long)

# Create target shape tuple
# This represents a 3D shape (4, 5, 6)
shape = (4, 5, 6)

ARGS = {
    "indices": indices,
    "shape": shape,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
packaging, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family int, shape (2, 4, 3) — shape (2, 4, 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
yaml_config_hook Ran
ran; our contract draft was wrong, not the code
animadversio/foveated_saccade_simclr/linear_eval.py
pointer only (licence: MIT); the stored copy get_code serves, from hhdxwen/pcl, is pointer only (licence: NONE) · get_code("5f0e459393da7338")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from hhdxwen/pcl, and GitHub detected no licence in that repository 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.

get_cifar10_data_loaders Not yet run
unverified (harvested, no recorded run)
animadversio/foveated_saccade_simclr/feature_eval.py
code served (permissive licence) · get_code("6733c1958029ef68")
How it ran

no invocation recorded.

get_stl10_data_loaders Not yet run
unverified (harvested, no recorded run)
animadversio/foveated_saccade_simclr/feature_eval.py
code served (permissive licence) · get_code("b56100c441687ff7")
How it ran

no invocation recorded.

inference Not yet run
unverified (harvested, no recorded run)
animadversio/foveated_saccade_simclr/linear_eval.py
code served (permissive licence) · get_code("9ba1efd225f82356")
How it ran

no invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 2 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.

FunctionAlso present inEarliest-datedOthers named
accuracy 116 other papers
31 dated earlier, 2 the same month, 83 later · 8 only as an assembly brick
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1610.05820 (2016-10)
Membership Inference Attacks Against Machine Learning Models
1905.03696 (2019-05)
HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precision
and 113 more not named here
yaml_config_hook 3 other papers
1 dated earlier, 2 later
2009.09687 (2020-09)
Contrastive Clustering
2202.02943 (2022-02)
Learning fair representation with a parametric integral probability metric
2412.13690 (2024-12)
Personalized Clustering via Targeted Representation Learning

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

Self-supervised learning is a powerful way to learn useful representations from natural data. It has also been suggested as one possible means of building visual representation in humans, but the specific objective and algorithm are unknown. Currently, most self-supervised methods encourage the system to learn an invariant representation of different transformations of the same image in contrast to those of other images. However, such transformations are generally non-biologically plausible, and often consist of contrived perceptual schemes such as random cropping and color jittering. In this paper, we attempt to reverse-engineer these augmentations to be more biologically or perceptually plausible while still conferring the same benefits for encouraging robust representation. Critically, we find that random cropping can be substituted by cortical magnification, and saccade-like sampling of the image could also assist the representation learning. The feasibility of these transformations suggests a potential way that biological visual systems could implement self-supervision. Further, they break the widely accepted spatially-uniform processing assumption used in many computer vision algorithms, suggesting a role for spatially-adaptive computation in humans and machines alike. Our code and demo can be found here (Wang, 2021). * Work completed as part of the Google AI Residency Program 3rd Workshop on Shared Visual Representations in Human and Machine Intelligence (SVRHM 2021) of the Neural Information Processing Systems (NeurIPS) conference, Virtual.

For agents

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

get_harvested_code_for_paper("2112.07173")
get_code_for_paper("2112.07173")
have("2112.07173")

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

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

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

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

Connect an agent — have() is free.