atlas

Research map / Architectures and efficiency / Attention and transformers

Win-Win: Training High-Resolution Vision Transformers from Two Windows

ICLR 2024 · Architectures and efficiency › Attention and transformers · approach: Efficient and robust vision transformers · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Win-Win trains non-hierarchical ViTs on high-resolution dense tasks by keeping only N=2 random square windows of tokens per training image (with RoPE and an attention-temperature correction), enabling single-pass full-resolution inference for segmentation, depth, and optical flow.

Problem

Training vanilla vision transformers for high-resolution pixelwise prediction is prohibitively costly, and models trained on low-resolution crops generalize poorly when tested at higher resolutions, typically requiring slow tiling or resizing.

Approach

Mask most high-resolution tokens during training, keeping only a structured set of N=2 random non-overlapping square windows so that the model learns both local (intra-window) and global (inter-window) interactions; combined with RoPE and a test-time softmax temperature correction, the model runs directly on full-resolution inputs. For optical flow, the second frame's windows are sampled guided by

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Train with 2 windows instead of a single window (ablation)Win-Win semantic segmentation · BDD-100k validationmIoU: 61.8 -> 63.6Helped
Use 3 windows instead of 2 (ablation)Win-Win semantic segmentation · BDD-100k validationmIoU: 63.6 -> 63.2Hurt
Use 6 windows instead of 2 (ablation)Win-Win semantic segmentation · BDD-100k validationmIoU: 63.6 -> 62.5Hurt
Add a softmax temperature (ablation)Win-Win semantic segmentation with 2 windows · BDD-100k validationmIoU: 63.6 -> 63.6No clear effect
Replace RoPE with cosine absolute positional embeddings (ablation)Win-Win semantic segmentation · BDD-100k validationmIoU: 63.6 -> 57.0Hurt
Use unequal window sizes of 28×28 and 15×15 (ablation)Win-Win semantic segmentation · BDD-100k validationmIoU: 63.6 -> 63.7No clear effect
Reduce the second window to 12×12 (ablation)Win-Win semantic segmentation · BDD-100k validationmIoU: 63.6 -> 62.8Hurt
Add isolated random tokens to the two-window setup (ablation)Win-Win semantic segmentation · BDD-100k validationmIoU: 63.6 -> 63.3; 63.6 -> 63.2; 63.6 -> 63.0Hurt
Randomize window count, token count, token ratio, and aspect ratio (ablation)Win-Win semantic segmentation · BDD-100k validationmIoU: 63.6 -> 63.5; 63.6 -> 63.6No clear effect
Increase frame-2 window count from 2 to 4 (ablation)Flow-guided Win-Win optical flow · Synthetic optical flowEPE: 1.92 -> 1.17Helped
Set frame-2 window sampling stochasticity to 0.3 (ablation)Flow-guided Win-Win optical flow · Synthetic optical flowEPE: 1.17 -> 0.96Helped
Use the same windows in both frames (ablation)Win-Win optical flow · Synthetic optical flowEPE: 1.17 -> 2.70Hurt

Surprising findings

Limitations

Experimental setup

Datasets: BDD100k BDD10k FlyingChairs FlyingThings MPI-Sintel TartanAir Spring AutoFlow-style synthetic flow dataset

Benchmarks: BDD10k semantic segmentation MPI-Sintel Spring

Metrics: mIoU EPE 1px outlier rate s0-10/s10-40/s40+ EPE

Baselines: Full-res ViT ViT-Det crop training with tiling CroCoFlow FlowFormer FlowFormer++ GMFlow+ SKFlow MS-Raft+ RAFT CRAFT PWC-Net+

Builds on: CroCo CroCo-Flow ViT-Det RoPE DPT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy