SIEFormer: Spectral-Interpretable and -Enhanced Transformer for Generalized Category Discovery
Chunming Li, Shidong Wang, Tong Xin, Haofeng Zhang
TL;DR
SIEFormer reinterprets Vision Transformer attention through spectral analysis and introduces two complementary branches: an implicit Band-Adaptive Filter (BaF) operating on token values via graph Laplacian spectral filtering, and an explicit Maneuverable Filtering Layer (MFL) that filters value features in the frequency domain using Fourier transforms. This dual-spectral design enables joint optimization for Generalized Category Discovery, achieving state-of-the-art results on diverse generic and fine-grained datasets while offering strong ablations that highlight the contribution of each spectral component. The approach demonstrates robust performance improvements, especially in discovering new categories, and shows favorable efficiency compared to strong ViT-based baselines. The work establishes a pathway for incorporating spectral theory into open-world recognition, with potential extensions to related tasks such as incremental learning and out-of-distribution detection.
Abstract
This paper presents a novel approach, Spectral-Interpretable and -Enhanced Transformer (SIEFormer), which leverages spectral analysis to reinterpret the attention mechanism within Vision Transformer (ViT) and enhance feature adaptability, with particular emphasis on challenging Generalized Category Discovery (GCD) tasks. The proposed SIEFormer is composed of two main branches, each corresponding to an implicit and explicit spectral perspective of the ViT, enabling joint optimization. The implicit branch realizes the use of different types of graph Laplacians to model the local structure correlations of tokens, along with a novel Band-adaptive Filter (BaF) layer that can flexibly perform both band-pass and band-reject filtering. The explicit branch, on the other hand, introduces a Maneuverable Filtering Layer (MFL) that learns global dependencies among tokens by applying the Fourier transform to the input ``value" features, modulating the transformed signal with a set of learnable parameters in the frequency domain, and then performing an inverse Fourier transform to obtain the enhanced features. Extensive experiments reveal state-of-the-art performance on multiple image recognition datasets, reaffirming the superiority of our approach through ablation studies and visualizations.
