When adapting self-supervised Vision Transformers (ViTs) to dense prediction, existing methods often treat the ViT as a passive feature extractor and may underuse the rich priors encoded in its representations, including saliency, global context, and high-frequency details. We propose SAGE (Saliency-Annealed Gated Encoder), an enhanced ViT-Adapter backbone that explicitly exploits these priors through three complementary innovations: (1) a saliency-guided architecture that extracts DINO-style class-token (CLS) saliency to guide feature gating and high-frequency enhancement, together with dynamic multi-layer aggregation and a local-detail branch; (2) an annealing-based training paradigm designed to improve convergence and feature quality during early training while reducing feature drift later in training; and (3) a two-stage, quality-aware training mechanism that smoothly transitions from focal loss to Varifocal Loss (VFL) within a single training run. Across the evaluated tasks (Fig.~\ref{fig:fig_com}), SAGE achieves state-of-the-art (SOTA) or competitive results on COCO (62.8 box AP and 55.3 mask AP), COCO keypoint estimation (78.5 AP), ADE20K (60.3 mIoU for semantic segmentation and 44.9 mask AP for instance segmentation), TinyImageNet classification (94.76% Top-1 accuracy), and DIOR-R oriented object detection (78.8 AP50). The same backbone is used across tasks, with task-specific decoders. To the best of our knowledge, SAGE is the first framework to achieve multi-task state-of-the-art results on Huawei Ascend NPUs. Code and pretrained models will be released after internal review.
Figures & tables
Fig. 1: Cross-task performance comparison of SAGE across six vision tasks on seven benchmarks, normalized to the strongest non-SAGE baseline (100%). For fair comparison, we include baselines with comparable backbone sizes and evaluate all methods without test-time augmentation (TTA).
Fig. 2: Overview of the SAGE architecture. The input image is processed in three parallel paths: (1) SPM CNN pyramid generating multi-scale features C1:4 ; (2) ViT backbone producing all layer outputs (patch/CLS/register tokens), from which the saliency prior S and multi-depth aggregated features X^1:4 are derived; (3) a 2 × 2 local-detail branch extracting L . The aggregated features are per-scale enhanced (HF/FiLM), interact with SPM queries via MSDeformAttn, and are fused through residual soft gating ( Fi=Fspm,i+Xvit,i⋅Gi ) and difference-aware local fusion, followed by SyncBN and a task-specific decoder. (a) CLS–Patch similarity prior: S from 2/3-depth tokens via L2-norm cosine similarity, standardization, sigmoid. (b) Multi-depth aggregation: sampled layers fused into X^1:4 via temperature-softmax weights. (c) Difference-aware local fusion: Yi=Fi+σ(GateNet([Fi,L′,∣Fi−L′∣]))⊙L′ for high-resolution scales.
TABLE I: Comparison with state-of-the-art methods on COCO val2017. All results use single-scale inference without TTA. Parameter counts refer to the backbone. The best results are shown in bold, and the second-best results are underlined.
TABLE IV: Two-stage VFL training strategy ablation (COCO val2017, ViT-B).
Task & Dataset
Method
Backbone
Backbone Params.
Pre-training
Metric
Baseline
SAGE-B
SAGE-L
Object Detection (COCO)
Co-DETR [ 5 ]
Swin-L
197M
IN-22K
Box AP
60.7
61.1
62.8
RF-DETR-2XL [ 8 ]
ViT-B
86M
O365
60.1
D-FINE-X [ 6 ]
HGNetv2-B5
30M
O365
59.3
Instance Segmentation (COCO)
MaskDINO [ 4 ]
Swin-L
197M
IN-22K
Mask AP
52.1
54.4
55.3
ViTDet [ 12 ]
ViT-H
632M
IN-22K
50.9
ViT-Adapter-L [ 9 ]
ViT-L
304M
IN-22K
51.1
TABLE V: Cross-task comparison of SAGE with representative methods. The best result is shown in bold, and the second-best result is underlined. All reported results are single-modality (vision-only), and single-scale without test-time augmentation (TTA).
Method
Backbone
Params
Pre-training Data
Box AP
Box AP 50
Mask AP
Mask AP 50
CNN Backbones
DINO [ 3 ]
ResNet-50
25M
IN-1K
49.0
67.0
–
–
MaskDINO [ 4 ]
ResNet-50
25M
IN-1K
51.7
70.5
45.0
68.0
D-FINE-X [ 6 ]
HGNetv2-B5
30M
O365
59.3
78.0
–
–
RT-DETRv4-X [ 17 ]
HGNetv2-B4
22M
O365
57.0
75.0
–
–
DEIMv2-X [ 7 ]
HGNetv2-B4
22M
O365
57.8
76.0
–
–
TABLE VI: Detailed comparison on COCO object detection and instance segmentation.
Method
Backbone
Params
Pre-training Data
mIoU (%)
Mask2Former [ 21 ]
Swin-T
28M
IN-1K
47.7
Mask2Former [ 21 ]
Swin-L
197M
IN-22K
56.1
ViT-Adapter-L + UPerNet [ 9 ]
ViT-L
304M
IN-22K
58.0
OneFormer [ 20 ]
Swin-L
219M
IN-22K
58.3
Mask2Former + ViT-Adapter-L [ 9 ]
ViT-L
304M
IN-22K
59.4
MaskDINO [ 4 ]
Swin-L
223M
IN-22K+O365
59.5
TABLE VII: Detailed comparison on ADE20K semantic segmentation.
Method
Backbone
Params
Pre-training
Mask AP (%)
MP-Former [ 31 ]
Swin-L
197M
IN-22K
35.3
Mask2Former + DiNAT
DiNAT-L
200M
IN-22K
35.4
OneFormer
DiNAT-L
200M
IN-22K
37.1
OneFormer
Swin-L
197M
IN-22K
37.8
OneFormer + ViT-P
DiNAT-L + ViT-P
300M
IN-22K
37.8
OneFormer
DiNAT-L
200M
IN-22K
40.2
TABLE VIII: Detailed comparison on ADE20K instance segmentation.
Method
Backbone
Params
Pre-training Data
AP 50 (%)
RiO-DETR-X [ 19 ]
HGNetV2-B5
33M
IN-1K
77.43
RT-DETRv2-OBB-X [ 23 ]
HGNetV2-B5
33M
IN-1K
76.52
YOLO26x-OBB [ 24 ]
YOLO26x
56M
–
76.48
Oriented R-CNN + RingMoE-KC [ 32 ]
RingMoE-KC
1000M
RingMOSS
76.04
RT-DETRv2-OBB-L [ 23 ]
HGNetV2-B4
13.6M
IN-1K
75.69
Oriented R-CNN + SkySense V2 [ 33 ]
MoE
1994M
–
75.29
TABLE IX: Detailed comparison on DIOR-R oriented object detection.
Method
Backbone
Params
Pre-training Data
Top-1 Acc. (%)
Top-5 Acc. (%)
ViT-L/16 [ 34 ]
ViT-L/16
304M
IN-22K
86.43
—
CaiT-S/36 [ 35 ]
CaiT-S/36
68M
IN-22K
86.74
—
DeiT-B/16-D [ 27 ]
DeiT-B/16-D
87M
IN-1K
87.29
—
Swin-L/4 [ 26 ]
Swin-L/4
196M
IN-22K
91.35
—
OCD (single) [ 36 ]
DeiT-B/16-D
87M
IN-1K
90.80
—
OCD (ensemble × 5) [ 36 ]
DeiT-B/16-D
87M × 5
IN-1K
92.00
—
TABLE X: Detailed comparison on TinyImageNet image classification.
Method
Backbone
Params
Pre-training Data
AP (%)
RTMPose [ 28 ]
CSPNeXt-L
–
–
75.8
ViTPose [ 29 ]
ViT-B
86M
IN-1K
75.8
ViTPose [ 29 ]
ViT-L
306M
IN-1K
78.3
ViTPose [ 29 ]
ViT-H
631M
IN-1K
79.1
SAGE (ours)
ViT-B
86M
O365
76.0
SAGE (ours)
ViT-L
304M
O365
78.5
TABLE XI: Detailed comparison on COCO 2017 keypoint detection.