Grounding DINO Open Boxes
Guide DINO queries with text so each query hunts a phrase-named object. Language picks which image spots become boxes.
Why Does This Exist?
Plain DINO queries learn dataset-common spots and miss rare phrases. Grounding DINO picks queries by text-image similarity, then fuses both streams through deformable attention. New phrases retrieve their own boxes in open-vocabulary detection tests.
This page covers text-guided queries only. Word-region pretraining basics are the GLIP page.
The one idea you need first.
Decoder queries start from image spots most similar to text . Fusion layers mix with image plus text . Box plus phrase scores train jointly.
Think of It Like This
Sniffer dogs briefed with a scent cloth
Dogs run free without scent, but a cloth with the target smell focuses the search. Each team quarters only ground matching the scent.
Queries are dogs, text cloth is the phrase, and similarity picks the field. Where it stops: dogs tire, while queries score all spots at once.
How It Actually Works
Encode image and text . Select top spots by as queries. Decode with self plus image plus text cross-attention. Pay box plus GIoU plus phrase classification. Pretrain on Objects365 plus GoldG plus Cap4M mixes.
In plain words: text selects where to look, fusion reads what sits there, and boxes name the pick.
Worked example
Nine hundred queries reduce to by text similarity. True box IoU for top query versus for a text-blind pick. Loss plus GIoU plus class totals . Text selection cuts the misses that blind queries keep.
Watch Out For
Long phrases confusing query choice
Twenty-word phrases dilute similarity and queries scatter. Grounding on visual grounding longs sags. Shorten to nouns plus relations or weight nouns higher in the text encoder.
The Quick Version
- Grounding DINO guides queries with text similarity.
- Image plus text fusion shapes each box.
- Box L1 plus GIoU plus phrase loss train jointly.
- Broad grounding mixes supply open phrases.
- Text selection lifts rare-object recall.