Weak supervision point cloud semantic segmentation method based on MPRM improvement and model thereof

By introducing multiple attention mechanisms and pseudo-label screening modules into point cloud semantic segmentation, combined with the displacement invariance of point clouds, the problem of annotation data dependency and noise is solved, and the robustness and generalization of weakly supervised point cloud semantic segmentation are improved. transformation.

CN118674932APending Publication Date: 2024-09-20NANJING FORESTRY UNIV
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202410859842.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

Existing technologies rely on a large amount of manually annotated data, resulting in high costs and pseudo-label noise issues, which limit the application and performance of weakly supervised point cloud semantic segmentation methods.

Method used

Design an improved weakly supervised point cloud semantic segmentation method based on MPRM, which generates point-level pseudo-labels through multiple attention mechanisms, introduces a pseudo-label filtering module to select pseudo-labels with high confidence, and uses a point-level label enhancement module to detect pseudo-labels under different perspectives. Enhance pseudo-labels and use the displacement invariance of point clouds to improve model consistency.

Benefits of technology

It effectively reduces label noise, improves the robustness and generalization of the model, improves the performance of weakly supervised classification and segmentation tasks, and reduces the impact of pseudo labels on model performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674932A
    Figure CN118674932A
Patent Text Reader

Abstract

The invention discloses a weak supervision point cloud semantic segmentation method based on MPRM improvement, and relates to the technical field of point cloud semantic segmentation, and the method comprises the following steps: inputting a point cloud, mining a region with the highest discriminability from a network through a plurality of attention mechanisms, and aggregating different discrimination regions generated by each attention mechanism to generate a point-level pseudo tag; selecting the pseudo labels after the pseudo labels are produced, and selecting the pseudo labels with high confidence by introducing a pseudo label screening module; performing spatial change on the point cloud, and enhancing a point-level pseudo tag by introducing the representation of a point-level tag enhancement module under different visual angles; and after consistency detection, training the semantic segmentation network by using the selected pseudo tag. The invention further provides a weak supervision point cloud semantic segmentation model based on MPRM improvement. The method can reduce the noise in the label, improves the performance of the model, and improves the robustness and generalization of the model in a weak supervision classification segmentation task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of point cloud semantic segmentation, and in particular relates to a weakly supervised point cloud semantic segmentation method and a model thereof based on MPRM improvement. Background Art

[0002] Point cloud, as an important means of 3D data representation, has attracted much attention from researchers because it can retain the original geometric information of objects or scenes in a direct and complete way. Although point cloud data exists in a concise and intuitive form and is easy to obtain and preliminarily process, its inherent disorder and unstructured nature create difficulties for the effective use of point clouds. Specifically, it is reflected in how to design a convolutional neural network model that adapts to the characteristics of point clouds, and how to effectively extract deep geometric features from point clouds.

[0003] Point cloud data includes semantic classification and segmentation technology, among which point cloud segmentation technology focuses on clustering and integrating point cloud data belonging to the same physical object or scene component, building a hierarchical point cloud structure, and providing solid underlying support for subsequent high-level applications such as accurate object identification and high-precision three-dimensional reconstruction.

[0004] Existing supervised methods for cloud classification and segmentation include: fully supervised point cloud classification and segmentation, semi-supervised point cloud classification and segmentation, and weakly supervised point cloud classification and segmentation. Among them, the fully supervised point cloud semantic segmentation method can provide high-precision segmentation results due to its detailed annotation information. During the training process, the semantic category of each point is finely labeled, so that the model can fully learn and understand the intrinsic structure and characteristics of the point cloud data. However, a significant shortcoming of the fully supervised point cloud semantic segmentation method is its dependence on a large amount of manually labeled data. In practical applications, the acquisition of accurate point-level labeled data is not only time-consuming but also costly. Especially when faced with large-scale three-dimensional scenes, the strong demand for labeled data limits the feasibility and scalability of the fully supervised method in scenarios where annotation resources are relatively scarce, thereby restricting its wide application in practical problems.

[0005] The feasibility of weak supervision methods has been put into practical application in the field of 2D image semantic segmentation. As the research focus in the field of point cloud semantic segmentation, the process of generating pseudo labels through cloud-level weak labels has not been given sufficient consideration and in-depth discussion on how to further effectively utilize the generated pseudo labels to improve segmentation performance. The main reasons are: 1. The inevitable noise problem in pseudo labels, because it is impossible to generate perfect labels in the initial stage, especially in the object boundary area; 2. Noisy labels may lead to poor training effects of the segmentation network, thus affecting the segmentation performance. Therefore, although the use of cloud-level weak labels provides a new perspective for the field of point cloud semantic segmentation, how to effectively utilize pseudo labels is still a major challenge. Summary of the invention

[0006] The purpose of the present invention is to solve the shortcomings of the prior art that it relies on a large amount of labeled data, resulting in high costs for data cleaning and manual labeling, as well as inevitable noise in pseudo labels, and proposes a weakly supervised point cloud semantic segmentation method based on MPRM and its model. The weakly supervised point cloud semantic segmentation method based on MPRM and its model can reduce the noise in the labels and improve the performance of the model, thereby improving the robustness and generalization of the model in weakly supervised classification and segmentation tasks.

[0007] In order to achieve the above object, the present invention adopts the following technical solutions:

[0008] Design a weakly supervised point cloud semantic segmentation method based on MPRM improvement, including the following steps:

[0009] Step 1: Input the point cloud, mine the most discriminative areas from the network through multiple attention mechanisms, and aggregate the different discriminative areas generated by each attention mechanism to generate point-level pseudo labels;

[0010] Step 2: After the pseudo labels are generated, the pseudo labels are selected by introducing a pseudo label screening module to select pseudo labels with high confidence.

[0011] Step 3: spatially transform the point cloud and enhance the point-level pseudo-labels by introducing the point-level label enhancement module under different viewing angles;

[0012] Among them, the enhancement of point-level pseudo-labels includes the following steps:

[0013] Step 31, applying a random transformation to the point cloud to generate a pair of point cloud samples {X, X′}, where T represents the random transformation applied to the original point cloud X;

[0014] Step 32: Input the sample into a dual-branch network structure with shared parameters, and each branch outputs the semantic prediction of the corresponding point cloud;

[0015] Step 33, using {X, X′} as input, generate a pair of point pair predictions {Z, Z′} through two shared parameter networks;

[0016] Choose Euclidean distance to estimate consistency, and the calculation formula is:

[0017]

[0018] Where N defines the number of points in the point cloud, B is the batch size, C represents the number of classes, and g is a symmetric function (max pooling). The order of the input variables does not change the output of function g.

[0019] Step 4: After consistency detection, use the selected pseudo labels to train the semantic segmentation network.

[0020] Furthermore, in step 1, multiple attention mechanisms generate point cloud weak labels including the following steps:

[0021] Step 11, the point cloud / sub-point cloud is formed into four different paths by the multi-path region mining module through the KPConv-ResNet layer;

[0022] Step 12: Add a 1×1 convolutional layer as a classifier after each path to reduce the feature dimension to the number of categories and obtain the PCAM feature map;

[0023] Step 13: Use the global average pooling layer to generate the prediction vector, and use the weak label to calculate the sigmoid cross entropy loss to generate point-level cloud-level weak label back propagation;

[0024] Step 14: Repeat the process of the four paths using cloud-level weak labels and point clouds to extract the maximum values ​​of the elements, and merge the obtained maximum values ​​of the elements;

[0025] Step 15: Use upsampling to upsample the PCAM to its original size to obtain point-level pseudo labels.

[0026] Furthermore, the multiple attention mechanisms include a common PCAM mechanism, a spatial attention PCAM mechanism, a channel attention PCAM mechanism and a point-by-point spatial attention PCAM mechanism.

[0027] Furthermore, the spatial attention PCAM mechanism includes the following steps:

[0028] a. Input the N×C dimensional feature map A into three different 1×1 convolutional layers;

[0029] b. The dimensions of outputs B, C, and D are reduced to C1;

[0030] c. Perform matrix multiplication on the transpose of C and B to obtain an N×N output matrix, which is processed using softmax to obtain the spatial attention map E.

[0031] The attention value on E is expressed as:

[0032]

[0033] In the formula, e ji Indicates the influence of point i on point j. g is a symmetric function (maximum pooling). The order of input variables does not change the output of function g.

[0034] d. Perform matrix multiplication on the N×N spatial attention map E and the N×C1 feature map D to obtain the N×C1 aggregate feature map F.

[0035] e. After the N×C1 aggregate feature map F is enlarged by a 1×1×C convolutional layer, the N×C aggregate feature map F is obtained;

[0036] f. Use element-wise summation to fuse the N×C aggregate feature map F into the original N×C dimensional feature map A to form an N×C aggregate feature map G.

[0037] Furthermore, the aggregated feature F is weighted using the scale parameter α in the summation process, where α is a learnable parameter initialized to 0;

[0038] The output of the spatial attention module at point j can be expressed as:

[0039]

[0040] Furthermore, the channel attention PCAM mechanism is used for convolution transformation to generate feature channels with different weights, and the channel attention PCAM mechanism consists of a squeeze module, an excitation module and an attention module;

[0041] First, matrix multiplication is performed between the N×C transposed input feature map and the N×C original feature map to obtain a C×C channel attention map. A softmax layer is added to the attention map, which is expressed as:

[0042] Where b ji is the influence of channel i on channel j. g is a symmetric function (max pooling). The order of input variables does not change the output of function g.

[0043] Then, matrix multiplication between the attention map B and the original feature map A is used to selectively propagate channel information

[0044] Furthermore, the element-wise summation between the aggregated feature map and the original feature map is weighted using the scale parameter β, initialized from 0:

[0045] Furthermore, the point-by-point spatial attention PCAM mechanism utilizes a point-by-point spatial attention module to aggregate the global information of each point.

[0046] Furthermore, in step 2, pseudo label selection includes the following steps:

[0047] Step 21: M c (p) is defined as the upsampled final PCAM of point cloud p of class c, where c = {0, ..., C - 1}, C is the number of classes;

[0048] Step 22: Add a softmax operation to the upsampled final PCAM across all categories, then the feature vector f of point ii =M c The length of (p) is C, f i Each element in is the predicted probability of the corresponding category, and this value is the confidence of the predicted pseudo label of point i in category c;

[0049] Step 23: Use a threshold θ to retain highly reliable points as marked points, and maintain a mask M for each point cloud to mark the selected points.

[0050] In order to solve the above technical problems, the present invention also provides a weakly supervised point cloud semantic segmentation model based on MPRM improvement, which is used in the weakly supervised point cloud semantic segmentation method based on MPRM improvement. The model architecture includes pseudo-label generation, pseudo-label selection and semantic segmentation network learning based on the selected pseudo-label. First, point cloud weak labels are generated by inputting point cloud. After the pseudo-labels are generated, the pseudo-labels are selected and pseudo-labels with high confidence are selected. Subsequently, based on the structural characteristics of the point cloud, the point-level pseudo-labels are enhanced. Finally, the selected pseudo-labels are used to train the semantic segmentation network.

[0051] In pseudo label generation, a multi-path region mining module is set, and the multi-path region mining module is composed of four different paths after the KPConv-ResNet layer, including a common PCAM module, a spatial attention PCAM module, a channel attention PCAM module, and a point-by-point attention PCAM module, wherein PCAM is a point class activation map, and the channel attention PCAM module includes a squeeze module, an excitation module, an attention module, and a channel attention module;

[0052] In pseudo-label selection, a pseudo-label selection module is set up for confidence screening to select pseudo-labels with high confidence;

[0053] A point-level label enhancement module is set in the enhanced point-level pseudo-label to enhance the generalization ability of the model by improving the performance of point clouds under different perspectives.

[0054] The invention proposes a method and model of a weakly supervised point cloud semantic segmentation model based on MPRM improvement, and the beneficial effect is that: the invention designs a pseudo-label selection module to screen the generated point labels to reduce the noise in the labels, and designs a module based on the structural characteristics of the point cloud to enhance the point-level labels, thereby improving the performance of the model, thereby improving the robustness and generalization of the model in the weakly supervised classification and segmentation tasks. Specifically: First, input the point cloud to generate point cloud weak labels, and select the pseudo-labels after generating the pseudo-labels. In order to reduce the noise in the pseudo-labels, a pseudo-label selection module is introduced to select pseudo-labels with high confidence; then, based on the structural characteristics of the point cloud, the point-level pseudo-labels are enhanced; finally, the selected pseudo-labels are used to train the semantic segmentation network.

[0055] (1) By introducing a confidence screening mechanism, the present invention can effectively filter out noisy labels and uncertain labels, and only retain high-quality point-level labels for model training. This not only helps to reduce the impact of label noise on model performance, but also enhances the model's adaptability to unknown data, thereby improving its robustness and generalization in classification and segmentation tasks.

[0056] (2) The present invention utilizes the permutation invariance of the point cloud itself to perform spatial changes (rotation and inversion) on the point cloud, and improves the classification and segmentation accuracy of the model by calculating the consistency of the point-level labels before and after the change. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0058] Figure 1 It is a flow chart of the weakly supervised point cloud semantic segmentation method improved based on MPRM of the present invention;

[0059] Figure 2 It is a schematic diagram of the structure of the weakly supervised point cloud semantic segmentation model based on MPRM improvement of the present invention;

[0060] Figure 3 It is a schematic diagram of the model structure of the present invention regarding the production of point cloud weak labels by multiple attention mechanisms;

[0061] Figure 4 It is a schematic diagram of the model structure of the spatial attention PCAM mechanism in the present invention;

[0062] Figure 5 It is a schematic diagram of the model structure of the channel attention PCAM mechanism in the present invention;

[0063] Figure 6 It is a schematic diagram of the model structure of the point-by-point spatial attention PCAM mechanism in the present invention;

[0064] Figure 7 It is a schematic diagram of the model structure for enhancing point-level pseudo-labels in the present invention.

[0065] Figure 8 The present invention is about the embodiment showing the original data segmentation result on the S3DIS test data set.

[0066] Fig. 9 The present invention shows the true value data segmentation results on the S3DIS test data set in the embodiment.

[0067] Fig.10The present invention is about the embodiment showing the predicted value data segmentation results on the S3DIS test data set.

[0068] Fig.11 The present invention shows the original data segmentation results on ScanNet in the embodiment.

[0069] Fig.12 The present invention shows the true value data segmentation results on ScanNet in the embodiment.

[0070] Fig.13 The present invention shows the predicted data segmentation results on ScanNet in the embodiment. DETAILED DESCRIPTION

[0071] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention; it is obvious that the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments, and all other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making creative work are within the scope of protection of the present invention.

[0072] The structural features of the present invention are now described in detail with reference to the accompanying drawings.

[0073] See also Figure 1-Figure 3 , a weakly supervised point cloud semantic segmentation method based on MPRM improvement, comprising the following steps:

[0074] S1. Input point cloud, mine the most discriminative areas from the network through multiple attention mechanisms, and aggregate the different discriminative areas generated by each attention mechanism to generate point-level pseudo labels.

[0075] The point cloud / sub-point cloud and the corresponding weak labels are input into the classification network to extract the output feature map of the convolution layer. A 1×1 convolution layer is added as a classifier to reduce the feature dimension to the number of categories and obtain the PCAM feature map. During the training process, a global average pooling layer is used to generate the prediction vector, and the sigmoid cross entropy loss is calculated using the weak labels;

[0076] Define f cam (p) represents the PCAM feature vector of point p before the global average pooling layer;

[0077] For class c, PCAMM of point p c (p) is expressed as:

[0078] In the formula, is the classification weight of category c at time T, y c{0,1} represents the one-hot point cloud label of category c, so the PCAM value of the negative class in the sub-point cloud label is set to 0. Since there is no absolute background in the point cloud data, each point must be classified into the foreground category, and the pseudo label of point p is given by argmax(M(p)). Due to the presence of multiple downsampling operations in the classification network, PCAM needs to be upsampled to the original scale for point-level pseudo labeling.

[0079] Multiple attention mechanisms are used to mine more discriminative regions from the network. Since each attention mechanism focuses on different aspects of the network characteristics, different discriminative regions can be produced and aggregated to generate point-level pseudo labels.

[0080] Among them, the multiple attention mechanisms to produce point cloud weak labels include the following steps:

[0081] S11, point cloud / sub-point cloud forms four different paths after passing through the KPConv-ResNet layer by the multi-path region mining module.

[0082] S12. Add a 1×1 convolutional layer as a classifier after each path to reduce the feature dimension to the number of categories and obtain the PCAM feature map.

[0083] S13. Use the global average pooling layer to generate a prediction vector, and use the weak label to calculate the sigmoid cross entropy loss to generate point-level cloud-level weak label back propagation.

[0084] S14. Repeat the process of the four paths using cloud-level weak labels and point clouds, extract the maximum values ​​of the elements, and merge the obtained maximum values ​​of the elements.

[0085] S15. Use upsampling to upsample the PCAM to its original size to obtain point-level pseudo labels.

[0086] Among them, the various attention mechanisms include the common PCAM mechanism, the spatial attention PCAM mechanism, the channel attention PCAM mechanism and the point-by-point spatial attention PCAM mechanism. Specifically:

[0087] See also Figure 4 As shown in the figure, the core of the spatial attention mechanism is spatial transformation. By performing spatial transformation on the original data, it effectively suppresses irrelevant background and highlights important areas of attention, identifies task-related areas, and extracts key information from them. N×C dimensional feature map A, input them into three different 1×1 convolutional layers. The dimensions of the outputs B, C, and D are reduced to C1. Then, C is matrix-multiplied with the transpose of B to obtain an N×N output matrix, which is processed with softmax to obtain the spatial attention map E. The attention value on E can be expressed as:

[0088]

[0089] In the formula, e ji Represents the influence of point i on point j, g is a symmetric function (maximum pooling), and the order of input variables will not change the output result of function g; then, the N×N spatial attention map E is matrix multiplied with the N×C1 feature map D. Therefore, the N×C1 aggregated feature map F is obtained. After the N×C1 aggregated feature map F is enlarged by a 1×1×C convolution layer, the N×C aggregated feature map F is obtained. The N×C aggregated feature map F is fused to the original feature map using element-by-element summation. The scale parameter α is used to weight the aggregated feature F during the summation process, where α is a learnable parameter initialized to 0. The output of the spatial attention module as point j can be expressed as:

[0090]

[0091] For each point, all features of other points are weighted summed and added to the local features, selectively increasing the influence of the global context on the local features.

[0092] See also Figure 5 As shown in the figure, the channel attention mechanism generates feature channels with different weights through convolution transformation, where higher weights indicate that the channel is closely related to key information. This mechanism effectively reduces resource consumption in the calculation process by focusing on important channels and suppressing unnecessary channels. It mainly consists of three parts: squeeze, excitation, and attention modules. Multiple modules work together to give appropriate weights to each channel, thereby generating channel attention, enhancing the interdependence between channels, improving the quality of convolutional neural networks in feature generation, and significantly improving performance.

[0093] In order to mine the object region from different perspectives of network features, a channel attention module is introduced as another path with a classification head. Because each channel can be represented as a class-specific response, channel information is utilized for classification, where more useful features can be mined to generate object region proposals.

[0094] The overall structure of the channel attention mechanism is similar to the spatial attention mechanism. However, the module does not contain a 1×1 convolution layer, and directly performs matrix multiplication between the N×C transposed input feature map and the N×C original feature map. A C×C channel attention map is obtained. Adding a softmax layer on the attention map can be expressed as:

[0095]

[0096] Where b jiis the influence of channel i on channel j. g is a symmetric function (max pooling), and the order of the input variables does not change the output of function g. Then, matrix multiplication between the attention map B and the original feature map A is used to selectively propagate channel information. Similarly, another learnable parameter β is initialized from 0 to weight the element-by-element summation between the aggregated feature map and the original feature map:

[0097]

[0098] In the above process, the interdependencies between channels are aggregated at each point.

[0099] See also Figure 6 As shown in the figure, the point-by-point spatial attention mechanism is used to aggregate the global information of each point. MPRM uses the same method as the spatial attention mechanism to calculate the spatial attention map. Instead of summing the attention features with the original features, the aggregated features are directly connected to the original feature map. The aggregated global features act as a weighted global pooling module, so that the generated feature map has both local and global features. Therefore, more regional information can be mined from this module.

[0100] S2. After producing pseudo labels, select pseudo labels and select pseudo labels with high confidence by introducing a pseudo label screening module.

[0101] Since pseudo labels are usually of poor quality, they are not suitable for direct use as semantic segmentation results. The generated pseudo labels need to be used to retrain the semantic segmentation model to obtain better segmentation results. However, the presence of false predictions (also known as noise) in pseudo labels makes the segmentation network inefficient. In order to reduce the impact of noise, a pseudo label selection module is introduced. Specifically, pseudo label selection includes the following steps:

[0102] M c (p) is defined as the upsampled final PCAM of point cloud p of class c, where c = {0, ..., C-1}, C is the number of classes. Adding a softmax operation to the upsampled final PCAM across all classes, the feature vector f of point i is i =M c The length of (p) is C, f i Each element in is the predicted probability of the corresponding category, and this value is the confidence of the predicted pseudo label of point i in class c. After collecting feature vectors (especially the incorrectly predicted feature vectors), it is found that when the scores of different categories are slightly different, the network still selects the largest one corresponding to the category label. Therefore, a threshold θ is used to retain highly reliable points (i.e., the confidence probability is higher than θ) as labeled points, whose labels are generated from the pseudo labels, and the remaining points are regarded as unlabeled points. For convenience, in the implementation, a mask M is maintained for each point cloud to mark the selected points.

[0103] S3, performs spatial changes on the point cloud and enhances the point-level pseudo-labels by introducing a point-level label enhancement module under different perspectives.

[0104] See also Figure 7 As shown in the figure, after generating pseudo labels and applying the pseudo label selection module, the points in the point cloud can be divided into two categories: labeled and unlabeled. In order to further improve the performance of the model, pseudo labels are not used directly for segmentation. In order to improve the performance of the model, segmentation does not rely solely on pseudo labels. For three-dimensional point cloud data, an effective feature representation should be transformation invariant, that is, the model's ability to recognize and classify data should not be affected by the transformation of the point cloud in space (such as rotation, flipping, etc.), and the model uses the inherent characteristics of the data without introducing noise. Therefore, for the point cloud semantic segmentation network, the prediction of any point should remain unchanged under different viewpoints. If a geometric transformation is applied to a given point cloud, the predicted semantic labels of the initial point cloud and the transformed point cloud should be the same.

[0105] The generalization ability of the model is enhanced by considering the performance of the point cloud under different viewing angles. Specifically, applying random transformations to the point cloud and enhancing the point-level pseudo-labels include the following steps:

[0106] Generate a pair of point cloud samples {X, X'}, where T represents the random transformation applied to the original point cloud X. Then, the sample is input into a two-branch network structure with shared parameters, and each branch outputs the semantic prediction of the corresponding point cloud. Taking {X, X'} as input, a pair of point pair predictions {Z, Z'} is generated through two shared parameter networks. The design goal is to force the predictions to be consistent. In other words, the goal is to minimize the difference in probabilistic predictions. The Euclidean distance is chosen to estimate the consistency to simplify the calculation:

[0107]

[0108] Where N defines the number of points in the point cloud, B is the batch size, C represents the number of classes, and g is a symmetric function (max pooling). The order of the input variables does not change the output of function g.

[0109] S4. After consistency detection, the selected pseudo labels are used to train the semantic segmentation network.

[0110] The improved weakly supervised point cloud semantic segmentation method based on MPRM of the present invention aims at the problems of pseudo-label noise existing in MPRM and how to effectively utilize pseudo-labels. Two improvements are made based on MPRM. First, a pseudo-label screening module is designed to select pseudo-labels with high confidence and screen them during the pseudo-label generation process to reduce the influence of noise. Second, the permutation invariance of point clouds is utilized to calculate the consistency of point cloud pseudo-labels before and after spatial transformation as a constraint to improve the robustness and generalization of the model.

[0111] To further illustrate the invention, the present invention also provides a weakly supervised point cloud semantic segmentation model based on MPRM improvement. The model architecture includes pseudo-label generation, pseudo-label selection and semantic segmentation network learning based on the selected pseudo-labels. First, the point cloud is input to produce point cloud weak labels. After the pseudo-labels are produced, the pseudo-labels are selected and the pseudo-labels with high confidence are selected. Then, based on the structural characteristics of the point cloud, the point-level pseudo-labels are enhanced. Finally, the selected pseudo-labels are used to train the semantic segmentation network.

[0112] A multi-path region mining module is set in the pseudo-label generation. The multi-path region mining module consists of four different paths after the KPConv-ResNet layer, including a normal PCAM module, a spatial attention PCAM module, a channel attention PCAM module and a point-by-point attention PCAM module. Among them, PCAM is a point class activation map, and the channel attention PCAM module includes a squeezing module, an excitation module, an attention module and a channel attention module.

[0113] In the pseudo-label selection, a pseudo-label selection module is set up for confidence screening to select pseudo-labels with high confidence.

[0114] A point-level label enhancement module is set in the enhanced point-level pseudo-label to enhance the generalization ability of the model by improving the performance of point clouds under different perspectives.

[0115] Weakly supervised experimental results and analysis:

[0116] S3DIS data set experimental results: The experimental results are shown in Table 1-1 and Figure 8-10 As shown in the figure, the performance on mIoU is 0.5% higher than the base model MPRM, and the model has improved IoU in most categories except beams and planks. Compared with some popular fully supervised point cloud semantic segmentation methods PointNet++, KPConv, DGCNN, and PointWeb, this method is better than PointNet++ and DGCNN, but there is still a certain gap between it and advanced fully supervised point cloud semantic segmentation methods such as KPConv.

[0117] Table 1-1 Experimental results of S3DIS dataset

[0118]

[0119] exist Figure 8-10 The segmentation results on the S3DIS test dataset are shown in Figure 2. It can be observed that the proposed weakly supervised method achieves fairly good segmentation results in several scenes, such as meeting rooms and offices. It can be easily observed that the model is able to produce accurate segmentation predictions for the center part of the object, while the incorrect predictions are mainly located in the boundary area of ​​the object.

[0120] Experimental results of ScanNet dataset: Table 1-2 shows the quantitative segmentation results on the ScanNet validation set. Through comparative analysis, it can be noted that this model outperforms MPRM and increases mIoU by 2.8%. In the IoU analysis for specific classes, this model also shows an improvement in the performance of almost all categories, which fully proves the effectiveness of the pseudo-label selection module and the point-level label enhancement module. Further analysis shows that the performance improvement is mainly due to the fact that the improvement measures can effectively reduce the influence of noise in the pseudo-labels, thereby learning a more accurate segmentation network. Since the initial pseudo-labels contain a large number of incorrect predictions, it will have a negative impact on the performance of the fully supervised segmentation network. The pseudo-label selection module and the point-level label enhancement module successfully obtain purification from noisy pseudo-labels through well-designed training strategies, and retrain more benefits. It not only verifies the effectiveness of the weakly supervised point cloud semantic segmentation method, but also emphasizes the important role of designing a reasonable retraining strategy in improving model performance. It is of great significance to promote the further development of point cloud semantic segmentation technology.

[0121] Table 1-2 Experimental results of S3DIS dataset

[0122]

[0123] Figure 11-13 Some visual results selected from the ScanNet validation set are shown. Experimental results show that the proposed model can achieve high-quality visual segmentation of existing objects in simple environments, and the generated point clouds are approximately complete, such as chairs, tables, and floors. At the same time, the model also shows good performance in complex environments, and can accurately predict objects with approximately complete point clouds, such as tables, curtains, and sofas. The results fully verify the effectiveness and superiority of the point cloud segmentation task.

[0124] The model produces poor predictions for highly occluded objects and object parts that are immediately adjacent to other objects. The difficulty of segmenting them is exacerbated by the poor initial pseudo-labels for highly occluded objects and object parts that are immediately adjacent to other objects and the fewer reliable pseudo-labels for them due to the pseudo-label selection module.

[0125] Ablation experiment: To verify the performance of the pseudo-label selection module, the MIoU and per-class IoU with / without the pseudo-label selection module are compared. In Tables 1-3, the MIoU and per-class IoU of the initial pseudo-labels and the pseudo-labels selected on S3DIS with the default threshold θ = 0.95 are shown. From the increased IoU and accuracy, it can be inferred that the pseudo-label selection module can filter incorrect pseudo-labels. Therefore, it can reduce the impact of incorrect labels in the retraining stage. Training the segmentation network with a sufficient number of labeled points can produce approximate results with fully supervised changes. It can be inferred that the selected labels are sufficient to retrain the segmentation network. The pseudo-label selection module can filter incorrect pseudo-labels when sufficient supervised information remains, improving the performance of the retrained segmentation model.

[0126] Table 1-3 Ablation experiment results

[0127]

[0128] Among them, Ours1 represents the label selection module.

[0129] Both the number of labeled points and the noise present in the pseudo-labels significantly affect the segmentation performance of the model. Based on the pseudo-label selection module, a higher threshold θ will remove more noise and retain fewer point-level pseudo-labels, while a lower threshold θ will retain more noise. The segmentation results only on S3DIS with different thresholds are shown in Tables 1-4.

[0130] It can be observed that when the threshold increases from 0.80 to 0.95, the mIoU increases gradually, but when the threshold is greater than 0.95, the mIoU drops a lot. The reason may be that when the threshold is between 0.8 and 0.95, as the threshold increases, enough pseudo labels are retained and more noise labels are removed, resulting in an increase in mIoU. When the threshold is greater than 0.95, very few pseudo labels are retained and insufficient supervision leads to worse performance. When θ = 0.95, the model's mIoU can reach up to 48.2%. Therefore, θ = 0.95 is used in the experiments.

[0131] Table 1-4 Threshold sensitivity analysis

[0132]

[0133] The experimental data sets and evaluation indicators are selected to verify the classification and segmentation performance of the model through different types of indoor and outdoor data sets. The experimental results show that the proposed improvement strategy is effective. Based on MPRM, an improved weakly supervised point cloud semantic classification and segmentation model is proposed. Based on confidence threshold screening and the permutation invariance of point clouds, the robustness and expression ability of the semantic segmentation network are improved, thereby improving the final segmentation performance. It can effectively solve the problems of noise and point-level label enhancement in weakly supervised point cloud classification and segmentation tasks, effectively alleviate the problem of less semantic information under weak supervision conditions, and achieve good results in experimental settings with less supervised information. The results show that based on the point cloud classification and segmentation implemented on the S3DIS and ScanNet datasets, the model has an mIoU improvement of 0.5% and 1.7% respectively compared with MPRM. The weakly supervised point cloud semantic segmentation model improved based on MPRM is superior to other weakly supervised semantic segmentation methods, and has achieved comparable or even better results compared with some fully supervised methods.

[0134] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention is described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A weakly supervised point cloud semantic segmentation method based on MPRM improvement, characterized in that: The steps include: 1) Input point cloud, mine the most discriminative areas from the network through multiple attention mechanisms, aggregate the different discriminative areas generated by each attention mechanism to generate point-level pseudo labels; 2) After the pseudo labels are generated, the pseudo labels are selected by introducing a pseudo label screening module to select pseudo labels with high confidence; 3) Perform spatial changes on the point cloud and enhance the point-level pseudo-labels by introducing the performance of the point-level label enhancement module under different viewing angles; Among them, the enhancement of point-level pseudo-labels includes the following steps: 31) Apply a random transformation to the point cloud to generate a pair of point cloud samples {X, X′}, where T represents the random transformation applied to the original point cloud X; 32) Input the sample into a dual-branch network structure with shared parameters, and each branch outputs the semantic prediction of the corresponding point cloud; 33) Take {X, X′} as input and generate a pair of point pair predictions {Z, Z′} through two shared parameter networks; Choose Euclidean distance to estimate consistency, and the calculation formula is: Where N defines the number of points in the point cloud, B is the batch size, C represents the number of classes, and g is a symmetric function (max pooling). The order of the input variables does not change the output of function g. 4) After consistency detection, the selected pseudo labels are used to train the semantic segmentation network.

2. According to claim 1, a weakly supervised point cloud semantic segmentation method based on MPRM improvement is characterized in that: In step 1), multiple attention mechanisms produce point cloud weak labels including the following steps: 11) The point cloud / sub-point cloud is formed into four different paths by the multi-path region mining module through the KPConv-ResNet layer; 12) Add a 1×1 convolutional layer as a classifier after each path to reduce the feature dimension to the number of categories and obtain the PCAM feature map; 13) Use the global average pooling layer to generate the prediction vector, and use the weak label to calculate the sigmoid cross entropy loss to generate point-level cloud-level weak label back propagation; 14) Repeat the process of the four paths using cloud-level weak labels and point clouds, extract the maximum value of the element, and merge the obtained maximum values ​​of the element; 15) Use upsampling to upsample PCAM to its original size to obtain point-level pseudo labels.

3. According to claim 2, a weakly supervised point cloud semantic segmentation method based on MPRM improvement is characterized in that: The multiple attention mechanisms include a normal PCAM mechanism, a spatial attention PCAM mechanism, a channel attention PCAM mechanism and a point-by-point spatial attention PCAM mechanism.

4. According to claim 3, the method for weakly supervised point cloud semantic segmentation based on MPRM improvement is characterized in that: The spatial attention PCAM mechanism includes the following steps: a. Input the N×C dimensional feature map A into three different 1×1 convolutional layers; b. The dimensions of outputs B, C, and D are reduced to C1; c. Perform matrix multiplication on the transpose of C and B to obtain an N×N output matrix, which is processed using softmax to obtain the spatial attention map E. The attention value on E is expressed as: In the formula, e ji Indicates the influence of point i on point j. g is a symmetric function (maximum pooling). The order of input variables does not change the output of function g. d. Perform matrix multiplication on the N×N spatial attention map E and the N×C1 feature map D to obtain the N×C1 aggregate feature map F. e. After the N×C1 aggregate feature map F is enlarged by a 1×1×C convolutional layer, the N×C aggregate feature map F is obtained; f. Use element-wise summation to fuse the N×C aggregate feature map F into the original N×C dimensional feature map A to form an N×C aggregate feature map G.

5. According to claim 4, the method for semantic segmentation of weakly supervised point cloud based on MPRM improvement is characterized in that: The aggregated feature F is weighted using the scale parameter α during the summation process, where α is a learnable parameter initialized to 0; The output of the spatial attention module at point j can be expressed as:

6. The method for semantic segmentation of point cloud based on weak supervision improved by MPRM according to claim 2, characterized in that: The channel attention PCAM mechanism is used for convolution transformation to generate feature channels with different weights, and the channel attention PCAM mechanism consists of a squeeze module, an excitation module and an attention module; First, matrix multiplication is performed between the N×C transposed input feature map and the N×C original feature map to obtain a C×C channel attention map. A softmax layer is added to the attention map, which is expressed as: Where b ji is the influence of channel i on channel j. g is a symmetric function (max pooling). The order of input variables does not change the output of function g. Then, matrix multiplication between the attention map B and the original feature map A is used to selectively propagate channel information.

7. The method for semantic segmentation of point cloud based on weak supervision improved by MPRM according to claim 2, characterized in that: The element-wise sum between the aggregated feature map and the original feature map is weighted using a scale parameter β, initialized from 0:

8. The method for semantic segmentation of point cloud based on weak supervision improved by MPRM according to claim 2, characterized in that: The point-by-point spatial attention PCAM mechanism utilizes a point-by-point spatial attention module to aggregate the global information of each point.

9. The method for semantic segmentation of point cloud based on weak supervision improved by MPRM according to claim 2, characterized in that: In step 2), pseudo label selection includes the following steps: 21) M c (p) is defined as the upsampled final PCAM of point cloud p of class c, where c = {0, ..., C-1}, C is the number of classes; 22) Add a softmax operation to the final PCAM of upsampling across all categories, then the feature vector f of point i i =M c The length of (p) is C, f i Each element in is the predicted probability of the corresponding category, and this value is the confidence of the predicted pseudo label of point i in category c; 23) Use a threshold θ to retain highly reliable points as marked points, and maintain a mask M for each point cloud to mark the selected points.

10. A weakly supervised point cloud semantic segmentation model based on MPRM improvement, used in the weakly supervised point cloud semantic segmentation method based on MPRM improvement as claimed in any one of claims 1 to 9, characterized in that: The model architecture includes pseudo-label generation, pseudo-label selection, and semantic segmentation network learning based on the selected pseudo-labels. First, the point cloud is input to generate point cloud weak labels. After the pseudo-labels are generated, the pseudo-labels are selected and pseudo-labels with high confidence are selected. Then, based on the structural characteristics of the point cloud, the point-level pseudo-labels are enhanced. Finally, the selected pseudo-labels are used to train the semantic segmentation network. In pseudo label generation, a multi-path region mining module is set, and the multi-path region mining module is composed of four different paths after the KPConv-ResNet layer, including a common PCAM module, a spatial attention PCAM module, a channel attention PCAM module, and a point-by-point attention PCAM module, wherein PCAM is a point class activation map, and the channel attention PCAM module includes a squeeze module, an excitation module, an attention module, and a channel attention module; In pseudo-label selection, a pseudo-label selection module is set up for confidence screening to select pseudo-labels with high confidence; A point-level label enhancement module is set in the enhanced point-level pseudo-label to enhance the generalization ability of the model by improving the performance of point clouds under different perspectives.

Citation Information

Cited By

  • Weak supervision semantic segmentation method based on category representation comparison and aggregation

    CN119850960A

  • Small sample crop extraction method using pseudo tag

    CN120510521A

  • Deep learning-based point cloud data segmentation method and system

    CN120876847A

  • Weak supervision RT-DETR target detection method based on pseudo label improvement

    CN121661428A