SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 05519 · ECCV · 2024

SegIC: Unleashing the Emergent Correspondence for In-Context Segmentation

Zuxuan Wu, Jose Alvarez, Yu-Gang Jiang, Lingchen Meng, Hengduo Li, Shiyi Lan

Open in the Atlas

Code that ran

4 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 5 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/05519.json · badge: /api/ran/05519.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
MengLcool/SEGIC canonical (classifier label)
classifier basis: census
4 ran · 5 no recorded run
FunctionStatusWhere it lives
custom_collate_fn Ran
ran; our contract draft was wrong, not the code
MengLcool/SEGIC/utils/dataloader.py
code served (permissive licence) · get_code("4ec8f6e0636fdea3")
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 dict. 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
from collections import defaultdict

torch.manual_seed(0)

# The function expects a list of dicts where:
# - Each dict has the same keys
# - Some keys contain 'label' or are 'neg_class_names' (these are collected as lists)
# - Other keys contain tensors/data to be collated with default_collate

# Create sample batch data
batch_size = 2

# Create two sample data items (dicts)
data_item_1 = {
    'features': torch.randn(4, 3),  # tensor to be default_collated
    'embeddings': torch.randn(5, 2),  # tensor to be default_collated
    'label': 0,  # will be collected in list
    'label_name': 'cat',  # will be collected in list
    'neg_class_names': ['dog', 'bird'],  # will be collected in list
    'id': 1  # tensor to be default_collated
}

data_item_2 = {
    'features': torch.randn(4, 3),
    'embeddings': torch.randn(5, 2),
    'label': 1,
    'label_name': 'dog',
    'neg_class_names': ['cat', 'bird'],
    'id': 2
}

# Create the batch as a list of dicts
data = [data_item_1, data_item_2]

ARGS = {
    'data': data
}
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 dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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_im_gt_name_dict Ran
ran; our contract draft was wrong, not the code
MengLcool/SEGIC/utils/dataloader.py
pointer only (licence: MIT); the stored copy get_code serves, from xzz2/pa-sam, is pointer only (licence: NONE) · get_code("6377d2b0f1cb0b28")
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 xzz2/pa-sam, 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_uncertain_point_coords_with_randomness Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
MengLcool/SEGIC/utils/loss_mask.py
pointer only (licence: MIT); the stored copy get_code serves, from xzz2/pa-sam, is pointer only (licence: NONE) · get_code("752d76eca7bb4a97")
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 xzz2/pa-sam, 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.

point_sample Ran
ran; our contract draft was wrong, not the code
MengLcool/SEGIC/utils/loss_mask.py
pointer only (licence: MIT); the stored copy get_code serves, from xzz2/pa-sam, is pointer only (licence: NONE) · get_code("965de439489202e7")
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 xzz2/pa-sam, 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.

build_sam_vit_b Not yet run
unverified (harvested, no recorded run)
MengLcool/SEGIC/model/segment_anything_training/build_sam.py
code served (permissive licence) · get_code("7817f4e95dc497fc")
How it ran

no invocation recorded.

build_sam_vit_h Not yet run
unverified (harvested, no recorded run)
MengLcool/SEGIC/model/segment_anything_training/build_sam.py
code served (permissive licence) · get_code("7214580fd97a20f2")
How it ran

no invocation recorded.

build_sam_vit_l Not yet run
unverified (harvested, no recorded run)
MengLcool/SEGIC/model/segment_anything_training/build_sam.py
code served (permissive licence) · get_code("7fff48b6358ae40e")
How it ran

no invocation recorded.

cat Not yet run
unverified (harvested, no recorded run)
MengLcool/SEGIC/utils/loss_mask.py
pointer only (licence: MIT); the stored copy get_code serves, from xzz2/pa-sam, is pointer only (licence: NONE) · get_code("3e4ba19cff1075ba")
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 xzz2/pa-sam, 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. No invocation recorded.

create_dataloaders Not yet run
unverified (harvested, no recorded run)
MengLcool/SEGIC/utils/dataloader.py
pointer only (licence: MIT); the stored copy get_code serves, from xzz2/pa-sam, is pointer only (licence: NONE) · get_code("7b785ed7aad4a361")
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 xzz2/pa-sam, 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. 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, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 0 the same month, 0 later) and 0 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
cat 6 other papers
4 dated earlier, 2 same year, order not determinable
2004.08955 (2020-04)
ResNeSt: Split-Attention Networks
2203.15175 (2022-03)
Unified Transformer Tracker for Object Tracking
2301.02657 (2023-01)
TarViS: A Unified Approach for Target-based Video Segmentation
and 3 more not named here
point_sample 6 other papers
4 dated earlier, 2 same year, order not determinable
2103.06564 (2021-03)
PointFlow: Flowing Semantics Through Points for Aerial Image Segmentation
2306.09347 (2023-06)
Segment Any Point Cloud Sequences by Distilling Vision Foundation Models
2311.14671 (2023-11)
SEGIC: Unleashing the Emergent Correspondence for In-Context Segmentation
and 3 more not named here
create_dataloaders 2 other papers
1 dated earlier, 1 same year, order not determinable
2311.14671 (2023-11)
SEGIC: Unleashing the Emergent Correspondence for In-Context Segmentation
2401.13051 (2024-01)
PA-SAM: Prompt Adapter SAM for High-Quality Image Segmentation
get_im_gt_name_dict 2 other papers
1 dated earlier, 1 same year, order not determinable
2311.14671 (2023-11)
SEGIC: Unleashing the Emergent Correspondence for In-Context Segmentation
2401.13051 (2024-01)
PA-SAM: Prompt Adapter SAM for High-Quality Image Segmentation
get_uncertain_point_coords_with_randomness 2 other papers
1 dated earlier, 1 same year, order not determinable
2311.14671 (2023-11)
SEGIC: Unleashing the Emergent Correspondence for In-Context Segmentation
2401.13051 (2024-01)
PA-SAM: Prompt Adapter SAM for High-Quality Image Segmentation
build_sam_vit_b 1 other paper
1 dated earlier
2311.14671 (2023-11)
SEGIC: Unleashing the Emergent Correspondence for In-Context Segmentation
build_sam_vit_h 1 other paper
1 dated earlier
2311.14671 (2023-11)
SEGIC: Unleashing the Emergent Correspondence for In-Context Segmentation
build_sam_vit_l 1 other paper
1 dated earlier
2311.14671 (2023-11)
SEGIC: Unleashing the Emergent Correspondence for In-Context Segmentation
custom_collate_fn 1 other paper
1 dated earlier
2311.14671 (2023-11)
SEGIC: Unleashing the Emergent Correspondence for In-Context Segmentation

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

can be easily generalized to diverse tasks, including video object segmentation and open-vocabulary segmentation. Code will be available at https://github.com/MengLcool/SEGIC.

For agents

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

get_harvested_code_for_paper("05519")
get_code_for_paper("05519")
have("05519")

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

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

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

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

Connect an agent — have() is free.