Papers › Aligning and Prompting Everything All at Once for Universal Visual Perception

Aligning and Prompting Everything All at Once for Universal Visual Perception

4 Dec 2023CVPR 2024 1arXiv:2312.02153archive 2025-07-28

Yunhang Shen, Chaoyou Fu, Peixian Chen, Mengdan Zhang, Ke Li, Xing Sun, Yunsheng Wu, Shaohui Lin, Rongrong Ji

Vision foundation models have been explored recently to build general-purpose vision systems. However, predominant paradigms, driven by casting instance-level tasks as an object-word alignment, bring heavy cross-modality interaction, which is not effective in prompting object detection and visual grounding. Another line of work that focuses on pixel-level tasks often encounters a large annotation gap of things and stuff, and suffers from mutual interference 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 vocabularies and region descriptions while maintaining the effectiveness of cross-modality fusion. To bridge the granularity gap of different pixel-level tasks, APE equalizes semantic and panoptic segmentation to proxy instance learning by considering any isolated regions as individual instances. APE aligns vision and language representation on broad data with natural and challenging characteristics all at once without task-specific fine-tuning. The extensive experiments 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 universal perception for anything aligning and prompting is indeed feasible. Codes and trained models are released at https://github.com/shenyunhang/APE.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2312.02153")

Code

Syntology Ran 2 of 14 code samples harvested from 2 repositories linked to this paper; 12 have no recorded run. Of those that ran: 1 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: official repository: 5 samples from 1 repository, 2 ran; community (archive-listed): 9 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

shenyunhang/ape officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
earth-insights/ClassTrans mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 2 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · fixture could not drive it
1ran
12unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_checkpoint_url shenyunhang/ape/ape/model_zoo/model_zoo.py official repository ran Apache-2.0 (permissive) · 0de113f0340ffcd9 · report
multi_scale_deformable_attn_pytorch shenyunhang/ape/ape/layers/multi_scale_deform_attn.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · be924e54ed79731b · report
create_dummy_class shenyunhang/ape/ape/layers/multi_scale_deform_attn.py official repository unverified Apache-2.0 (permissive) · 47b44963c80f19d1 · report
create_dummy_func shenyunhang/ape/ape/layers/multi_scale_deform_attn.py official repository unverified Apache-2.0 (permissive) · 5f2ed565ef0da8fc · report
get_config_file shenyunhang/ape/ape/model_zoo/model_zoo.py official repository unverified Apache-2.0 (permissive) · e8d6610aacdd981b · report
get_image_and_label earth-insights/ClassTrans/src/dataset/data.py community (archive-listed) unverified MIT (permissive) · 25190d960f6a2e87 · report
get_next_run_id earth-insights/ClassTrans/src/utils.py community (archive-listed) unverified MIT (permissive) · 807451ec22e46bdb · report
get_val_loader earth-insights/ClassTrans/src/dataset/data.py community (archive-listed) unverified MIT (permissive) · bd491478bac24e5a · report
is_image_file earth-insights/ClassTrans/src/dataset/utils.py community (archive-listed) unverified MIT (permissive) · 25fea6c1ac82a8c5 · report
label2rgb earth-insights/ClassTrans/src/visualize.py community (archive-listed) unverified MIT (permissive) · f54083dba77e2917 · report
main_process earth-insights/ClassTrans/src/utils.py community (archive-listed) unverified MIT (permissive) · 3baca7953e57a8e0 · report
make_dataset earth-insights/ClassTrans/src/dataset/utils.py community (archive-listed) unverified MIT (permissive) · 4a14363d223db042 · report
map_ earth-insights/ClassTrans/src/utils.py community (archive-listed) unverified MIT (permissive) · cc9e1a1081e7703d · report
process_image earth-insights/ClassTrans/src/dataset/utils.py community (archive-listed) unverified MIT (permissive) · 09e34c3bca52dcda · report

Tasks

AllObjectObject DetectionPanoptic SegmentationSegmentationSentenceVisual GroundingWord Alignmentobject-detection

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections