Reproduce “REOrdering Patches Improves Vision Models” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Declan Kutscher, David M. Chan, Yutong Bai, Trevor Darrell, Ritwik Gupta

A study demonstrates that the order of image patches significantly affects the performance of modern, efficient long-sequence vision models, challenging the traditional assumption of permutation equivariance. The REOrder framework, using reinforcement learning, discovers task-optimal patch orderings, yielding accuracy improvements up to 3.01% on ImageNet-1K and 13.35% on FMoW for models like Mamba.

Key insights

  • Efficient long-sequence vision models (Transformer-XL, Longformer, Mamba) exhibit significant sensitivity to patch ordering, with performance variations up to several percentage points depending on the scan order.
  • Simple information-theoretic metrics, such as LZMA compression ratios of 1D patch sequences, do not reliably correlate with downstream task performance, indicating that a learned approach is necessary.
  • REOrder learns model-specific and semantically meaningful patch orderings, demonstrating that different architectures (e.g., Mamba vs. Transformer-XL) prefer distinct spatial information processing strategies (e.g., front-loading vs. back-loading central patches).

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.