1. Introduction
In object detection tasks under complex environments, relying on a single sensing modality is often insufficient to simultaneously satisfy the requirements of robustness and discriminability. Visible images exhibit inherent advantages in representing fine-grained texture details and high-level semantic information; however, their informative content degrades significantly under adverse conditions such as nighttime, rain, fog, or low-contrast scenes. In contrast, visible–infrared object detection jointly exploits visible and infrared information to achieve more robust object detection under complex illumination conditions and background interference [
1]. Consequently, effectively exploiting the complementary strengths of visible and infrared modalities has become an important research direction for improving object detection performance in complex scenarios [
2,
3].
Early approaches predominantly adopted feature-level fusion strategies, in which features from different modalities were directly fused or concatenated within deep networks to alleviate the representational limitations of single-modality perception [
4]. These methods improve visible–infrared object detection performance through feature enhancement and cascaded semantic aggregation. In low-light detection tasks, illumination compensation and contextual modeling were further introduced to mitigate feature degradation and spatial semantic information loss caused by insufficient illumination, thereby enhancing detection reliability under low-light conditions [
5]. Subsequently, multiscale modeling and attention mechanisms were further introduced to strengthen complementary relationships across different feature hierarchies [
6]. For example, cross-modal attention and confidence-aware mechanisms were employed to improve detection stability and discriminability [
7,
8].
However, as application scenarios extend toward real-world complex environments, several critical challenges associated with cross-modal fusion have become increasingly evident. On the one hand, visible and infrared data acquired in practice often suffer from spatial misalignment and weak alignment, where naive feature aggregation is prone to introducing fusion ambiguity and amplifying background noise interference [
9]. On the other hand, local convolutional structures exhibit inherent limitations in modeling long-range cross-modal complementary dependencies, causing critical complementary cues to be gradually weakened during deep semantic reasoning [
10]. Moreover, variations in illumination conditions may lead to unstable response distributions within fused representations, thereby further destabilizing the cross-modal fusion process under complex environments [
11].
In summary, although existing methods have achieved significant progress in cross-modal object detection, maintaining robust cross-modal fusion under real-world complex environments remains a critical challenge.
In practical scenarios, fusion instability is often caused by coupled factors, including spatial–semantic discrepancies prior to interaction, insufficient complementary dependency modeling during interaction, and uneven response distributions after fusion. These issues weaken modality complementarity and further reduce the stability and detection reliability of cross-modal fusion under complex environments.
Among one-stage detection architectures, YOLOv11 provides a favorable balance between detection accuracy and computational efficiency, while its mature multi-scale architecture offers a stable backbone for staged cross-modal fusion. Considering that the proposed fusion framework already introduces additional interaction and modulation operations, adopting an excessively heavy detector architecture may further increase computational redundancy and reduce real-time inference capability. Therefore, YOLOv11 serves as a suitable baseline for constructing an efficient and lightweight visible–infrared multimodal detection framework. Nevertheless, the original YOLOv11 framework is primarily designed for single-modality perception and lacks explicit mechanisms for cross-modal alignment, complementary interaction, and fusion stability modeling.
Motivated by these observations, this study proposes a staged dual-branch visible–infrared object detection framework that progressively stabilizes the cross-modal fusion process under complex environments through discrepancy-aware refinement, complementary interaction modeling, and adaptive post-fusion modulation. The main contributions of this work are summarized as follows:
- (1)
A dual-branch YOLOv11-based multimodal detection framework is proposed. The proposed framework preserves discriminative visible/infrared feature representations during feature extraction and constructs a staged refine–interact–modulate cross-modal fusion structure (RIFN), where progressive cross-modal collaborative modeling is conducted only at high-level semantic stages rather than through unconstrained direct cross-modal feature interaction, thereby reducing noise interference and cross-modal semantic inconsistency while improving fusion stability under complex environments.
- (2)
A Cross-Modal Spatial–Channel Calibration (CSK) module is proposed to sequentially perform spatial discrepancy suppression and channel semantic recalibration prior to cross-modal interaction. The proposed module does not directly aggregate weakly aligned multimodal features, but instead progressively refines spatial and semantic consistency before feature interaction, thereby improving fusion stability under weakly aligned scenarios.
- (3)
A Bidirectional Cross-Modal Synergy (CSM) module is designed to model long-range complementary dependencies through constrained bidirectional interaction. The proposed module does not directly perform unrestricted full-channel global interaction, but instead decomposes projected features into pass-through and interaction branches, thereby alleviating excessive modality coupling while preserving modality-specific semantic representations.
- (4)
A lightweight Complementary Modulation (CM) module is further introduced to adaptively recalibrate fused single-stream representations after cross-modal interaction. The proposed module does not introduce additional cross-modal interaction, but instead suppresses illumination-driven post-fusion response imbalance through complementary spatial–channel modulation, thereby improving fusion consistency and detection robustness under complex environments.
The remainder of this paper is organized as follows.
Section 2 reviews recent studies on visible–infrared object detection and cross-modal fusion methods, with particular emphasis on modality discrepancy handling and global interaction modeling.
Section 3 presents the proposed dual-branch YOLOv11-based framework and details the staged refine–interact–modulate fusion strategy, including the CSK, CSM, and CM modules for discrepancy suppression, complementary dependency modeling, and adaptive recalibration, respectively.
Section 4 describes the experimental settings and provides comprehensive evaluations on the LLVIP and M
3FD datasets, including quantitative comparisons, qualitative analyses, and ablation studies. Finally,
Section 5 concludes the paper and discusses the limitations of the proposed framework as well as potential future research directions.
4. Experiments and Results
In this section, we describe the experimental setup, including implementation details, evaluation metrics, and datasets. Comparative experiments and transfer evaluations are subsequently conducted against state-of-the-art object detection models to demonstrate the superiority and generalizability of the proposed method through both qualitative and quantitative analyses. Finally, ablation studies are performed to analyze the contributions of key components within the model and to validate their impact on fusion performance.
4.1. Experimental Configuration
All the experiments were conducted under a Linux operating system environment and accelerated using an NVIDIA RTX 4090D GPU with 24 GB of memory (NVIDIA Corporation, Santa Clara, CA, USA). The CPU operates at a base frequency of 2.6 GHz with 18 physical cores, and the system is equipped with 90 GB of RAM. The experiments were implemented using Python 3.10 and PyTorch 2.1, and the deep learning environment was built upon CUDA 12.8 to support efficient parallel computation during both training and inference.
With respect to training settings, the model was trained with a batch size of 16 and an input image size of 640 × 640, with data caching enabled (cache = True) and the number of parallel data loading workers set to 8. Automatic mixed precision (AMP) training was adopted to improve training efficiency. The optimizer employed the default automatic optimization strategy provided by the YOLOv11 framework, with an initial learning rate of 0.01, a momentum coefficient of 0.937, and a weight decay factor of 0.0005. A warm-up strategy was applied during the first 3 epochs. During data preprocessing and augmentation, visible and infrared image pairs were synchronously processed to preserve cross-modal spatial correspondence. Geometric augmentations, including resizing, flipping, and Mosaic operations, were jointly applied to both modalities using shared transformation parameters. In addition, identical normalization preprocessing was adopted for both modalities following the default YOLOv11 data pipeline, without introducing modality-specific normalization strategies.
To accommodate dataset-specific characteristics, different numbers of training epochs were adopted: 150 epochs for the M3FD dataset and 100 epochs for the LLVIP dataset. This difference was determined according to the convergence behavior observed during training. Specifically, the M3FD dataset contains more complex scene variations and object categories, requiring more training epochs to achieve stable convergence, whereas the LLVIP dataset converged earlier. Training convergence was verified based on the stabilization trend of validation performance during training.
4.2. Evaluation Protocol and Metrics
In this study, the precision (P), recall (R), mean average precision (mAP), and number of parameters (Params) are adopted as evaluation metrics to assess model performance. The mAP metric represents the mean of the average precision over all the object categories. The params metric denotes the total number of model parameters, which quantifies the computational and memory resources required by the model. The specific formulations of these metrics are defined as follows:
where TP, FP, and FN denote true positives, false positives, and false negatives, respectively, and N represents the number of object categories. During evaluation, the confidence threshold followed the default YOLOv11 setting of 0.25, while the IoU threshold for non-maximum suppression (NMS) was set to 0.7. In addition, GFLOPs denotes the number of floating-point operations required for a single forward inference pass and was measured under an input resolution of 640 × 640. FPS was measured on a single RTX 4090D GPU with batch size 1 and an input resolution of 640 × 640, including both forward inference and post-processing stages.
4.3. Dataset Description
Visible–infrared object detection integrates the complementary information provided by visible texture features and infrared thermal responses to achieve robust object localization and category recognition under complex environments. In such scenarios, single-modality perception often suffers from illumination degradation, background interference, partial object occlusion, and unstable feature responses. Visible images can provide rich texture and semantic details, whereas infrared images are able to maintain stable thermal saliency under low-illumination conditions. The combination of the two modalities therefore enables more reliable multimodal perception in complex environments.
LLVIP is a visible–infrared paired dataset designed for low-light vision tasks. The dataset contains 16,836 strictly aligned visible–infrared image pairs collected from 26 different low-light surveillance scenes, where all image pairs are synchronized in both time and space. The annotations mainly focus on pedestrian targets under low-illumination conditions. The visible and infrared images have resolutions of 1920 × 1080 and 1280 × 720, respectively. Due to its strictly aligned image pairs and pedestrian-centric annotations under extremely low-light environments, LLVIP is widely used for visible–infrared pedestrian detection research.
M3FD is a multi-scenario visible–infrared object detection dataset containing six object categories, including People, Car, Bus, Motorcycle, Lamp, and Truck. The dataset contains 4200 well-aligned visible–infrared image pairs collected under diverse environments, illumination conditions, seasons, and weather scenarios. The visible and infrared images have resolutions of 1024 × 768 and 640 × 512, respectively. Compared with LLVIP, M3FD covers more diverse traffic and urban scenes with greater object-category complexity. Meanwhile, due to viewpoint differences and complex real-world environments, the dataset still exhibits certain cross-modal spatial inconsistencies, which introduces additional challenges for robust visible–infrared feature fusion and localization. Therefore, M3FD is particularly suitable for evaluating the robustness and generalization capability of multimodal detection methods under complex real-world scenarios.
In this work, both datasets were divided into training, validation, and testing subsets with a ratio of 7:2:1.
4.4. Comparison of Results
To comprehensively evaluate the effectiveness of the proposed model while ensuring fair and relevant comparisons, the experiments on the LLVIP dataset include not only the single-modality baseline YOLOv11n but also dual-branch multimodal detection models, namely, YOLOv12-D and YOLOv13-D. These two models are internally implemented multimodal variants based on the original YOLOv12 and YOLOv13 architectures, respectively. Specifically, two structurally symmetric branches were employed to independently extract visible and infrared features, while same-scale high-level semantic features were fused within the neck through feature concatenation and convolutional aggregation. The original neck topology, detection heads, and training strategy were retained to ensure fair comparisons. This design enables the evaluation to focus on performance differences among similar multimodal frameworks rather than a direct comparison between single-modality and multimodal approaches.
In addition, a representative multimodal fusion method, DEYOLO, and the Transformer-based multispectral detector GM-DETR is incorporated to construct a hierarchical evaluation paradigm consisting of “single-modality baseline–YOLO-based multimodal frameworks–global interaction-based multimodal detectors.” For fair evaluation, all methods were tested under the same dataset split, input resolution, and evaluation protocol. Considering the architectural differences between DETR-based and YOLO-based detectors, the training strategy and optimization settings of GM-DETR followed its official implementation to ensure stable convergence.
Qualitative Analysis:
Figure 5 presents a qualitative comparison of detection results on the LLVIP dataset, which primarily consists of pedestrian scenes captured under nighttime and low-light conditions, thereby imposing stringent requirements on the robustness of object detection models. As observed from the visualization results, the single-modality method YOLOv11n tends to suffer from missed detections, low confidence scores, and incomplete bounding boxes under low-illumination conditions. Although YOLOv12-D and YOLOv13-D introduce dual-branch multimodal architectures that improve detection performance to some extent, they still exhibit unstable responses and localization deviations in complex backgrounds and strong interference scenarios.
DEYOLO improves pedestrian visibility in low-light environments to a certain extent by leveraging the infrared modality; however, its detection results still exhibit noticeable fluctuations across different scenarios. GM-DETR further improves global contextual modeling and achieves relatively stable responses under low-light conditions. In contrast, the proposed method maintains more stable detection performance under varying low-light conditions. By further performing internal recalibration on the fused features, the model effectively suppresses background interference and highlights critical pedestrian regions, thereby achieving higher and more consistent detection confidence in complex nighttime scenes.
Quantitative Analysis:
Table 1 presents the quantitative comparison results on the LLVIP dataset. The proposed method was repeatedly evaluated under three different random seeds, achieving 93.9 ± 0.18% mAP@50 and 56.2 ± 0.14% mAP@50–95, demonstrating stable visible–infrared detection performance under low-light environments. Compared with the single-modality baseline YOLOv11n, the mean Precision and Recall are improved by 5.8% and 9.1%, respectively, demonstrating the effectiveness of introducing multimodal complementary information for pedestrian detection under low-light conditions. Although the proposed method introduces higher parameter complexity and computational cost than YOLOv11n, it achieves significant improvements in Precision, Recall, mAP@50, and mAP@50–95, indicating that it can effectively improve multimodal feature discrimination under low-light environments.
The proposed method further outperforms the dual-branch multimodal baselines YOLOv12-D and YOLOv13-D in terms of Precision, Recall, mAP@50, and mAP@50–95, indicating that the performance improvement is not solely derived from multimodal inputs, but also benefits from the proposed staged cross-modal fusion strategy. Furthermore, compared with DEYOLO and GM-DETR, the proposed method not only achieves higher detection accuracy, but also further reduces GFLOPs to 14.2 and increases FPS to 378, while maintaining lower computational overhead and higher inference efficiency. These results demonstrate that the proposed framework achieves a favorable balance between detection accuracy and runtime efficiency, while maintaining robust pedestrian detection capability under complex low-light environments.
4.5. Cross-Scenario Evaluation on the M3FD Dataset
To further validate the generalizability and cross-scenario adaptability of the proposed method, cross-dataset evaluations were conducted on the M3FD dataset. Similar to the primary experiments, the single-modality baseline YOLOv11n and the dual-branch multimodal models YOLOv12-D and YOLOv13-D are adopted as comparison methods, together with the representative multimodal detection approaches DEYOLO and GM-DETR, thereby constructing a multilevel evaluation framework consistent with the main experiments. By assessing model performance under different data distributions and complex environmental conditions, the stability and effectiveness of the proposed staged cross-modal fusion strategy are systematically analyzed, further demonstrating the generalizability and practical application potential of the proposed model. All models were independently trained and evaluated on each dataset, and no cross-dataset fine-tuning or transfer learning strategy was adopted.
Qualitative Analysis:
Figure 6 presents the detection results of different methods on the M
3FD dataset under complex traffic scenarios, including tunnel entrances, backlighting conditions, and densely populated multi-object scenes. YOLOv11n tends to suffer from blurred object boundaries and missed detections under uneven illumination and complex backgrounds. Although YOLOv12-D and YOLOv13-D adopt dual-branch multimodal architectures that alleviate information loss caused by low-light conditions to some extent, they still exhibit unstable responses and localization deviations in scenarios involving spatial misalignment and scale variation. DEYOLO further improves multimodal fusion performance; however, it may still produce dispersed responses and category confusion in complex traffic scenes. GM-DETR enhances global contextual modeling and achieves relatively stable responses under complex environments; however, localization deviations can still be observed in densely distributed and small-target traffic scenes.
In contrast, the proposed method yields more concentrated and stable target responses across various challenging scenarios. Benefiting from the staged “refinement–interaction–modulation” fusion strategy, the proposed method effectively suppresses cross-modal interference and preserves clear target boundaries under complex illumination and background conditions. These results further demonstrate the stable cross-scenario detection capability of the proposed method.
Quantitative Analysis:
Table 2 presents the overall quantitative comparison results of different methods on the M
3FD dataset. The proposed method was likewise repeatedly evaluated under three different random seeds, achieving 75.8 ± 0.24% mAP@50 and 50.3 ± 0.19% mAP@50–95, which further demonstrates the stability and reproducibility of the proposed framework under complex traffic scenarios. Compared with the single-modality baseline YOLOv11n, the mean mAP@50 and mAP@50–95 are improved by 6.6% and 6.7%, respectively, demonstrating the effectiveness of introducing multimodal complementary information under complex traffic scenarios. Furthermore, the proposed method also outperforms the dual-branch multimodal baselines YOLOv12-D and YOLOv13-D, further improving the mean mAP@50–95 metric by 7.1% and 6.8%, respectively, indicating that the proposed staged cross-modal fusion strategy further contributes to more robust localization performance beyond the benefit of multimodal inputs alone.
Compared with GM-DETR and DEYOLO, the proposed method maintains lower GFLOPs and higher FPS, demonstrating that the proposed staged fusion strategy achieves a favorable trade-off between detection accuracy and runtime efficiency under complex traffic scenarios. Although it does not achieve the highest Recall and introduces slightly higher parameter complexity than DEYOLO, it still achieves the best overall mAP performance, demonstrating a more favorable balance among detection accuracy, robustness, and computational efficiency under complex traffic scenarios. Furthermore, the performance improvement achieved under the stricter mAP@50–95 metric further demonstrates the effectiveness of the proposed method in maintaining stable visible–infrared detection performance under complex environments.
Since the LLVIP dataset mainly focuses on single-category pedestrian detection, class-wise evaluation is only conducted on the multi-category M
3FD dataset. The detailed class-wise comparison results are presented in
Table 3. The proposed method achieves the best overall mAP performance across all categories and obtains the highest accuracy on Car, Bus, Motorcycle, and Lamp. Among these categories, the improvement for Lamp is particularly notable, where the proposed method significantly outperforms all comparison methods. This improvement may be attributed to the fact that lamp targets are usually small, illumination-sensitive, and easily affected by complex background interference. Benefiting from the staged cross-modal fusion strategy, the proposed method can better preserve discriminative visible–infrared complementary cues while suppressing unstable background responses.
The Motorcycle category also shows clear improvements over all comparison methods, indicating that the proposed method is effective for small-scale and low-contrast targets with complex structural characteristics. In contrast, the improvement for Truck is relatively limited. Although the proposed method still outperforms YOLOv11n, YOLOv12-D, YOLOv13-D, and GM-DETR on this category, its performance remains slightly lower than that of DEYOLO. This may be because truck targets usually occupy larger spatial regions and exhibit relatively stable structural representations, reducing the relative benefit brought by fine-grained cross-modal interaction and recalibration. Similarly, the performance on the People category is slightly lower than that of DEYOLO and GM-DETR, which may be related to dense pedestrian distributions, partial occlusion, and cross-modal spatial inconsistencies in complex traffic scenes. Nevertheless, the proposed method still achieves the best overall category-level performance, demonstrating stronger robustness and more balanced generalization capability across different object categories.
4.6. Ablation Study
To verify the effectiveness of each key component and their synergistic contributions to cross-modal object detection, ablation experiments are conducted on both the LLVIP and M3FD datasets for the Cross-Modal Spatial–Channel Calibration (CSK) module, bidirectional cross-modal synergy (CSM) module, and complementary modulation module (CM). The performance is evaluated using mAP@50 and mAP@50–95 as the primary metrics.
Table 4 reports the ablation results under different module combinations, where the baseline corresponds to the YOLOv11n model without additional cross-modal enhancement modules. Introducing CSK alone increases mAP@50 from 69.2% to 73.1% and mAP@50–95 from 43.6% to 48.1% on the M
3FD dataset, while improving mAP@50 from 86.7% to 90.6% and mAP@50–95 from 48.2% to 52.1% on LLVIP. These results indicate that reducing spatial misalignment and channel-wise inconsistency before cross-modal interaction is beneficial for improving feature representation quality across different scenarios.
In comparison, incorporating CSM or CM individually also improves detection performance on both datasets, although the gains are relatively smaller than those achieved by CSK. When CSK and CSM are jointly enabled, mAP@50–95 further increases to 49.2% on M3FD and 54.5% on LLVIP, suggesting that complementary interaction modeling becomes more effective after preliminary cross-modal calibration.
Combining CSK with CM also leads to further performance improvement, achieving 49.3% mAP@50–95 on M3FD and 54.8% on LLVIP. In addition, the CSM + CM configuration achieves competitive performance, reaching 49.4% mAP@50–95 on M3FD and 55.0% on LLVIP, which indicates that interaction modeling and adaptive modulation can still provide effective feature enhancement without explicit calibration. Nevertheless, the full model achieves the best overall performance on both datasets, with mAP@50–95 reaching 50.3% on M3FD and 56.2% on LLVIP, demonstrating that the three modules provide complementary benefits within the staged refine–interact–modulate framework.
Figure 7 presents the visualization analysis results under different ablation configurations. As shown in
Figure 7b, the baseline model exhibits relatively scattered activation distributions and significant background interference, where non-target regions such as buildings, poles, and road textures produce strong responses, indicating that the model still suffers from insufficient cross-modal feature discrimination capability. Meanwhile, within the red-boxed vehicle regions, the target activations remain relatively dispersed, and several small or distant objects fail to form stable attention regions.
After introducing the CSK module in
Figure 7c, the activation regions become more concentrated around the vehicle targets, while several background responses are suppressed. In particular, the activation distributions around the central vehicle and distant small targets become more focused on the target bodies, demonstrating that CSK effectively improves cross-modal spatial consistency and alleviates feature misalignment between modalities.
With the further introduction of the CSM module, as illustrated in
Figure 7d, the model exhibits stronger target-aware capability and more continuous contextual responses across multiple object regions. Compared with the CSK-only configuration, the activation distributions among the red-boxed regions show stronger semantic correlation, especially through the formation of more continuous response patterns between adjacent vehicle targets, indicating that CSM contributes to enhanced long-range cross-modal dependency modeling and complementary semantic interaction.
Finally, as shown in
Figure 7e, the full model further reorganizes the activation distributions, resulting in smoother and more stable feature responses that are more concentrated around target regions. Compared with the previous configurations, the vehicle regions within the red boxes exhibit more continuous and stable target responses, while redundant activations over background structures are noticeably reduced. This demonstrates that the CM module can effectively recalibrate fused feature responses dynamically, thereby improving feature stability and discriminative capability under complex nighttime environments. Overall, the visualization results further validate the effectiveness of the proposed progressive “refinement–interaction–modulation” fusion strategy.
5. Conclusions
To address the issues of spatial misalignment, semantic inconsistency, and illumination-driven response imbalance in visible–infrared object detection under complex environments, this paper constructs a dual-branch multimodal detection framework based on YOLOv11 and proposes a staged cross-modal fusion strategy, systematically optimizing cross-modal collaborative modeling from both architectural design and fusion mechanism perspectives.
Experimental analyses across different datasets demonstrate that stage-wise decomposition in the cross-modal fusion process plays a crucial role in improving detection performance. Specifically, performing discrepancy-aware refinement prior to cross-modal interaction helps alleviate feature conflicts between modalities. Building upon this, further recalibration of the fused features can reduce uneven spatial–channel response distribution, thereby improving fusion stability and detection reliability under complex environments. In addition, the experimental results indicate that the proposed method maintains stable performance across different data distributions and scene conditions, demonstrating strong generalization capability.
Despite the effectiveness of the proposed method, several challenges still remain. Although the proposed framework demonstrates strong performance on the LLVIP and M3FD datasets, further validation under more diverse real-world scenarios involving severe weather conditions, large-scale viewpoint variations, and stronger cross-modal misalignment is still necessary. In addition, the proposed staged fusion strategy introduces additional architectural complexity due to the multi-stage cross-modal interaction design, and its performance may still be affected when one modality suffers from severe quality degradation or unstable sensing conditions. Although the proposed framework achieves a favorable balance between detection accuracy and computational efficiency, further optimization of the dual-branch interaction structure may still benefit lightweight deployment on resource-constrained devices.
In future work, we will further explore more fine-grained geometric alignment strategies, lightweight global interaction mechanisms, and model compression techniques to improve robustness, efficiency, and practical deployment capability under more challenging real-world environments.