GLIP Grounded Detection
Treat every box label as words and align regions to those words during training. Detection and grounding become one job.
Why Does This Exist?
Detection data is dear while grounding phrases are many. GLIP rewrites both as word-region matching over GoldG M pairs plus Objects365 boxes. One head learns nouns plus phrases, lifting open-vocabulary detection and visual grounding together.
This page covers word-region unification only. Later query designs are the Grounding DINO page.
The one idea you need first.
Region meets word in score . Grounding loss matches many words per image; detection loss matches few classes. Deep fusion lets words shape regions early.
Think of It Like This
Labeling museum photos with full captions, not tags
A curator tags photos with single words like dog, then upgrades to full captions naming the brown dog left of the bench. Every noun becomes training, not just the class tag.
Tags are detection labels, captions are grounding text, and alignment is the catalog. Where it stops: museum captions stay clean, while web phrases add noise.
How It Actually Works
Encode regions and words with cross-attention fusion. Score . Pay classification over words plus box and GIoU on matched pairs. Mix detection batches with grounding batches; prompts list classes as a sentence at test time.
In plain words: sentences replace class lists, and fusion puts language into boxes.
Worked example
Caption person in red helmet, regions , words . True links , . Scores true versus rest. Loss per link early, falling to as fusion sharpens. LVIS rare AP rises from to in standard runs.
Watch Out For
Prompt format drift at test time
Training sentences differ from test lists and scores sag points. Comma lists versus periods shift token shapes. Keep prompt igetool formatting fixed between train and test in object detection harnesses.
The Quick Version
- GLIP unifies detection and grounding as word-region matching.
- GoldG 0.8M pairs plus detection data train one head.
- Deep fusion lets words shape region features.
- Test classes arrive as sentence prompts.
- Rare-class detection rises with phrase data.