All in One: RGB, RGB-D, and RGB-T Salient Object Detection

Xingzhao Jia, Zhongqiu Zhao, Changlei Dongye, Zhao ZhangarXiv 2023 · DOI

Introduction

Salient Object Detection (SOD) is a fundamental computer vision task aimed at identifying and segmenting the most visually significant objects in a scene. While traditional methods focus on standard RGB images, modern applications increasingly leverage auxiliary data—such as depth maps (RGB-D) or thermal infrared maps (RGB-T)—to overcome challenges like low lighting, camouflage, or complex backgrounds.

Historically, the field has been fragmented, with researchers developing specialized, heavy, dual-stream architectures for each modality. The authors of this work introduce AiOSOD (All-in-One SOD), a unified, lightweight framework capable of processing RGB, RGB-D, and RGB-T data using a single set of model weights, achieving state-of-the-art performance with exceptional efficiency.

The Challenge of Multi-Modality SOD

Existing multi-modal SOD models typically rely on dual-stream networks that process RGB and auxiliary data separately before fusing them. This approach leads to high computational overhead and increased parameter counts. Furthermore, training a single model on multiple modalities often results in "interference" during the normalization phase, where statistics from one data type (e.g., thermal) negatively impact the learning of another (e.g., RGB).

The AiOSOD Framework

AiOSOD addresses these challenges through three primary architectural innovations:

1. Single-Stream Transformer Backbone

Instead of separate branches, AiOSOD uses a single-stream T2T-ViT-10 (Tokens-to-Token Vision Transformer) encoder. Images from different modalities are concatenated in an orderly manner within the input batch. Transformers are naturally modality-agnostic, making them better suited than CNNs for handling the structural differences between visual, depth, and thermal data.

2. The LayerNorm Solution

A critical technical insight of this work is the replacement of standard BatchNorm with LayerNorm. In mixed-modality training, BatchNorm causes interference because it calculates statistics across the entire batch, mixing different data types. LayerNorm, conversely, operates on individual samples, allowing the model to learn modality-specific features without cross-contamination.

Visualizing how LayerNorm avoids cross-modality interference compared to BatchNorm.

3. Specialized Fusion Modules

To refine the final saliency maps, the framework incorporates three specialized modules within the decoder:

  • Token Fusion Module (TFM): Uses a scaled dot-product attention mechanism to integrate high-level cross-modal information.
  • Feature Fusion Module (FFM) & Multi-level Feature Fusion Module (MFFM): These modules aggregate features across different network levels to produce high-resolution, accurate segmentation masks.
The AiOSOD architecture featuring the T2T-ViT-10 backbone and the Token/Feature Fusion Modules (TFM, FFM, MFFM).

Key Results and Performance

AiOSOD demonstrates that joint training across all three modalities actually improves generalization and performance compared to single-modality training. The model is remarkably efficient:

  • Efficiency: It contains only 6.25M parameters, making it significantly smaller than competitors like SwinNet (189M) or VST (79M).
  • Speed: It achieves blistering inference speeds of up to 780 FPS for RGB data and 485 FPS for RGB-D/T data on an RTX 2080Ti.
  • Accuracy: Despite its tiny footprint, it achieves top-tier results across standard benchmarks, including the NJUD, SIP (RGB-D), and VT1000 (RGB-T) datasets.

Conclusion

AiOSOD represents a significant step toward unified vision models. By treating depth and thermal maps as specialized input channels and leveraging the sample-wise normalization of LayerNorm, the authors have created a framework that is both highly accurate and fast enough for edge-device deployment. Future work may extend this "single-stream, joint-training" philosophy to additional modalities and video-based detection tasks.

Summary updated

BibTeX
@misc{jia2023all,
  author = {Xingzhao Jia and Zhongqiu Zhao and Changlei Dongye and Zhao Zhang},
  title = {{All in One: RGB, RGB-D, and RGB-T Salient Object Detection}},
  year = {2023},
  eprint = {2311.14746},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.14746},
}
Figure