cs.CVNov 21, 2026

Learning Optical Flow with Task-Oriented Feature Adaptation

Authors: Mengtan Zhang, Dazhong Wang, Haoran Zhang, Hongbo Zhao, Yuhang Ming, Weihao Yuan, Wei Ye, Hanli Wang, 

Organizations: Shanghai Research Institute for Intelligent Autonomous Systems, Tongji University, Shanghai 201210, P. R. China · College of Electronic & Information Engineering, Tongji University, Shanghai 201804, P. R. China · School of Computer Science, Hangzhou Dianzi University, Hangzhou 310018, China · School of Intelligence Science and Technology, Nanjing University, Suzhou 215163, China · 

Abstract

Learning-based optical flow estimation approaches generally rely on both inter-frame correspondence evidence and intra-frame contextual guidance, yet features from general-purpose image encoders may not fully support these roles. Strongly activated but weakly discriminative channels can outweigh more informative ones when computing inter-frame feature similarity, while context feature affinities can be low within motion-coherent regions yet high across motion boundaries. To address these mismatches, this study proposes TO-Flow, a task-oriented feature adaptation framework that aligns matching and context features with their respective requirements through dedicated channel modulation and spatial reorganization approaches. An affinity-based soft partition distinguishes motion-region interiors from boundary-adjacent regions to guide both processes. Channel modulation uses simulated flow refinement to assess whether each channel assigns higher similarity to estimated correspondences than to nearby competing candidates. The resulting similarity differences are aggregated within each region type and averaged across iterations to derive channel weights that emphasize informative channels and suppress ambiguous ones. Spatial reorganization combines affinity-guided feature attraction and repulsion from coarse to fine to simultaneously improve consistency within motion-coherent regions and distinctiveness across motion boundaries, with feature resampling mitigating boundary blurring during cross-scale fusion. Extensive experiments on the MPI Sintel, KITTI 2015, Spring, and LayeredFlow datasets demonstrate the effectiveness and general applicability of TO-Flow across diverse iterative refinement architectures as well as supervised and unsupervised training paradigms. The source code will be publicly available at https://mias.group/TO-Flow upon publication.

Figures & tables

Explore similar work

CardsList
  1. FlowIt: Global Matching via Hierarchical Transformers and Optimal Transport for Optical Flow

    Mar 30, 2026Sadra Safadoust, Fabio Tosi, Matteo Poggi +1Optical Flow

  2. FlowPainter: Inpainting Optical Flow via Confidence-Guided Completion

    Jul 11, 2026Yuang Meng, Chenyang Wu, Xianshun Liu +7Optical FlowDiffusion Model Guidance

  3. Dense Flow from Adaptive Correspondence

    Nov 9, 2026Cheng-Lin Hsieh, Stella X. YuOptical FlowAdaptive Tokenization