atlas

Research map / Architectures and efficiency / Attention and transformers

REOrdering Patches Improves Vision Models

NeurIPS 2025 · 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.

Shows that patch order matters for long-sequence vision models (Transformer-XL, Longformer, Mamba/ARM) and proposes REOrder, which learns a task-specific patch ordering via a Plackett-Luce policy trained with REINFORCE, initialized by a compressibility prior.

Problem

Long-sequence transformers and state-space models use architectural approximations that break permutation equivariance, so the flattening order of image patches affects accuracy, and the best fixed order is not known a priori.

Approach

Treat patch ordering as a stochastic policy over permutations parameterized by per-patch logits (Plackett-Luce, sampled via Gumbel-top-k), initialized from the least-compressible fixed ordering and trained jointly with the classifier using REINFORCE with a running baseline and a three-stage curriculum.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Learn a patch ordering with REOrder from Hilbert initializationMamba · ImageNet-1Ktop-1 accuracy: 3.01% (±0.23 percentage points)Helped
Learn a patch ordering with REOrder from diagonal initializationMamba · Functional Map of the Worldtop-1 accuracy: 13.35% (±0.21 percentage points)Helped
Learn patch ordering with REOrderMamba · ImageNet-1Kaverage top-1 accuracy across patch orderings: 2.20% (±0.22 percentage points)Helped
Learn patch ordering with REOrderMamba · Functional Map of the Worldaverage top-1 accuracy across patch orderings: 9.32% (±0.22 percentage points)Helped
Learn patch ordering with REOrder from Hilbert initializationTransformer-XL · ImageNet-1Ktop-1 accuracy: 1.50% (±0.21 percentage points)Helped
Learn patch ordering with REOrder from column-major initializationTransformer-XL · Functional Map of the Worldtop-1 accuracy: 1.10% (±0.21 percentage points)Helped
Apply REOrder to LongformerLongformer · ImageNet-1K and Functional Map of the Worldtop-1 accuracyNo clear effect
Use one random patch permutation for all training epochs instead of REOrder's adaptive exploration (ablation)Transformer-XL · ImageNet-1Ktop-1 accuracy: 61.40 -> 53.10Hurt
Sample a random patch permutation for every batch instead of REOrder's adaptive exploration (ablation)Transformer-XL · ImageNet-1Ktop-1 accuracy: 61.40 -> 50.23Hurt
Use the final learned ordering throughout training without reinforcement learning (ablation)Transformer-XL · ImageNet-1Ktop-1 accuracy: 61.40 -> 53.07Hurt
Train with REOrder from row-major initialization without horizontal flips (ablation)Transformer-XL · ImageNet-1Ktop-1 accuracy: 57.95 -> 59.53; +1.58%Helped
Train with REOrder from Hilbert initialization without horizontal flips (ablation)Transformer-XL · ImageNet-1Ktop-1 accuracy: 50.29 -> 53.22; +2.94%Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet-1K Functional Map of the World

Benchmarks: ImageNet-1K Functional Map of the World

Metrics: top-1 accuracy standard error of the mean (bootstrap)

Baselines: ViT Transformer-XL row-major Longformer row-major Mamba (ARM) row-major random permutation baselines

Builds on: REINFORCE Plackett-Luce model Gumbel-top-k trick Transformer-XL Longformer ARM

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