A self-distillation occupancy grid generation method and device based on difficult voxel mining

Through difficult voxel mining and self-distillation technology, the occupancy grid generation model is optimized, solving the problems of high resource requirements and insufficient processing of difficult samples, achieving more efficient calculations and more accurate semantic scene inference.

CN118334277BActive Publication Date: 2024-10-18ZHEJIANG YOULU ROBOT TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410773475.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-10-18
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

Existing occupancy grid generation technology requires high memory and computing resources when processing large-scale three-dimensional voxel data, ignores empty voxel predictions, and insufficiently handles difficult samples, resulting in a waste of computing and storage resources and inaccurate semantic scene inference.

Method used

The self-distillation method based on difficult voxel mining is used to obtain soft labels and prediction models through the first network model, the self-distillation network is used to optimize the second network model, and the difficult voxel mining head is combined with the difficult voxel mining head to refine voxels that are difficult to classify. Generate more accurate occupancy grids.

Benefits of technology

It reduces memory and computing resource requirements, improves model performance and scalability, enhances processing capabilities for empty voxels and difficult samples, and improves the accuracy and robustness of occupied grid generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118334277B_ABST
    Figure CN118334277B_ABST
Patent Text Reader

Abstract

The present invention provides a self-distillation occupancy grid generation method and device based on difficult voxel mining, and relates to the technical field of occupancy grid generation. The occupancy grid generation technology includes obtaining quantitative image data of a vehicle-mounted camera; using a first network model to process the image data to obtain a soft label; using a second network model to process the image data to obtain a prediction model; optimizing and training the second network model through a self-distillation network with the soft label and the prediction model to obtain an enhanced second network model, using the enhanced second network model for reasoning, and performing voxel refinement processing after difficult voxel mining to generate an occupancy grid. In the present invention, the memory and computing resource requirements are reduced, and the memory and computing resources required for processing large-scale three-dimensional voxel data are reduced through an optimization method based on difficult voxel mining, thereby improving the performance and scalability of the model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of occupancy grid generation, and in particular to a self-distillation occupancy grid generation method and device based on difficult voxel mining. Background Art

[0002] Occupancy grid generation technology is mainly used in the fields of autonomous driving, robot navigation, etc. Its main goal is to infer the semantic occupancy grid in the three-dimensional dense space through semantic analysis of camera images, and predict the category of each grid, so as to realize automatic recognition and understanding of unknown areas.

[0003] The main structure of this technology includes perception module, representation module and reasoning module. The perception module is responsible for obtaining environmental information data and extracting features from camera images. The representation module maps the features into three-dimensional space and converts them into voxel representations, and predicts the semantic labels of the voxels. The reasoning module completes the semantic scene through reasoning and optimization algorithms to obtain more complete semantic information.

[0004] Existing occupancy grid generation models usually use deep learning methods, such as convolutional neural networks and self-attention mechanism models. These model structures are used to extract features from camera images and complete semantic scenes by learning the mapping from features to voxels. In order to train the occupancy grid generation model, it is necessary to define an appropriate loss function to measure the difference between the predicted results and the true labels. Strategies such as data enhancement and transfer learning can also be used to improve the performance of the model.

[0005] The existing technology has the following problems and shortcomings in occupancy grid generation:

[0006] a) High memory and computing resource requirements: Existing technologies require a lot of memory and computing resources when processing large-scale 3D voxel data, which limits the performance and scalability of the model. This is because the representation module and reasoning module in the existing technology structure are not efficient enough to process large-scale data, resulting in increased computing and memory requirements.

[0007] b) Difficulty in processing empty voxels: Existing technologies often ignore the prediction of empty voxels and classify them as background. This requires additional computing and storage resources when the model processes a large number of empty voxels, and also affects the accurate inference of semantic scenes.

[0008] c) Inadequate handling of hard samples: The training strategies in the prior art often do not fully consider the handling of hard samples. Voxels on the boundary are more challenging for occupancy grid generation, but the prior art often uses the same loss weight for all voxels, thus not paying enough attention to the importance of hard samples.

[0009] The reasons for these problems and shortcomings are mainly due to the limitations of the representation module and the reasoning module in the existing technical structure. The representation module lacks efficient algorithms and data structures when processing large-scale data, resulting in increased computing and memory requirements. At the same time, the reasoning module has limited processing methods for empty voxels and difficult samples, and does not fully utilize this information for inference and completion.

[0010] Therefore, those skilled in the art provide a method and device for generating a self-distillation occupancy grid based on difficult voxel mining to solve the problems raised in the above background technology. Summary of the invention

[0011] 1. Technical issues to be solved

[0012] In view of the shortcomings of the prior art, the present invention provides a self-distillation occupancy grid generation method and device based on difficult voxel mining, which solves the existing problems and shortcomings. The main reason is due to the limitations of the representation module and the reasoning module in the prior art structure. The representation module lacks efficient algorithms and data structures when processing large-scale data, resulting in increased computing and memory requirements. At the same time, the reasoning module has limited processing methods for empty voxels and difficult samples, and does not fully utilize this information for inference and completion.

[0013] (II) Technical solution

[0014] To achieve the above objectives, the present invention is implemented through the following technical solutions:

[0015] In a first aspect, the present invention provides a self-distillation occupancy grid generation method based on difficult voxel mining, comprising:

[0016] Obtain quantitative image data from the vehicle-mounted camera;

[0017] Process the image data using a first network model to obtain a soft label;

[0018] Process the image data using a second network model to obtain a prediction model;

[0019] The soft labels and the prediction model are used to optimize and train the second network model through a self-distillation network to obtain an enhanced second network model, and the enhanced second network model is used for reasoning. After difficult voxel mining and voxel refinement, an occupancy grid is generated.

[0020] The process of processing image data using the first network model includes:

[0021] Extraction of image data features: Use the camera encoder to obtain the digital signal of the image data, and extract the image features from the digital signal through the target detection algorithm;

[0022] Image conversion: Map the image data into three-dimensional space and convert it into voxel representation according to image features;

[0023] Image reasoning: Use a 3D backbone network structure to perform semantic segmentation and semantic scene completion on voxels to obtain complete semantic information and fine-grained features;

[0024] Difficulty mining and classification: Using the fine-grained features to construct a difficult voxel mining head to mine difficult voxels, including the following steps:

[0025] S1: Performing a complete scene analysis on the complete semantic information through the difficult voxel mining head, determining the global difficulty according to the number of voxels that are difficult to correctly classify, selecting corresponding voxels for training and collecting samples according to the global difficulty;

[0026] S2: performing local scene analysis on the complete semantic information through the difficult voxel mining head, determining the local difficulty according to the number of voxels that are difficult to correctly classify, and selecting corresponding voxels for voxel refinement according to the local difficulty;

[0027] S3: Generate soft labels.

[0028] Preferably, the architecture of the second network model is the same as the architecture of the first network model.

[0029] Preferably, the loss function in the process of optimizing the training of the second network model through the self-distillation network includes a conventional loss function for occupying grid generation, a difficult voxel mining loss, and a self-distillation loss.

[0030] Preferably, the target detection algorithm is one of R-CNN, SPP-NET, FAST R-CNN, and R-FCN.

[0031] Preferably, the three-dimensional backbone network structure is BackBone based on 3D sparse convolution expression, and the difficult voxel mining head is used to enable the self-distillation network to focus on the difficult voxel area, and the first network model is used to assist in supervising the training of the second network model, and the first network model is updated by the exponential moving average of the second network model.

[0032] Preferably, the refinement processing includes:

[0033] During the training phase, the difficult voxel mining head randomly selects N difficult voxels based on their global difficulty, then resamples the corresponding fine-grained features and uses a fully connected network layer to refine their predictions under the supervision of the true value and local difficulty;

[0034] In the inference stage, the refined occupancy grid prediction value is further interpolated using trilinear interpolation to obtain the final prediction result.

[0035] In a second aspect, the present invention provides a self-distillation occupancy grid generation system based on difficult voxel mining, comprising the following components:

[0036] Acquisition module, used for quantitative image data of vehicle-mounted cameras;

[0037] Perception module: used to obtain environmental information and extract features from image data;

[0038] Representation module: used to map the feature map into three-dimensional space and convert it into voxel representation, predict the semantic label of the voxel, and segment the semantic scene through semantics;

[0039] Reasoning module: Use reasoning and optimization algorithms to complete the semantic scene to obtain complete semantic information and extract fine-grained features;

[0040] Difficult voxel mining module: used to obtain the complete semantic information and determine the global difficulty and local difficulty, select corresponding voxels for training and sample collection according to the global difficulty, and select corresponding voxels for voxel refinement according to the local difficulty;

[0041] Self-distillation training module: Use the samples to train and infer the student network to generate occupancy grids.

[0042] In a third aspect, the present invention provides a storage medium having computer program instructions stored thereon, which implement the method described above when the computer program instructions are executed by a processor.

[0043] In a fourth aspect, the present invention provides an electronic device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, wherein the method described above is implemented when the computer program instructions are executed by the processor.

[0044] (III) Beneficial effects

[0045] The present invention provides a method and device for generating self-distillation occupancy grids based on difficult voxel mining. It has the following beneficial effects:

[0046] 1. The present invention provides a self-distillation occupancy grid generation method and device based on difficult voxel mining, which reduces the memory and computing resource requirements. Through the optimization method based on difficult voxel mining, the memory and computing resources required for processing large-scale three-dimensional voxel data are reduced, and the performance and scalability of the model are improved.

[0047] 2. The present invention provides a self-distillation occupancy grid generation method and device based on difficult voxel mining, which can generate more accurate occupancy grids, fully consider the prediction of empty voxels and the processing of difficult samples, and improve the accuracy and robustness of occupancy grid generation through the optimization of voxel difficulty perception module and self-distillation training module.

[0048] 3. The present invention provides a self-distillation occupancy grid generation method and device based on difficult voxel mining, which improves the inference efficiency. By optimizing the network structure and training strategy, the efficiency of the inference process is improved and the additional computational overhead is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a flow chart of the self-distillation occupancy grid generation method based on difficult voxel mining of the present invention;

[0050] Figure 2 An occupancy grid diagram of an embodiment of the present invention;

[0051] Figure 3 A module diagram of a self-distillation occupancy grid generation system based on difficult voxel mining according to the present invention;

[0052] Figure 4 This is a diagram of the technical solution architecture of the generation system of the present invention;

[0053] Figure 5 Schematic diagram of the difficult voxel mining process of the present invention. DETAILED DESCRIPTION

[0054] The following will be combined with the drawings in the specific embodiments of the present invention to clearly and completely describe the technical solutions in the specific embodiments of the present invention. Obviously, the specific embodiments described are only part of the specific embodiments of the present invention, not all of the specific embodiments. Based on the specific embodiments of the present invention, all other specific embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] Please refer to 1. Figure 2 The present invention provides a self-distillation occupancy grid generation method based on difficult voxel mining, comprising:

[0056] S100. Obtaining quantitative image data from the vehicle-mounted camera;

[0057] S200. Process the image data using the first network model to obtain a soft label;

[0058] S300. Process the image data using a second network model to obtain a prediction model;

[0059] S400. The soft label and the prediction model are used to optimize the second network model through the self-distillation network to obtain an enhanced second network model, and the enhanced second network model is used for reasoning. After difficult voxel mining and voxel refinement, an occupancy grid (i.e. Figure 2 shown).

[0060] In an embodiment of the present invention, 1 frame of RGB image data is obtained, and a target detection algorithm based on a convolutional neural network is used to extract feature data in the RGB image data, and a specified amount of feature maps are generated, where the feature maps are used to extract target objects or target organisms in the image data. Among them, an image feature map is a data structure used to represent different features in an image in deep learning. In deep learning models such as convolutional neural networks (CNNs), features of different dimensions are extracted from the input image through a series of convolution operations, and these features are represented as image feature maps. The image feature map can learn features such as the shape and structure of the target in three-dimensional space. This is crucial for distinguishing different types of targets or understanding their positions in the environment. In the middle layer of the convolutional neural network, each channel can capture certain abstract features in the input image, such as edges, textures, colors, etc. As the depth of the network increases, the abstract level of the image feature map gradually increases, and finally a higher-level and more abstract feature representation of the input image is formed (the resolution is reduced from the original image 3*448*800 to the feature map 16*112*200). These abstract feature representations are difficult to understand even when displayed because they look like abstract paintings, but this type of image feature map contains rich semantic information that can be understood by computers.

[0061] Next, the feature map is mapped to three-dimensional space and converted into voxel representation, and the feature map is rendered stereoscopically, that is, the feature map is converted from 2D to 3D (2D-to-3D Transform), and the semantic labels of the voxels are predicted. By predicting the semantic label of each voxel, the predicted identification of the dense environment is generated, and semantic scene segmentation is performed through the prediction of semantic labels. Object shape, environmental background, and abnormal obstacles can be reliably represented and identified.

[0062] Next, the features are further extracted through the three-dimensional backbone network method of the BackBone architecture based on 3D sparse convolution expression. 3D sparse convolution expression is the current popular backbone design infrastructure, which greatly liberates the video memory occupancy. Therefore, various efficient Backbone structures can be designed on 3D sparse convolution, which can perform semantic segmentation and center point prediction well, have good geometric structure perception ability, can complete the segmented semantic scenes to obtain more complete semantic information, and can extract fine-grained features.

[0063] Next, the difficult voxel mining head (HVM Head) constructed by fine-grained features determines the difficulty of the complete semantic information, determines the global difficulty and local difficulty, and focuses on the global difficulty. For the global difficulty, the corresponding difficult voxels are selected for training and sampling, and for the local difficulty, the corresponding difficult voxels are selected for refined processing.

[0064] Finally, the soft labels obtained by the first network model and the prediction model obtained by the second network model are trained and inferred using a self-distillation network to generate a gridded map.

[0065] Knowledge distillation refers to transferring the knowledge of the pre-trained teacher model to the student model through distillation. Generally speaking, the teacher model has a larger network capacity and a more complex model structure than the student model. For the student, the main gain information comes from the soft_label (soft label) with more credible information produced by the stronger model.

[0066] Self-knowledge distillation refers to finding a teacher model without adding a large model, which can also provide effective gain information to the student model. The teacher model here is often not more complex than the student model, but the gain information provided is effective incremental information for the student model to improve the efficiency of the student model. This method can avoid using more complex models and avoid generating pseudo labels through some clustering or meta-computing steps.

[0067] In the present invention, the first network model can be understood as a teacher model, and the second network model can be understood as a student model.

[0068] In summary, please refer to Figure 4 In the present invention, the process of processing image data using the first network model is summarized as follows:

[0069] Step 1: Extraction of image data features: Use a camera encoder to obtain a digital signal of image data, and extract image features from the digital signal through a target detection algorithm. The target detection algorithm includes one of R-CNN, SPP-NET, FASTR-CNN, and R-FCN.

[0070] Step 2: Image conversion: Map the image data to three-dimensional space and convert it into voxel representation according to the image features, and construct three-dimensional graphic features by converting the features of the image data through the 2D-to3D Transform mode.

[0071] Step three, image reasoning: use a three-dimensional backbone network structure to perform semantic segmentation and semantic scene completion on voxels to obtain complete semantic information and fine-grained features. The three-dimensional backbone network structure is BackBone based on 3D sparse convolutional expression. The difficult voxel mining head enables the self-distillation network to focus on the difficult voxel area, and the first network model is used to assist in supervising the training of the second network model. The first network model is updated by the exponential moving average of the second network model.

[0072] Step 4, difficulty mining and classification: Use the fine-grained features to construct a difficult voxel mining head to mine difficult voxels, including the following steps:

[0073] S1: Performing a complete scene analysis on the complete semantic information through the difficult voxel mining head, determining the global difficulty according to the number of voxels that are difficult to correctly classify, selecting corresponding voxels for training and collecting samples according to the global difficulty;

[0074] S2: performing local scene analysis on the complete semantic information through the difficult voxel mining head, determining the local difficulty according to the number of voxels that are difficult to correctly classify, and selecting corresponding voxels for voxel refinement according to the local difficulty;

[0075] S3: Generate soft labels.

[0076] In the present invention, the most ideal number of voxels that are difficult to classify correctly is 4096, that is, it can be understood that: when the number of voxels that are difficult to classify correctly is greater than or equal to 4096, we call it global difficulty; otherwise, it is called local difficulty.

[0077] Please refer to Figure 4 In the present invention, the second network model has the same architecture as the first network model. The first network model is used as a teacher model for training. During the training process, difficult voxels are used for sample sampling. After the parameters of the second network model are optimized by the self-distillation network, the optimized second network model is used for training and reasoning. During the training and reasoning process, the first model will be updated according to the exponential moving average (EMA) of the second model. The loss function (L total ) consists of three parts: (L total )=(L ssc )+(L hvm )+(L distill );

[0078] Among them, (L ssc ) is the true value of the semantic label (V gt ) and predicted value (P final ) constructed semantic scene completion loss, (L hvm ) is the difficult voxel mining loss, (Ldistll ) is the self-distillation loss, and the difficult voxel mining loss (L hvm ) is mined by the first network’s difficult voxel loss (L t-hvm ) and the second network difficult voxel mining loss (L s-hvm )constitute.

[0079] The training results of the first network model are soft labels, and the second network model is used for reasoning after training. During the reasoning process, the trained student model is used to generate occupancy grids. Since the student model obtains knowledge and guidance from the teacher model and undergoes difficult voxel mining and voxel refinement, no additional computational cost is required.

[0080] Please refer to Figure 5 , the refined processing includes:

[0081] During the training phase, the difficult voxel mining head randomly selects N difficult voxels (P coarse Then, by resampling the difficult voxels (H gobal ) The corresponding fine-grained features Under the supervision of the true value and local difficulty, a fully connected network layer (MLP Layer) is used to fine-tune their prediction values.

[0082] In the inference phase, the refined occupancy grid prediction value Trilinear interpolation is further used to obtain the final prediction model (P final ) is the grid occupancy map.

[0083] Please refer to 3. The present invention also provides a self-distillation occupancy grid generation system based on difficult voxel mining, including the following components:

[0084] Acquisition module 1, for quantitative image data of the vehicle-mounted camera;

[0085] Perception module 2, used to obtain environmental information and extract features from image data;

[0086] Representation module 3 is used to map the feature map into three-dimensional space and convert it into voxel representation, predict the semantic label of the voxel, and segment the semantic scene through semantics;

[0087] Reasoning module 4, which uses reasoning and optimization algorithms to complete the semantic scene to obtain complete semantic information and extract fine-grained features;

[0088] A difficult voxel mining module 5 is used to obtain the complete semantic information and determine the global difficulty and the local difficulty, select corresponding voxels for training and collect samples according to the global difficulty, and select corresponding voxels for voxel refinement according to the local difficulty;

[0089] The self-distillation training module 6 uses the samples to train and infer the student network to generate an occupancy grid.

[0090] The system infers the semantic occupancy grid in the three-dimensional dense space through semantic analysis of the image data obtained from the on-board camera sensor, and predicts the category of each grid voxel, thereby realizing automatic recognition and understanding of the driving area.

[0091] The self-distillation occupancy grid generation method based on difficult voxel mining of the present invention can be implemented by an electronic device.

[0092] The electronic device may include a processor and a memory storing computer program instructions.

[0093] Specifically, the processor may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present invention.

[0094] The memory may include a large capacity memory for data or instructions. By way of example and not limitation, the memory may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory may include a removable or non-removable (or fixed) medium. Where appropriate, the memory may be inside or outside a data processing device. In a particular embodiment, the memory is a non-volatile solid-state memory. In a particular embodiment, the memory includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.

[0095] The processor implements any one of the methods for automatically typesetting cut piece images in the above embodiments by reading and executing computer program instructions stored in the memory.

[0096] In one example, the electronic device may further include a communication interface and a bus, wherein the processor, the memory, and the communication interface are connected via the bus and communicate with each other.

[0097] The communication interface is mainly used to implement communication between the modules, devices, units and / or equipment in the embodiments of the present invention.

[0098] Bus includes hardware, software or both, and the parts of electronic equipment are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In suitable cases, bus may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.

[0099] In addition, in combination with the self-distillation occupancy grid generation method based on difficult voxel mining in the above embodiment, the embodiment of the present invention can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the occupancy grid map generation methods in the above embodiment is implemented.

[0100] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0101] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0102] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.

[0103] Although specific embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the specific embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A self-distillation occupancy grid generation method based on difficult voxel mining, characterized in that: include: Obtain quantitative image data from the vehicle-mounted camera; Process the image data using a first network model to obtain a soft label; Process the image data using a second network model to obtain a prediction model; The soft label and the prediction model are used to optimize and train the second network model through a self-distillation network to obtain an enhanced second network model, and the enhanced second network model is used for reasoning, and the occupancy grid is generated after difficult voxel mining and voxel refinement processing; The process of processing image data using the first network model includes: Extraction of image data features: Use the camera encoder to obtain the digital signal of the image data, and extract image features from the digital signal through the target detection algorithm; Image conversion: Mapping image data into three-dimensional space and converting it into voxel representation based on image features; Image reasoning: Use a 3D backbone network structure to perform semantic segmentation and semantic scene completion on voxels to obtain complete semantic information and fine-grained features; Difficulty mining and classification: Using the fine-grained features to construct a difficult voxel mining head to mine difficult voxels, including the following steps: S1: Performing a complete scene analysis on the complete semantic information through the difficult voxel mining head, determining the global difficulty according to the number of voxels that are difficult to correctly classify, selecting corresponding voxels for training and collecting samples according to the global difficulty; S2: performing local scene analysis on the complete semantic information through the difficult voxel mining head, determining the local difficulty according to the number of voxels that are difficult to correctly classify, and selecting corresponding voxels for voxel refinement according to the local difficulty; S3: Generate soft labels.

2. The method for generating self-distilled occupancy grids based on difficult voxel mining according to claim 1, characterized in that: The architecture of the second network model is the same as the architecture of the first network model.

3. The method for generating self-distilled occupancy grids based on difficult voxel mining according to claim 2, characterized in that: The loss function in the process of optimizing the training of the second network model through the self-distillation network includes a conventional loss function for occupancy grid generation, a difficult voxel mining loss, and a self-distillation loss.

4. The method for generating self-distilled occupancy grids based on difficult voxel mining according to claim 3, characterized in that: The target detection algorithm is one of R-CNN, SPP-NET, FAST R-CNN, and R-FCN.

5. The method for generating self-distilled occupancy grids based on difficult voxel mining according to claim 4, characterized in that: The three-dimensional backbone network structure is BackBone based on 3D sparse convolution expression. The difficult voxel mining head enables the self-distillation network to focus on the difficult voxel area, and the first network model is used to assist in supervising the training of the second network model. The first network model is updated by the exponential moving average of the second network model.

6. The method for generating occupancy grids by self-distillation based on difficult voxel mining according to claim 5, characterized in that: The refinement processing includes: During the training phase, the difficult voxel mining head randomly selects N difficult voxels based on their global difficulty, then resamples the corresponding fine-grained features and uses a fully connected network layer to refine their predictions under the supervision of the true value and local difficulty; In the inference stage, the refined occupancy grid prediction value is further interpolated using trilinear interpolation to obtain the final prediction result.

7. A self-distilled occupancy grid generation system based on difficult voxel mining, characterized in that It includes the following components: Acquisition module, used for quantitative image data of vehicle-mounted cameras; Perception module: used to obtain environmental information and extract features from image data; Representation module: used to map the feature map into three-dimensional space and convert it into voxel representation, predict the semantic label of the voxel, and segment the semantic scene through semantics; Reasoning module: Use reasoning and optimization algorithms to complete the semantic scene to obtain complete semantic information and extract fine-grained features; Difficult voxel mining module: used to obtain the complete semantic information and determine the global difficulty and local difficulty, select corresponding voxels for training and sample collection according to the global difficulty, and select corresponding voxels for voxel refinement according to the local difficulty; Self-distillation training module: Use the samples to train and infer the student network to generate occupancy grids.

8. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.

9. An electronic device, characterized in that: include: At least one processor, at least one memory and computer program instructions stored in the memory, which implement the method according to any one of claims 1 to 6 when the computer program instructions are executed by the processor.

Citation Information

Patent Citations

  • Premature infant retinopathy anomaly detection method based on regeneration network

    CN116109565A

  • Re-identification method based on cross self-distillation Transform re-identification network

    CN116486433A