Frequency-Aware Affinity for Weakly Supervised Semantic Segmentation

Zi-Qian Yang, Xiang-Lin Qiu, Xin-Qiao Zhao, Xiao-Lei Wang, Quan Zhang +1 more
1/1/2026
transformer-attention

No official code found. Best implementation: yay97/DFA (1 star, last commit 2026-03-21).

Abstract

Weakly Supervised Semantic Segmentation (WSSS) typically utilizes Class Activation Maps (CAMs) to provide the pixel-wise localization. However, CAMs tend to activate only the most discriminative regions, leading to suboptimal WSSS performance.

Show full abstract

Although existing CAM refinement methods leverage pair-wise relations in affinity to expand the activation regions, these affinities derived from Vision Transformer (ViTs) exhibit a smoothing property, neglecting crucial high-frequency relations and failing to accurately refine object boundaries. In this work, we propose the Dual Frequency-Aware framework (DFA) to address this limitation. Specifically, the Low-Frequency-Aware Alignment (LFAA) generates low-frequency-aware affinity that captures salient semantic relations to enhance object interior semantic consistency on CAMs, while the High-Frequency-Aware Rectification (HFAR) module produces high-frequency-aware affinity that models precise relations to preserve object boundary structure on CAMs. By effectively integrating these two complementary affinities, we design a novel Frequency-Guided (FG) CAM Generation based on Optimal Transport theory, which significantly omits the complex refinement process. Extensive experiments demonstrate that our DFA framework achieves state-of-the-art performance on both PASCAL VOC and MS COCO benchmarks. Code will be released.

Semantic Scholar

Code Implementations(1)

yay97/DFACommunity67%

Frequency-Aware Affinity for Weakly Supervised Semantic Segmentation

10Mar 21, 20268 months ago

Similar Papers

Cite this paper

@article{yang2026frequencyaware,
  title  = {Frequency-Aware Affinity for Weakly Supervised Semantic Segmentation},
  author = {Zi-Qian Yang and Xiang-Lin Qiu and Xin-Qiao Zhao and Xiao-Lei Wang and Quan Zhang and Ji-Min Xiao},
  year   = {2026},
  url    = {https://api.semanticscholar.org/CorpusID:0814cc4d2529a27091a8d4923224a0abc23a04ac},
  journal = {Computer Vision and Pattern Recognition}
}

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

Discussion