YOLOE: Real-Time Seeing Anything
- Publication
- ICCV 2025Conference
- First submitted to arXiv
- arXiv:2503.07465
Cite this paper · BibTeX
The citation identifies the linked source version. It cites the original paper and its authors.
@misc{objectdetectionyoloe2025,
title = {{YOLOE: Real-Time Seeing Anything}},
author = {Ao Wang and Lihao Liu and Hui Chen and Zijia Lin and Jungong Han and Guiguang Ding},
year = {2025},
eprint = {2503.07465},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2503.07465}
}
By the end of 2024, each of the three roads of open-set detection had been shown to work.
For text prompts there was Grounding DINO, and YOLO-World, which squeezed the idea into YOLO; for visual prompts there was T-Rex2; and for giving no prompt at all and letting the model say what's in the image, there were methods like GenerateU that hook up a language model. IDEA's DINO-X even packed all three into a single model.
But they are all heavy. The authors of this paper are from Tsinghua University, and the first author Ao Wang and the corresponding author Guiguang Ding are also authors of YOLOv10. What they want is a YOLO that takes all three kinds of prompt, does segmentation while it's at it, and runs in real time on a phone.
The E in the name stands for eye, as in "seeing anything, the way a human eye does."

The figure above shows YOLOE's four modes of use with one and the same model; from left to right, the prompts are LVIS's 1,203 category names, six custom phrases, one red dashed box, and nothing at all. Every box also comes with a segmentation mask.
Defining the Problem
All three roads are slow, each for a different reason.
Text prompts. The common way to let text influence image features is cross-modal fusion, such as Grounding DINO's feature enhancer or the text-guided module YOLO-World adds to the PAN. The computation for fusion grows with the vocabulary size, so it slows down as soon as there are many categories.
Visual prompts. T-Rex2 and DINOv both rely on Transformers, using operations like deformable attention to extract prompt features from the image; another camp attaches an extra CLIP image encoder. The former's operators are hard to deploy on edge devices, and the latter adds an entire extra model.
No prompt. To have the model name objects on its own, existing methods treat it as a generation problem and attach a language model that spits out category names token by token. GenerateU uses FlanT5-base with 250 million parameters, and DINO-X uses OPT-125M with 125 million, both too heavy for real-time detection.
DINO-X proved that all three kinds of prompt can live in one model, but both its training and its inference are expensive. The question YOLOE wants to answer is whether each kind of prompt can be made cheap enough to fit into YOLO.
Solving the Problem

YOLOE's skeleton is just an ordinary YOLO (v8 or 11). The backbone and PAN produce three feature levels, and each position (anchor point) feeds three heads. The regression head outputs boxes, the segmentation head outputs masks the YOLACT way, and the third head is a modified classification head.
In the original YOLO, the last layer of the classification head is a 1×1 convolution whose number of output channels equals the number of categories, 80 for COCO, for instance. YOLOE changes it to output a -dimensional object embedding, with in the official code. Classification then becomes a dot product between the object embeddings and the prompt embeddings:
For a 640×640 input, the three feature maps are 80×80, 40×40 and 20×20, for a total of anchor points. is the number of prompts, which can be 3 phrases or LVIS's 1,203 category names.
The paper's three new designs all answer where comes from, and all of them have to be cheap.
Text: RepRTA
On the text side, the authors simply removed cross-modal fusion; the image features never look at the text at all.
That makes alignment worse, so it has to be made up some other way. The text first goes through a CLIP text encoder (MobileCLIP-B(LT)) to get the embeddings . These embeddings are all computed and stored before training, so the text encoder can be removed entirely during training.
Then a tiny auxiliary network , consisting of just one SwiGLU feed-forward layer, is added after . Training uses in place of , letting the text embeddings adapt to the object embeddings on the image side:

The neat thing about this auxiliary network is that it can disappear once training is done.
Let's write out the last step of the classification head. The last layer of the object embedding head is a 1×1 convolution whose weights turn the -dimensional features into -dimensional object embeddings; these are then dotted with the text embeddings:
A 1×1 convolution is just a matrix multiplication at each position, and the dot product after it is another matrix multiplication. The two linear operations can be merged ahead of time:
is a 1×1 convolution with output channels. Using it to replace the original last layer gives , exactly the same shape as the classification head of a closed-set YOLO with categories.
At deployment, the text encoder is gone and the auxiliary network has been absorbed into the convolution weights, so the inference cost is exactly the same as an ordinary YOLO's. This is what "Re-parameterizable" refers to.
Visual: SAVPE
The problem for visual prompts is how to turn "the region boxed in the image" into a 512-dimensional vector without using a Transformer.
The simplest approach is mask pooling, averaging the features of all the positions in the region. But the positions in a region don't all matter equally; half of a box might be background.
SAVPE (Semantic-Activated Visual Prompt Encoder) uses two branches to compute a weighted average:

- The semantic branch is independent of the prompt. The three feature levels P3 to P5 each go through two 3×3 convolutions, are upsampled to the same size and concatenated, and are projected into . Its structure is the same as the object embedding head's, and you can think of it as "the semantic features at each position."
- The activation branch decides "where matters." The visual prompt is first turned into a mask (1 inside the box, 0 outside), downsampled and passed through a 3×3 convolution to get ; the image features are also projected into . The two are concatenated to output weight maps , with the softmax taken only within the prompt region.
is deliberately kept small. The official setting is , just 1/32 of 512, so the branch that handles the prompt is very cheap.
Finally, the 512 channels of the semantic features are split into 16 groups of 32 channels each; group takes a weighted average with weight map , giving a 32-dimensional vector. Concatenating the 16 groups gives the 512-dimensional prompt embedding:
Each group of channels can look at different positions within the box, which is finer-grained than averaging everything together.
No Prompt: LRPC
With no prompt at all, the model has to find every object on its own and come up with their names as well.
YOLOE doesn't generate names; it looks them up instead. It has a large built-in vocabulary, the tag list of RAM++, with 4,585 category names.
The most direct approach would be to use all 4,585 names as text prompts and have each of the 8,400 anchor points compute against all of them. That is wasteful, because the vast majority of anchor points have no object on them at all.
LRPC (Lazy Region-Prompt Contrast) first trains a specialized prompt embedding whose only job is to answer "is there something here," with all objects counted as one category. Only the anchor points whose score exceeds a threshold go on to be compared against the vocabulary:
According to the statistics in the appendix, at YOLOE-v8-S has 80% fewer anchor points that need a vocabulary lookup.
Training
Training has three stages, and the last two are both very short:
- Text prompts: 30 epochs. YOLO-World uses 100.
- Visual prompts: everything else is frozen and only SAVPE is trained, for 2 epochs.
- No prompt: only the specialized embedding is trained, for 1 epoch.
The data is Objects365 v1 and GoldG (GQA and Flickr30k), with COCO's images deliberately excluded. The detection data has boxes but no masks, so the authors use SAM 2.1 with the annotated boxes as prompts to generate pseudo-masks, then filter out the ones that are too small and smooth the edges.
YOLOE-v8-L trains in 22.5 hours on 8 RTX 4090s; YOLO-Worldv2-L, at the same scale, takes 80 hours.
Discussion
Text and Visual Prompts

This figure is the result YOLOE wants you to remember. The left looks at training time, and there YOLOE's line lies to the upper left of YOLO-Worldv2's, cheaper to train and more accurate; the middle and right look at speed on two kinds of device, and there YOLOE sits to the upper right, which means faster and more accurate.
The numbers in detail:
| Model | Params | Training time | T4/iPhone 12 FPS | LVIS AP | APr |
|---|---|---|---|---|---|
| YOLO-Worldv2-S | 13M | 41.7h | 216.4/48.9 | 24.4 | 17.1 |
| YOLO-Worldv2-M | 29M | 60.0h | 117.9/34.2 | 32.4 | 28.4 |
| YOLO-Worldv2-L | 48M | 80.0h | 80.0/22.1 | 35.5 | 25.6 |
| YOLOE-v8-S | 12M | 12.0h | 305.8/64.3 | 27.9 | 22.3 |
| YOLOE-v8-M | 27M | 17.0h | 156.7/41.7 | 32.6 | 26.9 |
| YOLOE-v8-L | 45M | 22.5h | 102.5/27.2 | 35.9 | 33.2 |
Compiled from Table 1 of the paper, text prompts, LVIS minival zero-shot Fixed AP.
The S version shows the biggest gap, 3.5 AP higher and 1.4 times as fast; the M and L versions are only 0.2 and 0.4 AP higher, and win mainly on speed and training cost. Rare-category APr improves considerably for both the S and L versions (+5.2 and +7.6).
The authors also note that the M and L versions have lower APf, the AP on frequent categories, than YOLO-Worldv2 (for example, 37.3 vs. 38.1 for L), because YOLOE also trains segmentation, and multi-task learning eats up a bit of detection performance.
For visual prompts, the same YOLOE-v8-L switched to SAVPE gets 34.2 LVIS AP. The paper compares it with T-Rex2, stressing that its APr is 3.3 higher (33.2 vs. 29.9) with only about half of T-Rex2's training data (1.4 million vs. 3.1 million images). But T-Rex2 is higher in overall AP (37.4 vs. 34.2), and YOLOE's frequent-category APf trails by a wide margin (34.1 vs. 41.8). YOLOE wins on rare categories and cost, while T-Rex2 still has the better overall accuracy.
For segmentation, YOLOE-v8-L's zero-shot mask AP on LVIS val is 23.5, higher even than YOLO-Worldv2-L (19.8), whose segmentation head was fine-tuned on LVIS-Base.
No Prompt
| Model | Params | LVIS AP | APr | FPS |
|---|---|---|---|---|
| GenerateU (Swin-T) | 297M | 26.8 | 20.0 | 0.48 |
| GenerateU (Swin-L) | 467M | 27.9 | 22.3 | 0.40 |
| YOLOE-v8-L | 47M | 27.2 | 23.5 | 25.3 |
Compiled from Table 3 of the paper, LVIS minival Fixed AP, with speed measured in PyTorch on a T4.
YOLOE-v8-L scores 0.4 AP above GenerateU's Swin-T version with a sixth of its parameters, and runs 53 times as fast. Against the Swin-L version, its AP is still 0.7 lower.
The evaluation method deserves a note. The names the model outputs come from the 4,585-word vocabulary and won't necessarily be LVIS category names, so evaluation uses a text encoder to map each output to the closest LVIS category, a procedure that follows GenerateU's protocol.
From YOLO-World to YOLOE, Step by Step
The authors turn YOLO-Worldv2-L into YOLOE one step at a time, with the gains and losses of every step listed in a table:
| Step | Epochs | AP | APr | T4/iPhone FPS |
|---|---|---|---|---|
| YOLO-Worldv2-L | 100 | 33.0 | 22.6 | 80.0/22.1 |
| +Shorter training | 30 | 31.0 | 22.6 | 80.0/22.1 |
| +Global negative dictionary | 30 | 31.9 | 22.8 | 80.0/22.1 |
| −Cross-modal fusion | 30 | 30.0 | 19.1 | 102.5/27.2 |
| +MobileCLIP text encoder | 30 | 31.5 | 20.2 | 102.5/27.2 |
| +RepRTA | 30 | 33.5 | 29.5 | 102.5/27.2 |
| +Segmentation (YOLOE) | 30 | 33.3 | 30.8 | 102.5/27.2 |
Compiled from Table 5 of the paper, LVIS minival zero-shot, standard AP (unlike the Fixed AP above).
Going down the table:
- Cutting training from 100 epochs to 30 costs 2.0 AP.
- Removing cross-modal fusion costs another 1.9 AP, and APr drops by 3.7, but it becomes 1.28 times as fast on a T4. This step is the trade-off at the heart of the design, securing the speed first.
- Switching to the stronger MobileCLIP text encoder wins back 1.5.
- RepRTA adds back 2.0 AP, and rare-category APr jumps from 20.2 to 29.5, with inference cost completely unchanged.
- Adding segmentation costs 0.2 AP and 0.9 APf, in exchange for the ability to segment.
The final YOLOE, trained for only 30 epochs, is 0.3 AP higher than the 100-epoch YOLO-Worldv2-L, 8.2 higher in APr, and 1.28 times as fast.
SAVPE and LRPC
The SAVPE ablation is simple. Removing the activation branch and averaging with mask pooling instead drops LVIS AP from 31.9 to 30.4. With group it is 30.9, and with and it is 31.9 in both cases, so the default is 16.
LRPC is all about speed. Without LRPC, using the 4,585 words directly as prompts, YOLOE-v8-S runs at 56.5 FPS; with it, AP is exactly the same (21.0) and speed rises to 95.8 FPS. The L version goes from 19.9 to 25.3 FPS. Raising the threshold further to 0.01 lets the S version reach 106 FPS at a cost of only 0.2 AP.
Transfer to COCO
How does an open-set model do when it is put to a closed-set downstream task?
Training only the classification head (linear probing) for 10 epochs, YOLOE-11-L gets 45.1 AP on COCO, about 85% of YOLO11-L trained from scratch for 600 epochs (53.3). Fine-tuning all parameters for 80 epochs, YOLOE-v8-L gets 53.0 AP and 42.7 mask AP, above YOLOv8-L trained from scratch for 300 epochs (52.4 and 42.3).
Conclusion
For each of the three kinds of prompt, the most expensive part is taken out. Text does without cross-modal fusion, visual does without Transformers, and prompt-free does without a language model; each then gets one small design that wins the accuracy back. RepRTA, for one, adds a SwiGLU during training that vanishes at deployment along with the text encoder, leaving just an ordinary YOLO.
There are places where it doesn't win, too. Its overall accuracy with visual prompts falls short of T-Rex2, and because it also trains segmentation, its frequent-category APf is slightly below YOLO-World's.
YOLOE was later integrated into Ultralytics, where you just call model.set_classes(["red hat", "mustache"]) and then predict or export as usual. On export, the open-vocabulary modules are re-parameterized into a standard YOLO head, so if you want to change the categories, remember to call set_classes again and export once more.