SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2308.15512 · ICCV · 2023

Shatter and Gather: Learning Referring Image Segmentation with Text Supervision

Cuiling Lan, Postech, Suha Kwak, Dongwon Kim, Namyup Kim

arXiv · PDF · Open in the Atlas

Code that ran

19 of 29 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (12 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 14 have no contract verdict; 5 failures of our instrument; 10 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/2308.15512.json · badge: /api/ran/2308.15512.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
kdwonn/SaG marked official in Papers with Code
Papers with Code archive
19 ran · 10 no recorded run
FunctionStatusWhere it lives
Attention Ran
ran on a synthesized input · constructed an object; no result was computed
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("12ea3b3517a96270")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

EncoderTextBERT Ran
ran on a synthesized input
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("028855901fa28457")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

FeedForward Ran
ran on a synthesized input · constructed an object; no result was computed
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("b0e334ed471fe829")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

GEGLU Ran
ran on a synthesized input
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("22d4e66449e24cb5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("694dbf618fcc8bc9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

PatchEmbedding Ran
ran on a synthesized input · constructed an object; no result was computed
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("f0d8b6422efbc32b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

PositionEmbeddingLearned1D Ran
ran on a synthesized input · constructed an object; no result was computed
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("4540da9676418320")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

PositionEmbeddingLearned2D Ran
ran on a synthesized input · constructed an object; no result was computed
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("569b6ec13ba1bb7c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

PositionEmbeddingSine1D Ran
ran on a synthesized input · constructed an object; no result was computed
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("49e02a36dbacc263")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

PositionEmbeddingSine2D Ran
ran on a synthesized input · constructed an object; no result was computed
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("3eee2d3bcb861ce4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

PostNorm Ran
ran on a synthesized input · constructed an object; no result was computed
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("903f3718322122c1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

PreNorm Ran
ran on a synthesized input · constructed an object; no result was computed
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("446aa6353ce96ed3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

Queries Ran
ran on a synthesized input · constructed an object; no result was computed
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("3f805427fbcf3779")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

ThinFeedForward Ran
ran on a synthesized input · constructed an object; no result was computed
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("8bcf0086b949bf6d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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_position_encoding Ran
ran; our contract draft was wrong, not the code
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("1508f01cf4f224d9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

gumbel_softmax Ran
ran; our contract draft was wrong, not the code
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("c8519676aac0e734")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

hard_softmax Ran
ran; our contract draft was wrong, not the code
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("f66bb5953d92d51a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

l2norm Ran
ran; our contract draft was wrong, not the code
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("e4fe846ff705def5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

variable_len_pooling Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("cb5e2837a22f40a5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

Aggregator Not yet run
unverified (harvested, no recorded run)
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("c40d3f0b01f5ae8d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

Block Not yet run
unverified (harvested, no recorded run)
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("da0442761fe33eed")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

CrossModalAttention Not yet run
unverified (harvested, no recorded run)
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("2dabab02658f440e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

EncoderImage Not yet run
unverified (harvested, no recorded run)
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("5be60a5fd6a2851d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

ImageTextEncoders Not yet run
unverified (harvested, no recorded run)
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("e5aacceaaae4495b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

SetPredictionModule Not yet run
unverified (harvested, no recorded run)
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("96fccb2494df3e07")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

TransformerLayer Not yet run
unverified (harvested, no recorded run)
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("096e6b33de7b678c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

VisionTransformer Not yet run
unverified (harvested, no recorded run)
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("19f4e674b83797e4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

get_img_backbone Not yet run
unverified (harvested, no recorded run)
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("5410c76c8cff05de")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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.

init_weights Not yet run
unverified (harvested, no recorded run)
kdwonn/SaG/model/cross_modal_attention.py
pointer only (licence: NONE) · get_code("41a107753d1ebf36")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, kdwonn/SaG 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 29 samples lifted from this paper's linked repositories, 29 carry a function identity and 0 do not. Of the 29 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 1 later) and 27 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
GEGLU
brick of this paper's assembly: helper
11 other papers
8 dated earlier, 3 later · 5 only as an assembly brick
1706.03762 (2017-06)
Attention Is All You Need
2102.05095 (2021-02)
Is Space-Time Attention All You Need for Video Understanding?
2103.03206 (2021-03)
Perceiver: General Perception with Iterative Attention
and 8 more not named here
PreNorm
brick of this paper's assembly: helper
4 other papers
4 dated earlier · 2 only as an assembly brick
2103.03206 (2021-03)
Perceiver: General Perception with Iterative Attention
2107.14795 (2021-07)
Perceiver IO: A General Architecture for Structured Inputs & Outputs
2210.11170 (2022-10)
Coordinates Are NOT Lonely -Codebook Prior Helps Implicit Neural 3D Representations
and 1 more not named here

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

Referring image segmentation, the task of segmenting any arbitrary entities described in free-form texts, opens up a variety of vision applications. However, manual labeling of training data for this task is prohibitively costly, leading to lack of labeled data for training. We address this issue by a weakly supervised learning approach using text descriptions of training images as the only source of supervision. To this end, we first present a new model that discovers semantic entities in input image and then combines such entities relevant to text query to predict the mask of the referent. We also present a new loss function that allows the model to be trained without any further supervision. Our method was evaluated on four public benchmarks for referring image segmentation, where it clearly outperformed the existing method for the same task and recent open-vocabulary segmentation models on all the benchmarks.

For agents

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

get_harvested_code_for_paper("2308.15512")
get_code_for_paper("2308.15512")
have("2308.15512")

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

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

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

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

Connect an agent — have() is free.