Visual Instruction Pretraining for Domain-Specific Foundation Models

Yuxuan Li, Yicheng Zhang, Wenhao Tang, Yimian Dai, Ming-Ming Cheng, Xiang Li, Jian YangarXiv 2025 · DOI

Introduction

Traditional computer vision models typically follow a "bottom-up" hierarchy. They learn low-level features like edges and textures through self-supervised tasks such as Masked Image Modeling (MIM) or contrastive learning, with the hope that these features will eventually support high-level semantic understanding. However, in specialized domains like medical imaging or remote sensing, general-purpose features often fail to capture the nuances required for expert-level tasks.

This paper introduces ViTP (Visual insTruction Pretraining), a novel paradigm that flips this approach. Instead of learning features in isolation, ViTP forces the vision backbone to "perceive" by "understanding" complex, domain-specific instructions. By embedding a Vision Transformer (ViT) within a Vision-Language Model (VLM) during pretraining, the model achieves state-of-the-art (SOTA) performance across 16 benchmarks with remarkable efficiency.

The ViTP Framework

The core innovation of ViTP lies in its "top-down" modulation, where high-level semantic reasoning directly guides the learning of foundational perception features.

The ViTP framework integrates a ViT backbone into a VLM for instruction-based pretraining.

The framework consists of three primary components:

  1. Visual Instruction Following: The ViT backbone is pretrained by answering complex questions about domain-specific images. Gradients from the Large Language Model (LLM) flow back to the ViT, ensuring the extracted features are semantically relevant for reasoning.
  2. Visual Robustness Learning (VRL): To prevent the model from relying on redundant local correlations, the authors randomly drop up to 75% of visual tokens before they reach the LLM. This forces the ViT to encode more comprehensive and distributed information.
  3. Continual Pretraining: ViTP leverages a general-purpose VLM (InternVL-2.5) and performs continual pretraining on a curated mix of general and domain-specific instruction data.

Experimental Results

The authors evaluated ViTP across 16 challenging benchmarks in remote sensing (RS) and medical imaging. The results demonstrate that ViTP consistently outperforms previous SOTA models, including specialized architectures like nnU-Net for medical segmentation.

ViTP achieves SOTA performance across 16 benchmarks in Remote Sensing and Medical Imaging.

Key Performance Highlights:

  • Remote Sensing: Achieved 60.23 mAP on DOTA-v2 and 72.31 mAP on RSAR, surpassing specialized SAR models.
  • Medical Imaging: Reached 90.60 mDice on AMOS2022, outperforming MedSAM.
  • Efficiency: ViTP is highly efficient, reaching SOTA performance in just 23 hours on 8 A40 GPUs—roughly 17x faster than some contrastive learning methods like SkySense.

Insights and Paradoxes

Beyond raw performance, the paper offers several critical insights:

  • The LLM Size Paradox: Counter-intuitively, the authors found that using a smaller LLM during pretraining leads to a better vision backbone. A massive LLM can compensate for weak visual features using its internal knowledge, whereas a smaller LLM forces the ViT to provide higher-quality visual information to succeed.
  • Data Efficiency: In low-data regimes (using only 2% of training data), ViTP maintains significantly higher performance than MIM or contrastive baselines, indicating that instruction-aware features generalize better to downstream tasks.

Conclusion

ViTP represents a significant shift in how domain-specific foundation models are trained. By bridging the gap between low-level perception and high-level understanding through visual instructions, it provides a robust, efficient, and high-performing alternative to traditional self-supervised methods. Future work will focus on automating instruction data generation and extending the framework to 3D and temporal modalities.

Summary updated

Abstract

Modern computer vision is converging on a closed loop in which perception, reasoning and generation mutually reinforce each other. However, this loop remains incomplete: the top-down influence of high-level reasoning on the foundational learning of low-level perceptual features is not yet underexplored. This paper addresses this gap by proposing a new paradigm for pretraining foundation models in downstream domains. We introduce Visual insTruction Pretraining (ViTP), a novel approach that directly leverages reasoning to enhance perception. ViTP embeds a Vision Transformer (ViT) backbone within a Vision-Language Model and pretrains it end-to-end using a rich corpus of visual instruction data curated from target downstream domains. ViTP is powered by our proposed Visual Robustness Learning (VRL), which compels the ViT to learn robust and domain-relevant features from a sparse set of visual tokens. Extensive experiments on 16 challenging remote sensing and medical imaging benchmarks demonstrate that ViTP establishes new state-of-the-art performance across a diverse range of downstream tasks. The code is available at https://github.com/zcablii/ViTP.
BibTeX
@misc{li2025visual,
  author = {Yuxuan Li and Yicheng Zhang and Wenhao Tang and Yimian Dai and Ming-Ming Cheng and Xiang Li and Jian Yang},
  title = {{Visual Instruction Pretraining for Domain-Specific Foundation Models}},
  year = {2025},
  eprint = {2509.17562},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.17562},
}
Figure