SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2302.07387 · CVPR · 2023

PolyFormer: Referring Image Segmentation as Sequential Polygon Generation

Zhaowei Cai, Jiang Liu, Vijay Mahadevan, R Manmatha, Yuting Zhang, Ravi Kumar Satzoda, Hui Ding

arXiv · PDF · Open in the Atlas

Code that ran

5 of 6 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 1 no recorded run), measured 2026-11-22; 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/2302.07387.json · badge: /api/ran/2302.07387.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
amazon-science/polygon-transformer canonical (classifier label)
classifier basis not recorded on the link
5 ran · 1 no recorded run
FunctionStatusWhere it lives
BatchNorm2d Ran
ran; our contract draft was wrong, not the code
amazon-science/polygon-transformer/models/polyformer/unify_transformer.py
pointer only (licence: Apache-2.0) · get_code("f18199d037514305")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, amazon-science/polygon-transformer, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

drop_path Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
amazon-science/polygon-transformer/models/polyformer/unify_transformer_layer.py
pointer only (licence: Apache-2.0) · get_code("90fa02b8cae75fe7")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, amazon-science/polygon-transformer, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

make_image_bucket_position Ran
ran, honoured the contract we drafted
amazon-science/polygon-transformer/models/polyformer/unify_transformer.py
pointer only (licence: Apache-2.0) · get_code("fba339cb809b27fe")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, amazon-science/polygon-transformer, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

make_token_bucket_position Ran
ran, honoured the contract we drafted
amazon-science/polygon-transformer/models/polyformer/unify_transformer.py
pointer only (licence: Apache-2.0) · get_code("c0b56d6f87906655")
How it ran

The body of this sample is withheld: Apache-2.0, as GitHub detects it on this paper's repository, amazon-science/polygon-transformer, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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
amazon-science/polygon-transformer/bert/modeling_bert.py
pointer only (licence: Apache-2.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: Apache-2.0, as GitHub detects it on this paper's repository, amazon-science/polygon-transformer, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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.

load_tf_weights_in_bert Not yet run
unverified (harvested, no recorded run)
amazon-science/polygon-transformer/bert/modeling_bert.py
pointer only (licence: Apache-2.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: Apache-2.0, as GitHub detects it on this paper's repository, amazon-science/polygon-transformer, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. 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 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 6 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 6 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
mish 19 other papers
12 dated earlier, 7 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
10 dated earlier, 6 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
BatchNorm2d 2 other papers
2 later
2306.02115 (2023-06)
Table and Image Generation for Investigating Knowledge of Entities in Pre-trained Vision and Language Models
2307.16184 (2023-07)
UnIVAL: Unified Model for Image, Video, Audio and Language Tasks
make_image_bucket_position 2 other papers
2 later
2306.02115 (2023-06)
Table and Image Generation for Investigating Knowledge of Entities in Pre-trained Vision and Language Models
2307.16184 (2023-07)
UnIVAL: Unified Model for Image, Video, Audio and Language Tasks
make_token_bucket_position 2 other papers
2 later
2306.02115 (2023-06)
Table and Image Generation for Investigating Knowledge of Entities in Pre-trained Vision and Language Models
2307.16184 (2023-07)
UnIVAL: Unified Model for Image, Video, Audio and Language Tasks
drop_path 1 other paper
1 later
2307.16184 (2023-07)
UnIVAL: Unified Model for Image, Video, Audio and Language Tasks

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-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In this work, instead of directly predicting the pixel-level segmentation masks, the problem of referring image segmentation is formulated as sequential polygon generation, and the predicted polygons can be later converted into segmentation masks. This is enabled by a new sequence-tosequence framework, Polygon Transformer (PolyFormer), which takes a sequence of image patches and text query tokens as input, and outputs a sequence of polygon vertices autoregressively. For more accurate geometric localization, we propose a regression-based decoder, which predicts the precise floating-point coordinates directly, without any coordinate quantization error. In the experiments, PolyFormer outperforms the prior art by a clear margin, e.g., 5.40% and 4.52% absolute improvements on the challenging Re-fCOCO+ and RefCOCOg datasets. It also shows strong generalization ability when evaluated on the referring video segmentation task without fine-tuning, e.g., achieving competitive 61.5% J &F on the Ref-DAVIS17 dataset.

For agents

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

get_harvested_code_for_paper("2302.07387")
get_code_for_paper("2302.07387")
have("2302.07387")

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

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

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

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

Connect an agent — have() is free.