Papers › Scaling Vision Pre-Training to 4K Resolution

Scaling Vision Pre-Training to 4K Resolution

25 Mar 2025CVPR 2025 1arXiv:2503.19903archive 2025-07-28

Baifeng Shi, Boyi Li, Han Cai, Yao Lu, Sifei Liu, Marco Pavone, Jan Kautz, Song Han, Trevor Darrell, Pavlo Molchanov, Hongxu Yin

High-resolution perception of visual details is crucial for daily tasks. Current vision pre-training, however, is still limited to low resolutions (e.g., 378 x 378 pixels) due to the quadratic cost of processing larger images. We introduce PS3 that scales CLIP-style vision pre-training to 4K resolution with a near-constant cost. Instead of contrastive learning on global image representation, PS3 is pre-trained by selectively processing local regions and contrasting them with local detailed captions, enabling high-resolution representation learning with greatly reduced computational overhead. The pre-trained PS3 is able to both encode the global image at low resolution and selectively process local high-resolution regions based on their saliency or relevance to a text prompt. When applying PS3 to multi-modal LLM (MLLM), the resulting model, named VILA-HD, significantly improves high-resolution visual perception compared to baselines without high-resolution vision pre-training such as AnyRes and S^2 while using up to 4.3x fewer tokens. PS3 also unlocks appealing scaling properties of VILA-HD, including scaling up resolution for free and scaling up test-time compute for better performance. Compared to state of the arts, VILA-HD outperforms previous MLLMs such as NVILA and Qwen2-VL across multiple benchmarks and achieves better efficiency than latest token pruning approaches. Finally, we find current benchmarks do not require 4K-resolution perception, which motivates us to propose 4KPro, a new benchmark of image QA at 4K resolution, on which VILA-HD outperforms all previous MLLMs, including a 14.5% improvement over GPT-4o, and a 3.2% improvement and 2.96x speedup over Qwen2-VL.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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="2503.19903")

Code

Syntology Ran 11 of 14 code samples harvested from 2 repositories linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 3 ran · our draft was wrong; 1 ran · fixture could not drive it; 5 ran with no contract checked.

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

efficient-large-model/vila mentioned on GitHubpytorchApache-2.0 report
nvlabs/vila mentioned on GitHubpytorch 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; 11 ran; 1 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
3ran · our draft was wrong
1ran · fixture could not drive it
5ran
3unverified

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.

check_dot_in_model_path efficient-large-model/vila/llava/remote_code/modeling_vila.py community (archive-listed) ran · violated contract Apache-2.0 (permissive) · 8dd6b65f72c07727 · report
repeat_kv efficient-large-model/vila/llava/eval/vision_niah_vila/zigzag_ring_attn/modeling_qwen2.py community (archive-listed) ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 30d7eec482ebf6b1 · report
VisionTower nvlabs/vila/llava/model/multimodal_encoder/ps3_encoder.py community (archive-listed) ran Apache-2.0 (permissive) · 232455d9c7b1d476 · report
apply_rotary_pos_emb efficient-large-model/vila/llava/eval/vision_niah_vila/zigzag_ring_attn/modeling_qwen2.py community (archive-listed) ran Apache-2.0 (permissive) · 5d81bffdb6022427 · report
get_vila_version efficient-large-model/vila/llava/remote_code/modeling_vila.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 554c742ab091b991 · report
load_haystack efficient-large-model/vila/llava/eval/vision_niah_vila/eval_vision_niah.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 70759df34aae94c5 · report
load_image efficient-large-model/vila/server.py community (archive-listed) ran Apache-2.0 (permissive) · 1c69e761fdf05a26 · report
load_video efficient-large-model/vila/server.py community (archive-listed) ran Apache-2.0 (permissive) · fca9a6d2afa23288 · report
rotate_half efficient-large-model/vila/llava/eval/vision_niah_vila/zigzag_ring_attn/modeling_qwen2.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · b99eea6376d1e212 · report
safe_tokenize efficient-large-model/vila/llava/eval/vision_niah_vila/eval_vision_niah.py community (archive-listed) ran · honoured contract Apache-2.0 (permissive) · 300bb78b66d35115 · report
with_opencv efficient-large-model/vila/data_prepare/panda_split.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 7af38f0a2846676a · report
PS3VisionTower nvlabs/vila/llava/model/multimodal_encoder/ps3_encoder.py community (archive-listed) unverified Apache-2.0 (permissive) · ef6066f5b1710c5d · report
build_mm_projector efficient-large-model/vila/llava/remote_code/modeling_vila.py community (archive-listed) unverified Apache-2.0 (permissive) · aa7f4da9de0dc7cc · report
get_literal_values efficient-large-model/vila/server.py community (archive-listed) unverified Apache-2.0 (permissive) · f8e6d235cb12b138 · report

Tasks

4kContrastive Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Contrastive LearningPruning

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