Inplanatable analysis method for laser radar 3D target detection
A two-stage method was used to generate a high-quality attribution map for a 3D target detector based on LiDAR point cloud, which solved the problems of large computational load and significant noise impact in existing technologies, and achieved efficient and accurate interpretability analysis.
Patent Information
- Application Number
- CN202410970713.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-11-01
AI Technical Summary
Existing studies on the interpretability of deep learning-based LiDAR point cloud 3D target detectors suffer from high computational cost, long processing time, and significant random noise, resulting in the generated attribution graphs failing to correctly interpret model predictions.
A two-stage approach is adopted. First, gradient information is used to generate an attribution map of the bird's-eye view plane and project it onto the 3D point cloud to segment the point cloud into key and non-key regions. Then, Constrained K-means clustering and Shapley additive interpretation are used to calculate the contribution of the supervoxels and generate a high-quality attribution map.
It achieves low computational complexity, fast generation speed, and high-quality attribution graphs, which can accurately visualize the impact of each point in the point cloud on the model prediction results.
Smart Images

Figure CN118887658A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of laser radar point cloud 3D target detection, and to the fields of point cloud processing and deep learning. Background Art
[0002] LiDAR point cloud 3D object detection is of great significance in modern science and security fields and has been widely used, such as autonomous driving, robotics and other industrial fields. LiDAR calculates the distance to the target object by emitting laser pulses and measuring the return time, thereby generating a high-resolution 3D point cloud, providing detailed object shape and position information. With the development of deep neural networks (DNNs), 3D object detection based on LiDAR point clouds has made significant progress. However, the interpretability of deep learning point cloud 3D object detectors is still an area to be explored, especially for fields closely related to safety such as autonomous driving. These deep learning models are usually considered to be "black box" models. Their operating mechanisms lack transparency and it is difficult to explain the decision-making process of the network. Therefore, studying the interpretability of point cloud 3D object detectors helps to explain the operating mechanism of the model and make the decision-making process of the model transparent. One method for interpreting object detectors is to generate an attribution graph for the input point cloud, assign a weight to each point in the point cloud, and visualize the influence of the point in the point cloud on the output result. The existing method is based on point cloud perturbation. It randomly deletes part of the point cloud to obtain the downsampled point cloud, and then uses the model to predict and compare the prediction results with the prediction results with the original point cloud as input to calculate the similarity, which is used to measure the importance of the deleted point cloud part. If the deleted point cloud is a key part, the similarity between the prediction result corresponding to the deleted point cloud and the original prediction result is low. Conversely, if the deleted point cloud has little effect on the prediction result, the similarity between the prediction result corresponding to the deleted point cloud and the original prediction result is high. This method based on point cloud perturbation requires multiple point cloud random perturbations and model inferences, which is computationally intensive and time-consuming. In addition, due to the inevitable introduction of random noise due to random perturbations, the generated attribution map cannot correctly explain the model's prediction. In response to these challenges, it is urgent to develop an interpretable method for 3D point cloud target detection that is computationally efficient and can generate high-quality attribution maps. Summary of the invention
[0003] The present invention aims to solve the above problems and proposes an interpretability method for a two-stage lidar 3D object detector based on gradient and Shapley AdditiveExplanation, which can efficiently generate high-quality attribution maps and visualize the influence of each point in the point cloud on the model prediction results.
[0004] The present invention provides a two-stage lidar point cloud 3D object detector interpretability method, comprising:
[0005] S1: Generate an attribution map on the Bird's Eye View (Bev) plane using gradient information, and then project the attribution map on the Bev plane to the 3D point cloud to obtain the attribution map corresponding to the 3D point cloud;
[0006] S2: Set a threshold based on the total energy of the attribution map generated by S1, sort the points in the point cloud in descending order according to the energy of the points in the attribution map, and divide the points in the point cloud into two parts. The point cloud in the first part has a higher energy in the attribution map, which means that it contributes more to the model prediction results.
[0007] S3: Use the Constrained K-means clustering algorithm to cluster the first part of the point cloud obtained in S2 to obtain a fixed number of supervoxels;
[0008] S4: Then use the Shapley additive explanation method to calculate the contribution of each supervoxel to obtain a more detailed attribution map;
[0009] The beneficial effects of the present invention are: low computational complexity and fast generation speed; the generated attribution map is of high quality and more concentrated energy; it is highly interpretable and can more accurately visualize the impact of each point in the input point cloud on the model prediction results. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 The framework flow chart of the present invention is
[0011] Figure 2 A visualization of the attribution graph generated for the present invention;
[0012] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings.
[0013] Specific implementation measures
[0014] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0015] S1: Generate an attribution map on the Bird's Eye View (Bev) plane using gradient information, and then project the attribution map on the Bev plane to the 3D point cloud to obtain the attribution map corresponding to the 3D point cloud;
[0016] Step S1 is specifically as follows:
[0017] S11: Given a 3D lidar point cloud P, a 3D target detector f, and a prediction result d, the prediction result d includes a classification score and a bounding box B (p) =(x (p) ,y (p) ,z (p) ,w (p) ,l (p) ,h (p) ,θ (p) ), respectively representing the coordinates of the center point of the bounding box and the length, width, and height of the bounding box. Assume that for the model prediction result p, its attribution tensor Y(p) can be expressed as a weighted linear combination of the elements of the model's intermediate feature map A, and then by using Represents the weighted aggregation feature map A of the elements on each channel to generate the attribution map According to the different backbone networks used in the models, they are divided into backbone networks based on 2D convolution and backbone networks based on 3D convolution:
[0018] S12: For the backbone network based on 2D convolution
[0019]
[0020] Here, A represents the selected intermediate feature map, A ijm Represents the element of feature map A at position (i, j) in the mth channel; operator Represents element-wise multiplication; the function Φ represents the Gaussian kernel, which is used for local pooling to generate a smooth attribution map while retaining important spatial information.
[0021] S13: When using the 3D sparse convolutional layer output as the intermediate feature, let A ijkm Represents the element indexed by (i, j, k) on the mth channel of the intermediate feature A. Average pooling is applied in the channel dimension, and the features are compressed to the BEV plane in the height dimension. The corresponding predicted attribute Y for a specific instance p (p) The attribution graph can be expressed as the following formula:
[0022]
[0023] S14: For the attribution map of the BEV plane obtained in S12 or S13, project it into the 3D point cloud to obtain a gradient-based attribution map. S2: Based on the weights of the points in the gradient-based attribution map obtained in S1, divide the points in the point cloud into two parts: key areas and non-key areas.
[0024] Step S2 is specifically as follows:
[0025] Based on the weights of the points in the gradient-based attribution map obtained in S1, the set M of points corresponding to the key areas of the point cloud is divided. The specific calculation formula is as follows:
[0026]
[0027] Here i represents the energy of the i-th point in the point cloud in the attribution map, and E represents the total energy of the entire attribution map.
[0028] M={π(i)|i<=k},k=min{k′|S k′ ≤α·E≤S k′+1}
[0029] Here, π represents the index mapping of the points in the point cloud sorted in descending order according to their energy in the attribution graph, S k represents the sum of the energies of the first k points in the attribution graph in descending order. M is the minimum prefix set that satisfies the above formula.
[0030] S3: Based on the Constrained K-means clustering algorithm, the point cloud of the first part obtained in S21 is clustered to obtain a fixed number of supervoxels.
[0031] S4: Use the Shapley additive explanation method to calculate the contribution of each supervoxel to obtain a more detailed attribution map;
[0032] Each supervoxel c in the supervoxel set C i For the contribution of the prediction result p, we take the supervoxel c i As a basic unit, Shapley value is used to quantify c i Contribution φ to the prediction result p i , as follows.
[0033]
[0034] Here v is the value function used to measure the similarity between the prediction result of the current input point cloud and the corresponding prediction result of the original input point cloud P, and S is the value of removing c from C. i A subset of the remaining element set, for points in the point cloud that are not included in C, are treated as background input and are not deleted.
[0035] The present invention has been successfully applied to the interpretable analysis system of LiDAR 3D target detection, and can efficiently visualize the impact of each point in the input point cloud on the model prediction results.
[0036] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "includes one..." does not exclude the existence of other identical elements in the process, method, article or system including the element. The serial numbers of the above-mentioned embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order, and these words may be interpreted as identifiers.
[0037] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An interpretability method for a two-stage lidar 3D object detector based on gradient and Shapley Additive Explanation, characterized in that: The following steps are involved: S1: Generate an attribution map on the Bird's Eye View (Bev) plane using gradient information, and then project the attribution map on the Bev plane to the 3D point cloud to obtain the attribution map corresponding to the 3D point cloud; S2: Set a threshold based on the total energy of the attribution map generated by S1, sort the points in the point cloud in descending order according to the energy of the points in the attribution map, and divide the points in the point cloud into two parts. The point cloud in the first part has a higher energy in the attribution map, which means that it contributes more to the model prediction results. S3: Use the Constrained K-means clustering algorithm to cluster the first part of the point cloud obtained in S2 to obtain a fixed number of supervoxels; S4: The Shapley additive explanation method is then used to calculate the contribution of each supervoxel to obtain a more detailed attribution map.
2. The method according to claim 1, characterized in that A threshold is set based on the total energy of the attribution map generated in step S1, and the points in the point cloud are arranged in descending order according to the energy of the points in the attribution map, and the points in the point cloud are divided into two parts: a key part and a non-key part.
3. The method according to claim 1, characterized in that The point cloud of the first part obtained in S2 is clustered using the Constrained K-means clustering algorithm.
4. The method according to claim 1, characterized in that: The Shapley additive explanation method is used to calculate the contribution of each supervoxel on the supervoxel set obtained in step S3 to obtain a more detailed attribution map.
Citation Information
Patent Citations
Perception method and system for target detection
CN115331214A
Point cloud three-dimensional target detection method based on local spatial information enhancement network
CN118196392A
Target detection in a point cloud
US20230136329A1
Cited By
Radar anti-interference-oriented global sensitivity index optimization method, device and equipment
CN119578230A
