NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Generative Transformer for Accurate and Reliable Salient Object Detection

Yuxin Mao, Jing Zhang, Zhexiong Wan, Xinyu Tian, Aixuan Li, Yunqiu Lv, Yuchao Dai · DOI

TL;DR

This paper introduces an "inferential generative adversarial network" (iGAN) built upon the Transformer architecture for salient object detection. It achieves both higher accuracy by leveraging the Transformer's global context modeling and improved reliability by estimating prediction uncertainty, addressing the common "over-confidence" issue in deep learning models.

What Problem Does This Paper Address?

Salient object detection (SOD) aims to identify and segment the most visually attention-grabbing regions in an image. While Convolutional Neural Networks (CNNs) have been dominant, they struggle with modeling long-range dependencies and can miss structural details. Transformers, with their self-attention mechanism, excel at capturing global context and structural information, leading to more accurate SOD. However, even Transformer-based models can be "over-confident," meaning they produce incorrect predictions with high certainty, making them unreliable for critical applications. Furthermore, RGB-D SOD (using both color and depth information) faces a "domain gap" issue due to variations in depth sensor data across different datasets, hindering consistent performance.

Methods

The authors propose a two-pronged approach:

  1. Transformer for Accurate SOD: They replace traditional CNN backbones with Transformer architectures (specifically Swin Transformer) for their superior ability to model global context and structural details. This leads to more accurate saliency predictions.
  2. Inferential Generative Adversarial Network (iGAN) for Reliable SOD: To address the over-confidence issue, they introduce iGAN. Unlike standard GANs that use a fixed prior for latent variables, iGAN infers an input-dependent latent variable using gradient-based Markov Chain Monte Carlo (MCMC), specifically Langevin dynamics. This stochastic latent variable allows for the estimation of predictive uncertainty, serving as a measure of reliability.

For RGB-D SOD, they also introduce an auxiliary depth module that performs self-supervised depth estimation. This module helps bridge the "domain gap" by learning to reconstruct depth information, making the model more robust to variations in depth data from different sensors.

Datasets

The paper utilizes several standard datasets for training and evaluation:

  • RGB SOD (Fully Supervised): DUTS training dataset, and tested on DUTS testing, ECSSD, DUT, HKU-IS, PASCAL-S, and SOD.
  • RGB SOD (Weakly Supervised): DUTS-S training dataset, and tested on the same datasets as fully supervised.
  • RGB-D SOD: A combination of NJU2K and NLPR datasets for training, and tested on NJU2K, NLPR, LFSD, DES, SSB, and SIP datasets.

Key Insights and Ideas

  • Transformers Excel at Global Context and Structure: The self-attention mechanism in Transformers is demonstrably better at capturing long-range dependencies and preserving structural information compared to CNNs, leading to improved accuracy in SOD.
  • Over-Confidence is a Major Hurdle: Even powerful models like Transformers can be overly confident in wrong predictions. This highlights the need for models that can quantify their uncertainty.
  • Input-Dependent Latent Variables for Reliability: By inferring a latent variable that depends on the input image (via Langevin dynamics), iGAN can better model predictive uncertainty, leading to more reliable predictions.
  • Depth Domain Gap is Real and Solvable: Variations in depth data from different sensors create a significant challenge for RGB-D SOD. An auxiliary depth module can effectively mitigate this by learning depth reconstruction.
  • Transformer's Large Receptive Field is a Double-Edged Sword: While beneficial for large salient objects, it can lead to false positives on smaller or less salient regions.

Key Results

  • The proposed iGAN with a Transformer backbone (TIGAN) achieves state-of-the-art or competitive performance on various RGB and RGB-D SOD benchmarks.
  • TIGAN demonstrates superior performance compared to CNN-based models, especially for detecting larger salient objects.
  • The iGAN framework provides uncertainty maps that are more informative and better calibrated than those from other generative models (GAN, CVAE, ABP).
  • The auxiliary depth module significantly improves RGB-D SOD performance, particularly on datasets with depth distributions different from the training data.
  • Weakly supervised SOD models also benefit from the Transformer backbone and the proposed iGAN framework.

Limitations and Future Work

  • Hyperparameter Tuning: The iGAN framework involves several hyperparameters within its inference model (Langevin dynamics) that require careful tuning for optimal performance. The authors plan to investigate this further.
  • Over-Smoothed Predictions: The iGAN model can sometimes produce over-smoothed predictions compared to standard GANs, which the authors attribute to the input-conditioned latent space. They suggest saliency ranking as a potential solution.
  • Transformer's "Double-Edged Sword": While beneficial for large objects, the Transformer's large receptive field can lead to false positives on smaller objects. The authors suggest saliency ranking could help address this.
  • Transformer-Compatible Decoders: The authors note that designing decoders specifically for Transformer backbones could further unlock their potential.
  • Active Learning: The observation that model performance doesn't always scale linearly with training data size suggests exploring active learning strategies to select representative samples for training.

Summary updated

BibTeX
@article{mao2025generative,
  author = {Yuxin Mao and Jing Zhang and Zhexiong Wan and Xinyu Tian and Aixuan Li and Yunqiu Lv and Yuchao Dai},
  title = {{Generative Transformer for Accurate and Reliable Salient Object Detection}},
  journal = {IEEE Trans. Circuits Syst. Video Technol.},
  year = {2025},
  doi = {10.1109/tcsvt.2024.3469286},
}
Figure