Learning Optical Flow with Task-Oriented Feature Adaptation
Mengtan Zhang, Dazhong Wang, Haoran Zhang, Hongbo Zhao, Yuhang Ming, Weihao Yuan, Wei Ye, Hanli Wang, Rui Fan
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.
Create a lesson
Related papers
Why Adaptive Optimizers Struggle with Large Convolution Kernels
Shared title terminology · Tianyu Ding, Jiachen Jiang, Jinxin Zhou et al.
SpatialDuet: Bayesian task routing between a metric expert and a geometry expert for spatial intelligence
Shared title terminology · Duy Tran Thanh
Training-Free 3D Editing via Feature-Divergence Localization and Trajectory Correction
Shared title terminology · Tri Ton, Siwoo Lim, Joshua Tian Jin Tee et al.
SENSA: Visual-to-Brain Generation with Individualized Subject-State Transfer and Adaptation
Shared title terminology · Yihang Zou, Chunmei Qing, Ruixi Liang et al.
Task-Conditioned Detail Allocation for Synthetic Segmentation Data
Shared title terminology · Chunming He, Dingming Zhang, Jifan Zhang et al.
PointNeXt Adapter Improved Model for BIM Component Defect Association under Construction Images and Design Model Attributes
Shared title terminology · Na Yu