Efficient image-to-laser radar knowledge migration method for semantic segmentation
Through the block-to-point multi-stage knowledge distillation and efficient parameter fine-tuning of the ELiTe method, the problem of teacher model weakening in cross-modal knowledge transfer is solved, efficient image-to-lidar knowledge transfer is achieved, and the performance and performance of lidar semantic segmentation are improved. Real-time inference capabilities.
Patent Information
- Application Number
- CN202410689778.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-06
AI Technical Summary
The teacher model in existing cross-modal knowledge transfer is relatively weak, resulting in low knowledge transfer efficiency. Especially in lidar semantic segmentation tasks, multi-modal fusion of image and point cloud data is difficult to achieve efficient real-time inference.
An efficient image-to-lidar knowledge transfer method, ELiTe, is proposed, which uses block-to-point multi-stage knowledge distillation and efficient fine-tuning of parameters. It transfers knowledge through the visual basic model teacher network and lightweight student network, and uses the pseudo model based on segmentation of everything. Label generation strategies to enhance the quality of low-quality labels.
It achieves efficient transfer of cross-modal knowledge, significantly improves the performance and generalization ability of lidar semantic segmentation, is superior to real-time inference models, and achieves this goal with significantly fewer parameters, proving its effectiveness and efficiency. .
Smart Images

Figure CN118608784A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of semantic segmentation of lidar point clouds, and relates to a cross-modal knowledge transfer method, and in particular to an efficient image-to-lidar knowledge transfer method for semantic segmentation. Background Art
[0002] LiDAR semantic segmentation plays a vital role in the field of autonomous driving. With the rapid development of deep learning technology, LiDAR semantic segmentation has ushered in new opportunities and challenges. The widespread application of deep learning algorithms enables better handling of complex driving scenarios and improves the autonomous driving capabilities of vehicles in different environments. It is particularly noteworthy that through cross-modal knowledge transfer, LiDAR data can be comprehensively utilized and semantic information from other sensor modalities can be integrated to enhance the perception capabilities of autonomous vehicles. However, although cross-modal knowledge transfer brings rich information to the semantic segmentation task, it also faces some challenges in practice. As the dominant role in imparting knowledge, the teacher model may have some potential weaknesses.
[0003] 1. Semantic Segmentation of LiDAR Point Cloud
[0004] LiDAR (Light Detection And Ranging) technology is widely used in map making, unmanned driving, and environmental perception. The point cloud data it generates describes the geometry and position of objects. Through semantic segmentation, each point can be assigned a category, such as roads, buildings, trees, etc., to further understand and analyze the environment. This semantic information is crucial for tasks such as path planning for self-driving cars, urban planning, and environmental monitoring. Therefore, semantic segmentation of point cloud data can provide more accurate and reliable environmental perception data for various applications, thereby providing important support for the development of intelligent transportation, urban management and other fields.
[0005] In order to achieve LiDAR semantic segmentation, a series of steps need to be followed. First, deep learning and other technologies are used to extract features and learn representations of point clouds to capture semantic information and features in point cloud data. Then, a semantic segmentation model is used to classify the point cloud at the pixel level and assign each point to a corresponding semantic category. Finally, the semantic segmentation results are post-processed to obtain more accurate and complete semantic segmentation results. The organic combination of this series of steps constitutes the complete processing flow of LiDAR semantic segmentation.
[0006] LiDAR semantic segmentation can achieve high-precision understanding of complex environments and provide reliable data support for autonomous driving, urban planning and environmental protection. For example, it can help vehicles identify roads, pedestrians and obstacles and optimize driving paths; it can also analyze urban buildings, green vegetation and topography, providing a scientific basis for urban planning and resource management.
[0007] There are several mainstream approaches to process point clouds with different representations:
[0008] Point representation-based methods: use a multi-layer perceptron (MLP) at each point to approximate a permutation-invariant set function. However, point-based methods are not efficient in LiDAR scenarios because their sampling and grouping algorithms are usually time-consuming.
[0009] Projection-based representation methods: are a very effective way to process LiDAR point clouds. These methods enable traditional Convolutional Neural Networks (CNNs) to process data more efficiently by projecting point clouds onto 2D pixels. However, this projection process inevitably leads to a certain loss of information. Currently, projection-based methods face some bottlenecks in segmentation accuracy when processing LiDAR point clouds. Although projection provides a more manageable representation of the data, it inevitably sacrifices some key information. This information loss may pose a challenge for some applications, especially for high-precision segmentation tasks.
[0010] Voxel-based representation methods are the framework adopted by most recent studies because they strike a balance between efficiency and effectiveness, among which sparse convolution is the most commonly used.
[0011] Fusion methods based on multiple representations have become a research hotspot in the field of computer vision in recent years. These methods aim to combine different data representations (such as point clouds, projected images, and voxel representations) and design effective feature fusion strategies. Although these methods have made significant progress in processing sparse and textureless lidar point clouds, to date they still have certain limitations in utilizing the appearance and texture in camera images. In semantic segmentation tasks, camera images provide rich appearance and texture information, while lidar point clouds provide accurate distance and shape information. However, these methods often only focus on the information from a single data source and fail to fully utilize the complementarity between the two.
[0012] Multimodal fusion method: This method makes up for the shortcomings of the current single representation method and multi-representation fusion method, which only consider the lidar point cloud data and ignore the camera images collected at the same time. In order to better utilize the advantages of camera and lidar, a multimodal fusion method is introduced, which combines the information of these two complementary sensors. In the processing process, the conventional processing pipeline is followed, as shown in the following example. Figure 1 shown.
[0013] However, these methods require multi-sensor inputs in both the training and inference stages, which poses computational challenges. It is also impractical to obtain paired multimodal data in real scenarios. In addition, most methods aim to build models with gradually increasing parameters, which increases the training cost. Although current efforts focus on compressing inference model parameters, achieving practical real-time inference speed remains challenging. Making progress in this area requires comprehensive consideration of the characteristics of multimodal data to improve the practical applicability and efficiency of fusion methods.
[0014] 2. Transfer Learning from Image to Point Cloud
[0015] Transfer learning is a powerful paradigm in machine learning that aims to address challenges such as data scarcity and domain shift. This method uses rich knowledge in the source domain to assist learning tasks in the target domain. These studies not only enrich the theoretical basis of transfer learning, but also provide more effective methods for practical applications.
[0016] Through knowledge distillation, complex knowledge in a large teacher network can be effectively transferred to a small student network. This method is particularly suitable for scenarios with limited resources or that need to be deployed on embedded devices. With the deepening of research, the mechanism and optimization strategy of knowledge distillation are also being continuously improved and refined, making it widely used and verified in various tasks and fields.
[0017] With the rapid development of multimodal computer vision, researchers have begun to explore the possibility of transferring knowledge from the 2D vision field to the 3D vision field. This means that during the training phase, prior information can be used to transfer knowledge from one modality to another, thereby improving model performance. In this process, information interaction and conversion between different modalities will become a key research direction.
[0018] Knowledge distillation methods can be divided into two categories: online and offline, depending on whether a pre-trained teacher model is used. In the online method, the student model and the teacher model are trained synchronously, and the student model can obtain knowledge from the teacher model trained online on a similar distribution; while the offline method uses a pre-trained parameter-fixed teacher model, does not update the parameters during training, and the student model obtains knowledge through the pre-trained teacher model. However, since the teacher model is relatively weak, the efficiency of knowledge transfer is low. In general visual tasks, pre-training on two-dimensional images also has a significant impact on downstream three-dimensional visual tasks, so offline transfer learning methods have emerged.
[0019] Cross-modal knowledge transfer enhances point cloud representation learning in LiDAR semantic segmentation. Despite its potential, weak teacher challenges arise due to repetitive and non-diverse car camera images and sparse, inaccurate ground truth labels. Summary of the invention
[0020] The present invention is to solve the problem existing in the prior art solutions, namely the weak teacher problem in cross-modal knowledge transfer, and thus propose an efficient image-to-LiDAR knowledge transfer method for semantic segmentation. The present invention proposes an Efficient Image-to-LiDAR Knowledge Transfer (ELiTe) paradigm. ELiTe introduces patch-to-point multi-stage knowledge distillation, transfers comprehensive knowledge from the visual basis model (VFM), and is extensively trained on a variety of open-world images. This enables the efficient transfer of knowledge to lightweight student models across modalities. ELiTe uses parameter efficient fine-tuning to strengthen the VFM teacher and accelerate large-scale model training at minimal cost. In addition, the present invention introduces a pseudo-label generation method based on segmented any model to enhance low-quality image labels and promote strong semantic representation. The efficient knowledge transfer of the present invention produces state-of-the-art results on public test benchmarks, outperforming real-time inference models. The present invention achieves this goal with significantly fewer parameters, confirming its effectiveness and efficiency.
[0021] The technical solution of the present invention is specifically described as follows.
[0022] An efficient image-to-lidar knowledge transfer method for semantic segmentation is implemented based on the ELiTe model to utilize the rich color and texture information from image knowledge to make up for the limitations of lidar input; the ELiTe model includes a visual base model teacher network, a lightweight student network and a block-to-point multi-stage knowledge distillation network, the visual base model teacher network and the lightweight student network simultaneously encode the image and the lidar point cloud, and the block-to-point multi-stage knowledge distillation network includes L single-stage block decoders for the visual base model teacher network and the lightweight student network, which restore the downsampled feature maps to their original size and obtain prediction scores for knowledge distillation; the specific steps are as follows:
[0023] Step 1: The lightweight student network and the visual base model teacher network process the lidar and corresponding image inputs respectively, and extract multi-stage features to represent the scene information;
[0024] Step 2: In the block-to-point multi-stage knowledge distillation network, the image domain knowledge is obtained from the teacher network using block-to-point multi-stage knowledge distillation and transferred to the student network to enrich its semantic information; wherein:
[0025] The visual base model teacher network is domain-adaptively fine-tuned through parameter-efficient fine-tuning and supervised by pseudo-labels generated by the Segmentation Everything Model-based Pseudo-Label Generation (SAM-PLG).
[0026] In the present invention, in step 1, the visual base model teacher network adopts a visual Transformer encoder and selects the block-level image features output by each global attention block for knowledge transfer; a lightweight student network is constructed using SPVCNN at real-time inference speed; in the visual base model teacher network and the lightweight student network, L single-stage 2D features are and 3D features These multi-stage features are extracted and used for knowledge distillation and also used to obtain the final prediction score.
[0027] In the present invention, in step 2, in the block-to-point multi-stage knowledge distillation network, the block-level features extracted by the visual base model teacher network are first upsampled by the upsampling layer and reduced in dimension by interpolation, and then further upsampled to the original image size by pixel-to-point mapping. Finally, the pixels corresponding to the lidar point cloud are obtained by pixel-to-point mapping, thereby obtaining Pixel-level prediction of representation.
[0028] In the present invention, the visual base model teacher network uses AdaLoRA for domain adaptive fine-tuning.
[0029] In the present invention, the total loss function of the ELiTe model is composed of 2L+2 segmentation losses L seg , L multi-stage distillation losses, and 1 additional loss for optimizing the computational orthogonal regularization of AdaLoRA; where:
[0030] L seg =L wce +L lovasz
[0031] Cross entropy L wce and Lovasz loss L lovasz is the loss function for 2D and 3D semantic segmentation; the multi-stage distillation loss is the KL divergence loss.
[0032] In the present invention, the pseudo-label generation algorithm SAM-PLG based on the segmentation model is specifically as follows:
[0033] (1) Generate sparse labels based on the correspondence between points and pixels, and generate sparse masks based on semantic and instance labels to provide auxiliary guidance information;
[0034] (2) Input the image and output into the segmentation model for segmentation to obtain a preliminary image mask result;
[0035] (3) remove low-quality masks based on the calculated stability score;
[0036] (4) Calculate the mask box and use box-based non-maximum suppression (NMS) to suppress and reduce mask overlap to obtain the mask boundary; for each valid mask, associate it with the dominant ground truth category contained in it to assign semantic and instance labels;
[0037] (5) After sorting in ascending order of the predicted Intersection over Union (IoU) scores, masks are gradually superimposed to generate pseudo labels.
[0038] In the present invention, the segmentation model adopts the segmentation model of the ViT-Huge version.
[0039] Compared with the prior art, the present invention has the following beneficial effects:
[0040] (1) The present invention discloses a technical method ELiTe for efficient image-to-lidar knowledge transfer for semantic segmentation, which is an efficient image-to-lidar knowledge transfer paradigm that utilizes Patch-to-Point Multi-Stage Knowledge Distillation (PPMSKD) and Parameter-Efficient Fine-Tuning (PEFT). This method enhances the encoding capability of the teacher model and solves the problem of performance differences between teacher and student models in existing research. ELiTe successfully transfers the knowledge of images to the lidar field and proves its effectiveness in experiments. This innovative method provides a new solution for cross-modal knowledge transfer and is of great significance for improving the generalization ability and performance of the model.
[0041] (2) This paper proposes a pseudo-label generation strategy SAM-PLG based on the split-everything model, which effectively transforms low-quality sparse labels into high-quality dense labels, thereby alleviating the weak supervision problem and ultimately improving the encoding ability of the teacher model. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 : 2D vision-assisted semantic segmentation of LiDAR point clouds.
[0043] Figure 2 : The existing single-stage point-to-pixel correspondence-based ground truth generation (PPC-GTG) and the SAM-based pseudo label generation (SAM-PLG) proposed in the present invention which is located in the subsequent stage.
[0044] Figure 3 : Framework overview. TB(WA) and TB(GA) represent Transformer blocks using window and global attention respectively, "Patch Dec." represents Patch decoder, solid line represents data flow, and dotted line represents back-propagation supervision signal. DETAILED DESCRIPTION
[0045] The scheme of the present invention is described in detail below in conjunction with the accompanying drawings and embodiments.
[0046] During LiDAR data collection, capturing the characteristics of camera images is an important challenge. These images are usually acquired from a single viewpoint and therefore have high repetitiveness, limited diversity, and monotonous style. Compared with common open-world images, camera images have high repetitiveness, poor diversity, and monotonous style characteristics. This peculiarity makes training teacher models on camera images more challenging than models trained on a large number of open images. Since these images are difficult to capture a comprehensive scene representation, it is a challenge to train models to perform well on such data. At the same time, there are significant differences in dataset sizes. For example, the segmentation everything model SAM[1] is trained on a dataset containing up to about 11 million images, while the widely used LiDAR dataset KITTI[2] contains only about 19,000 frames. This dataset difference not only affects the training of the model, but also affects the model's generalization ability in real-world scenarios.
[0047] It is worth noting that another challenge is the weak supervision of training the teacher model. Current methods use perspective projection to map images to a sparse map of the LiDAR point cloud, creating a 2D ground truth. However, this sparse mapping leads to weak supervision of the teacher model. Due to the lack of dense and precise semantic labels, it is difficult for the teacher model to effectively learn semantic representations.
[0048] In addition, through the cross-modal knowledge transfer method, the model has achieved remarkable progress in performance. However, it is worth noting that this performance improvement is often accompanied by a significant increase in model size. In comparison, this increase surpasses the single-modal LiDAR semantic segmentation method, although the latter has adopted modern neural networks and has a large number of parameters. Therefore, efficiently optimizing large-scale parameters during training naturally becomes an important challenge.
[0049] In order to address the above challenges, this paper proposes an innovative method, namely the efficient image-to-LiDAR knowledge transfer paradigm ELiTe (Efficient image-to-LiDAR knowledge Transfer). This method is proposed to fill the research gap in the existing semantic segmentation field, especially the challenges faced when processing multimodal data. ELiTe combines the technology of patch-to-point multi-stage knowledge distillation (PPMSKD), which plays a key role in migrating knowledge from visual basic models (such as the segmentation everything model SAM[1]) to point cloud models. By introducing multi-stage patch-to-point processing in the knowledge distillation process, ELiTe can more effectively capture and transfer key information between images and LiDAR, thereby improving the performance and robustness of the model. The introduction of this comprehensive method not only enables the model to better process multimodal data, but also provides a new solution for semantic segmentation tasks.
[0050] In addition, ELiTe also uses the parameter-efficient fine-tuning (PEFT) method to accelerate domain adaptation training, further improving the performance of the teacher model. The introduction of parameter-efficient fine-tuning technology enables the model to adapt faster when facing different data sets and environments, thereby reducing the performance degradation that may occur during the model migration process. The combination of these technologies enables ELiTe to achieve more efficient and accurate knowledge transfer while dealing with large-scale visual base models. It is worth mentioning that through the careful use of the PEFT method, ELiTe can not only achieve excellent performance in semantic segmentation tasks, but also demonstrate remarkable performance in experiments, providing useful inspiration for the development of future deep learning models.
[0051] Existing single-stage ground truth generation methods based on point-to-pixel correspondence (Point-to-Pixel
[0052] There are some problems with pseudo-correspondence based Ground Truth Generation (PPC-GTG), including sparse, incomplete, inaccurate and low-quality labels. These problems mainly stem from the fact that the single-stage method can only accurately determine the ground truth of pixels under certain conditions, and may be wrong or missed in other cases. In contrast, two-stage pseudo-label generation methods can better solve these problems because the dense mask labels they generate are more accurate, complete and of higher quality. In this method, the first stage generates preliminary labels using some heuristic rules or simple models, and then the second stage uses more powerful models or techniques to correct and optimize these preliminary labels, thereby producing more accurate labeling results. This two-stage method can overcome the limitations of the single-stage method and improve the accuracy and quality of label generation.
[0053] In order to solve the weak supervision problem caused by sparse, incomplete and inaccurate labels, ELiTe introduces an efficient semantic pseudo-label generation strategy - SAM-based Pseudo-Label Generation (SAM-PLG). The pseudo-label generation strategy based on the segmentation model effectively converts sparse labels into dense and accurate labels, such as Figure 2 As shown. It is worth noting that the pseudo-label generation strategy based on the split-everything model has attractive features: 1) at the instance level, it makes up for the missing sparse mask labels in the car window area; 2) at the semantic level, it produces clearer boundaries compared to sparse labels that show inaccurate overlap between trees and the buildings behind them; 3) dense labels provide richer supervision information, alleviating the impact of inaccurate ground truth annotations caused by point-to-pixel correspondence. The resulting dense pseudo-labels transform weak supervision into strong supervision, reduce the training difficulty and enhance the semantic representation learning of the teacher model.
[0054] like Figure 3 As shown in Figure 1, the ELiTe framework consists of three main components: a visual base model teacher (VFM Teacher), a lightweight student, and a block-to-point multi-stage knowledge distillation (PPMSKD) network. The visual base model teacher is domain-adaptively fine-tuned by parameter-efficient fine-tuning (PEFT) and supervised by pseudo-labels generated by the pseudo-label generation strategy based on segmentation-everything model (SAM-PLG).
[0055] ELiTe is an efficient image-to-lidar knowledge transfer paradigm for semantic segmentation. ELiTe exploits the rich color and texture information from image knowledge to compensate for the limitations of lidar input. In the workflow, first, a lightweight student network and a visual grounded model teacher network process the lidar and corresponding image inputs respectively and extract multi-stage features to represent scene information. Then, in the distillation network, the image domain knowledge is extracted from the teacher network using block-to-point multi-stage knowledge distillation and transferred to the student network to enrich its semantic information. In addition, to further improve the performance of ELiTe, the teacher network is domain-adaptively fine-tuned through parameter-efficient fine-tuning to adapt to different datasets and environments. Notably, the pseudo-label generation strategy is generated by SAM-PLG based on the segmentation-everything model and used to supervise the fine-tuning process of the teacher network to enhance its generalization ability. During inference, in order to avoid adding extra computational burden in practical applications, both the teacher network and the distillation network are discarded, and the lightweight student network is retained for application in practical scenarios. With this comprehensive approach, ELiTe not only provides an effective cross-modal knowledge transfer framework, but also achieves impressive performance in semantic segmentation tasks.
[0056] 1. Visual Basic Model Teacher and Lightweight Student
[0057] exist Figure 3 In the paper, the visual base model teacher network and the lightweight student network simultaneously encode the image and lidar point cloud. The teacher network uses the Vision Transformer (ViT) [3] encoder trained by the Segment Everything model and selects the features output by each global attention block for knowledge transfer. The student uses the SPVCNN [4] with fewer parameters to build a lightweight network at real-time inference speed. In the specific implementation, the hidden dimension is 64 and the number of layers is 4 to speed up the network. In these networks, L feature maps from different stages extract 2D features. and 3D features Single-stage features are used for knowledge distillation, and the concatenation of multi-stage features helps to obtain the final prediction score. This strategy of encoding images and lidar point clouds simultaneously can make full use of multimodal information and improve the representation ability and performance of the model.
[0058] 2. Block-to-Point Multi-Stage Knowledge Distillation
[0059] Block-to-point multi-stage knowledge distillation is a cross-modal knowledge transfer technique, and its block-to-point distillation scheme enables ELiTe to transfer rich knowledge from segmentation-everything models trained on large-scale open-world images to LiDAR semantic segmentation. Figure 3As shown in Fig. 2, it consists of L single-stage decoders for teacher and student networks. These decoders restore the downsampled feature maps to their original size and obtain prediction scores for knowledge distillation.
[0060] In the LiDAR network, the point decoder is a standard classifier. It upsamples L point-level one-stage features to the original point cloud size and inputs them into the one-stage classifier to obtain the prediction score. In contrast, in the teacher network based on the visual Transformer architecture, the feature extraction process is more complicated. Block-level image features are extracted from the output of L global attention blocks. In the block decoder, the block-level features are first upsampled by the upsampling layer and reduced in dimension by interpolation, and then further upsampled to the original image size by pixel-to-point mapping. Finally, through the pixel-to-point mapping, the pixels corresponding to the lidar point cloud can be obtained, thus obtaining This design leads to richer feature representation and provides more information support for subsequent pixel-level prediction.
[0061] For knowledge transfer, block-to-point multi-stage knowledge distillation enhances the 3D representation of each stage through multi-stage knowledge distillation with auxiliary visual base model priors. Block-to-point multi-stage knowledge distillation aligns image features with point cloud features, ensuring improved point cloud features. KL divergence is the core distillation loss (L KD ), specifically, the multi-stage distillation losses are as follows:
[0062]
[0063] 3. Efficient parameter fine-tuning
[0064] In the field of natural language processing, efficient parameter fine-tuning is characterized by the efficient use of pre-trained models for downstream applications, reducing the reliance on full fine-tuning, thereby significantly reducing computing and storage requirements. It is worth noting that efficient parameter fine-tuning not only achieves performance levels comparable to full fine-tuning while optimizing cost-effectiveness, but also provides more flexible model training options, bringing greater convenience to practical applications.
[0065] Given the pre-trained weight matrix W (0) , Low-Rank Adaptation (LoRA) [5] is a parameter-efficient fine-tuning technique compatible with the visual Transformer, which parameterizes Δ as the product of two matrices that are much smaller than the original matrix:
[0066] W=W (0) +Δ=W (0) +BA where $W {(0)} , and Where r<<d1,d2. During fine-tuning, only A and B are updated.
[0067] ELiTe chooses to use AdaLoRA[6] to promote the domain adaptation of the visual base model teacher. AdaLoRA adaptively allocates the parameter budget for low-rank adaptation according to the importance score. This dynamic adaptive allocation strategy significantly improves the model performance and parameter efficiency, and effectively enhances the domain adaptation ability of the visual base model teacher. Through the application of AdaLoRA, ELiTe can adjust the parameter budget more flexibly, so that the model can better adapt to different domains and data distributions, thereby improving the generalization ability and practical applicability of the model.
[0068] 4. Loss Function
[0069] ELiTe uses cross entropy and Lovasz loss as the loss function for 2D and 3D semantic segmentation: L seg =L wce +L lovasz Since segmentation heads are used in both the teacher and student networks, a total of 2L+2 segmentation losses are used. Among them, the weights of the 2L single-stage losses are uniformly set to 1 / L. In addition to the segmentation and distillation losses, an additional loss for calculating orthogonal regularization is added to enhance the AdaLoRA optimization process.
[0070] 5. Pseudo-label generation based on the segmentation model
[0071] Inspired by the Segment Everything Model (SAM) [1] and its use of sparse points and low-resolution dense masks for cued segmentation, ELiTe introduces a pseudo-label generation method based on this model for sparse labeled image segmentation. This innovative strategy aims to address the challenges of weak supervision.
[0072] In this widely used predictor framework for split-everything models, each inference input consists of a pair (P i ,M i )=((X,Y),(H lr ×W lr )). This pair of inputs contains the position information (X, Y) from the original data and the corresponding low-resolution dense embedding mask (H lr ×W lr ). On the output side, it includes three valid masks. i Indicates the pixel coordinates of the prompt query, M i represents a low-resolution dense embedding mask at one-fourth of the original resolution. In the dense mask, positive values represent pixels P. iThe positive value indicates the presence of foreground pixels of the instance, while the negative value indicates the background pixels. The absolute value of each pixel value reflects its confidence level in being classified as foreground or background. This design effectively connects the input with the output, allowing the model to accurately capture pixel-level semantic information and provide strong support for subsequent segmentation tasks.
[0073] The algorithm is divided into two stages: In stage 1 of the algorithm, sparse labels are first generated based on the correspondence between points and pixels. For efficiency, these labels are first downsampled to 1 / 4 resolution, and then rescaled and filled with the 1024×1024 shape specified by the segmentation model to be used as prompt points. In addition, in order to obtain a more accurate mask, the algorithm generates a sparse mask based on semantic and instance labels to provide auxiliary guidance information.
[0074] In the second stage of the algorithm, the image and output are first input into the segmentation model for segmentation. This step aims to use the ability of the segmentation model to accurately segment the image to obtain preliminary mask results. Then, after obtaining the output of the segmentation model, the low-quality masks are removed according to the calculated stability score to ensure the accuracy and high quality of the subsequent processing. Next, for the output of the segmentation model, the algorithm calculates the mask box and uses box-based non-maximum suppression (NMS) to alleviate excessive mask overlap, resulting in a more compact and accurate mask boundary. For each valid mask, it is associated with the dominant ground truth category contained in it to assign semantic and instance labels, thereby giving the mask a deeper meaning and identity. Finally, after sorting in ascending order of the predicted intersection over union (IoU) score, the masks are gradually superimposed to generate the final high-quality pseudo-labels to ensure the completeness and accuracy of the final result. This process ensures high quality and accuracy when generating the final pseudo-labels. By first removing low-quality masks, then using non-maximum suppression to reduce mask overlap, assigning semantic and instance labels, and finally gradually stacking masks according to the intersection-over-union ratio score, we can effectively handle target instances in various complex situations and ensure the accuracy and robustness of the final pseudo-label. The order and logic of this series of steps are clear, ensuring the efficiency and feasibility of the entire process.
[0075] In the specific implementation, the pseudo-label generation based on the segmentation everything model uses the ViT-Huge version of the segmentation everything model and its pre-trained parameters. The choice of the ViT-Huge version is based on its superior performance in segmentation tasks and its wide application. In order to meet the needs of generating pseudo-labels, first, the low-resolution size of the dense mask is set to [256,256]. This setting is designed to fully cover the objects in the image and retain enough detail information to ensure that the generated pseudo-labels can perform well in different scenarios.
[0076] In addition, in order to further improve the accuracy of pseudo labels, a strategy based on high and low confidence scores is adopted. Specifically, the high and low confidence scores are set as θ h and θ l , 16 and 1 respectively. This setting allows for a more precise determination of the model’s confidence and uncertainty about the target. A high confidence score determines that the model is highly confident about the target, while a low confidence score indicates that the model is uncertain about the target.
[0077] This strategy helps to screen out credible target areas, providing a more reliable basis for pseudo-label generation, thereby improving the performance and accuracy of the model. By fine-tuning the high and low confidence scores, we can better understand the model's confidence level in the target, thereby effectively improving the quality of pseudo-labels. Therefore, this strategy not only improves the performance of the model, but also enhances the model's ability to understand the target, making it more adaptable to complex and changing scenarios.
[0078] In practical applications, choosing the right parameters is crucial for the effectiveness of pseudo-label generation. The low-resolution size of dense masks directly affects the accuracy and details of the generated pseudo-labels, while high and low confidence scores directly affect the model's ability to identify and classify objects. The reasonable setting of these parameters requires comprehensive consideration of the characteristics of the dataset, the complexity of the task, and the limitations of computing resources to ensure that the generated pseudo-labels have sufficient coverage and accuracy while maintaining high efficiency and reliability in practical applications. Therefore, through in-depth analysis and experimental verification, these parameters were carefully adjusted to meet the needs of the task and achieved satisfactory results.
[0079] When removing low-quality masks, a stability score filtering threshold θ is set stability The threshold θ is set to 0.9 to ensure that high-quality masks are retained. The purpose of this step is to exclude areas with poor mask quality, thereby reducing the interference of noise on model training and improving the generalization ability and stability of the model. In addition, in the process of reducing mask overlap, the non-maximum suppression technique is used to set the threshold θ nmsThe value of 0.7 is used to ensure that the final mask boundary is more compact and accurate. This step helps to avoid redundant information caused by overlapping masks in model training and improve the quality and effectiveness of the generated pseudo labels.
[0080] The selection of these parameters has been carefully experimented and tuned to maximize the quality and accuracy of pseudo-label generation, thereby providing more reliable data support for subsequent model training. At the same time, these implementation details also provide important references for other researchers to help them perform effective pseudo-label generation and model training on different tasks and datasets.
[0081] In a specific embodiment, a large-scale outdoor benchmark dataset SemanticKITTI[7] is used to evaluate ELiTe. This dataset provides detailed semantic annotations for sequences 00-10 of the KITTI dataset[2]. According to the official guidelines, sequence 08 constitutes the validation set and the other sequences constitute the training set. For the test set, SemanticKITTI uses sequences 11-21 of the KITTI dataset, where the labels are hidden for online blind testing. The selection of this dataset takes into account its wide use and rich annotation information to ensure that the evaluation results are representative and comparable. Using such a dataset for evaluation can improve the reliability and generalization ability of the ELiTe model in practical applications, and provide an important reference for its application in practical scenarios.
[0082] The main evaluation metric for point cloud semantic segmentation is the mean intersection over union (mIoU), which calculates the average intersection over union of all categories. The practicality of the method is also evaluated by measuring the frames per second (FPS). For the frames per second speed metric, a single NVIDIA GeForce RTX3090 graphics card was used for testing on the validation set, and no batch size was used.
[0083] In the ablation experiment and analysis experiment, only the validation set was used for specific model training for 64 training cycles. No data augmentation was used during testing at this stage to ensure quick results. During the online testing phase using the test set, the strategy of applying data augmentation during testing was adopted, and more training cycles were added to improve the performance of the model.
[0084] Table 1 shows the performance comparison under the single scan configuration. ELiTe achieved significant improvement over the baseline 2DPASS-base (71.4% vs. 67.7%), which is of great significance in terms of performance improvement. ELiTe's efficient parameter fine-tuning technology further improves the performance of the model, adapts faster when facing different data sets and environments, and reduces the performance degradation that may occur during model migration. Therefore, the introduction of ELiTe not only achieved significant progress in performance, but also has significant advantages in speed and training efficiency.
[0085] Table 1: LiDAR semantic segmentation results on the SemanticKITTI test benchmark
[0086] method QUR FPS Inference parameters Training parameters 2DPASS-base (baseline) 67.7% 24Hz 1.9M 26.5M RPVNet[8] 70.3% 5Hz 24.8M 24.8M Point-Voxel-KD[9] 71.2% 13Hz 14.1M - 2DPASS-large
[10] 72.9% 7Hz 45.6M 74.3M The present invention 71.4% 24Hz 1.9M 6.8M
[0087] Compared with real-time inference methods, ELiTe has shown advanced levels in performance (71.4% vs. 71.2%), speed (24Hz vs. 13Hz), and training efficiency, demonstrating its practicality and balance. These results show that the introduction of ELiTe provides greater flexibility and feasibility for real-time applications, which further strengthens its competitive advantage in real-time applications.
[0088] In addition, compared with non-real-time methods with a large number of parameters, ELiTe excels in speed (24Hz vs. 7Hz) and training efficiency (6.8M vs. 45.6M), but is still highly competitive in performance. These results further highlight the superiority and potential of ELiTe in practical applications, providing a powerful tool for solving practical problems.
[0089] In summary, the ELiTe algorithm achieves state-of-the-art performance in comparison with real-time inference methods and remains highly competitive even when compared with non-real-time methods with powerful backbone networks.
[0090] References
[0091] [1]Kirillov A,Mintun E,Ravi N,et al.Segment anything[C] / / Proceedings of the IEEE / CVF International Conference on Computer Vision.2023:4015-4026.
[0092] [2]Geiger A,Lenz P,Urtasun R.Are we ready for autonomous driving?thekitti vision benchmark suite[C] / / 2012IEEE conference on computer visionand pattern recognition.IEEE,2012:3354-3361.
[0093] [3]Dosovitskiy A,Beyer L,Kolesnikov A,et al.An image is worth 16x16words:Transformers for image recognition at scale[J].arXiv preprint arXiv:2010.11929,2020.
[0094] [4]Tang H,Liu Z,Zhao S,et al.Searching efficient 3d architectureswith sparse point-voxel convolution[C] / / European conference on computervision.Cham:Springer International Publishing,2020:685-702.
[0095] [5]Hu E J,Shen Y,Wallis P,et al.Lora:Low-rank adaptation of largelanguage models[J].arXiv preprint arXiv:2106.09685,2021.
[0096] [6]Zhang Q,Chen M,Bukharin A,et al.Adaptive budget allocation forparameter-efficient fine-tuning[C] / / The Eleventh International Conference onLearning Representations.2023.
[0097] [7]Behley J,Garbade M,Milioto A,et al.Semantickitti:A dataset forsemantic scene understanding of lidar sequences[C] / / Proceedings of the IEEE / CVF international conference on computer vision.2019:9297-9307.
[0098] [8]Xu J,Zhang R,Dou J,et al.Rpvnet:A deep and efficient range-point-voxel fusion network for lidar point cloud segmentation[C] / / Proceedings ofthe IEEE / CVF International Conference on Computer Vision.2021:16024-16033.
[0099] [9]Hou Y,Zhu X,Ma Y,et al.Point-to-voxel knowledge distillation forlidar semantic segmentation[C] / / Proceedings of the IEEE / CVF conference oncomputer vision and pattern recognition.2022:8479-8488.
[0100]
[10] Yan X,Gao J,Zheng C,et al.2dpass:2d priors assisted semanticsegmentation on lidarpoint clouds[C] / / European Conference on ComputerVision.Cham:Springer Nature Switzerland,2022:677-695。
Claims
1. An efficient image-to-lidar knowledge transfer method for semantic segmentation, characterized in that: It is based on the ELiTe model to utilize the rich color and texture information from image knowledge to make up for the limitations of lidar input; the ELiTe model includes a visual base model teacher network, a lightweight student network, and a block-to-point multi-stage knowledge distillation network. The visual base model teacher network and the lightweight student network simultaneously encode the image and lidar point cloud. The block-to-point multi-stage knowledge distillation network includes L single-stage block decoders for the visual base model teacher network and the lightweight student network. These decoders restore the downsampled feature maps to their original size and obtain prediction scores for knowledge distillation; the specific steps are as follows: Step 1: The lightweight student network and the visual base model teacher network process the lidar and corresponding image inputs respectively, and extract multi-stage features to represent the scene information; Step 2: In the block-to-point multi-stage knowledge distillation network, the image domain knowledge is obtained from the visual base model teacher network using block-to-point multi-stage knowledge distillation, and transferred to the lightweight student network to enrich its semantic information; wherein: The visual base model teacher network is domain-adaptively fine-tuned through parameter-efficient fine-tuning and supervised by pseudo-labels generated by SAM-PLG, a pseudo-label generation algorithm based on the segmentation-everything model.
2. The efficient image to lidar knowledge transfer method for semantic segmentation according to claim 1, characterized in that: In step 1, the visual base model teacher network adopts the visual Transformer encoder and selects the block-level image features output by each global attention block for knowledge transfer; the SPVCNN is used to build a lightweight student network at real-time inference speed; in the visual base model teacher network and the lightweight student network, L single-stage 2D features and 3D features These multi-stage features are extracted and used for knowledge distillation and also used to obtain the final prediction score.
3. The efficient image to lidar knowledge transfer method for semantic segmentation according to claim 1, characterized in that: In step 2, in the block decoder of the block-to-point multi-stage knowledge distillation network, the block-level features extracted by the visual base model teacher network are first upsampled by the upsampling layer and reduced in dimension by interpolation, and then further upsampled to the original image size by pixel-to-point mapping. Finally, the pixels corresponding to the lidar point cloud are obtained by pixel-to-point mapping, thereby obtaining Represents the pixel-level prediction.
4. The efficient image to lidar knowledge transfer method for semantic segmentation according to claim 1, characterized in that: The visual base model teacher network is domain-adaptively fine-tuned using AdaLoRA.
5. The efficient image to lidar knowledge transfer method for semantic segmentation according to claim 4, characterized in that: The total loss function of the ELiTe model is composed of 2L+2 segmentation losses L seg , L multi-stage distillation losses, and 1 additional loss for optimizing the computational orthogonal regularization of AdaLoRA; where: L seg =L wce +L lovasz Cross entropy L wce and Lovasz loss L lovasz is the loss function for 2D and 3D semantic segmentation; the multi-stage distillation loss is the KL divergence loss.
6. The efficient image to lidar knowledge transfer method for semantic segmentation according to claim 1, characterized in that: The pseudo-label generation algorithm SAM-PLG based on the segmentation model is as follows: (1) Generate sparse labels based on the correspondence between points and pixels, and generate sparse masks based on semantic and instance labels to provide auxiliary guidance information; (2) Input the image and output into the segmentation model for segmentation to obtain a preliminary image mask result; (3) remove low-quality masks based on the calculated stability score; (4) Calculate the mask box and use box-based non-maximum suppression (NMS) to suppress and reduce mask overlap to obtain the mask boundary; for each valid mask, associate it with the dominant ground truth category contained in it to assign semantic and instance labels; (5) After sorting in ascending order of the predicted IoU scores, masks are gradually superimposed to generate pseudo labels.
7. The efficient image to lidar knowledge transfer method for semantic segmentation according to claim 6, characterized in that: The split everything model uses the ViT-Huge version of the split everything model.
Citation Information
Patent Citations
Lung disease lesion unsupervised segmentation method based on knowledge distillation
CN113902761A
Knowledge distillation method for CT image segmentation
CN114529551A
Mutual learning-based semi-supervised medical image segmentation method and system
WO2023116635A1
Cited By
Underwater target detection method based on vision-language model knowledge distillation
CN119445353A
SAM2 visual basis model assisted vehicle-mounted laser point cloud semantic segmentation method and system
CN120543855A
Vehicle-mounted laser point cloud semantic segmentation method and system assisted by sam2 visual base model
CN120543855B
Crop classification method of adaptive SAM and ConvxLSTM hybrid model
CN121147742A
SAR image overlay identification method with attention mechanism
CN122223563A
