3D target detection method for millimeter wave radar point cloud based on graph neural network

By constructing a graph neural network model, preprocessing and feature extraction are performed on millimeter-wave radar point cloud data, solving the problems of ineffective utilization of multidimensional information and sparsity in existing technologies, and achieving efficient 3D target detection.

CN117831022BActive Publication Date: 2026-11-20UNIV OF SCI & TECH OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311490730.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-07
Publication Date
2026-11-20
Estimated Expiration
2043-11-07

AI Technical Summary

Technical Problem

Existing 4D millimeter-wave radar point cloud 3D target detection algorithms fail to effectively utilize the multidimensional information of millimeter-wave radar and struggle to cope with the sparsity of data, resulting in poor detection performance.

Method used

A graph neural network-based approach is used to preprocess millimeter-wave radar point cloud data, construct a graph-like data structure, embed node and edge features, perform target detection through a multi-task head detection network, train the graph neural network, extract feature representations, and perform weighted bounding box fusion to achieve 3D target detection.

Benefits of technology

It improves the accuracy of 3D target detection from millimeter-wave radar point clouds, enhances the local perception capability of sparse data, and improves the target detection effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117831022B_ABST
    Figure CN117831022B_ABST
Patent Text Reader

Abstract

The application discloses a 3D target detection method for millimeter wave radar point cloud based on a graph neural network, which comprises the following steps: preprocessing millimeter wave radar point cloud data, constructing point cloud data of a graph data structure, and obtaining training data; initializing node feature embedding and edge feature embedding of the training data, constructing a neighborhood-aware graph neural network NAGNN, and extracting feature representation of the training data; based on the extracted feature representation, predicting a target category, regressing a target position, and determining target detection confidence through a multi-task head detection network, determining a loss function of each branch of the multi-task head detection network, and training the graph neural network NAGNN; and through the trained graph neural network NAGNN, performing target detection on a point cloud prediction data set, performing weighted frame fusion on a prediction result, and determining a 3D target position, size and orientation of the millimeter wave radar point cloud.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the fields of autonomous driving and deep learning, and specifically relates to a 3D target detection method based on millimeter-wave radar point clouds using graph neural networks. Background Technology

[0002] Perception is a core element in autonomous driving scenarios, and 3D object detection is a crucial component of it. In traffic scenarios, 3D object detection tasks use data such as images or point clouds to estimate information such as the target's position, orientation, and size through detection algorithms. Unlike 2D object detection tasks, 3D object detection models can acquire the object's depth information, which is more beneficial for subsequent decision-making processes.

[0003] Traditional automotive radar has been widely used in the field of autonomous driving and also has potential applications in future multimodal perception systems. However, compared with lidar-based perception technologies, traditional radar perception technologies have some shortcomings, such as a lack of height information and low resolution. These shortcomings limit the ability of traditional radar to accurately detect and locate objects in the surrounding environment. In recent years, the development of 4D imaging radar has emerged as a promising solution to overcome these limitations. Unlike traditional automotive radar, 4D millimeter-wave radar can measure the pitch angle, thereby acquiring height information. This additional dimension enhances the understanding of the environment and significantly improves the accuracy of object detection and localization.

[0004] Currently, most 3D target detection algorithms for 4D millimeter-wave radar point clouds are derived from LiDAR-based methods. These methods have two significant shortcomings: First, they fail to effectively utilize the multidimensional information of millimeter-wave radar. Although LiDAR and 4D millimeter-wave radar point clouds share some similarities, the latter provides unique and rich information such as Doppler and RCS. 3D detection algorithms designed for LiDAR point clouds do not capture and mine this unique information. Second, they struggle to handle data sparsity. Due to the limited number of antennas, 4D millimeter-wave radar point clouds are much sparser. Compared to LiDAR, 4D millimeter-wave radar captures less geometric and semantic information, and directly applying 3D detection algorithms designed for dense point clouds to sparse 4D millimeter-wave radar point cloud data will result in poor performance. Inspired by graph representation learning, the disordered and sparse characteristics of millimeter-wave radar point cloud data allow it to be naturally transformed into a graph-like data structure, thus enabling the use of graph neural networks to solve the corresponding problems. To date, there is no solution for 3D detection based on graph neural networks on 4D millimeter-wave radar point cloud data.

[0005] Therefore, designing a 3D target detection algorithm based on graph neural network for 4D millimeter-wave radar point cloud data can overcome the sparsity of millimeter-wave radar data and enhance the local perception of sparse data. Summary of the Invention

[0006] The main objective of this invention is to overcome the shortcomings of the prior art and provide a 3D target detection method based on millimeter-wave radar point clouds using graph neural networks.

[0007] To achieve the above objectives, the technical solution of the present invention is implemented as follows:

[0008] A 3D target detection method based on millimeter-wave radar point clouds, used for autonomous driving, includes the following steps:

[0009] Preprocess millimeter-wave radar point cloud data to construct point cloud data with a graph-like data structure to obtain training data;

[0010] Initialize the node feature embedding and edge feature embedding of the training data, construct the neighborhood-aware graph neural network NAGNN, and extract the feature representation of the training data;

[0011] Based on the extracted feature representation, the target category, target location, and target detection confidence are predicted by the multi-task head detection network. The loss function of each branch of the multi-task head detection network is determined, and the graph neural network NAGNN is trained.

[0012] By using a trained graph neural network NAGNN to perform target detection on a point cloud prediction dataset, and then performing weighted bounding box fusion on the prediction results, the 3D target position, size, and orientation of the millimeter-wave radar point cloud are determined.

[0013] In the above scheme, the preprocessing of millimeter-wave radar point cloud data to construct a graph-like data structure specifically involves: filtering out out-of-bounds points from the original millimeter-wave radar point cloud and cropping the vehicle's front view; extracting coordinates, velocity features, and radar cross-section (RCS) from the original point cloud, normalizing them, and using them as node features; performing a neighbor search on the extracted node features using the k-nearest neighbor algorithm and constraint factors to determine the adjacency relationships of the point clouds; connecting the adjacency relationships of the point clouds to form edges of the graph data; determining the features of the edges; and completing the construction of the point cloud graph data structure.

[0014] In the above scheme, the extraction of coordinates, velocity features, and radar cross-section (RCS) from the original point cloud, followed by normalization, is specifically defined as follows: each node feature can be represented as x. i = [x, y, z, v, v r ,r] T(x, y, z) are the three-dimensional spatial coordinates of the point cloud, and ν and v r Representing the target's velocity relative to the vehicle and the compensated velocity value, respectively, and r representing the RCS value, a feature matrix containing N point cloud nodes in a frame is represented as:

[0015] In the above scheme, the extracted node features are used to perform a neighbor search on the point cloud using the k-nearest neighbor algorithm and constraint factors to determine the adjacency relationship of the point cloud. Points belonging to the adjacency relationship are connected to form edges in the graph data, and the features of the edges are determined. Specifically, after standardizing the extracted features, the k-nearest neighbor algorithm is used to search for the neighbors of the point cloud. Simultaneously, the feature distance between the point cloud and the searched neighbors is calculated. Constraint factors are used to filter out neighbors that meet the neighbor conditions but have a large feature distance. The process of determining the adjacency relationship of the point cloud using constraint factors is: ε={(v i v j )|||x i -x j ||2<σ}, connecting the adjacent point clouds after filtering, ultimately forming the set ε of edges.

[0016] In the above scheme, the initialization of node feature embedding and edge feature embedding of the training data, and the construction of a neighborhood-aware graph neural network (NAGNN) to extract feature representations of the training data, specifically involves: initializing the embedding of point clouds with graph-like data structures, constructing high-dimensional embedding representations for normalized low-dimensional point cloud features and edge features using a multilayer perceptron (MLP); constructing a neighborhood-aware graph neural network, including two modules: node information transmission and update; and inputting the node embedding and edge embedding into the constructed neighborhood-aware graph neural network (NAGNN) to extract features.

[0017] In the above scheme, the embedding initialization of point clouds with graph-like data structures involves constructing high-dimensional embedding representations for normalized low-dimensional point cloud features and edge features using a multilayer perceptron (MLP). Specifically, this includes constructing node and edge embedding initialization modules and using the MLP to generate node embeddings h. i and edge embeddings j→i The process of constructing node embedding to generate MLP module f(·) and edge embedding to generate MLP module g(·) and finally generating high-dimensional embedding is shown below;

[0018] In the above scheme, based on the extracted feature representation, the multi-task head detection network is used to predict the target category, regress the target location, and determine the target detection confidence. The loss function of each branch of the multi-task head detection network is determined, and a graph neural network (NAGNN) is trained. Specifically, the feature vector extracted by the neighborhood-aware NAGNN is input into two parallel bounding box regression branches and a classification branch. The bounding box regression branch predicts the deviation from the average value, and the classification branch predicts the probability of the target's category. A loss function L is established for the bounding box regression branch. loc (HuberLoss) establishes a weighted loss function L for the classification branch. cls (CELoss), add L2 regularization loss function L reg By weighted summing of the loss functions of the three parts, we obtain the total network loss function: L total =β1L loc +β2L cls +β3L reg Where β1, β2, and β3 are constant factors that adjust the loss ratio, using the total loss function L total Backpropagation is performed on the graph neural network to train a graph neural network based on car targets and a graph neural network based on pedestrian and cyclist targets, resulting in a fully trained network.

[0019] In the above scheme, target detection is performed on the point cloud prediction dataset by a trained graph neural network. The prediction results are then weighted and fused to determine the 3D target position, size, and orientation of the millimeter-wave radar point cloud. Specifically, the millimeter-wave radar point cloud data is input into a trained neighborhood-aware graph neural network (NAGNN). The output of the multi-task head detection network is filtered for non-background point clouds, and then a decoding operation is performed. The bounding boxes generated by the decoding of non-background point clouds are fused through weighted fusion post-processing to obtain the final 3D detection result of the millimeter-wave radar point cloud.

[0020] Compared with existing technologies, this invention utilizes unique physical information such as velocity and radar cross-section (RCS) in 4D millimeter-wave radar point cloud data to mine the correlations between feature information in the point cloud, models the point cloud as a graph structure, and uses a graph neural network to extract rich radar point cloud features. This eliminates the need for repeated sampling and grouping of points, thus accommodating more complex network features. This invention overcomes the sparsity of millimeter-wave radar data, enhances local perception of sparse data, and improves the performance of 3D target detection models based on 4D radar point clouds. Attached Figure Description

[0021] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this invention, illustrate exemplary embodiments of the invention and, together with their descriptions, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0022] Figure 1 This is a flowchart illustrating a 3D target detection method based on millimeter-wave radar point clouds, provided as an embodiment of the present invention.

[0023] Figure 2 This is a schematic diagram of a graph neural network module for a 3D target detection method based on millimeter-wave radar point clouds, provided in an embodiment of the present invention.

[0024] Figure 3 This is a schematic diagram showing the results of a 3D target detection method based on millimeter-wave radar point clouds provided in an embodiment of the present invention. Detailed Implementation

[0025] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0026] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, article, or apparatus that includes that element.

[0027] This invention provides a 3D target detection method based on millimeter-wave radar point clouds using graph neural networks, such as... Figure 1 As shown, the method is as follows:

[0028] Step 101: Preprocess the millimeter-wave radar point cloud data, encode and represent the 3D target information, construct point cloud data with a graph data structure, and obtain training data;

[0029] Specifically, the process involves filtering out out-of-bounds points from the original millimeter-wave radar point cloud and cropping the front view of the vehicle; extracting coordinate, velocity features, and radar cross-section (RCS) features from the original point cloud, normalizing them, using the k-nearest neighbor algorithm and constraint factors to perform neighbor search on the extracted features, determining the adjacency relationships of the point clouds, connecting adjacent point clouds to form edges of graph data, determining the features of the edges, and completing the construction of the point cloud graph data structure.

[0030] The process involves preprocessing the millimeter-wave radar point cloud, filtering out out-of-bounds points from the original millimeter-wave radar point cloud, and cropping the front view of the vehicle based on the range provided by the camera.

[0031] Meanwhile, to enrich the number of point clouds in non-background categories, the target bounding box is microscale expanded, increasing its size to 1.1 times its original size. Then, the point clouds located within the expanded bounding box are denoted as the target category.

[0032] Build a graph for each frame of the scene in the dataset Node set Represented by preprocessed millimeter-wave radar point clouds, Figure Each node in All can be represented by the preprocessed millimeter-wave radar point cloud. Each node has C-dimensional features.

[0033] According to the experimental data used in this invention, each node feature can be represented as x. i = [x, y, z, v, v r ,r] T Let (x, y, z) be the three-dimensional spatial coordinates of the point cloud, and v and v' be the coordinates of the point cloud. r represents the target's speed relative to the vehicle and the compensated speed value, respectively, and r represents the RCS value.

[0034] A frame containing N point cloud node feature matrices is represented as:

[0035]

[0036] After standardizing the extracted features, the k-nearest neighbor algorithm is used to search for the neighbors of the point cloud. Simultaneously, the feature distance between the point cloud and the searched neighbors is calculated. Constraint factors are used to filter out neighbors that meet the neighbor criteria but are too far away. The process of determining the adjacency relationship of the point cloud using constraint factors is as follows:

[0037] ε={(v i v j )|||x i -x j ||2<σ}, [2]

[0038] Connecting adjacent points that satisfy the filtered edge cloud ultimately forms the set ε of edges.

[0039] Preferably, the k-nearest neighbor algorithm is set to k=20, and the constraint factor σ=0.02; each edge e i,j The feature construction is based on the residual representation of the information from the original point cloud and the information from the adjacent point clouds, as follows: e i,j =[Δd, Δv]r , Δr]∈ε, where Δd represents the l2 norm distance between the two point cloud spatial coordinates, Δv r Δr and Δr represent the absolute values ​​of the numerical differences between the two point clouds in terms of velocity and RCS, respectively.

[0040] After obtaining node features and edge features containing adjacency relationships, the construction process of the point cloud graph data structure is complete.

[0041] In some embodiments, most current 4D millimeter-wave radar point cloud 3D target detection algorithms are implemented based on the VoD dataset; therefore, this invention uses this dataset as the dataset for the 3D target detection task. The initial labels include target categories such as vans, cars, trucks, pedestrians, and bicycles, along with descriptions of states such as truncation and motion.

[0042] This invention uses 5139 samples collected by 4D millimeter-wave radar in the VoD dataset as the training dataset, of which 1296 samples are used as the validation dataset to detect vehicles, pedestrians and bicycles.

[0043] Step 102: Initialize the node feature embedding and edge feature embedding of the training data, construct the neighborhood-aware graph neural network NAGNN, and extract the feature representation of the training data;

[0044] Specifically, point clouds with graph-like data structures are initialized with embeddings. A multilayer perceptron (MLP) is used to construct high-dimensional embedding representations for normalized low-dimensional point cloud features and edge features, respectively. A neighborhood-aware graph neural network is constructed, including two modules: node information transmission and update. Node embeddings and edge embeddings are input into the constructed neighborhood-aware graph neural network (NAGNN) to extract features.

[0045] like Figure 2 As shown, firstly, point cloud data with a graph structure is initialized through a node and edge embedding module, where low-dimensional features are expressed in high-dimensional form. Next, a neighborhood-aware graph neural network is constructed. Finally, the obtained high-dimensional node and edge embeddings are input into the graph neural network, and through multiple layers of aggregation and transmission, graph features are extracted.

[0046] Construct node and edge embedding initialization modules, and use a multilayer perceptron (MLP) to generate node embeddings h respectively. i and edge embeddings j→i The process of constructing node embedding to generate MLP module f(·) and edge embedding to generate MLP module g(·) and finally generating high-dimensional embedding is shown below;

[0047]

[0048] For example, the size of the node embedding generation MLP module f(·) is set to [32, 64, 128, 256], and the size of the edge embedding generation module g(·) is set to [4, 8, 16].

[0049] A neighborhood-aware graph neural network module is constructed, consisting of two sub-modules: an information aggregation module and an update module. Within the information aggregation module, the aggregation operator... Collect from the original node v i Embedded and neighboring nodes v j Aggregate the embedded elements.

[0050] Specifically, embedding h into the original node i Neighbor embedding h j and the embeddings of the edges connecting them j→i Max aggregation is performed, and then the feature representation is enhanced by an M-module composed of MLPs to obtain the result of the aggregation module. In the update module, the result of the aggregation module is concatenated with the embedding of the original node. The concatenated result is then passed through a U-module composed of MLPs to generate a new node embedding.

[0051] For the initial input node embedding h i and edge embeddings j→i By aggregating information from neighbors and the node itself to update the node's embedding, and after iteration through an l-layer network, the final output is the state of each node. Among them, node v i The neighbor set is represented as The iterative process of each layer of the network can be concisely expressed by the following formula:

[0052]

[0053] Step 103: Based on the extracted feature representation, use a multi-task head detection network to predict the target category, regress the target location, and target detection confidence. Determine the loss function for each branch of the multi-task head detection network and train the graph neural network.

[0054] Specifically, the multi-task head detection network consists of two parallel branches: a classification branch and a bounding box parameter regression branch. After iterations at layer l of the graph neural network, the two parallel branches receive the state of each node. As input. The classification branch and the bounding box parameter regression branch are each composed of two MLP modules. cls and MLP loc Composition. The input dimensions of both MLP modules are the dimensions of the final node feature states. The input dimensions are set to include the number of target categories in the background class and the bounding box parameters, respectively. Hidden layers can be set in between to enhance the representation.

[0055] For example, when the final node's feature state dimension is 32, and the predicted categories are four: car, pedestrian, cyclist, and background, the bounding box parameter dimension is 8, and the MLPc... ls The input size is 32, and the output size is 4. MLP loc The input size is 32, the output size is 8, and the hidden layer is set to 16.

[0056] In the classification branch, each node feature in a frame of data outputs a multi-class confidence distribution {p1, ..., p...} M M is the number of target categories, including the background category. Nodes located within a target bounding box are denoted as target nodes, and nodes outside the target bounding box are denoted as background nodes. For radar point clouds with uneven category distribution, the weight of category j∈M is set to α. j For N nodes in a point cloud frame, calculate the weighted cross-entropy loss as the classification loss:

[0057]

[0058] In the bounding box parameter regression branch, the target 3D bounding box can be represented by the bounding box center (x, y, z), bounding box size (l, w, h), and orientation θ, i.e., b = (x, y, z, l, w, h, θ). Residual encoding is performed on all variables of the bounding box; that is, instead of directly regressing absolute values, the regression is performed on the deviation values ​​relative to the mean. The encoded bounding box is represented as δ. b =(δ x δ y δ z δ l δ h δ w , sin(θ), coS(θ)). For a point cloud with coordinates (x, sin(θ), coS(θ)). v y v , z v The encoding result of the target bounding box is:

[0059]

[0060] l m h m w m It is the average size calculated in advance for each category.

[0061] For example, for different categories of targets, set (l m h m w m The parameters are shown in Table 1:

[0062] Table 1: Average Size of Targets in Different Categories

[0063] category <![CDATA[l m / meter]]> <![CDATA[h m / meter]]> <![CDATA[w m / meter]]> car 4.11 1.52 1.82 pedestrian 0.63 1.69 0.62 Cyclists 1.93 1.75 0.76

[0064] Based on the eight feature channels represented by the regression branch at each node, the eight variables are decoded using inverse operations to recover the final predicted bounding box. The loss between the 3D bounding box predicted by the bounding box regression branch and the ground truth 3D bounding box is calculated using Huber loss. Specifically, if a point belongs to the background point cloud or is located within the bounding box of an object that does not belong to the category to be predicted, i.e. Set its loss to 0; if a point is located within the bounding box of the target class to be predicted, i.e., v i ∈b interest Calculate the loss between the predicted 3D bounding box and the actual 3D bounding box, i.e., Δδ b This represents the difference between the predicted bounding box and the true bounding box after encoding. An indicator function I is introduced to represent the above process. The calculation process for the loss of the final bounding box parameter regression branch is written as follows:

[0065]

[0066] Introducing L2 regularization loss function L reg To prevent overfitting during model training.

[0067] The weighted sum of the three losses mentioned above is taken as the final loss L. total Use β1, β2, and β3 to adjust the ratio between different losses:

[0068] L total =β1L loc +β2L cls +β3L reg [8]

[0069] The trained graph neural network was configured with β1 = 2, β2 = 0.5, and β3 = 0.000005. The specific training strategy involved training with the Adam optimizer for 50 epochs, with an initial learning rate of 0.001. For training networks targeting car types and small object types (pedestrians and cyclists), the ReduceLROnPlateau learning method was used. The learning rate was adjusted by monitoring the loss on the validation set, with an adjustment factor of 0.5 and 7 iterations. A minimum lower bound for the learning rate was set to 0.00001.

[0070] Step 104: Perform target detection on the point cloud prediction dataset using the trained graph neural network, perform weighted bounding box fusion on the prediction results, and determine the 3D target position, size, and orientation of the millimeter-wave radar point cloud.

[0071] Specifically, during the inference phase, the point cloud data to be predicted is input into a trained graph neural network. The graph neural network predicts the category and bounding box information for each millimeter-wave radar point cloud. After filtering, the bounding boxes predicted as non-background point clouds are extracted. The retained bounding boxes are then decoded, and the decoding results are sorted in descending order of confidence score to obtain a list of predicted bounding boxes. and confidence score list The decoded list of predicted bounding boxes and the list of confidence scores are input into the weighted fusion post-processing module to finally obtain the 3D target position, size, and orientation of the millimeter-wave radar point cloud in a single frame.

[0072] The weighted bounding box fusion post-processing module specifically includes the following steps:

[0073] (1). Create two empty lists: the target box clusters list. and target box fusions list Specifically, each element in the `clusters` list stores the set of all predicted bounding boxes belonging to the same target object. Each element in the `fusions` list contains only one bounding box, which corresponds to the fusion result of all bounding boxes belonging to the same target within a certain element in the `clusters` list.

[0074] (2). Loop through the list of detection boxes Try in the target box fusions list Find the matching bounding box. A match is defined as a degree of overlap between the bounding box and the detection bounding box that is greater than a threshold T. hr The fusion frame. The threshold T of the present invention. hr =0.05.

[0075] (3). If not in the fusions list If a matching box is found, the list will be... Add the box in the fusions list The end of f is used as a new element t This box is also added to the clusters list. Becoming a new element of the clusters t A box l i Continue iterating through the list. The next box in the list.

[0076] (4). If in the fusions list If a matching box is found, add it to the list. In and List The box set of the clusters element corresponding to the matching box.

[0077] (5). Use the target box clusters list Recalculate the list of fusion boxes. The fusion result is calculated as follows. The confidence score is the highest confidence score among the detection boxes belonging to the same target in the target box list.

[0078] Set a list of clusters elements in Elements in the fusions list corresponding to the target bounding box f j It is the target l j ={l1, l2, ..., l T The fusion result of}, l j There are T bounding boxes belonging to the same target, and each box has 7 bounding box parameters, which can be represented as l. i = (x, y, z, l, w, h, θ), the method for calculating the fusion box of the same target box in step (5) is as follows:

[0079]

[0080] The weighted bounding box fusion post-processing module ultimately obtains the prediction results of the 3D target position, size, and orientation of the millimeter-wave radar point cloud in a single frame scene.

[0081] The solution was finally tested on the VoD validation dataset for 3D object detection. The mean AP scores for vehicles, pedestrians and cyclists in the driving area were 70.23, 47.31 and 85.39 respectively, which basically meet the daily needs of autonomous driving.

[0082] Experimental data:

[0083] Determine the validation dataset and evaluation metrics;

[0084] This invention uses the validation set from the VoD dataset as validation data and employs Mean Precision (AP) as the evaluation metric for the method. AP represents the detection accuracy for a specific class and is used to evaluate the model's detection performance for that single class. A higher AP value indicates higher detection accuracy and greater practical value.

[0085] The AP metric is defined as follows:

[0086] AP=∫0 1 P(R)dR

[10]

[0087] Where P is precision and R is recall, TP represents positive samples predicted as positive, FP represents positive samples predicted as negative, and FN represents negative samples predicted as negative, the mathematical definitions of precision and recall are as follows:

[0088]

[0089]

[0090] For each sample, its Precision and Recall can be obtained. The results of multiple samples are arranged in descending order of confidence and plotted as a Precision-Recall curve to calculate the AP result. In order to reduce the amount of computation, the interval [0,1] is divided into L-1 intervals using L equal division points. The AP value is calculated in a way similar to a microelement. In the official VoD evaluation tool, L=11 is used to calculate the final AP index.

[0091] To demonstrate the practicality of this invention, the VoD dataset was used for verification, and comparative experiments were conducted. For the intersection-union ratio (IoU) of the predicted and ground truth bounding boxes in the AP metric, a 50% overlap was set for cars, and a 25% overlap for pedestrians and cyclists. Experiment A used the PointPillar algorithm for training and detection; Experiment B used the RadarPillarNet algorithm; and Experiment C presented the results using the algorithm described above. Three classes of objects were selected for detection: vehicles, pedestrians, and bicycles. Evaluation was performed on a fully labeled area (within 50 meters of the camera's front view) and a driving area (camera coordinate system range [-4m < x < +4m, z < 25m]). The official evaluation tool of the VoD dataset was used to obtain the following results, as shown in Table 2:

[0092] Table 2: Results of the comparative experiment

[0093]

[0094] For vehicles, in the fully labeled area, this method improved performance by 3.99 and 1.75 compared to experimental groups A and B, respectively; while in the driving area, it improved by 0.08 compared to experimental group A. For pedestrians, in the driving area, this method improved performance by 0.09 compared to experimental group A. For cyclists, this method demonstrated superior performance, far exceeding experimental groups A and B, with average improvements of 2.74 and 2.57 in the two areas, respectively. This shows that the characteristic representation of cyclist speed can be enhanced in the algorithm of this invention.

[0095] The above results show that the target detection algorithm in experimental group C effectively completed the classification and localization tasks, and achieved high discrimination for the three types of targets: cars, pedestrians and cyclists, which has practical value.

[0096] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention.

Claims

1. A 3D target detection method based on millimeter-wave radar point clouds using graph neural networks, for autonomous driving, characterized in that, The method includes the following steps: Preprocess millimeter-wave radar point cloud data to construct point cloud data with a graph-like data structure to obtain training data; Initialize the node feature embedding and edge feature embedding of the training data, construct the neighborhood-aware graph neural network NAGNN, and extract the feature representation of the training data; Based on the extracted feature representation, the target category, target location, and target detection confidence are predicted by the multi-task head detection network. The loss function of each branch of the multi-task head detection network is determined, and the graph neural network NAGNN is trained. The trained graph neural network NAGNN is used to detect targets on the point cloud prediction dataset. The prediction results are then weighted and fused to determine the 3D target position, size, and orientation of the millimeter-wave radar point cloud. The initialization of node feature embedding and edge feature embedding of the training data is used to construct a neighborhood-aware graph neural network (NAGNN) to extract feature representations from the training data. Specifically, the embedding initialization is performed on the point cloud with a graph-like data structure, and high-dimensional embedding representations are constructed from the normalized low-dimensional point cloud features and edge features using a multilayer perceptron (MLP); a neighborhood-aware graph neural network is constructed, including two modules: node information transmission and update; the node embedding and edge embedding are input into the constructed neighborhood-aware graph neural network (NAGNN) to extract features. The embedding initialization of point clouds with graph-like data structures involves constructing high-dimensional embedding representations for normalized low-dimensional point cloud features and edge features using a multilayer perceptron (MLP). Specifically, this includes constructing node and edge embedding initialization modules and using the MLP to generate node embeddings. and edge embedding Construct a node embedding to generate an MLP module Edge embedding generates MLP modules The final process of generating high-dimensional embeddings is shown below; ; Based on the extracted feature representation, a multi-task head detection network is used to predict the target category, regress the target location, and determine the target detection confidence. The loss function for each branch of the multi-task head detection network is then determined, and a graph neural network (NAGNN) is trained. Specifically, the feature vector extracted by the neighborhood-aware NAGNN is input into two parallel bounding box regression branches and a classification branch. The bounding box regression branch predicts the deviation from the average value, and the classification branch predicts the probability of the target's category. A loss function is established for the bounding box regression branch. (HuberLoss) establishes a weighted loss function for the classification branch. (CELoss), with the addition of L2 regularization loss function By weighted summing of the loss functions of the three parts, we obtain the total network loss function: ,in To adjust the constant factor for the loss ratio, the total loss function is used. Backpropagation is performed on the graph neural network to train a graph neural network based on car targets and a graph neural network based on pedestrian and cyclist targets, resulting in a fully trained network.

2. The 3D target detection method for millimeter-wave radar point clouds based on graph neural networks according to claim 1, characterized in that, The preprocessing of millimeter-wave radar point cloud data to construct a graph-like data structure specifically involves: filtering out out-of-bounds points from the original millimeter-wave radar point cloud and cropping the vehicle's front view; extracting coordinates, velocity features, and radar cross-section (RCS) from the original point cloud, normalizing them, and using them as node features; performing a neighbor search on the extracted node features using the k-nearest neighbor algorithm and constraint factors to determine the adjacency relationships of the point clouds; connecting the adjacency relationships of the point clouds to form edges in the graph data; determining the features of the edges; and completing the construction of the point cloud graph data structure.

3. The 3D target detection method for millimeter-wave radar point clouds based on graph neural networks according to claim 2, characterized in that, The process involves extracting coordinates, velocity features, and radar cross-section (RCS) from the original point cloud, normalizing them, and using these as node features. Specifically, each node feature can be represented as follows: , The spatial three-dimensional coordinates of the point cloud, and These represent the target's velocity relative to the vehicle and the compensated velocity value, respectively. Represents the RCS value; a frame contains The feature matrix of each point cloud node is represented as follows: .

4. The 3D target detection method for millimeter-wave radar point clouds based on graph neural networks according to claim 3, characterized in that, The extracted node features are used to perform a neighbor search on the point cloud using the k-nearest neighbor algorithm and constraint factors to determine the adjacency relationships of the point cloud. Points with adjacency relationships are connected to form edges in the graph data, and the features of these edges are determined. Specifically, after standardizing the extracted features, the k-nearest neighbor algorithm is used to search for the neighbors of the point cloud. Simultaneously, the feature distance between the point cloud and the searched neighbors is calculated. Constraint factors are used to filter out neighbors that meet the neighbor criteria but have large feature distances. The process of determining the adjacency relationships of the point cloud using constraint factors is as follows: Connecting adjacent points after filtering, the resulting set of edges is formed. .

5. The 3D target detection method for millimeter-wave radar point clouds based on graph neural networks according to claim 1, characterized in that, By performing target detection on a point cloud prediction dataset using a trained graph neural network, and then performing weighted bounding box fusion on the prediction results, the 3D target location, size, and orientation of the millimeter-wave radar point cloud are determined. Specifically, the millimeter-wave radar point cloud data is input into a trained neighborhood-aware graph neural network (NAGNN). The output of the multi-task head detection network is filtered for non-background point clouds, and then decoded. The bounding boxes generated by the decoded non-background point clouds are then fused through weighted fusion post-processing to obtain the final 3D detection result of the millimeter-wave radar point cloud.