Aligning and Prompting Everything All at Once for Universal Visual Perception

Yunhang Shen, Chaoyou Fu, Peixian Chen, Mengdan Zhang, Ke Li +4 more
2/14/2026

No official code found. Best implementation: shenyunhang/APE (609 stars, Apache-2.0, last commit 2024-05-08).

Abstract

Vision foundation models have been explored recently to build general-purpose vision systems. However, predomi-nant paradigms, driven by casting instance-level tasks as an object-word alignment, bring heavy cross-modality in-teraction, which is not effective in prompting object detection and visual grounding. Another line of work that fo-cuses on pixel-level tasks often encounters a large annotation gap of things and stuff, and suffers from mutual inter-ference between foreground-object and background-class segmentation. In stark contrast to the prevailing methods, we present APE, a universal visual perception model for aligning and prompting everything all at once in an image to perform diverse tasks, i.e., detection, segmentation, and grounding, as an instance-level sentence-object matching paradigm. Specifically, APE advances the convergence of detection and grounding by reformulating language-guided grounding as open-vocabulary detection, which efficiently scales up model prompting to thousands of category vocab-ularies and region descriptions while maintaining the ef-fectiveness of cross-modality fusion. To bridge the granu-larity gap of different pixel-level tasks, APE equalizes se-mantic and panoptic segmentation to proxy instance learning by considering any isolated regions as individual in-stances. APE aligns vision and language representation on broad data with natural and challenging characteristics all at once without task-specific fine-tuning. The extensive ex-periments on over 160 datasets demonstrate that, with only one-suit of weights, APE outperforms (or is on par with) the state-of-the-art models, proving that an effective yet univer-sal perception for anything aligning and prompting is in-deed feasible. Codes and trained models are released at https://github.com/shenyunhang/APE.

View on arXivView PDF

Code Implementations(1)

shenyunhang/APECommunity100%
Apache-2.0

[CVPR 2024] Aligning and Prompting Everything All at Once for Universal Visual Perception

60946C++, CudaAug 25, 20232 years agoApache-2.0
image-segmentationobject-detectionopen-worldreferring-expression-comprehensionvision-language-transformer

Similar Papers

Cite this paper

@article{shen2026aligning,
  title  = {Aligning and Prompting Everything All at Once for Universal Visual Perception},
  author = {Yunhang Shen and Chaoyou Fu and Peixian Chen and Mengdan Zhang and Ke Li and Xing Sun and Yunsheng Wu and Shaohui Lin and Rongrong Ji},
  year   = {2026},
  eprint = {2312.02153},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2312.02153},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.02153.svg)](https://codeofpaper.com/paper/2312.02153)

Discussion