Abstract
Salient Object Detection (SOD) typically relies on specific input modalities, such as RGB, RGB-D, or RGB-T. However, real-world applications often face dynamic sensor availability, where sensors may be deactivated to save power or due to environmental changes. We present a framework for Arbitrary Modality SOD (AM SOD) that handles any combination of RGB, Depth, and Thermal data using a single model. By employing a Modality Switch Network (MSN) with shared weights and a Dynamic Fusion Module (DFM), the system adaptively extracts and merges features from one, two, or three modalities. Evaluation on a new benchmark, AM-XD, demonstrates competitive performance across seven different input settings with a unified parameter set.
Introduction
Salient Object Detection (SOD) is the task of identifying the most visually significant objects in a scene. While traditional models perform well with standard RGB images, they often struggle in complex environments characterized by low light or cluttered backgrounds. To address these challenges, researchers have developed multi-modal models that incorporate Depth (D) or Thermal (T) data.
However, existing multi-modal models are "modality-specific." A model trained for RGB-D cannot process RGB-T or triple-modality RGB-D-T data without significant redesign or retraining. In practical scenarios—such as a robot selectively disabling power-hungry sensors or a smartphone switching to infrared at night—this rigidity is a major bottleneck. This research proposes Arbitrary Modality SOD (AM SOD): a single model capable of handling a dynamic number and type of inputs.
Methodology
The proposed Modality Switch Network (MSN) introduces two primary innovations to enable flexible input handling:
1. Modality Switch Feature Extractor (MSFE)
To avoid the parameter explosion associated with separate branches for each modality, the MSN uses a shared backbone (ResNet50). To manage potential "modality conflict," the authors introduce Modality Indicators (one-hot vectors). These indicators feed into a weight generator that adaptively adjusts the network's focus, allowing the shared weights to extract the most relevant features for the specific input modality.
2. Dynamic Fusion Module (DFM)
Traditional fusion techniques often require a fixed number of inputs. The DFM overcomes this by treating each modality's features as "tokens," similar to Transformer architectures. It utilizes a cross-modal attention mechanism to explore interactions between whatever modalities are present. By concatenating features along a new "modality dimension" rather than the channel dimension, the model remains mathematically consistent regardless of whether it processes one, two, or three images.
Experimental Setup
To validate this universal approach, the researchers constructed the AM-XD benchmark, which aggregates several specialized datasets including DUTS (RGB), NJU2K/NLPR/SIP (RGB-D), VT5K (RGB-T), and VDT-2048 (RGB-D-T). The training set includes 11,533 samples, while the testing set contains 13,442 samples. Evaluation is conducted in two modes: "Sole Mode" (testing specific combinations like Thermal only) and "Joint Mode" (testing overall performance across all possible input types).
Results and Discussion
- Versatility and Efficiency: The MSN achieved competitive results across seven different input settings (RGB, D, T, RGB-D, RGB-T, D-T, and RGB-D-T) using the same weights. By sharing weights in the MSFE, the model maintains a manageable parameter count (~47M) while outperforming many modality-specific models.
- Joint Performance: In "Joint Mode," the model achieved a Mean Absolute Error (MAE) of 0.049 and an F-measure of 0.816, proving its ability to effectively synthesize information from disparate sensors.
- Modality Awareness: Quantitative results confirm that adding modalities generally improves performance. The model successfully identifies higher-quality modalities (e.g., clear RGB vs. noisy Thermal) and prioritizes them during fusion.
Conclusion
The MSN framework successfully addresses the rigidity of traditional SOD models by enabling arbitrary modality processing. While the model is a versatile "jack of all trades," future work aims to close the slight performance gap compared to state-of-the-art RGB-only models and explore pure Transformer-based backbones to further enhance the network's ability to handle diverse data distributions.
Summary updated