SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2211.15059 · NeurIPS · 2022

Learning Dense Object Descriptors from Multiple Views for Low-shot Category Generalization

Stefan Stojanov, Anh Thai, Zixuan Huang, James Rehg

arXiv · PDF · Open in the Atlas

Code that ran

6 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 3 failures of our instrument; 3 no recorded run), measured 2026-11-23; 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/2211.15059.json · badge: /api/ran/2211.15059.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
rehg-lab/dope_selfsup canonical (classifier label)
classifier basis not recorded on the link
5 ran · 3 no recorded run
NVlabs/diff-dope extension (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
PCK Ran
ran on a synthesized input
rehg-lab/dope_selfsup/dope_selfsup/models/utils.py
code served (permissive licence) · get_code("946009e00980355f")
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 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

# PCK expects:
# co1: array of coordinates, shape (N, 2) - coordinates to compare
# co2: array of coordinates, shape (N, 2) - reference coordinates  
# H: scalar - height value used to compute threshold

# Create small coordinate arrays
co1 = np.array([[10.5, 20.3], [15.2, 25.8]], dtype=np.float32)
co2 = np.array([[11.0, 20.5], [15.0, 26.0]], dtype=np.float32)

# H is a height value (scalar)
H = 100

ARGS = {
    "co1": co1,
    "co2": co2,
    "H": H
}
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 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
compute_PCK Ran
ran on a synthesized input
rehg-lab/dope_selfsup/dope_selfsup/models/utils.py
code served (permissive licence) · get_code("9c127ba63bba0e23")
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 numpy as np
import torch

torch.manual_seed(0)

# Parameters for compute_PCK:
# f1: shape (C, fH, fW) - feature map from image 1
# f2: shape (C, fH, fW) - feature map from image 2
# uv_c1: array of (row, col) coordinates in image 1
# uv_c2: array of (row, col) coordinates in image 2
# H: height of original image

C = 4
fH = fW = 8
H = 256

# Create feature maps
f1 = torch.randn(C, fH, fW)
f2 = torch.randn(C, fH, fW)

# Create coordinate arrays - several point correspondences
uv_c1 = np.array([[2, 3], [5, 6], [1, 4]], dtype=np.int32)
uv_c2 = np.array([[2, 3], [5, 6], [1, 4]], dtype=np.int32)

ARGS = {
    "f1": f1,
    "f2": f2,
    "uv_c1": uv_c1,
    "uv_c2": uv_c2,
    "H": H,
}
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 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
compute_confidence_interval Ran
ran, honoured the contract we drafted
rehg-lab/dope_selfsup/dope_selfsup/inference/utils.py
code served (permissive licence) · get_code("81ea193467a90dc6")
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 numpy as np

# The function takes a single parameter 'data' which should be an array-like
# of numerical values (mean accuracy or mAP across sampled episodes).
# The function computes mean, std, and sqrt operations on it.

# Create sample data: an array of mean accuracies across multiple episodes
data = np.array([0.85, 0.87, 0.84, 0.88, 0.86, 0.89, 0.83, 0.87])

ARGS = {
    "data": data
}
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 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
conv3x3 Ran
ran; our contract draft was wrong, not the code
rehg-lab/dope_selfsup/dope_selfsup/nets/resnet.py
pointer only (licence: MIT); the stored copy get_code serves, from lixiaotong97/DSU, is pointer only (licence: NONE) · get_code("fac5364e2f53c6db")
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 lixiaotong97/DSU, 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.

matrix_batch_44_from_position_quat Ran
ran; our contract draft was wrong, not the code
NVlabs/diff-dope/diffdope/diffdope.py
pointer only (licence: NOASSERTION) · get_code("294e42a740961ab5")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, NVlabs/diff-dope (NOASSERTION). 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.

resnet18 Ran
ran; our contract draft was wrong, not the code
rehg-lab/dope_selfsup/dope_selfsup/nets/resnet.py
code served (permissive licence) · get_code("812be8f819e7fa3b")
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 ResNet. 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)

ARGS = {
    'pretrained': False,
}
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 ResNet — a ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a ResNet 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
batch_shuffle_ddp Not yet run
unverified (harvested, no recorded run)
rehg-lab/dope_selfsup/dope_selfsup/nets/moco_func_utils.py
code served (permissive licence) · get_code("35c74641cae2d081")
How it ran

no invocation recorded.

batch_unshuffle_ddp Not yet run
unverified (harvested, no recorded run)
rehg-lab/dope_selfsup/dope_selfsup/nets/moco_func_utils.py
code served (permissive licence) · get_code("84c3492f31564f3e")
How it ran

no invocation recorded.

concat_all_gather Not yet run
unverified (harvested, no recorded run)
rehg-lab/dope_selfsup/dope_selfsup/nets/moco_func_utils.py
code served (permissive licence) · get_code("73cecca9f3575f09")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 2 the same month, 5 later) and 3 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
conv3x3 686 other papers
425 dated earlier, 9 the same month, 241 later, 11 same year, order not determinable · 31 only as an assembly brick
1406.2661 (2014-06)
Generative Adversarial Networks
1409.0575 (2014-09)
ImageNet Large Scale Visual Recognition Challenge
1412.6572 (2014-12)
Explaining and Harnessing Adversarial Examples
and 683 more not named here
concat_all_gather 138 other papers
62 dated earlier, 2 the same month, 72 later, 2 same year, order not determinable · 33 only as an assembly brick
1710.09412 (2017-10)
mixup: BEYOND EMPIRICAL RISK MINIMIZATION
1905.04899 (2019-05)
CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Features
1905.12794 (2019-05)
Fashion IQ: A New Dataset Towards Retrieving Images by Natural Language Feedback
and 135 more not named here
resnet18 4 other papers
1 dated earlier, 3 later
1911.05371 (2019-11)
Self-labelling via simultaneous clustering and representation learning
2308.01698 (2023-08)
Balanced Destruction-Reconstruction Dynamics for Memory-replay Class Incremental Learning
2407.00983 (2024-07)
FairMedFM: Fairness Benchmarking for Medical Imaging Foundation Models
and 1 more not named here
compute_confidence_interval 3 other papers
3 dated earlier
2003.06777 (2020-03)
DeepEMD: Differentiable Earth Mover's Distance for Few-Shot Learning
2109.02221 (2021-09)
Nearest Neighbour Few-Shot Learning for Cross-lingual Classification
2110.02210 (2021-10)
Mix3D: Out-of-Context Data Augmentation for 3D Scenes
batch_shuffle_ddp 2 other papers
1 dated earlier, 1 later
2103.16607 (2021-03)
Seasonal Contrast: Unsupervised Pre-Training from Uncurated Remote Sensing Data
2312.03533 (2023-12)
Low-shot Object Learning with Mutual Exclusivity Bias
batch_unshuffle_ddp 2 other papers
1 dated earlier, 1 later
2103.16607 (2021-03)
Seasonal Contrast: Unsupervised Pre-Training from Uncurated Remote Sensing Data
2411.02256 (2024-11)
Unified Speech Recognition: A Single Model for Auditory, Visual, and Audiovisual Inputs

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

A hallmark of the deep learning era for computer vision is the successful use of large-scale labeled datasets to train feature representations for tasks ranging from object recognition and semantic segmentation to optical flow estimation and novel view synthesis of 3D scenes. In this work, we aim to learn dense discriminative object representations for low-shot category recognition without requiring any category labels. To this end, we propose Deep Object Patch Encodings (DOPE), which can be trained from multiple views of object instances without any category or semantic object part labels. To train DOPE, we assume access to sparse depths, foreground masks and known cameras, to obtain pixel-level correspondences between views of an object, and use this to formulate a self-supervised learning task to learn discriminative object patches. We find that DOPE can directly be used for low-shot classification of novel categories using local-part matching, and is competitive with and outperforms supervised and self-supervised learning baselines. Code and data available at https://github.com/rehg-lab/dope_selfsup 36th Conference on Neural Information Processing Systems (NeurIPS 2022).

For agents

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

get_harvested_code_for_paper("2211.15059")
get_code_for_paper("2211.15059")
have("2211.15059")

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

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

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

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

Connect an agent — have() is free.