Skip to Content
AlgorithmsAlgorithms
  • Article
  • Open Access

8 June 2026

20 Pages

MCFusion: A Lightweight RGB-T Pedestrian Detection Method with Progressive Thermal Compensation

,
and
School of Mechanical Engineering, Shenyang Ligong University, Shenyang 110159, China
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue Applications of Image Recognition Algorithms

Abstract

RGB-T pedestrian detection remains challenging under low-light, occluded, crowded, and complex-background conditions. To improve cross-modal feature fusion while maintaining model efficiency, this paper proposes MCFusion, a lightweight RGB-T pedestrian detection method with progressive thermal compensation. MCFusion adopts a dual-branch RGB–thermal feature extraction structure and introduces a Modality-Compensated Gated Fusion (MCGF) module at the P4 and P5 semantic stages, which is implemented as a zero-initialized residual compensation mechanism. MCGF uses RGB features as the primary stream and progressively compensates them with thermal auxiliary features through a zero-initialized convolutional gate, reducing the interference caused by direct fusion. In addition, a Lightweight Shared Convolutional Detection Head (LSCD) is adopted to reduce redundant computation in multi-scale prediction. On the LLVIP dataset, MCFusion achieves 95.30% mAP50 and 60.10% mAP50:95 with 5.21 M parameters and 10.50 GFLOPs. Compared with the YOLOv11n RGB baseline, it improves mAP50 and mAP50:95 by 7.50 and 10.70 percentage points, respectively. Experiments on KAIST, ablation studies, and visualization results further demonstrate the effectiveness of the proposed method.

1. Introduction

Pedestrian detection is a fundamental task in computer vision and plays an important role in intelligent transportation, autonomous driving, video surveillance, and public safety systems [1]. In practical scenarios, such as nighttime roads, low-light surveillance scenes, underground parking lots, and crowded streets, pedestrians are often affected by scale variation, occlusion, background clutter, and dense distributions. Under these conditions, visible images may suffer from degraded texture, blurred edges, and reduced target contrast, which can lead to missed detections, false alarms, and unstable localization [2,3]. Therefore, improving the accuracy, robustness, and efficiency of pedestrian detection in complex environments remains an important problem.
Visible images provide rich texture, color, and structural information, which is useful for pedestrian contour representation and boundary localization. However, the visible modality is sensitive to illumination changes and can become unreliable in low-light or nighttime scenes [4,5]. In contrast, thermal infrared images reflect the thermal radiation difference between pedestrians and the background and can preserve target saliency under weak illumination. Nevertheless, thermal images usually lack fine texture and boundary details, and may be disturbed by thermal interference from vehicles, streetlights, or ground reflections [6,7]. Thus, RGB-T pedestrian detection can benefit from the complementary properties of visible and thermal modalities.
As shown in Figure 1, RGB images provide clearer scene structure and texture details, whereas thermal infrared images highlight pedestrian regions more effectively under low-light conditions. However, RGB and thermal features have different distributions, reliability, and noise characteristics. Simple feature concatenation or addition may introduce redundant responses and modality interference. Therefore, an effective RGB-T detector should selectively exploit complementary information while maintaining a lightweight architecture.
Figure 1. Comparison between visible and thermal infrared images. Each column shows paired images from the same scene, with RGB images in the upper row and thermal images in the lower row.
Existing RGB-T pedestrian detection methods have improved detection performance through dual-branch networks, feature fusion strategies, and cross-modal attention mechanisms [7,8]. However, direct fusion strategies are insufficient for distinguishing effective complementary cues from redundant or noisy responses. In addition, complex fusion modules often increase the number of parameters and computational cost, limiting their use in real-time or resource-constrained scenarios [9]. Therefore, it is necessary to design a lightweight fusion mechanism that can enhance cross-modal complementarity without introducing excessive computational overhead.
To address these issues, this paper proposes MCFusion, a lightweight RGB-T pedestrian detection method for complex scenes. The framework adopts parallel RGB and thermal branches to extract modality-specific features. A Modality-Compensated Gated Fusion (MCGF) module is deployed at the P4 and P5 feature stages to introduce thermal information as progressive residual compensation for RGB features. In addition, a Lightweight Shared Convolutional Detection Head (LSCD) is introduced to reduce redundant computation in multi-scale prediction.
The main contributions of this paper are summarized as follows:
  • A lightweight RGB-T pedestrian detection method, termed MCFusion, is proposed. It adopts a dual-branch RGB–thermal structure and performs semantic-level fusion at P4 and P5 to improve robustness in low-light and complex scenes.
  • A Modality-Compensated Gated Fusion module is designed. It treats RGB features as the primary stream and introduces thermal features as progressive residual compensation through a zero-initialized convolutional gate, reducing noise interference caused by direct fusion.
  • A Lightweight Shared Convolutional Detection Head is incorporated into the final detection architecture to reduce redundant computation in multi-scale prediction. Experiments on LLVIP and KAIST demonstrate that the complete MCFusion model achieves a favorable balance between detection accuracy and model complexity.

3. Methodology

3.1. Overall Framework

The key idea of MCFusion is to use RGB features as the primary information stream and thermal infrared features as auxiliary compensation cues. This design preserves the structural stability of visible features while progressively introducing thermal saliency information.
As shown in Figure 2, MCFusion consists of an RGB/Thermal dual-branch feature extraction network, P4/P5 Modality-Compensated Gated Fusion modules, an FPN/PAN multi-scale feature aggregation network, and the LSCD detection head. The RGB branch extracts texture, edge, and scene-structure information, while the thermal branch provides pedestrian saliency cues. Considering that shallow features are more sensitive to texture noise and local registration errors, cross-modal fusion is performed only at the P4 and P5 semantic stages.
Figure 2. Overall framework of MCFusion. The framework consists of RGB and thermal dual-branch feature extraction, P4/P5 Modality-Compensated Gated Fusion modules, a multi-scale feature aggregation network, and the LSCD head.
Let the input RGB and thermal infrared images be denoted as I r g b and I t , respectively. The dual-branch feature extraction process is formulated as
{ F r g b 3 , F r g b 4 , F r g b 5 } = B r g b ( I r g b ) ,
{ F t 3 , F t 4 , F t 5 } = B t ( I t ) ,
where B r g b ( · ) and B t ( · ) denote the RGB and thermal feature extraction branches, respectively. F 3 , F 4 , and F 5 correspond to the P3, P4, and P5 feature scales.
At the P4 and P5 stages, MCGF generates fused features as follows:
F f u s e 4 = MCGF ( F r g b 4 , F t 4 ) ,
F f u s e 5 = MCGF ( F r g b 5 , F t 5 ) .
The fused features are then aggregated by the FPN/PAN structure and predicted by the LSCD head. The stage-level configuration of MCFusion is summarized in Table 2. To avoid ambiguity between nominal YAML channels and width-scaled channels, the table reports the actual channels under the YOLOv11n scale used in this study.
Table 2. Dual-branch backbone and hierarchical fusion configuration of MCFusion under the YOLOv11n scale.
The final MCFusion model contains 302 layers, 5,212,788 parameters, and 10.50 GFLOPs at an input resolution of 640 × 640 .

3.2. Modality-Compensated Gated Fusion Module

The MCGF module controls how thermal auxiliary information is introduced into the RGB feature stream. Thermal images can provide strong pedestrian saliency under low-light conditions, but they may also contain background heat sources, thermal noise, and local registration errors. Direct addition or concatenation may propagate such interference into the detection branch [22].
To alleviate this problem, MCGF formulates cross-modal fusion as residual compensation from the thermal modality to the RGB modality. The RGB feature is used as the primary stream, and the thermal feature is used as the auxiliary compensation stream. A zero-initialized convolutional gate is introduced to make the auxiliary response close to zero at the beginning of training. Thus, the model first learns a stable RGB representation and then gradually introduces useful thermal information. In the implemented YOLOv11n-scale model, the gate is a dense 3 × 3 convolution with stride 1, automatic padding, groups set to 1, and bias enabled. Batch normalization is disabled in the gate, and SiLU is used as the activation function. The structure of MCGF is shown in Figure 3.
Figure 3. Structure of the Modality-Compensated Gated Fusion (MCGF) module. MCGF treats RGB features as the primary modality information flow, progressively models thermal infrared auxiliary features through a zero-initialized convolutional gate, and generates fused features in an additive residual form.
Let the RGB main-modality feature be
x m ∈ R C m × H × W ,
and the thermal auxiliary-modality feature be
x a ∈ R C a × H × W .
The auxiliary compensation feature is obtained as
Δ x a = ϕ B G 0 ( x a ) ,
where G 0 ( · ) denotes the zero-initialized convolutional gate, B ( · ) denotes batch normalization or an identity mapping, and ϕ ( · ) denotes the SiLU activation function or an identity mapping. The convolutional gate is written as
G 0 ( x a ) = W g ∗ x a + b g ,
where ∗ denotes convolution. In this work, G 0 ( · ) is implemented as a 3 × 3 convolution that maps the auxiliary thermal feature to the same channel dimension as the RGB main feature, enabling element-wise residual addition. At initialization, the gate parameters satisfy
W g = 0 , b g = 0 .
Therefore, the auxiliary compensation term is close to zero at the beginning of training:
Δ x a ≈ 0 .
The output of MCGF is defined by additive residual compensation:
F MCGF = x m + Δ x a .
At the beginning of training, the parameters of the compensation gate are initialized to zero. Therefore, the thermal residual branch produces a near-zero response, and the fused feature is approximately equal to the RGB feature:
F MCGF ≈ x m .
This initialization allows the detector to start from a stable RGB-dominant representation and avoids directly injecting unreliable thermal responses at the early training stage. As training proceeds, the compensation branch gradually learns useful thermal residuals through backpropagation. Thus, MCGF implements a progressive learning process from RGB-only representation to RGB-T-compensated representation, rather than directly mixing the two modalities from the beginning.
Here, x m is the primary feature flow, and Δ x a is the auxiliary compensation term. This design does not change the output channel number and avoids additional channel compression. The gate in MCGF is not a sigmoid-based modality selection weight; instead, it controls the initial response of the auxiliary branch through zero initialization and learns residual compensation during training. Under the YOLOv11n scale, the P4 and P5 gates use actual channel dimensions of 128 and 256, respectively, as verified in Table 3.
Table 3. Static structural verification of the key components in MCFusion under the YOLOv11n scale.

3.3. Lightweight Shared Convolutional Detection Head

In a dual-branch RGB-T detector, feature extraction and fusion introduce additional computational cost. If independent detection heads are used at P3, P4, and P5, the prediction branches may contain redundant parameters. To reduce this redundancy, LSCD shares the main convolutional structure across different detection scales and uses depthwise convolution to reduce spatial computation. Although the YAML configuration uses a nominal hidden dimension of 256, it is scaled to 64 channels under the YOLOv11n width multiplier used in this study. Its structure is shown in Figure 4.
Figure 4. Structure of the Lightweight Shared Convolutional Detection Head (LSCD). The LSCD receives the P3, P4, and P5 multi-scale detection features from the FPN/PAN structure. It first maps the channels through Conv-GN modules, then extracts detection features using a cross-scale shared convolutional module, and finally performs predictions through the bounding-box regression and classification branches. A learnable scale factor is introduced in the bounding-box branch to adapt to the regression magnitude differences across different detection scales.
In the LSCD head, the bounding-box regression branch follows the distribution-based regression design used in YOLO-style detectors. The term 4 × r e g _ m a x denotes the discrete distribution representation of the four bounding-box offsets, where r e g _ m a x controls the number of bins used for each offset distribution. Compared with directly regressing four continuous offsets, this representation provides finer localization modeling. Since the detection features at P3, P4, and P5 correspond to different spatial resolutions and object scales, LSCD introduces a learnable scale factor α i for each detection level to adapt the regression magnitude of different feature maps. Meanwhile, the main convolutional block is shared across detection scales, which reduces redundant scale-specific prediction parameters. The per-level channel mapping layers and learnable scale factors preserve scale-dependent adaptation while the shared convolutional module reduces multi-scale head redundancy.
Let the multi-scale features output by the FPN/PAN be denoted as { F 3 , F 4 , F 5 } . For each scale feature F i , LSCD first applies channel mapping:
F ^ i = ConvGN i ( F i ) ,
where ConvGN ( · ) consists of convolution, GroupNorm, and SiLU activation. The mapped features are then fed into a shared convolutional module:
F ¯ i = S ( F ^ i ) ,
where S ( · ) is shared by all detection scales and is defined as
S ( · ) = ConvGN 1 × 1 DWConvGN 3 × 3 ( · ) .
The shared feature F ¯ i is used for bounding-box regression and classification:
B i = Conv b o x ( F ¯ i ) , C i = Conv c l s ( F ¯ i ) .
To adapt to different regression magnitudes across scales, a learnable scale factor α i is introduced:
B ˜ i = α i B i .
The output of the i-th scale is formulated as
Y i = Concat ( B ˜ i , C i ) .

3.4. Loss Function

The proposed method follows the original YOLOv11 detection loss and does not introduce additional loss terms. For bounding-box regression, the model jointly optimizes an IoU-based loss and Distribution Focal Loss:
L b o x = λ I o U L I o U + λ D F L L D F L .
The classification loss is defined as
L c l s = L c l s YOLOv 11 .
The total loss is formulated as
L = L b o x + λ c l s L c l s .
Since this work focuses on structural improvements in cross-modal fusion and detection-head design, the original detection loss is retained to ensure a fair evaluation of the proposed modules.

4. Experiments and Results

4.1. Datasets and Implementation Details

LLVIP [23] is used as the primary dataset for model comparison, ablation studies, and visualization analysis. It contains 15,488 aligned RGB–thermal image pairs, including 12,025 pairs for training and 3463 pairs for testing. The official training and test splits are used in this study. KAIST [24] is used as a supplementary validation dataset to evaluate the adaptability of the proposed method under different RGB-T pedestrian detection scenarios. Following common RGB-T pedestrian detection settings, only the person category is retained, while other categories are ignored.
YOLOv11n is selected as the base detector because it provides a lightweight and widely reproducible single-stage detection framework with a favorable balance between accuracy and computational cost. Compared with larger YOLO variants, the nano-scale model is more suitable for evaluating whether the proposed RGB-T fusion and lightweight detection-head designs can improve detection performance under limited model capacity. In addition, using YOLOv11n as the backbone makes it possible to compare RGB, data-level fusion, decision-level fusion, direct RGB-T fusion, and the proposed MCFusion under the same detector family and implementation pipeline.
The center-point distributions of pedestrian targets in LLVIP and KAIST are shown in Figure 5 and Figure 6, respectively. Both datasets show that pedestrian targets are mainly distributed in the middle-lower regions of images, and the training and validation/test sets have generally consistent spatial distributions.
Figure 5. Visualization of pedestrian target center-point distributions in the LLVIP training and test sets. The left image shows the training set, and the right image shows the test set.
Figure 6. Visualization of pedestrian target center-point distributions in KAIST training and validation sets. The left image shows the training set, and the right image shows the validation set.
Precision, Recall, mAP@0.5, and mAP@0.5:0.95 are used as detection metrics. Params and GFLOPs are used to evaluate model complexity. Precision and Recall are defined as
P = T P T P + F P , R = T P T P + F N ,
where T P , F P , and F N denote true positives, false positives, and false negatives, respectively.
The proposed method is implemented using PyTorch 2.8.0 + cu129. All experiments are conducted on Windows 10 with Python 3.11.13, an NVIDIA GeForce RTX 5060 Ti GPU, an Intel Core i5-14600KF CPU, and 32 GB RAM. The input image size is set to 640 × 640 , the number of epochs is 200, and the batch size is 16. SGD is used as the optimizer, with an initial learning rate of 0.01, momentum of 0.937, and weight decay of 0.0005. All models are trained and evaluated under the same settings.
For the repeated-run stability analysis, each compared model is trained three times under different random runs, and the mean and standard deviation of the evaluation metrics are reported.
Model complexity is measured at an input resolution of 640 × 640 using the same profiling pipeline. The final MCFusion model contains 302 layers, 5.21 M parameters, and 10.50 GFLOPs.

4.2. KAIST Evaluation Protocol

For the KAIST multispectral pedestrian dataset, RGB and thermal image pairs are used as the input modalities, and only the person category is retained for training and evaluation. In our reproduced setting, the KAIST training and validation sets contain 7601 and 2257 RGB–thermal image pairs, respectively. The original annotations are converted into the YOLO format, and categories other than person are ignored during metric computation. The same input resolution of 640 × 640 is used for both training and evaluation. No additional manual relabeling or annotation cleaning is performed in this work.
To ensure internal fairness, all reproduced KAIST models are trained and evaluated using the same train/validation file lists, the same annotation conversion process, and the same implementation settings. The reported KAIST results are evaluated using the same YOLO-style detection metrics as LLVIP, including Precision, Recall, mAP50, and mAP50:95. Thus, the KAIST experiments are intended to verify the adaptability of the proposed method under a unified reproduced setting.
It should be noted that different KAIST studies may use different annotation versions, train/test splits, day/night subsets, reasonable/all protocols, and miss-rate evaluation settings. In this work, we do not separately report day/night subsets, and we do not adopt the reasonable/all miss-rate protocol. Instead, all validation images in our reproduced split are evaluated together using the same YOLO-style metrics. Therefore, the KAIST results reported in this paper are used as supplementary validation rather than as a direct comparison with previously published KAIST benchmark results.

4.3. Comparison with Different Fusion Strategies

To evaluate the effectiveness of MCFusion, different fusion strategies are compared on LLVIP. The compared strategies include RGB single-modality detection, data-level fusion (DF), decision-level fusion (DLF), and the proposed feature-level fusion method MCFusion. In DF, RGB and thermal images are fused at the image level and converted into a three-channel input before being fed into the detector; therefore, the detector backbone remains unchanged. YOLOv5n, YOLOv8n, and YOLOv11n are used as baseline detectors. The quantitative results are shown in Table 4, and the normalized radar charts are shown in Figure 7.
Table 4. Reproduced experimental results of different fusion strategies on the LLVIP dataset. Params denotes the number of parameters, and GFLOPs denotes the theoretical computational cost.
Figure 7. Normalized radar charts of different fusion strategies on the LLVIP dataset. For mAP50, higher values indicate better detection accuracy. For Params and GFLOPs, lower values are reversely normalized as better scores.
As shown in Table 4 and Figure 7, all RGB-T fusion strategies improve detection performance compared with RGB-only detection, confirming the value of thermal information in low-light scenes. Among the three baseline detectors, MCFusion achieves the highest mAP50. Under the YOLOv11n baseline, MCFusion improves mAP50 by 7.50, 1.40, and 0.90 percentage points compared with RGB, DF, and DLF, respectively. It also reduces GFLOPs from 12.30 in DLF to 10.50, showing a better balance between accuracy and computational cost.

4.4. Comparison with Single-Modality and Multimodal Methods

To further evaluate MCFusion, comparisons are conducted with RGB single-modality, thermal single-modality, and RGB-T multimodal methods on LLVIP. The RGB-T Baseline denotes a YOLOv11n-based dual-branch model with direct feature fusion, without MCGF or LSCD. The YOLO series baselines, RGB-T Baseline, and MCFusion are reproduced under the same experimental settings. The results of other methods are taken from their original papers or public reports and are used only for reference. Due to differences in preprocessing, input resolution, and evaluation protocols, the literature results are not used as strictly fair comparisons. The quantitative results are shown in Table 5, and the mAP50 comparison of RGB-T methods is visualized in Figure 8.
Table 5. Overall comparison of single-modality and multimodal methods on the LLVIP dataset. Params denotes the number of parameters, and GFLOPs denotes the theoretical computational cost. YOLO series baselines, RGB-T Baseline, and MCFusion are uniformly reproduced under the same experimental settings in this work. The results of other literature methods are adopted from their original papers or public reports and are used only for reference comparison.
Figure 8. mAP50 comparison of RGB-T methods on the LLVIP dataset.
As shown in Table 5 and Figure 8, MCFusion achieves the highest mAP50 and mAP50:95 among the reproduced models, reaching 95.30% and 60.10%, respectively. Compared with the YOLOv11 RGB baseline, MCFusion improves mAP50 and mAP50:95 by 7.50 and 10.70 percentage points, respectively. Compared with the RGB-T direct fusion baseline, it improves the two metrics by 0.60 and 1.00 percentage points, respectively. These results suggest that the proposed fusion-and-head design improves the use of thermal information while maintaining moderate model complexity.
It should be emphasized that several methods in Table 5 are reported from their original publications. Since different studies may adopt different preprocessing strategies, annotation versions, input resolutions, training schedules, and evaluation protocols, these literature-reported results should be interpreted as reference comparisons rather than strictly fair head-to-head comparisons. In contrast, the YOLO-series baselines, RGB-T direct fusion baseline, and MCFusion are reproduced under the same implementation pipeline in this work, providing a more internally fair comparison.

4.5. Supplementary Validation on the KAIST Dataset

Supplementary experiments are conducted on KAIST to evaluate the adaptability of MCFusion. Considering differences in data partitioning, annotation cleaning, and evaluation protocols among existing studies, this work does not directly compare with previous KAIST results. Instead, all models in Table 6 are reproduced under the same settings.
Table 6. Uniformly reproduced experimental results of different methods on the KAIST dataset.
As shown in Table 6, MCFusion achieves 58.80% Precision, 53.70% Recall, 55.60% mAP50, and 19.40% mAP50:95. Compared with the YOLOv11n RGB baseline, MCFusion improves Recall, mAP50, and mAP50:95 by 9.20, 10.10, and 5.00 percentage points, respectively. Compared with the dual-modal backbone baseline, it improves mAP50 and mAP50:95 by 3.10 and 1.50 percentage points, respectively, while reducing GFLOPs from 11.00 to 10.50.

4.6. Ablation Study

Ablation experiments are conducted on LLVIP to analyze the influence of the main architectural choices in MCFusion. The study starts from the RGB single-modality baseline, followed by an RGB-T direct fusion baseline. Then, direct fusion is replaced by the proposed MCGF at the P4 stage and subsequently at both the P4 and P5 stages. Finally, the complete MCFusion model further adopts LSCD to form the final lightweight detection architecture. It should be noted that the ablation study mainly evaluates the progressive construction of the final model, rather than isolating every possible combination of fusion and detection-head designs. The quantitative results are shown in Table 7, and the corresponding trend is illustrated in Figure 9.
Table 7. Ablation study results on the LLVIP dataset. Params denotes the number of parameters, and GFLOPs denotes the theoretical computational cost.
Figure 9. Visualization of the ablation study on the LLVIP dataset. (a) Detection accuracy in terms of mAP50 and mAP50:95. (b) Model complexity in terms of Params and GFLOPs.
As shown in Table 7 and Figure 9, the RGB-T direct fusion baseline significantly improves performance over the RGB baseline, confirming the contribution of thermal information. Replacing direct fusion with P4-MCGF further improves mAP50 and mAP50:95 to 95.00% and 59.40%, respectively, indicating that gated thermal residual compensation at the semantic-feature level is more effective than direct feature fusion. When MCGF is applied at both P4 and P5 without LSCD, the performance shows a slight fluctuation, suggesting that increasing fusion stages does not necessarily lead to monotonically improved localization accuracy. The complete MCFusion model achieves the best results, with 95.30% mAP50 and 60.10% mAP50:95, while maintaining 5.21 M parameters and 10.50 GFLOPs. These results show that the final combination of P4/P5-MCGF and LSCD provides a favorable balance between detection performance and model complexity.

4.7. Independent Ablation of MCGF and LSCD

To further clarify the independent contribution of the proposed MCGF module and LSCD head, an additional component-level ablation study is conducted on the LLVIP dataset. Different from the progressive ablation in Table 7, this experiment separates the fusion module and the detection-head design by comparing four multimodal variants: the RGB-T direct fusion baseline, direct fusion with LSCD, MCGF with a standard detection head, and the complete MCFusion model. The results are shown in Table 8.
Table 8. Independent ablation analysis of MCGF and LSCD on the LLVIP dataset. Params denotes the number of parameters, and GFLOPs denotes the theoretical computational cost.
As shown in Table 8, adding LSCD to the RGB-T direct fusion baseline reduces the computational cost from 11.00 GFLOPs to 10.30 GFLOPs, but it does not independently improve detection accuracy. This indicates that LSCD mainly reduces redundant computation in multi-scale prediction rather than serving as a standalone accuracy-enhancement module. The MCGF + Standard Head variant does not improve detection accuracy in this isolated setting, suggesting that thermal compensation alone is insufficient and should be jointly optimized with a lightweight prediction head. When MCGF and LSCD are combined, the complete MCFusion model achieves the best overall performance, reaching 0.953 mAP50 and 0.601 mAP50:95 with 5.21 M parameters and 10.50 GFLOPs. These results demonstrate that MCGF enhances cross-modal feature compensation, while LSCD improves the accuracy–complexity balance of the final detection architecture.

4.8. Repeated-Run Stability Analysis

To evaluate whether the improvement in MCFusion is stable rather than caused by random initialization or training variance, repeated-run experiments are conducted on the LLVIP dataset. Specifically, the RGB-T direct fusion baseline and the proposed MCFusion are trained three times under different random runs while keeping all other training settings unchanged. The results are reported in Table 9.
Table 9. Repeated-run results of RGB-T direct fusion and MCFusion on the LLVIP dataset under three random runs.
As shown in Table 9, MCFusion consistently outperforms the RGB-T direct fusion baseline across the three repeated runs. In terms of the averaged results, MCFusion improves mAP50 from 0.934 to 0.949 and mAP50:95 from 0.575 to 0.600. The standard deviations of MCFusion remain small, with 0.003 for mAP50 and 0.008 for mAP50:95, indicating that the proposed method maintains stable performance under different random runs. These results demonstrate that the improvement brought by MCFusion is reproducible and is not merely caused by random initialization or training variance.

4.9. Inference Efficiency Analysis

To further evaluate the lightweight property and practical inference efficiency of the proposed method, inference speed is measured using the best model weights under the same hardware and software environment. All compared models are evaluated with an input resolution of 640 × 640 and batch size of 1. Latency is calculated as the sum of preprocessing time, inference time, and postprocessing time per image. The results are reported in Table 10.
Table 10. Inference efficiency comparison on the LLVIP dataset. Latency and FPS are measured using the best weights under the same inference settings.
As shown in Table 10, MCFusion achieves 89.3 FPS with 10.50 GFLOPs under the same inference setting. Although the RGB-T direct fusion baseline has a slightly lower latency, its detection accuracy is lower than that of MCFusion. Compared with the MCGF + Standard Head variant, MCFusion reduces the computational cost from 11.00 GFLOPs to 10.50 GFLOPs by introducing LSCD. Although MCFusion is not the fastest model among the compared variants, it maintains real-time inference capability while achieving the best detection performance. These results indicate that the proposed model provides a favorable balance between detection accuracy and computational complexity.

4.10. Visualization Analysis

To qualitatively analyze the detection behavior of MCFusion, five representative challenging samples are selected for visualization. The comparison includes RGB images, thermal images, YOLOv11n results, RGB-T direct fusion baseline results, MCFusion results, and EigenCAM heatmaps. The results are shown in Figure 10.
Figure 10. Detection results and EigenCAM heatmaps of different methods in complex low-light scenes. Rows denote five representative challenging samples, and columns denote RGB images, thermal images, YOLOv11n, RGB-T direct fusion baseline, MCFusion, and EigenCAM heatmaps.
As shown in Figure 10, YOLOv11n is prone to missed detections and unstable bounding boxes under low illumination, occlusion, crowded scenes, and complex backgrounds. The RGB-T direct fusion baseline improves target saliency but may still produce redundant responses in interfering regions. In contrast, MCFusion provides more stable detection results for occluded pedestrians, dense targets, and partially visible pedestrians. The EigenCAM heatmaps further show that MCFusion focuses more clearly on pedestrian regions, indicating that modality-compensated fusion helps suppress redundant background responses.

4.11. Effect of Zero-Initialized Compensation Gate

To further verify the role of the zero-initialized compensation gate in MCGF, an additional ablation experiment is conducted to compare MCGF with random initialization and MCGF with zero initialization. This experiment examines whether the progressive compensation strategy contributes to more stable RGB-T feature learning.
As shown in Table 11, random initialization achieves a comparable mAP50 of 0.951, but obtains a lower mAP50:95 of 0.573. In contrast, the zero-initialized compensation gate obtains 0.953 mAP50 and 0.601 mAP50:95. This result indicates that zero initialization is particularly beneficial for more precise localization, as reflected by the higher mAP50:95. Since the two variants share the same model structure, their parameter numbers and GFLOPs remain unchanged, and the performance difference mainly comes from the initialization strategy of the thermal compensation branch. By starting from an RGB-dominant representation and gradually learning thermal residual compensation, the zero-initialized design avoids unstable thermal response injection at the early training stage and provides more reliable RGB-T feature learning.
Table 11. Effect of the zero-initialized compensation gate in MCGF on the LLVIP dataset.

4.12. Failure Case Analysis

Although MCFusion improves RGB-T pedestrian detection in low-light and complex scenes, it still has limitations under several challenging conditions. Figure 11 illustrates three representative failure cases: missed or incomplete detection under ambiguous cross-modal conditions, false positives caused by strong illumination and thermal interference, and incomplete localization in crowded scenes with small and occluded pedestrians. These examples indicate that the current RGB-primary compensation design may still be affected when RGB cues are severely degraded, when thermal responses are ambiguous, or when multiple small pedestrians are densely distributed.
Figure 11. Failure cases of MCFusion on the LLVIP dataset. The examples include (a) missed or incomplete detection under low-visibility and ambiguous cross-modal conditions, (b) false positives caused by strong illumination, thermal interference, or confusing background responses, and (c) incomplete localization in a crowded scene with small and heavily occluded pedestrians. These cases show that MCFusion may still be challenged by severe background interference, ambiguous thermal responses, and dense small pedestrian distributions.
In the missed-detection example, several pedestrians appear in a low-light scene with strong illumination variation, motion blur, and complex-background interference. Although the thermal image provides clearer pedestrian responses, the final detection result still misses or incompletely localizes some targets. In the false-positive example, vehicle headlights, local thermal highlights, and roadside structures produce salient responses that are partially confused with pedestrian-like patterns. In the crowded-scene example, multiple small pedestrians are spatially adjacent and partially overlapped, making it difficult to separate individual instances completely. In particular, when the thermal modality provides more reliable structural information than the RGB modality, the current RGB-primary compensation strategy may not be optimal because thermal features are introduced only as auxiliary residual compensation. This limitation suggests that future work should explore adaptive primary-modality selection or reliability-aware bidirectional compensation to further improve RGB-T pedestrian detection in more challenging scenarios.

5. Conclusions

This paper proposes MCFusion, a lightweight RGB-T pedestrian detection method with progressive thermal compensation. The proposed method adopts a dual-branch RGB–thermal structure and introduces MCGF at the P4 and P5 semantic stages. By using a zero-initialized convolutional gate, MCGF progressively compensates RGB features with thermal auxiliary information, reducing the interference caused by direct fusion. In addition, LSCD is adopted to reduce redundant computation in multi-scale prediction.
On LLVIP, MCFusion achieves 95.30% mAP50 and 60.10% mAP50:95 with 5.21 M parameters and 10.50 GFLOPs. Compared with the YOLOv11n RGB baseline, it improves mAP50 and mAP50:95 by 7.50 and 10.70 percentage points, respectively. Experiments on KAIST, ablation studies, and visualization results further validate the effectiveness of the proposed method.
Future work will focus on adaptive modality reliability estimation, extreme occlusion handling, small dense pedestrian detection, strong thermal interference suppression, and deployment-oriented lightweight optimization.

Author Contributions

Conceptualization, H.L.; methodology, H.L.; implementation, H.L.; validation, H.L. and H.X.; formal analysis, H.L., H.X. and D.C.; data curation, H.X.; writing—original draft preparation, H.L.; writing—review and editing, H.L., H.X. and D.C.; supervision, D.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The LLVIP and KAIST datasets analyzed in this study are publicly available from their official release pages associated with Refs. [23,24]. The processed labels and experimental configurations used in this work are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Chen, R.; Wang, X.; Liu, Y.; Wang, S.; Huang, S. A survey of pedestrian detection based on deep learning. In Communications, Signal Processing, and Systems; Springer: Berlin/Heidelberg, Germany, 2019; pp. 1511–1516. [Google Scholar]
  2. Gagliardi, V.; Ferrante, C.; Bella, F. Safety assessment of pedestrian-vehicle interaction at signalized intersections: An observational study. J. Transp. Saf. Secur. 2024, 16, 1212–1235. [Google Scholar] [CrossRef] [Scilit]
  3. Duan, M.; Jin, H. Characteristics of mixed traffic flow in highway tunnels as affected by changes in illumination. J. Transp. Eng. Part A Syst. 2026, 152, 04026026. [Google Scholar] [CrossRef] [Scilit]
  4. Schulz, D.; Perez, C.A. Two-stage pedestrian detection model using a new classification head for domain generalization. Sensors 2023, 23, 9380. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Wang, C.; Qian, J.; Wang, J.; Chen, Y. Illumination-aware cross-modality differential fusion multispectral pedestrian detection. Electronics 2023, 12, 3576. [Google Scholar] [CrossRef] [Scilit]
  6. Guan, D.; Cao, Y.; Yang, J.; Cao, Y.; Yang, M.Y. Fusion of multispectral data through illumination-aware deep neural networks for pedestrian detection. Inf. Fusion 2019, 50, 148–157. [Google Scholar] [CrossRef] [Scilit]
  7. Cao, Y.; Tong, X.; Wang, F.; Yang, J.; Cao, Y.; Strat, S.T.; Tisse, C.-L. A deep thermal-guided approach for effective low-light visible image enhancement. Neurocomputing 2023, 522, 129–141. [Google Scholar] [CrossRef] [Scilit]
  8. Yang, H.; Wang, J.; Tian, M.; Bo, Y. DMPD: A dual-modality fusion method for cross-spectral pedestrian detection. IEEE Trans. Hum.-Mach. Syst. 2025, 55, 599–608. [Google Scholar] [CrossRef] [Scilit]
  9. Yang, J.; Jiang, Y.; Jiang, D.; Chen, Z. Infrared–visible fusion via cross-modality attention and small-object enhancement for pedestrian detection. ISPRS Int. J. Geo-Inf. 2025, 14, 477. [Google Scholar] [CrossRef] [Scilit]
  10. Yang, C.; Chen, X.; Shao, G.; Du, X.; Zhu, Q. Integrating conventional models and AI for intelligent sensor data processing: A review. IEEE Sens. J. 2025, 25, 37569–37585. [Google Scholar] [CrossRef] [Scilit]
  11. Lee, W.Y.; Jovanov, L.; Philips, W. Multimodal pedestrian detection based on cross-modality reference search. IEEE Sens. J. 2024, 24, 17291–17306. [Google Scholar] [CrossRef] [Scilit]
  12. Tian, C.; Zhou, Z.; Huang, Y.; Li, G.; He, Z. Cross-modality proposal-guided feature mining for unregistered RGB-thermal pedestrian detection. IEEE Trans. Multimed. 2024, 26, 6449–6461. [Google Scholar] [CrossRef] [Scilit]
  13. Zhao, C.; Mo, B.; Zhao, J.; Zhao, J.; Tao, Y.; Zhao, D. CMIFDF: A lightweight cross-modal image fusion and weight-sharing object detection network framework. Infrared Phys. Technol. 2025, 145, 105631. [Google Scholar] [CrossRef] [Scilit]
  14. Hong, F.; Wang, W.; Lu, A.; Liu, L.; Wang, Q. Efficient RGBT tracking via multi-path mamba fusion network. IEEE Signal Process. Lett. 2025, 32, 1790–1794. [Google Scholar] [CrossRef] [Scilit]
  15. Gao, X.; Kanu-Asiegbu, A.M.; Du, X. MambaST: A plug-and-play cross-spectral spatial-temporal fuser for efficient pedestrian detection. In Proceedings of the 2024 IEEE 27th International Conference on Intelligent Transportation Systems (ITSC); IEEE: New York, NY, USA, 2024; pp. 2027–2034. [Google Scholar]
  16. Li, H.; Liu, J.; Zhang, Y.; Li, H.; Liu, J.; Zhang, Y.; Liu, Y. A deep learning framework for infrared and visible image fusion without strict registration. Int. J. Comput. Vis. 2024, 132, 1625–1644. [Google Scholar] [CrossRef] [Scilit]
  17. Wang, Q.; Sun, Y.; Shen, T.; Al-Antary, M.; Alasmary, H.; Waqas, M. MGSANet: A multiscale graph spatial alignment network for weakly aligned RGB-thermal object detection. IEEE Trans. Geosci. Remote Sens. 2025, 64, 5000318. [Google Scholar] [CrossRef] [Scilit]
  18. Ren, D.; Li, F.; Sun, H.; Liu, L.; Ren, S.; Yu, M. Local-enhanced multi-scale aggregation swin transformer for semantic segmentation of high-resolution remote sensing images. Int. J. Remote Sens. 2024, 45, 101–120. [Google Scholar] [CrossRef] [Scilit]
  19. Lu, J.; Zhang, J.; Zhu, X.; Feng, J.; Xiang, T.; Zhang, L. Softmax-free linear transformers. Int. J. Comput. Vis. 2024, 132, 3355–3374. [Google Scholar] [CrossRef] [Scilit]
  20. Nie, X.; Jin, H.; Yan, Y.; Chen, X.; Zhu, Z.; Qi, D. ScopeViT: Scale-aware vision transformer. Pattern Recognit. 2024, 153, 110470. [Google Scholar] [CrossRef] [Scilit]
  21. Tang, H.; Qian, Y.; Xing, M.; Cao, Y.; Liu, G. MPCFusion: Multi-scale parallel cross fusion for infrared and visible images via convolution and vision transformer. Opt. Lasers Eng. 2024, 176, 108094. [Google Scholar] [CrossRef] [Scilit]
  22. Yi, Y.; Zhang, N.; Zhou, W.; Shi, Y.; Xie, G.; Wang, J. GPONet: A two-stream gated progressive optimization network for salient object detection. Pattern Recognit. 2024, 150, 110330. [Google Scholar] [CrossRef] [Scilit]
  23. Jia, X.; Zhu, C.; Li, M.; Tang, W.; Zhou, W. LLVIP: A visible-infrared paired dataset for low-light vision. In Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops; IEEE: New York, NY, USA, 2021; pp. 3496–3504. [Google Scholar]
  24. Hwang, S.; Park, J.; Kim, N.; Choi, Y.; So Kweon, I. Multispectral pedestrian detection: Benchmark dataset and baseline. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2015; pp. 1037–1045. [Google Scholar]
  25. Ren, S.; He, K.; Girshick, R.; Sun, J. Faster R-CNN: Towards real-time object detection with region proposal networks. IEEE Trans. Pattern Anal. Mach. Intell. 2017, 39, 1137–1149. [Google Scholar] [CrossRef] [Scilit]
  26. Liu, H.; Jin, F.; Zeng, H.; Pu, H.; Fan, B. Image enhancement guided object detection in visually degraded scenes. IEEE Trans. Neural Netw. Learn. Syst. 2023, 35, 14164–14177. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  27. Zhang, H.; Li, F.; Liu, S.; Zhang, L.; Su, H.; Zhu, J.; Ni, L.M.; Shum, H.-Y. DINO: DETR with improved denoising anchor boxes for end-to-end object detection. arXiv 2022, arXiv:2203.03605. [Google Scholar]
  28. Medeiros, H.R.; Pena, F.A.G.; Aminbeidokhti, M.; Dubail, T.; Granger, E.; Pedersoli, M. HalluciDet: Hallucinating RGB modality for person detection through privileged information. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision; IEEE: New York, NY, USA, 2024; pp. 1444–1453. [Google Scholar]
  29. Chen, Y.T.; Shi, J.; Ye, Z.; Mertz, C.; Ramanan, D.; Kong, S. Multimodal object detection via probabilistic ensembling. In Proceedings of the European Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2022; pp. 139–158. [Google Scholar]
  30. Tang, L.; Xiang, X.; Zhang, H.; Gong, M.; Ma, J. DIVFusion: Darkness-free infrared and visible image fusion. Inf. Fusion 2023, 91, 477–493. [Google Scholar] [CrossRef] [Scilit]
  31. Zhao, W.; Xie, S.; Zhao, F.; He, Y.; Lu, H. Metafusion: Infrared and visible image fusion via meta-feature embedding from object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2023; pp. 13955–13965. [Google Scholar]
  32. Cao, Y.; Bin, J.; Hamari, J.; Blasch, E.; Liu, Z. Multimodal object detection by channel switching and spatial attention. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition; IEEE: New York, NY, USA, 2023; pp. 403–411. [Google Scholar]
  33. Zhao, Z.; Bai, H.; Zhu, Y.; Zhang, J.; Xu, S.; Zhang, Y.; Zhang, K.; Meng, D.; Timofte, R.; Van Gool, L. DDFM: Denoising diffusion model for multi-modality image fusion. In Proceedings of the IEEE/CVF International Conference on Computer Vision; IEEE: New York, NY, USA, 2023; pp. 8082–8093. [Google Scholar]
  34. Tang, L.; Chen, Z.; Huang, J.; Ma, J. CAMF: An interpretable infrared and visible image fusion network based on class activation mapping. IEEE Trans. Multimed. 2024, 26, 4776–4791. [Google Scholar] [CrossRef] [Scilit]
  35. Chen, J.; Yang, L.; Liu, W.; Tian, X.; Ma, J. LENFusion: A joint low-light enhancement and fusion network for nighttime infrared and visible image fusion. IEEE Trans. Instrum. Meas. 2024, 73, 5018715. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.