WHTMix: Efficient Stereo Depth Estimation via Walsh-Hadamard Token Mixing
Not on the map. Why?
Abstract (arXiv)
Stereo depth estimation for driving, robotics and augmented reality must run at high resolution under tight latency budgets, yet in transformer-based matchers the global self-attention that aggregates scene context grows quadratically with the number of pixels and comes to dominate runtime. We show that the joint self-attention stage of a stereo transformer, whose role is to spread context across both views, can be replaced by a data-independent Walsh-Hadamard token mixer that mixes tokens globally in the transform domain at log-linear cost, while the data-dependent cross-attention that performs left-right correspondence is retained. On synthetic driving data the mixer matches the attention baseline in end-point error while reducing model compute by a factor of 2.46 and single-image inference latency by a factor of 2.65. A complexity analysis shows the benefit is governed by the ratio of sequence length to channel width, which explains why high-resolution stereo matching is a particularly favorable setting and why classification transformers are not; we confirm this token-to-channel scaling on non-stereo long-sequence benchmarks. Furthermore, we introduce a hybrid log-disparity loss function designed to up-weight small-disparity pixels corresponding to long-range objects. This approach reduces the error on distant objects without incurring any additional computational overhead.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 18 of its 21 references that are in the map. First posted on arXiv 28 Jul 2026.
Builds on
18 of 21 references.
References · 18
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2017CARLA: An Open Urban Driving Simulatorcited by 2,449
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2018Pyramid Stereo Matching Networkcited by 489
- 2021RAFT-Stereo: Multilevel Recurrent Field Transforms for Stereo Matchingcited by 353
- 2021FNet: Mixing Tokens with Fourier Transformscited by 347
- 2021Global Filter Networks for Image Classificationcited by 260
- 2021Adaptive Fourier Neural Operators: Efficient Token Mixers for Transformerscited by 248
6 more
- 2020Revisiting Stereo Depth Estimation From a Sequence-to-Sequence Perspective with Transformerscited by 190
- 2023Iterative Geometry Encoding Volume for Stereo Matchingcited by 190
- 2025FoundationStereo: Zero-Shot Stereo Matchingcited by 173
- 2021Fast Walsh-Hadamard Transform and Smooth-Thresholding Based Binary Layers in Deep Neural Networkscited by 14
- 2018Energy Efficient Hadamard Neural Networkscited by 12
- 2025Hadamard Attention Recurrent Transformer: A Strong Baseline for Stereo Matching Transformercited by 2
Built on by
Not cited yet.