SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.12198 · 2023

Mask Grounding for Referring Image Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

10 of 13 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; 10 failures of our instrument; 3 no recorded run); 2 of them were also run on the host, not in the jail, by the peer-agreement lane that set their level, 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/2312.12198.json · badge: /api/ran/2312.12198.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
yxchng/mask-grounding canonical (classifier label)
classifier basis: census
10 ran · 3 no recorded run
FunctionStatusWhere it lives
swish Ran
ran; our contract draft was wrong, not the code
yxchng/mask-grounding/bert/activations.py
pointer only (licence: AGPL-3.0) · get_code("0f786c407fb1ee4c")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, yxchng/mask-grounding, is not in the permissive set Syntology serves inline. 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.

window_partition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yxchng/mask-grounding/lib/backbone.py
pointer only (licence: AGPL-3.0) · get_code("144d10b49baeb8a6")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, yxchng/mask-grounding, is not in the permissive set Syntology serves inline. 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.

find_pruneable_heads_and_indices Ran
ran; our contract draft was wrong, not the code
yxchng/mask-grounding/bert/modeling_utils.py
pointer only (licence: AGPL-3.0); the stored copy get_code serves, from lsan2401/rmsin, is pointer only (licence: NONE) · get_code("b239247b87d4f3dc")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, yxchng/mask-grounding, is not in the permissive set Syntology serves inline. 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.

gelu_fast Ran
ran; our contract draft was wrong, not the code
yxchng/mask-grounding/bert/activations.py
pointer only (licence: AGPL-3.0) · get_code("a4475703ff58ecf9")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, yxchng/mask-grounding, is not in the permissive set Syntology serves inline. 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.

gelu_new Ran
ran; our contract draft was wrong, not the code
yxchng/mask-grounding/bert/activations.py
pointer only (licence: AGPL-3.0) · get_code("dc9ffc0f29e7fa3d")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, yxchng/mask-grounding, is not in the permissive set Syntology serves inline. 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.

mish Ran
ran; our contract draft was wrong, not the code
yxchng/mask-grounding/bert/modeling_bert.py
pointer only (licence: AGPL-3.0); the stored copy get_code serves, from lsan2401/rmsin, is pointer only (licence: NONE) · get_code("22b41155e451683b")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, yxchng/mask-grounding, is not in the permissive set Syntology serves inline. 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.

pad_if_smaller Ran
ran; our contract draft was wrong, not the code
yxchng/mask-grounding/transforms.py
pointer only (licence: AGPL-3.0) · get_code("452475fb6da97402")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, yxchng/mask-grounding, is not in the permissive set Syntology serves inline. 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.

prune_conv1d_layer Ran
ran; our contract draft was wrong, not the code
yxchng/mask-grounding/bert/modeling_utils.py
pointer only (licence: AGPL-3.0); the stored copy get_code serves, from lsan2401/rmsin, is pointer only (licence: NONE) · get_code("b3ee64494a3b6d38")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, yxchng/mask-grounding, is not in the permissive set Syntology serves inline. 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.

prune_linear_layer Ran
ran; our contract draft was wrong, not the code
yxchng/mask-grounding/bert/modeling_utils.py
pointer only (licence: AGPL-3.0); the stored copy get_code serves, from lsan2401/rmsin, is pointer only (licence: NONE) · get_code("a37615738b3ddcd3")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, yxchng/mask-grounding, is not in the permissive set Syntology serves inline. 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.

window_reverse Ran
ran; our contract draft was wrong, not the code
yxchng/mask-grounding/lib/backbone.py
pointer only (licence: AGPL-3.0) · get_code("61bf152e6a42a184")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, yxchng/mask-grounding, is not in the permissive set Syntology serves inline. 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.

lavt Not yet run
unverified (harvested, no recorded run)
yxchng/mask-grounding/lib/multimodal_segmentation.py
pointer only (licence: AGPL-3.0) · get_code("67fee1d4b5d4493d")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, yxchng/mask-grounding, is not in the permissive set Syntology serves inline. 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.

lavt_one Not yet run
unverified (harvested, no recorded run)
yxchng/mask-grounding/lib/multimodal_segmentation.py
pointer only (licence: AGPL-3.0); the stored copy get_code serves, from lsan2401/rmsin, is pointer only (licence: NONE) · get_code("2944cc78660b63ff")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, yxchng/mask-grounding, is not in the permissive set Syntology serves inline. 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_tf_weights_in_bert Not yet run
unverified (harvested, no recorded run)
yxchng/mask-grounding/bert/modeling_bert.py
pointer only (licence: AGPL-3.0); the stored copy get_code serves, from lsan2401/rmsin, is pointer only (licence: NONE) · get_code("fb9398de2966d6de")
How it ran

The body of this sample is withheld: AGPL-3.0, as GitHub detects it on this paper's repository, yxchng/mask-grounding, is not in the permissive set Syntology serves inline. 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 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 13 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 11 the same month, 10 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
window_reverse 227 other papers
130 dated earlier, 10 the same month, 78 later, 9 same year, order not determinable · 34 only as an assembly brick
1608.03983 (2016-08)
SGDR: Stochastic Gradient Descent with Warm Restarts
1711.10925 (2017-11)
Deep Image Prior
2003.13678 (2020-03)
Designing Network Design Spaces
and 224 more not named here
window_partition 223 other papers
128 dated earlier, 10 the same month, 76 later, 9 same year, order not determinable · 32 only as an assembly brick
1706.03762 (2017-06)
Attention Is All You Need
1711.10925 (2017-11)
Deep Image Prior
2003.13678 (2020-03)
Designing Network Design Spaces
and 220 more not named here
swish 206 other papers
167 dated earlier, 3 the same month, 36 later · 44 only as an assembly brick
1408.5882 (2014-08)
Convolutional Neural Networks for Sentence Classification
1805.12114 (2018-05)
Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Models
1809.01357 (2018-09)
Zero Shot Learning for Code Education: Rubric Sampling with Deep Learning Inference
and 203 more not named here
prune_linear_layer 29 other papers
26 dated earlier, 1 the same month, 2 later
1810.04805 (2018-10)
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
1906.08230 (2019-06)
Evaluating Protein Transfer Learning with TAPE
1906.08237 (2019-06)
XLNet: Generalized Autoregressive Pretraining for Language Understanding
and 26 more not named here
gelu_new 24 other papers
18 dated earlier, 6 later
2004.10964 (2020-04)
Don't Stop Pretraining: Adapt Language Models to Domains and Tasks
2104.08066 (2021-04)
Effect of Visual Extensions on Natural Language Understanding in Vision-and-Language Models
2104.08400 (2021-04)
Structure-Aware Abstractive Conversation Summarization via Discourse and Action Graphs
and 21 more not named here
gelu_fast 22 other papers
16 dated earlier, 6 later
2010.03957 (2020-10)
Transformers for Modeling Physical Systems
2104.08066 (2021-04)
Effect of Visual Extensions on Natural Language Understanding in Vision-and-Language Models
2104.08400 (2021-04)
Structure-Aware Abstractive Conversation Summarization via Discourse and Action Graphs
and 19 more not named here
mish 19 other papers
16 dated earlier, 1 the same month, 2 later
2006.04884 (2020-06)
On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselines
2007.12223 (2020-07)
The Lottery Ticket Hypothesis for Pre-trained BERT Networks
2012.07463 (2020-12)
Parameter-Efficient Transfer Learning with Diff Pruning
and 16 more not named here
load_tf_weights_in_bert 16 other papers
14 dated earlier, 1 the same month, 1 later
2006.04884 (2020-06)
On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselines
2007.12223 (2020-07)
The Lottery Ticket Hypothesis for Pre-trained BERT Networks
2012.07463 (2020-12)
Parameter-Efficient Transfer Learning with Diff Pruning
and 13 more not named here
prune_conv1d_layer 16 other papers
14 dated earlier, 1 the same month, 1 later
1906.08237 (2019-06)
XLNet: Generalized Autoregressive Pretraining for Language Understanding
1909.05311 (2019-09)
Graph-Based Reasoning over Heterogeneous External Knowledge for Commonsense Question Answering
1909.11942 (2019-09)
ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
and 13 more not named here
pad_if_smaller 4 other papers
2 dated earlier, 1 the same month, 1 later
2206.07557 (2022-06)
How to Reduce Change Detection to Semantic Segmentation
2308.13853 (2023-08)
Beyond One-to-One: Rethinking the Referring Image Segmentation
2312.12470 (2023-12)
Rotated Multi-Scale Interaction Network for Referring Remote Sensing Image Segmentation
and 1 more not named here
find_pruneable_heads_and_indices 3 other papers
2 dated earlier, 1 the same month
2308.13853 (2023-08)
Beyond One-to-One: Rethinking the Referring Image Segmentation
2309.01017 (2023-09)
Contrastive Grouping with Transformer for Referring Image Segmentation
2312.12470 (2023-12)
Rotated Multi-Scale Interaction Network for Referring Remote Sensing Image Segmentation
lavt 1 other paper
1 the same month
2312.12470 (2023-12)
Rotated Multi-Scale Interaction Network for Referring Remote Sensing Image Segmentation
lavt_one 1 other paper
1 the same month
2312.12470 (2023-12)
Rotated Multi-Scale Interaction Network for Referring Remote Sensing Image 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

Referring Image Segmentation (RIS) is a challenging task that requires an algorithm to segment objects referred by free-form language expressions. Despite significant progress in recent years, most state-of-the-art (SOTA) methods still suffer from considerable language-image modality gap at the pixel and word level. These methods generally 1) rely on sentence-level language features for language-image alignment and 2) lack explicit training supervision for fine-grained visual grounding. Consequently, they exhibit weak object-level correspondence between visual and language features. Without well-grounded features, prior methods struggle to understand complex expressions that require strong reasoning over relationships among multiple objects, especially when dealing with rarely used or ambiguous clauses. To tackle this challenge, we introduce a novel Mask Grounding auxiliary task that significantly improves visual grounding within language features, by explicitly teaching the model to learn fine-grained correspondence between masked textual tokens and their matching visual objects. Mask Grounding can be directly used on prior RIS methods and consistently bring improvements. Furthermore, to holistically address the modality gap, we also design a cross-modal alignment loss and an accompanying alignment module. These additions work synergistically with Mask Grounding. With all these techniques, our comprehensive approach culminates in MagNet (Mask-grounded Network), an architecture that significantly outperforms prior arts on three key benchmarks (RefCOCO, RefCOCO+ and G-Ref), demonstrating our method's effectiveness in addressing current limitations of RIS algorithms. Our code and pre-trained weights will be released.

For agents

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

get_harvested_code_for_paper("2312.12198")
get_code_for_paper("2312.12198")
have("2312.12198")

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

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

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

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

Connect an agent — have() is free.