Lune

CVPR Findings2026

LOOPE: Learnable Optimal Patch Order for Positional Encoders in Vision Transformers

Md Abtahi Majeed Chowdhury, Md Rifat Ur Rahman, Akil Ahmad Taki

问 Lune

摘要

Transformers are inherently permutation invariant, making positional encoding (PE) fundamental to their success. While prior work has focused on designing absolute or relative positional encoders, nearly all approaches implicitly assume that the 1D ordering of image patches is fixed. Yet for higher-dimensional data such as images, mapping a 2D grid into a 1D sequence is itself a geometric operation-one that can distort locality, disrupt neighborhood structure, and ultimately limit how effectively PEs capture spatial relations. Surprisingly, the impact of the order of patches on positional representation has received little attention. We revisit this overlooked design dimension and show that patch order is not merely a preprocessing choice but a learnable degree of freedom that fundamentally shapes positional embedding quality. We propose LOOPE, a lightweight framework that learns an image-dependent ordering of patches. Starting from a locality-preserving space-filling curve and applying small context-aware refinements, LOOPE yields an interpretable and content-adaptive coordinate system on which standard sinusoidal encodings operate robustly. Across multiple ViT and ViT-based architectures, LOOPE improves performance and stabilizes PEs under challenging settings such as non-optimal frequency schedules. To complement standard benchmarks, we introduce a simple diagnostic task revealing that effective PEs can preserve far more positional information than previously reported. Our findings highlight learnable patch ordering as a powerful and largely untapped tool for improving positional encoding in vision Transformers.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Segment Anything 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Segment Anything 引用了 Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domains
  • Vision Transformers for Dense Prediction 引用了 Training data-efficient image transformers & distillation through attention
  • Training data-efficient image transformers & distillation through attention 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper18

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  2. Segment AnythingAlexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao 等ICCV 2023 · 13,211 次引用
  3. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa 等ICML 2021 · 8,974 次引用
  4. Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional DomainsMatthew Tancik, Pratul P. Srinivasan, Ben Mildenhall, Sara Fridovich-Keil 等NeurIPS 2020 · 4,036 次引用
  5. Vision Transformers for Dense PredictionRené Ranftl, Alexey Bochkovskiy, Vladlen KoltunICCV 2021 · 2,647 次引用

相关 Paper

  1. LaPE: Layer-adaptive Position Embedding for Vision Transformers with Independent Layer NormalizationRunyi Yu, Zhennan Wang, Yinhuai Wang, Kehan Li 等ICCV 2023 · 13 次引用
  2. Scale-space Tokenization for Improving the Robustness of Vision TransformersLei Xu, Rei Kawakami, Nakamasa InoueACM MM 2023 · 1 次引用
  3. Rethinking and Improving Relative Position Encoding for Vision TransformerKan Wu, Houwen Peng, Minghao Chen, Jianlong Fu 等ICCV 2021 · 427 次引用
  4. DropPos: Pre-Training Vision Transformers by Reconstructing Dropped PositionsHaochen Wang, Junsong Fan, Yuxi Wang, Kaiyou Song 等NeurIPS 2023 · 32 次引用
  5. REOrdering Patches Improves Vision ModelsDeclan Kutscher, David M. Chan, Yutong Bai, Trevor Darrell 等NeurIPS 2025 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖