All models

RefTR

One-stage transformer that locates the image region a referring expression describes.

Multimodal · 1,920 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (122 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
152M
Operations
1,920
Framework
PyTorch
Recurrent
No
Published
NeurIPS 2021
Cited by
109 (as of 27 October 2026)
Authors
Muchen Li, Leonid Sigal
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19793
Graph hash
d6dff5fe2161a2aea630b05754440293738678688a5b439d84225fadc614f859
Skeleton hash
89bc1b5aa7ef389a7c230b347e96eb510d36044184a881f444a204bdac0fb2db
Architecture hash
70b823f203bc0578c75f0db0fe92cea849ae6bdf89d164c27635c0fa543e7d9a
Diagram SHA-256
8cb396bf95179705db3161b9243191ed1a818c9da6dedadbbdd999f1a3335dfe
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

RefTR, the Referring Transformer, is a one-stage multi-task framework for visual grounding. The paper lists phrase localization and referring expression comprehension (REC) and segmentation (RES) as visual grounding tasks. By its account, earlier REC and RES approaches either had limited performance because of a two-stage setup or needed complex task-specific one-stage architectures.

The model is a transformer in which the two modalities, image and language, are fused in a visual-lingual encoder. In the paper's design the decoder learns to generate contextualized lingual queries, which are decoded and used to regress the bounding box directly and to produce a segmentation mask for the referred region.

The paper reports that the model outperformed earlier methods on both REC and RES tasks. It also reports that a simple pre-training schedule on an external dataset improves performance further. Its experiments and ablations attribute much of the benefit to contextualized information and multi-task training.

Key idea. The paper builds a one-stage transformer that fuses image and language in one encoder and decodes contextualized lingual queries into bounding boxes and segmentation masks.

  • RefTR
  • Referring Transformer
  • visual grounding
  • referring expression comprehension
  • referring expression segmentation
  • phrase localization
  • one-stage visual grounding
  • multi-task visual grounding

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{li2021referringtransformeronestepapproach,
      title={Referring Transformer: A One-step Approach to Multi-task Visual Grounding}, 
      author={Muchen Li and Leonid Sigal},
      year={2021},
      eprint={2106.03089},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2106.03089}, 
}