Lune

CVPR2022Top-tier venue

Learning Optical Flow with Kernel Patch Attention

Ao Luo, Fan Yang, Xin Li, Shuaicheng Liu

Abstract

Optical flow is a fundamental method used for quantitative motion estimation on the image plane. In the deep learning era, most works treat it as a task of 'matching of features', learning to pull matched pixels as close as possible in feature space and vice versa. However, spatial affinity (smoothness constraint), another important component for motion understanding, has been largely overlooked. In this paper, we introduce a novel approach, called kernel patch attention (KPA), to better resolve the ambiguity in dense matching by explicitly taking the local context relations into consideration. Our KPA operates on each local patch, and learns to mine the context affinities for better inferring the flow fields. It can be plugged into contemporary optical flow architecture and empower the model to conduct comprehensive motion analysis with both feature similarities and spatial relations. On Sintel dataset, the proposed KPA-Flow achieves the best performance with EPE of 1.35 on clean pass and 2.36 on final pass, and it sets a new record of 4.60% in F1-all on KITTI-15 benchmark. Code is publicly available at https://github.com/megvii- research/KPAFlow.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

32 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • AccFlow: Backward Accumulation for Long-Range Optical Flow cites Learning to Estimate Hidden Motions with Global Motion Aggregation
  • Learning Optical Flow from Event Camera with Rendered Dataset cites Learning to Estimate Hidden Motions with Global Motion Aggregation
  • Learning to Estimate Hidden Motions with Global Motion Aggregation cites CCNet: Criss-Cross Attention for Semantic Segmentation
  • GAFlow: Incorporating Gaussian Attention into Optical Flow cites CCNet: Criss-Cross Attention for Semantic Segmentation
  • GAFlow: Incorporating Gaussian Attention into Optical Flow cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • GAFlow: Incorporating Gaussian Attention into Optical Flow cites Learning Optical Flow from Event Camera with Rendered Dataset
  • GAFlow: Incorporating Gaussian Attention into Optical Flow cites Learning to Estimate Hidden Motions with Global Motion Aggregation
  • GAFlow: Incorporating Gaussian Attention into Optical Flow cites Asymmetric Non-Local Neural Networks for Semantic Segmentation
  • WAFT: Warping-Alone Field Transforms for Optical Flow cites Recurrent Partial Kernel Network for Efficient Optical Flow Estimation
  • WAFT: Warping-Alone Field Transforms for Optical Flow cites Learning to Estimate Hidden Motions with Global Motion Aggregation
  • WAFT: Warping-Alone Field Transforms for Optical Flow cites GAFlow: Incorporating Gaussian Attention into Optical Flow
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers32

  1. WAFT: Warping-Alone Field Transforms for Optical FlowYihan Wang, Jia DengICLR 2026 · 36 citations
  2. GAFlow: Incorporating Gaussian Attention into Optical FlowAo Luo, Fan Yang, Xin Li, Lang Nie et al.ICCV 2023 · 35 citations
  3. AccFlow: Backward Accumulation for Long-Range Optical FlowGuangyang Wu, Xiaohong Liu, Kunming Luo, Xi Liu et al.ICCV 2023 · 33 citations
  4. Recurrent Partial Kernel Network for Efficient Optical Flow EstimationHenrique Morimitsu, Xiaobin Zhu, Xiangyang Ji, Xu-Cheng YinAAAI 2024 · 29 citations
  5. Learning Optical Flow from Event Camera with Rendered DatasetXinglong Luo, Kunming Luo, Ao Luo, Zhengning Wang et al.ICCV 2023 · 28 citations

Builds on16

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. KPConv: Flexible and Deformable Convolution for Point CloudsHugues Thomas, Charles R. Qi, Jean-Emmanuel Deschaud, Beatriz Marcotegui et al.ICCV 2019 · 3,193 citations
  3. CCNet: Criss-Cross Attention for Semantic SegmentationZilong Huang, Xinggang Wang, Lichao Huang, Chang Huang et al.ICCV 2019 · 2,972 citations
  4. Asymmetric Non-Local Neural Networks for Semantic SegmentationZhen Zhu, Mengdu Xu, Song Bai, Tengteng Huang et al.ICCV 2019 · 694 citations
  5. Learning to Estimate Hidden Motions with Global Motion AggregationShihao Jiang, Dylan Campbell, Yao Lu, Hongdong Li et al.ICCV 2021 · 402 citations

Related papers

  1. TransFlow: Transformer as Flow LearnerYawen Lu, Qifan Wang, Siqi Ma, Tong Geng et al.CVPR 2023
  2. Learning Optical Flow with Adaptive Graph ReasoningAo Luo, Fan Yang, Kunming Luo, Xin Li et al.AAAI 2022 · 73 citations
  3. DIP: Deep Inverse Patchmatch for High-Resolution Optical FlowZihua Zheng, Ni Nie, Zhi Ling, Pengfei Xiong et al.CVPR 2022 · 48 citations
  4. Rethinking Optical Flow from Geometric Matching Consistent PerspectiveQiaole Dong, Chenjie Cao, Yanwei FuCVPR 2023
  5. CRAFT: Cross-Attentional Flow Transformer for Robust Optical FlowXiuchao Sui, Shaohua Li, Xue Geng, Yan Wu et al.CVPR 2022 · 114 citations
Dusk over the sea between two cliffs drawn in fine vertical lines