DnA: Denoising Attention for Visual Tasks

R. Campos, Subhajit Maity, Xin Li, Srijan Das, Aritra Dutta
6/1/2026
transformer-attention

No confident code implementation found for this paper.

Abstract

The softmax activation in multihead attention (MHA) is the de facto standard for attention-based models in visual perception tasks. However, standard softmax can produce noisy attention patterns that dilute relevant features and degrade its performance.

Show full abstract

In this paper, we propose Denoising Attention or DnA, in which, first, a positive query identifies which image features belong to the correct class, and a negative query identifies closely associated but irrelevant image features. DnA then projects these interactions into two distinct subspaces with larger principal angles, promoting subspace separation and improved discriminability. Using a ViT-B backbone, our proposed DnA achieves an absolute gain of 0.8% on ImageNet-1K compared to the baseline. We further show improvements across multiple visual understanding tasks, including video understanding with video transformers (1.8%) and video LLMs (0.5%). Our extensive empirical analyses justify the design choices involving two interacting subspaces and the denoising effect of DnA.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{campos2026dna,
  title  = {DnA: Denoising Attention for Visual Tasks},
  author = {R. Campos and Subhajit Maity and Xin Li and Srijan Das and Aritra Dutta},
  year   = {2026},
  eprint = {2606.27372},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2606.27372},
  journal = {European Conference on Computer Vision}
}

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/2606.27372.svg)](https://codeofpaper.com/paper/2606.27372)

Discussion