mlsanityData to 14 Oct 2026

MatchAttention: Embedding Explicit Matching Constraints into Attention for Efficient Stereo Matching

arXiv 2510.14260 ↗First posted 16 Oct 2025cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Standard attention mechanisms are not well suited to stereo matching. Global attention scales quadratically and provides no explicit matching constraint, while local attention is efficient but loses long-range correspondences. We propose MatchAttention, an attention mechanism that embeds an explicit matching constraint into attention by treating the relative position between a query and its matched key as a learnable component of attention sampling. Centering a small contiguous sampling window on this learnable relative position enforces the matching constraint and supports long-range correspondence at strictly linear attention complexity. A differentiable contiguous attention sampling (CAS) operator enables sub-pixel accuracy, and cascaded MatchAttention blocks iteratively refine the relative positions through residual connections. We instantiate MatchAttention as a hierarchical coarse-to-fine stereo network with two variants. MatchAttentionXL targets accuracy and MatchAttentionRT targets real-time edge inference. MatchAttentionXL achieves state-of-the-art accuracy on Middlebury V3 and top results across KITTI 2012/2015 and ETH3D. MatchAttentionRT runs at 9.3 ms on RTX 4060 Ti and 79.1 ms on Jetson Orin NX 16 GB at 1024 x 512, making it the first stereo model to deliver real-time edge inference without sacrificing zero-shot generalization. The code is available at https://github.com/TingmanYan/MatchAttention.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 73 of its 96 references that are in the map. First posted on arXiv 16 Oct 2025.

Builds on

73 of 96 references.

References · 73

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  3. 2024The Llama 3 Herd of Modelscited by 14,715
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  5. 2023Segment Anythingcited by 8,234
  6. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
  7. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  8. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  9. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  10. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
  11. 2020Longformer: The Long-Document Transformercited by 3,413
  12. 2020RAFT: Recurrent All-Pairs Field Transforms for Optical Flowcited by 2,415
38 more
  1. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  2. 2023DUSt3R: Geometric 3D Vision Made Easycited by 1,567
  3. 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,423
  4. 2024Depth Anything V2cited by 1,422
  5. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
  6. 2022BEVFormer: Learning Bird's-Eye-View Representation from Multi-Camera Images via Spatiotemporal Transformerscited by 1,218
  7. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
  8. 2015FlowNet: Learning Optical Flow with Convolutional Networkscited by 1,059
  9. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
  10. 2017PWC-Net: CNNs for Optical Flow Using Pyramid, Warping, and Cost Volumecited by 968
  11. 2015A Large Dataset to Train Convolutional Networks for Disparity, Optical Flow, and Scene Flow Estimationcited by 881
  12. 2018Pyramid Stereo Matching Networkcited by 489
  13. 2021Conditional Positional Encodings for Vision Transformerscited by 406
  14. 2017End-to-End Learning of Geometry and Context for Deep Stereo Regressioncited by 360
  15. 2020Virtual KITTI 2cited by 353
  16. 2021RAFT-Stereo: Multilevel Recurrent Field Transforms for Stereo Matchingcited by 353
  17. 2021GMFlow: Learning Optical Flow via Global Matchingcited by 327
  18. 2022FlowFormer: A Transformer Architecture for Optical Flowcited by 275
  19. 2022Unifying Flow, Stereo and Depth Estimationcited by 275
  20. 2022Neighborhood Attention Transformercited by 239
  21. 2021Learning to Estimate Hidden Motions with Global Motion Aggregationcited by 224
  22. 2022Practical Stereo Matching via Cascaded Recurrent Network with Adaptive Correlationcited by 197
  23. 2020Revisiting Stereo Depth Estimation From a Sequence-to-Sequence Perspective with Transformerscited by 190
  24. 2023Iterative Geometry Encoding Volume for Stereo Matchingcited by 190
  25. 2024SEA-RAFT: Simple, Efficient, Accurate RAFT for Optical Flowcited by 174
  26. 2025FoundationStereo: Zero-Shot Stereo Matchingcited by 173
  27. 2023Spring: A High-Resolution High-Detail Dataset and Benchmark for Scene Flow, Optical Flow and Stereocited by 172
  28. 2022CroCo v2: Improved Cross-view Completion Pre-training for Stereo Matching and Optical Flowcited by 166
  29. 2021CFNet: Cascade and Fused Cost Volume for Robust Stereo Matchingcited by 154
  30. 2022MetaFormer Baselines for Visioncited by 132
  31. 2020HITNet: Hierarchical Iterative Tile Refinement Network for Real-time Stereo Matchingcited by 120
  32. 2019Domain-invariant Stereo Matching Networkscited by 109
  33. 2024Selective-Stereo: Adaptive Frequency Information Selection for Stereo Matchingcited by 99
  34. 2022CRAFT: Cross-Attentional Flow Transformer for Robust Optical Flowcited by 82
  35. 2022Global Matching with Overlapping Attention for Optical Flow Estimationcited by 64
  36. 2023TransNeXt: Robust Foveal Visual Perception for Vision Transformerscited by 61
  37. 2024IGEV++: Iterative Multi-range Geometry Encoding Volumes for Stereo Matchingcited by 59
  38. 2022SKFlow: Learning Optical Flow with Super Kernelscited by 56

50 most cited of 73 All 73 (JSON)

Built on by

Not cited yet.