Papers › GRiT: A Generative Region-to-text Transformer for Object Understanding

GRiT: A Generative Region-to-text Transformer for Object Understanding

1 Dec 2022arXiv:2212.00280archive 2025-07-28

Jialian Wu, JianFeng Wang, Zhengyuan Yang, Zhe Gan, Zicheng Liu, Junsong Yuan, Lijuan Wang

This paper presents a Generative RegIon-to-Text transformer, GRiT, for object understanding. The spirit of GRiT is to formulate object understanding as <region, text> pairs, where region locates objects and text describes objects. For example, the text in object detection denotes class names while that in dense captioning refers to descriptive sentences. Specifically, GRiT consists of a visual encoder to extract image features, a foreground object extractor to localize objects, and a text decoder to generate open-set object descriptions. With the same model architecture, GRiT can understand objects via not only simple nouns, but also rich descriptive sentences including object attributes or actions. Experimentally, we apply GRiT to object detection and dense captioning tasks. GRiT achieves 60.4 AP on COCO 2017 test-dev for object detection and 15.5 mAP on Visual Genome for dense captioning. Code is available at https://github.com/JialianW/GRiT

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2212.00280")

Code

Syntology Ran 6 of 8 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 4 ran with no contract checked.

By repository: official repository: 8 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

JialianW/GRiT officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

8 samples harvested; 6 ran; 1 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
4ran
2unverified

Licence: 8 of the 8 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from JialianW/GRiT. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_rel_pos JialianW/GRiT/grit/modeling/backbone/utils.py official repository ran MIT recorded; this copy not marked cleared · pointer only · edb9869f131321d2 · report
get_vit_lr_decay_rate JialianW/GRiT/grit/custom_solver.py official repository ran · honoured contract fingerprinted MIT recorded; this copy not marked cleared · pointer only · 08bf7ecdb2fffe84 · report
qk2attn JialianW/GRiT/grit/modeling/text/modeling_bert.py official repository ran MIT recorded; this copy not marked cleared · pointer only · 070e8bf494b411b6 · report
url_to_filename JialianW/GRiT/grit/modeling/text/file_utils.py official repository ran · our draft was wrong fingerprinted MIT recorded; this copy not marked cleared · pointer only · 5eff22fa0a651276 · report
window_partition JialianW/GRiT/grit/modeling/backbone/utils.py official repository ran fingerprinted MIT recorded; this copy not marked cleared · pointer only · 750facb8c52e8864 · report
window_unpartition JialianW/GRiT/grit/modeling/backbone/utils.py official repository ran MIT recorded; this copy not marked cleared · pointer only · 535942f820542fb9 · report
cached_path JialianW/GRiT/grit/modeling/text/file_utils.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · 4e91fb4390008086 · report
filename_to_url JialianW/GRiT/grit/modeling/text/file_utils.py official repository unverified MIT recorded; this copy not marked cleared · pointer only · a6aab787fcf8b10d · report

Tasks

DecoderDense CaptioningDescriptiveObjectObject Detectionobject-detection

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Dense Captioning Visual Genome GRiT (ViT-B) mAP 15.5 #2 of 4 Archive leaderboard report
Object Detection COCO test-dev GRiT (ViT-H, single-scale testing) box mAP 60.4 #29 of 225 Archive leaderboard report
Object Detection COCO-O GRiT (ViT-H) Average mAP 42.9 #4 of 45 Archive leaderboard report
Object Detection COCO-O GRiT (ViT-H) Effective Robustness 15.72 #4 of 45 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections