FreeFlow:一种无偏的分层Transformer用于光流估计
研究论文 · 2026/09/11
光流方法通常依赖任务特定的归纳偏置(如相关体积、特征扭曲和迭代细化)来达到高精度。虽然有效,但这些偏置将模型限制在预定义的启发式方法中,可能限制其表达能力,并导致更复杂的流程和额外的计算成本。我们提出FreeFlow,一种分层Transformer,不包含任何光流特定组件,而是使用单一的前馈编码器-解码器。FreeFlow结合了三种注意力变体:用于局部处理的窗口注意力、用于跨窗口信息交换的移位窗口注意力,以及在降低分辨率下运行的全局注意力。由此产生的架构随模型容量自然扩展,从小型到大型变体实现一致的精度提升。尽管没有标准的归纳偏置,FreeFlow在主要基准上取得了最先进的结果,包括Sintel(Clean/Final上0.68/1.48 EPE)、KITTI-2015(3.23 Fl-all)和Spring(3.192 1px),同时在1080p推理时保持内存高效。
该工作挑战了光流估计中依赖任务特定归纳偏置的传统范式,通过纯Transformer架构在多个基准上达到最先进性能,同时保持内存高效,为未来光流方法的设计提供了新思路。
Optical flow methods typically rely on task-specific inductive biases, such as correlation volumes, feature warping, and iterative refinement, among others, to reach high accuracy. While effective, such biases constrain the model to predefined heuristics, which can limit its expressivity and lead to more complex pipelines and additional computational cost. We present FreeFlow, a hierarchical transformer built without any flow-specific components, using instead a single feed-forward encoder--decoder. FreeFlow combines three attention variants: window attention for local processing, shifted-window attention for cross-window information exchange, and a global attention operating at a reduced resolution. The resulting architecture scales naturally with model capacity, enabling a consistent accuracy gain from small to large variants. Despite the absence of standard inductive biases, FreeFlow achieves state-of-the-art results on major benchmarks, including Sintel (0.68/1.48 EPE on Clean/Final), KITTI-2015 (3.23 Fl-all), and Spring (3.192 1px), while remaining memory efficient at 1080p inference.