VPNeXt - Rethinking Dense Decoding for Plain Vision Transformer

Xikai Tang, Ye Huang, Guangqiang Yin, Lixin DuanarXiv 2025 · DOI

Abstract

VPNeXt is a streamlined architecture for semantic segmentation that demonstrates "Plain" Vision Transformers (ViT) can achieve state-of-the-art results without heavy, computationally expensive decoders. By introducing Visual Context Replay (VCR)—a training-only feature alignment technique—and ViTUp—a method to extract "hidden" high-resolution features—VPNeXt shattered the long-standing performance ceiling on the VOC2012 benchmark. It reached 92.2% mIoU with significantly higher efficiency than previous state-of-the-art models, proving that rethinking the decoder is more impactful than simply scaling the backbone.

Introduction

Semantic segmentation requires dense, pixel-level predictions. While the original "Plain" Vision Transformer (ViT) is prized for its simplicity and multimodal compatibility, it faces two major hurdles in dense decoding:

  1. The Decoder Tax: Achieving high performance typically requires attaching heavy "Mask Decoders" (e.g., Mask2Former) to the ViT backbone. These decoders are computationally intensive and significantly slow down inference.
  2. The Resolution Gap: Plain ViTs process images in 16x16 patches, losing fine-grained spatial detail. Previous attempts to mitigate this used "mock pyramids" (resizing low-res features), which lack the high-frequency details necessary for sharp object boundaries.
Overview of VPNeXt's core innovations and its record-breaking performance on VOC2012.

Methodology

VPNeXt addresses these challenges through two primary innovations designed to optimize both training and inference efficiency.

Visual Context Replay (VCR)

The authors posit that the primary benefit of complex Mask Decoders is the regularization they provide during training. VCR replaces these heavy decoders with a "replay" mechanism. It captures the spatial relations (pixel affinity) learned by the final layer and "replays" them to earlier layers during training, forcing the backbone to learn superior representations. Crucially, VCR is discarded after training, adding zero computational cost during inference.

ViTUp and HiCLR

Instead of generating a synthetic feature pyramid, VPNeXt unlocks a "hidden" high-resolution prior within the ViT itself. By modifying the initial patch embedding convolution to use a smaller stride (e.g., 4 instead of 16), the model extracts a native high-resolution feature map. These details are then integrated using the High-Level Context Local Refiner (HiCLR), which progressively aligns high-resolution cues with the deep semantic features of the backbone.

Detailed architecture of the VCR training mechanism and the ViTUp/HiCLR refinement modules.

Experimental Results

VPNeXt was evaluated on several rigorous semantic segmentation benchmarks, including PASCAL VOC2012, Pascal Context, COCOStuff164k, and Cityscapes.

  • State-of-the-Art Performance: VPNeXt achieved 92.2% mIoU on VOC2012, representing the largest single improvement on this benchmark since 2015. It also reached 70.0% on Pascal Context and 53.0% on COCOStuff164k, outperforming heavier models like ViT-Adapter and InternImage.
  • Efficiency: On Pascal Context, a VPNeXt model with a ViT-L backbone requires only 356.69 GFLOPs (without the upsampler), compared to over 2000 GFLOPs for standard Mask Decoder approaches.
  • Qualitative Sharpness: Visualizations confirm that VPNeXt produces significantly cleaner boundaries and better handles challenging "long-tail" categories, such as chairs or monitors, compared to standard ViT decoders.

Conclusion

VPNeXt demonstrates that training-time supervision is a viable and efficient alternative to complex inference-time decoders. By leveraging the inherent high-resolution priors of Plain ViTs and employing the VCR training strategy, VPNeXt achieves record-breaking accuracy while maintaining a streamlined profile. Future work may explore applying the VCR philosophy to other dense tasks, such as object detection and depth estimation.

Summary updated

BibTeX
@misc{tang2025vpnext,
  author = {Xikai Tang and Ye Huang and Guangqiang Yin and Lixin Duan},
  title = {{VPNeXt - Rethinking Dense Decoding for Plain Vision Transformer}},
  year = {2025},
  eprint = {2502.16654},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.16654},
}
Figure