TransVG
Transformer model that finds the image region a language query refers to by regressing box coordinates.
Multimodal · 1,926 operations Checked
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
- Task
- Multimodal
- Parameters
- 149.7M
- Operations
- 1,926
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICCV 2021
- Cited by
- 400 (as of 27 October 2026)
- Authors
- Jiajun Deng, Zhengyuan Yang, Tianlang Chen and others
- Source
- GitHub: djiajunustc/TransVG
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m21039
- Graph hash
- 47ad4848257bfe6460d5c7e6ca68f701be074e091528bf070ddb5bc632f33211
- Skeleton hash
- 9f654511b850746807bde1eafa942fe881de3d44d295ab68abee1b38c31d4cf8
- Architecture hash
- 6328ea14ea9a1c958f5f357227a42e7de1f76c55473471598d573bf724db82b9
- Diagram SHA-256
- 07529a56a20fce4e41a53684f46669652233b7dc7b9aa71111d8b680c519da68
- 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
TransVG is a transformer-based model for visual grounding: given an image and a language query, it finds the region of the image that the query refers to. Earlier two-stage and one-stage methods relied on a complex module with manually designed mechanisms for query reasoning and multi-modal fusion. The authors argue that mechanisms such as query decomposition and image scene graphs make models overfit easily to datasets with specific scenarios.
TransVG replaces those fusion modules with a simple stack of transformer encoder layers, which the paper reports gave higher performance. It also treats grounding as direct regression of box coordinates, so it makes no selection among candidates such as region proposals or anchor boxes.
The paper was accepted at ICCV 2021. It reports experiments on five datasets. The official repository provides models with ResNet-50 and ResNet-101 backbones. Its codebase is partially based on ReSC and DETR.
Key idea. TransVG fuses image and language with a simple stack of transformer encoder layers and regresses the box coordinates directly, without region proposals or anchor boxes.
- TransVG
- visual grounding
- language query
- box regression
- RefCOCO
- ReferItGame
- vision and language
- end-to-end 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{deng2022transvgendtoendvisualgrounding,
title={TransVG: End-to-End Visual Grounding with Transformers},
author={Jiajun Deng and Zhengyuan Yang and Tianlang Chen and Wengang Zhou and Houqiang Li},
year={2022},
eprint={2104.08541},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2104.08541},
}