Abstract
Salient Object Detection (SOD) aims to identify the most visually significant objects in a scene. While the Segment Anything Model (SAM) has revolutionized general segmentation, its class-agnostic nature and RGB-only training limit its effectiveness for multi-modal SOD. We present Sammese, a framework that adapts a frozen SAM for multi-modal SOD through semantic feature fusion. By incorporating a Multi-modal Adapter and an automated prompt generation strategy, Sammese effectively "steers" SAM to identify salient objects using combined RGB, depth, and thermal data. Our approach achieves state-of-the-art results across nine benchmarks, demonstrating robust generalization with minimal learnable parameters.
Introduction
Salient Object Detection (SOD) is a fundamental task in computer vision, focusing on locating objects that naturally draw human attention. While RGB-based SOD has matured, it often falters in challenging environments such as low light or cluttered backgrounds. Multi-modal SOD, which incorporates Depth or Thermal information, offers a solution but typically suffers from data scarcity, leading to models that generalize poorly.
The Segment Anything Model (SAM) represents a breakthrough in vision foundation models. However, applying it directly to SOD reveals two critical limitations:
- Class-Agnosticism: SAM segments all possible objects without distinguishing which is "salient."
- Single-Modal Design: SAM is natively restricted to RGB inputs, ignoring the rich information provided by depth or thermal sensors.
The Sammese Framework
Sammese adapts SAM by keeping its core parameters frozen and introducing lightweight, learnable components that guide the model toward saliency detection across multiple modalities.
Multi-modal Complementary Fusion Module (MCFM)
To process diverse inputs, Sammese utilizes a frozen Swin-B backbone to extract features from RGB and Depth/Thermal pairs. The MCFM employs cross-attention mechanisms to mine complementary information between modalities, synthesizing a unified "semantic feature" that captures the essence of the salient object.
Multi-modal Adapter (MAdapter)
To bridge the gap between SAM's RGB-centric encoder and multi-modal data, the authors insert lightweight adapters into each block of SAM’s image encoder. These MAdapters use a fusion unit to inject the synthesized multi-modal semantic features directly into SAM’s internal feature space, allowing the frozen weights to "see" the additional modality.
Semantic-Geometric Prompt Generation
SAM's performance is highly dependent on prompts. Sammese automates this process to remove the need for manual intervention:
- Geometric Prompts: The system predicts a coarse saliency map from fused features, from which it automatically derives point and box prompts.
- Semantic Prompts: A set of learnable queries extracts high-level saliency cues from the fused features, which are then fed into SAM’s mask decoder as semantic embeddings.
Experimental Evaluation
Sammese was evaluated on a comprehensive suite of nine benchmarks:
- RGB-Depth (RGB-D): DUT, NJUD, NLPR, SSD, SIP, and STERE.
- RGB-Thermal (RGB-T): VT821, VT1000, and VT5000.
The model was trained on standard subsets, such as 2,500 samples from the VT5000 dataset for RGB-T tasks.
Key Results
Sammese consistently outperformed 12 state-of-the-art methods across both RGB-D and RGB-T categories.
- Superior Accuracy: On the DUT (RGB-D) dataset, Sammese achieved an S-measure ($S_m$) of 0.954 and a Mean Absolute Error (MAE) of 0.016. On the challenging VT5000 (RGB-T) dataset, it demonstrated a 3.9% average improvement across all metrics compared to the previous state-of-the-art, VSCode.
- Parameter Efficiency: Despite the large scale of the underlying SAM architecture, the learnable components of Sammese comprise only 68M parameters. This makes the framework significantly easier to fine-tune than training a full multi-modal transformer from scratch.
Conclusion
Sammese demonstrates that large, frozen foundation models like SAM can be effectively "steered" for specialized tasks through dual-level adaptation: feature-level adaptation via encoders and instruction-level adaptation via prompts. This strategy effectively overcomes the limitations of data scarcity in multi-modal SOD. Future work will explore extending this adapter-prompt paradigm to video salient object detection and multi-modal instance segmentation.
Summary updated