We introduce YOLOE(ye), a highly efficient, unified, and open object detection and segmentation model, like human eye, under different prompt mechanisms, like texts, visual inputs, and prompt-free paradigm.
Abstract
Object detection and segmentation are widely employed in computer vision applications, yet conventional models like YOLO series, while efficient and accurate, are limited by predefined categories, hindering adaptability in open scenarios. Recent open-set methods leverage text prompts, visual cues, or prompt-free paradigm to overcome this, but often compromise between performance and efficiency due to high computational demands or deployment complexity. In this work, we introduce YOLOE, which integrates detection and segmentation across diverse open prompt mechanisms within a single highly efficient model, achieving real-time seeing anything. For text prompts, we propose Re-parameterizable Region-Text Alignment (RepRTA) strategy. It refines pretrained textual embeddings via a re-parameterizable lightweight auxiliary network and enhances visual-textual alignment with zero inference and transferring overhead. For visual prompts, we present Semantic-Activated Visual Prompt Encoder (SAVPE). It employs decoupled semantic and activation branches to bring improved visual embedding and accuracy with minimal complexity. For prompt-free scenario, we introduce Lazy Region-Prompt Contrast (LRPC) strategy. It utilizes a built-in large vocabulary and specialized embedding to identify all objects, avoiding costly language model dependency. Extensive experiments show YOLOE's exceptional zero-shot performance and transferability with high inference efficiency and low training cost. Notably, on LVIS, with $3\times$ less training cost and $1.4\times$ inference speedup, YOLOE-v8-S surpasses YOLO-Worldv2-S by 3.5 AP. When transferring to COCO, YOLOE-v8-L achieves 0.6 $AP^b$ and 0.4 $AP^m$ gains over closed-set YOLOv8-L with nearly $4\times$ less training time.
Performance
Zero-shot detection evaluation
Fixed AP is reported on LVIS minival set with text (T) / visual (V) prompts.
Training time is for text prompts with detection based on 8 Nvidia RTX4090 GPUs.
FPS is measured on T4 with TensorRT and iPhone 12 with CoreML, respectively.
For training data, OG denotes Objects365v1 and GoldG.
YOLOE can become YOLOs after re-parameterization with zero inference and transferring overhead.
If desired objects are not identified, pleaset set a smaller confidence threshold, e.g., for visual prompts with handcrafted shape or cross-image prompts.
1# For models with l scale, please change the initialization by referring to the comments in Line 549 in ultralytics/nn/moduels/head.py2# If you want to train YOLOE only for detection, you can use `train.py` 3python train_seg.py
Visual prompt
bash
1# For visual prompt, because only SAVPE is trained, we can adopt the detection pipleline with less training time23# First, obtain the detection model4python tools/convert_segm2det.py
5# Then, train the SAVPE module6python train_vp.py
7# After training, please use tools/get_vp_segm.py to add the segmentation head8# python tools/get_vp_segm.py
Prompt free
bash
1# Generate LVIS with single class for evaluation during training2python tools/generate_lvis_sc.py
34# Similar to visual prompt, because only the specialized prompt embedding is trained, we can adopt the detection pipleline with less training time5python tools/convert_segm2det.py
6python train_pe_free.py
7# After training, please use tools/get_pf_free_segm.py to add the segmentation head8# python tools/get_pf_free_segm.py
Transferring
After pretraining, YOLOE-v8 / YOLOE-11 can be re-parameterized into the same architecture as YOLOv8 / YOLO11, with zero overhead for transferring.
Linear probing
Only the last conv, ie., the prompt embedding, is trainable.
python train_pe.py
Full tuning
All parameters are trainable, for better performance.
bash
1# For models with s scale, please change the epochs to 160 for longer training2python train_pe_all.py
Export
After re-parameterization, YOLOE-v8 / YOLOE-11 can be exported into the identical format as YOLOv8 / YOLO11.
If our code or models help your work, please cite our paper:
BibTeX
1@misc{wang2025yoloerealtimeseeing,
2 title={YOLOE: Real-Time Seeing Anything},
3 author={Ao Wang and Lihao Liu and Hui Chen and Zijia Lin and Jungong Han and Guiguang Ding},
4 year={2025},
5 eprint={2503.07465},
6 archivePrefix={arXiv},
7 primaryClass={cs.CV},
8 url={https://arxiv.org/abs/2503.07465},
9}