A multispectral pedestrian detection method based on differential attention and frequency domain fusion

By employing differential attention and frequency domain fusion methods, the feature representation capability of the multispectral pedestrian detection model is enhanced, the problem of insufficient modal representation is solved, and high-precision pedestrian detection is achieved in all weather conditions.

CN117710899BActive Publication Date: 2026-11-24NANKAI UNIV
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410035226.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-10
Publication Date
2026-11-24
Estimated Expiration
2044-01-10

AI Technical Summary

Technical Problem

Existing multispectral pedestrian detection technologies suffer from insufficient modal characterization, inadequate feature extraction, and a lack of specificity in fusion strategies, resulting in insufficient detection accuracy and robustness, especially under complex lighting conditions where performance degrades.

Method used

By employing differential attention and frequency domain fusion, the differential attention module enhances the complementary information of the two modes, and the frequency domain analysis reduces low-frequency redundancy, thus constructing a cross-modal feature fusion module to improve feature representation capability and detection accuracy.

Benefits of technology

It achieves rapid, stable, and accurate pedestrian detection under all-weather conditions, improving detection accuracy and robustness, and is suitable for intelligent transportation systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117710899B_ABST
    Figure CN117710899B_ABST
Patent Text Reader

Abstract

This invention belongs to the fields of image processing and deep learning technology, specifically relating to a multispectral pedestrian detection method for vehicle-to-everything (V2X) networks. Addressing the all-weather monitoring needs of intelligent transportation systems and overcoming the strong dependence of traditional visible light single-modal images on lighting conditions, this invention proposes using visible light-infrared dual-modal images for pedestrian target detection, constructing a stable, fast, and accurate multispectral pedestrian detection model. Based on the VGG-16 dual-stream feature extraction network, this invention captures features from both modalities separately, constructing a cross-modal feature fusion module based on differential attention enhancement and frequency domain fusion. This fully integrates cross-modal features, feeding the fused feature set into an SSD-based detection head to output pedestrian target location information. This invention innovatively proposes a feature fusion method that effectively enhances the complementary information beneficial to detection from both modalities and suppresses redundant background features, enabling pedestrian target detection in complex environments and possessing broad application prospects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention discloses a multispectral pedestrian detection method based on differential attention and frequency domain fusion. It belongs to the fields of image processing and deep learning technology, specifically relating to all-weather pedestrian detection for intelligent transportation systems. Background Technology

[0002] Pedestrian detection, a crucial task in computer vision, plays a vital role in autonomous driving. Pedestrians are the most vulnerable road users, and traffic accidents worldwide cause pedestrian injuries and deaths daily. Therefore, developing more advanced pedestrian detection algorithms is essential for ensuring road safety in the rapidly evolving intelligent transportation system. Detection accuracy and inference speed are key indicators for pedestrian detection; incorrect detection results lead to flawed decisions, and detection delays result in untimely decisions. Therefore, constructing low-latency, high-accuracy pedestrian detection models is challenging. RGB images have made significant progress in object detection, and most existing pedestrian detection methods are based on visible light sensing under good lighting conditions. However, the complex lighting conditions in real-world scenarios significantly limit the application of RGB image-based imaging. Low light, rain, snow, and nighttime environments can easily lead to false positives and false negatives in visible light single-modal object detection frameworks. Therefore, researchers are exploring supplementary data sources of other modalities to mitigate the negative impacts of complex lighting and improve detection accuracy.

[0003] Pedestrians exhibit strong thermal radiation characteristics, and their temperature is highly distinguishable from surrounding objects and the environment. Therefore, infrared images, which are insensitive to illumination, provide a solution for researchers to explore multispectral pedestrian detection. Under good lighting conditions, the rich colors and textures of visible light images can better describe target attributes, while thermal sensing ensures the reliability of pedestrian detection under poor lighting conditions. Effectively fusing features from both modalities can improve the robustness of pedestrian detection models, which is crucial for all-weather pedestrian detection. Currently, a large number of works have implemented RGB-infrared image target detection based on dual-stream convolutional neural networks. The general framework consists of a dual-modal feature extraction network, a feature fusion module, and a detection head. The key to multispectral pedestrian detection lies in an effective feature fusion module. Simple addition, connection, and multiplication are insufficient for the network to better focus on the important features of both modalities. Researchers have focused on feature fusion strategies based on attention mechanisms. Paired RGB-infrared images are highly correlated in terms of target and scene, possessing both shared features describing the common semantics between the two modalities and specific features describing the unique information of each modality. However, if complementary feature extraction is incomplete or modal information fusion is insufficient, it is difficult to achieve the superiority of dual-modal detection over single-modal detection.

[0004] In summary, current multispectral pedestrian detection methods still suffer from insufficient modal representation capabilities, inadequate feature extraction, and a lack of specificity in fusion strategies. Therefore, this invention aims to explore feature fusion methods that enhance complementary information beneficial to detection from two modalities and suppress redundant background features, thereby constructing a reliable, stable, and timely all-weather multispectral pedestrian detection framework. Summary of the Invention

[0005] This invention addresses the shortcomings and deficiencies of existing technologies by proposing a fast, stable, and accurate multispectral pedestrian detection method. Based on a dual-stream feature extraction network, a differential enhancement module is designed to enhance the complementary information of the two modes, and a frequency-domain-based cross-modal feature fusion module is built, effectively constructing a visible-infrared cross-modal target detection framework. This method has significant application value in all-weather, intelligent traffic detection.

[0006] To achieve the above objectives, the technical solution of the present invention includes the following:

[0007] Step 1: Obtain the visible light-infrared paired image dataset and divide it into network training and test sets.

[0008] Step 2: Construct a multispectral pedestrian detection model based on differential attention and frequency domain fusion.

[0009] (2-1): Establish a bimodal difference information enhancement branch consisting of global pooling and sigmoid activation, and build a differential attention module to mine complementary information between the two modes and enhance features.

[0010] (2-2): Based on frequency domain analysis, a cross-modal feature fusion module is established to reduce low-frequency redundant parameters while fully integrating features of each level of visible light-infrared images.

[0011] (2-3): A dual-stream feature extraction network was built based on VGG-16. A cross-modal feature fusion module based on differential attention and frequency domain fusion was added to a specific layer to enhance and fuse the features of each level of the two modalities.

[0012] (2-4): Establish a single-stage detection module based on SSD, and send the multi-level fusion feature group obtained in step (2-3) into the detection head to obtain a multispectral pedestrian detection model based on differential attention and frequency domain fusion.

[0013] Step 3: Initialize the model parameters and train the multispectral pedestrian detection model using the stochastic gradient descent algorithm to obtain the trained detection model.

[0014] Step 4: Input the image to be tested into the trained model for testing.

[0015] [Advantages and positive effects of the present invention]

[0016] Compared with the prior art, the present invention has the following advantages and positive effects:

[0017] First, this invention addresses the urgent need for all-weather pedestrian detection in intelligent transportation systems by proposing a multispectral pedestrian detection framework that can fully utilize important information from both visible and infrared modes, enabling fast, accurate, and stable pedestrian detection in road scenes.

[0018] Second, this invention innovatively constructs a multispectral feature fusion module based on the frequency domain. It fully considers the characteristics that low-frequency features have more redundant information and high-frequency features can better describe the changes in feature edges. It proposes a feature frequency division fusion method and reduces the number of model parameters by reducing the dimensionality of low-frequency features. It also proposes a new multimodal feature fusion scheme in the frequency domain dimension.

[0019] Third, this invention establishes a bimodal difference information enhancement module based on channel attention, which makes the model pay more attention to bimodal complementary information, improves feature expression ability, enhances the importance of key information, and further improves detection accuracy. Attached Figure Description

[0020] Figure 1 This is a flowchart illustrating the implementation process of the present invention;

[0021] Figure 2 This is a diagram of the multispectral pedestrian detection framework in this invention;

[0022] Figure 3 This is a structural diagram of the fusion module in the multispectral pedestrian detection framework;

[0023] Figure 4 This is a diagram showing the implementation result of the present invention. Detailed Implementation

[0024] The implementation process and effects of the present invention will be further described in detail below with reference to the accompanying drawings.

[0025] Reference Figure 1 The implementation steps of the present invention include the following:

[0026] Step 1: Obtain the visible light-infrared paired image dataset and divide it into network training and test sets.

[0027] (1.1) Obtain the publicly available KAIST dataset of paired visible light and infrared images for pedestrian detection. This dataset contains aligned visible light-infrared image pairs across multiple scenes and time periods, as well as annotation files for pedestrian targets. The resolution of the image pairs is 640*512, and the annotation files are in txt format.

[0028] (1.2) Divide the training set and the test set, where the training set contains 25086 pairs of images and the test set contains 2252 pairs of images.

[0029] Step 2: Build a multispectral pedestrian detection model based on differential attention and frequency domain fusion.

[0030] Reference Figure 2 This invention adds a cross-modal feature fusion module based on differential attention and frequency domain fusion between specific convolutional layers of the existing VGG-16 feature extraction backbone network. This effectively fuses the two-modal features from each layer of the dual-stream feature extraction network and feeds the fused features into an SSD-based detection head to construct a multispectral pedestrian detection model. The specific implementation of this step is as follows:

[0031] (2.1) Reference Figure 3 A cross-modal feature fusion module consisting of differential attention enhancement and frequency domain fusion cascade was established.

[0032] (2.1.1) Establish a bimodal difference feature enhancement branch, which consists of global average pooling and sigmoid activation. Through cross-fusion operation, build a differential attention module to mine the attention information of the complementary channels of the two modes and enhance the bimodal features.

[0033] (2.1.2) Establish a frequency domain-based cross-modal feature fusion module. Through frequency decomposition, octave convolution and frequency synthesis, the dual-modal features are fused by frequency division. The low-frequency features of the two modes are fused by multiplication and the high-frequency features of the two modes are fused by addition. While reducing the low-frequency redundant parameters, the features of each level of visible light-infrared image are fully fused.

[0034] The frequency decomposition part includes two sets of convolutional layers with a kernel size of 3, a stride of 1, and αC channels; a convolutional layer with a kernel size of 3, a stride of 1, and (1-α)C channels; and a downsampling layer with a kernel size of 2 and a stride of 2, respectively achieving frequency division of the two modalities and dimensionality reduction of low-frequency features. The octave convolution part includes a 0.5x downsampling layer, a 2x upsampling layer, and four convolutional layers with a kernel size of 3 and a stride of 1, respectively implementing high-frequency-high-frequency, high-frequency-low-frequency, low-frequency-high-frequency, and low-frequency-low-frequency convolution operations. The frequency synthesis part includes two sets of convolutional layers with a kernel size of 3, a stride of 1, and C channels, and a 2x upsampling layer to achieve frequency domain synthesis of fused features.

[0035] (2.2) A dual-stream feature extraction network was built based on VGG-16. Differential attention modules and frequency-domain-based cross-modal feature fusion modules were added in a cascaded manner at specific layers to enhance and fuse features from each level of the two modalities. In the feature extraction part, conv1, conv2, conv3, and conv4 of VGG-16 all adopted a dual-stream network, that is, visible light and infrared branches extracted features of each modality respectively. The remaining layers of VGG-16 shared the feature extraction network parameters between the two modalities, and the output features of the two modalities in conv4-3, conv5, conv6, conv7, conv8, conv9, and conv10 were fused.

[0036] (2.3) Establish a single-stage target detection module based on SSD, and send the multi-level fusion features obtained in step (2.2) into the detection module to obtain a multispectral pedestrian detection model based on differential attention and frequency domain fusion.

[0037] Step 3: Initialize model parameters and train the multispectral pedestrian detection model using the stochastic gradient descent algorithm to obtain the trained detection model. The specific implementation of this step is as follows:

[0038] (3.1) Input a batch of visible light and infrared images into the VGG-16 feature extraction network to obtain the visible light image features at each level. and infrared image features .

[0039] (3.2) Enhance the features of the two modalities using a differential attention module:

[0040] (3.2.1) Subtract the features of the two modes to obtain the difference features. and .

[0041] (3.2.2) Channel attention enhancement is performed on the two difference features respectively, that is, channel attention weights are obtained through global average pooling and sigmoid activation. and By cross-fusion with difference features, we obtain and .

[0042] (3.2.3) Add the difference features to the original features to obtain the enhanced two-modal features. and

[0043] (3.3) The enhanced two-modal features are fused using a frequency domain fusion module:

[0044] (3.3.1) To and Convolution operations are performed separately, frequency decomposition is performed, and the low-frequency components of the two modes are downsampled to obtain... , , and .

[0045] (3.3.2) An addition fusion operation is performed on the high-frequency components of the two modes, and a multiplication fusion operation is performed on the low-frequency components, to obtain... and .

[0046] (3.3.3) To and Perform octave convolution, that is, perform... , , , Operation, and then output. = + and = + .

[0047] (3.3.4) To and Perform frequency synthesis and output fused features. .

[0048] (3.4) Pedestrian target bounding box prediction is achieved by using an SSD-based detection head.

[0049] (3.5) Based on the output of the detection head and the real pedestrian target box information, calculate the location loss and category confidence loss respectively, and update the network parameters using the backpropagation algorithm based on the obtained loss values.

[0050] (3.6) Repeat (3.1)~(3.5) until the training termination condition is met to obtain the trained multispectral pedestrian detection model.

[0051] Step 4: Input the image to be tested into the trained model for testing.

Claims

1. A multispectral pedestrian detection method based on differential attention and frequency domain fusion, characterized in that, The method specifically includes the following steps: Step 1: Obtain the visible light-infrared paired image dataset and divide it into network training and test sets; Step 2: Build a multispectral pedestrian detection model based on differential attention and frequency domain fusion; add a cross-modal feature fusion module based on differential attention and frequency domain between specific convolutional layers of the existing VGG-16 feature extraction backbone network to effectively fuse the two-modal features of each layer of the dual-stream feature extraction network, and send the fused feature group into the SSD-based detection head to build a multispectral pedestrian detection model; Step 2-1: Establish a bimodal difference feature enhancement branch, which consists of global average pooling and sigmoid activation. Through cross-fusion operations, build a differential attention module to mine the attention information of the complementary channels of the two modalities and enhance the bimodal features. Step 2-2: Establish a frequency domain-based cross-modal feature fusion module. Through frequency decomposition, octave convolution, and frequency synthesis, the dual-modal features are fused by frequency division. Multiplication is used to fuse the low-frequency features of the two modes, and addition is used to fuse the high-frequency features of the two modes. While reducing low-frequency redundant parameters, the features of each level of visible light-infrared image are fully fused. Steps 2-3: Build a dual-stream feature extraction network based on VGG-16, and add differential attention modules and frequency domain-based cross-modal feature fusion modules in a cascaded manner at specific layers to enhance and fuse features at each level of the two modalities; Steps 2-4: Establish a single-stage detection module based on SSD, and feed multi-level fused features into the detection module to obtain a multispectral pedestrian detection model based on differential attention and frequency domain fusion; Step 3: Initialize the model parameters and train the multispectral pedestrian detection model using the mini-batch gradient descent algorithm to obtain the trained detection model; Step 3-1: Input a batch of visible light and infrared images into the VGG-16 feature extraction network to obtain the visible light image features at each level. and infrared image features ; Step 3-2: Enhance the two modal features using the differential attention module: Subtract the two modal features to obtain the difference features. and Channel attention enhancement is performed on the two difference features separately, namely, channel attention weights are obtained through global average pooling and sigmoid activation. and By cross-fusion with difference features, we obtain and The difference features are added to the original features to obtain the enhanced two-modal features. and ; Step 3-3: Fuse the enhanced two-modal features using the frequency domain cross-modal feature fusion module: and Convolution operations are performed separately, frequency decomposition is performed, and the low-frequency components of the two modes are downsampled to obtain the results. , , and The high-frequency components of the two modes are fused by addition, and the low-frequency components are fused by multiplication. and ;right and Perform octave convolution, that is, perform... , , , Operation, and then output. = + and = + ;right and Perform frequency synthesis and output fused features. ; Steps 3-4: Use an SSD-based detection head to predict pedestrian bounding boxes; Steps 3-5: Based on the output of the detection head and the actual pedestrian target box information, calculate the location loss and category confidence loss respectively. Based on the obtained loss values, update the network parameters using the backpropagation algorithm. Steps 3-6: Repeat the steps until the training termination condition is met to obtain the trained multispectral pedestrian detection model; Step 4: Input the image to be tested into the trained model for testing.

Citation Information

Patent Citations

  • Small sample wind turbine blade dual-light fusion defect detection method based on generative data set

    CN120912499A