OWL-ViT Open Token Boxes
Start from CLIP patches, pool tokens into boxes, and score each box against text names. Open phrases work with light tuning.
Why Does This Exist?
CLIP sees whole scenes but no boxes. OWL-ViT adds light box heads on frozen-ish patch tokens with bipartite matching, keeping text scoring. Open-vocabulary detection then runs from a CLIP start with little box data.
This page covers token pooling only. Heavy fusion detectors are the Grounding DINO page.
The one idea you need first.
Patch tokens from ViT pool into box by attention. Score for text . Bipartite matching pairs predictions to truth one-to-one per image.
Think of It Like This
Cookie cutters on a printed sheet
A printed sheet shows many shapes. Small cutters punch out candidate cookies, and name cards score each cookie by look. New cards work without rebaking the sheet.
Patches are the sheet, pooling is the cutter, and text cards are names. Where it stops: dough cuts cleanly, while token pools blur edges.
How It Actually Works
Init from CLIP plus text . Add box MLP plus pooling on . Tune on Objects365 plus Visual Genome with box plus GIoU plus text contrast per matched pair. At test time feed new names as text and keep top boxes.
In plain words: CLIP gives eyes, pooling gives hands, and text gives the name list.
Worked example
One hundred pools, three truths. Matched IoUs , mean . Text scores true versus best other. Loss sums box plus class . One-shot queries with one example image per new class lift rare AP points in standard runs.
Watch Out For
Small boxes lost in coarse tokens
Sixteen-pixel patches smear tiny items and recall sags on object detection small splits. Upscale inputs or use windowed features before blaming text heads.
The Quick Version
- OWL-ViT pools CLIP patch tokens into boxes.
- Text names score each box by similarity.
- Bipartite matching trains one-to-one pairs.
- Light tuning opens a CLIP start to detection.
- One example per class enables one-shot queries.