[Paper Review] GRiT: A Generative Region-to-text Transformer for Object Understanding
GRiT proposes open-set object understanding by generating region-to-text descriptions for objects, unifying object detection and dense captioning, achieving 60.4 AP on COCO and 15.5 mAP on Visual Genome.
This paper presents a Generative RegIon-to-Text transformer, GRiT, for object understanding. The spirit of GRiT is to formulate object understanding as 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
Motivation & Objective
- Motivate moving beyond closed-set object classification by enabling free-form region descriptions.
- Formulate object understanding as <region, text> pairs to describe objects.
- Develop a unified framework that handles both object detection and dense captioning.
- Enable open-set, descriptive spell-out of object concepts without predefined category lists.
- Investigate how task-specific descriptions can be generated within a single model.
- Explore zero-shot and incremental learning capabilities for new concepts.
Proposed method
- Three-component architecture: visual encoder, foreground object extractor, and text decoder.
- Object features are cropped from multi-scale visual features for the decoder to generate text tokens autoregressively.
- Text is generated as WordPiece tokens via a 6-layer transformer with a [task] begin token to control style (short vs. long descriptions).
- Special begin tokens {[task]i} guide multi-task training to produce task-specific descriptions.
- Training combines object detection losses (L_o) with language modeling loss (L_t) over generated tokens, with 0.1 label smoothing.
- Inference uses beam search on the text decoder to produce multiple descriptions per object when helpful.
Experimental results
Research questions
- RQ1Can GRiT perform open-set object understanding by generating descriptive text for region proposals without a predefined category list?
- RQ2Can a single model unify object detection and dense captioning, and how should task styles be controlled during training and inference?
- RQ3What is the impact of pre-training, object feature size, beam search, and incremental training on performance?
- RQ4How does GRiT compare to closed-set detectors and prior dense captioning models on COCO and Visual Genome?
- RQ5Is zero-shot object understanding feasible with a GIT-pretrained backbone adapted to region-level descriptions?
Key findings
- GRiT achieves 60.4 AP on COCO object detection, comparable to closed-set detectors.
- GRiT achieves 15.5 mAP on Visual Genome dense captioning, surpassing prior dense captioning models.
- Using begin tokens to control task style enables consistent descriptions across tasks rather than mixed outputs.
- MAE pre-training yields strong performance for GRiT across scales, outperforming alternatives like GIT pre-training in several settings.
- GRiT can be trained separately for object detection and dense captioning without architecture changes, preserving task-specific description quality.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.