Hadamard Attention Recurrent Transformer: A Strong Baseline for Stereo Matching Transformer

Ziyang Chen, Wenting Li, Yongjun Zhang, Yabo Wu, Bingshu Wang +2 more
1/2/2025
4 citations
cs.CV
transformer-attention

Official code: ZYangChen/HART (19 stars, Python, last commit 2025-12-09).

Abstract

Constrained by the low-rank bottleneck inherent in attention mechanisms, current stereo matching transformers suffer from limited nonlinear expressivity, which renders their feature representations sensitive to challenging conditions such as reflections. To overcome this difficulty, we present the Hadamard Attention Recurrent Stereo Transformer (HART).

Show full abstract

HART includes a novel attention mechanism that incorporates the following components: 1) The Dense Attention Kernel (DAK) maps the attention weight distribution into a high-dimensional space over (0, +$\infty$). By removing the upper bound constraint on attention weights, DAK enables more flexible modeling of complex feature interactions. This reduces feature collinearity. 2) The Multi Kernel & Order Interaction (MKOI) module extends the attention mechanism by unifying semantic and spatial knowledge learning. This integration improves the ability of HART to learn features in binocular images. Experimental results demonstrate the effectiveness of our HART. In reflective area, HART ranked 1st on the KITTI 2012 benchmark among all published methods at the time of submission. Code is available at https://github.com/ZYangChen/HART.

View on arXivView PDF

Code Implementations(1)

ZYangChen/HARTOfficial100%

The official implementation of "Hadamard Attention Recurrent Transformer: A Strong Baseline for Stereo Matching Transformer"

191Python, ShellJul 2, 202411 months ago

Similar Papers

Cite this paper

@article{chen2025hadamard,
  title  = {Hadamard Attention Recurrent Transformer: A Strong Baseline for Stereo Matching Transformer},
  author = {Ziyang Chen and Wenting Li and Yongjun Zhang and Yabo Wu and Bingshu Wang and Yong Zhao and C. L. Philip Chen},
  year   = {2025},
  eprint = {2501.01023},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.01023v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.01023.svg)](https://codeofpaper.com/paper/2501.01023)

Discussion