Multi-sensor fusion intelligent automobile environment sensing method and model based on occupancy network
By combining the Fusion-OCC network with redundant voxel sampling discarding and multi-modal attention mechanisms, the problem of perception accuracy and computing resource consumption of smart cars in complex environments is solved, achieving efficient and robust environment perception and autonomous driving capabilities. .
Patent Information
- Application Number
- CN202410654839.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-09-10
AI Technical Summary
Existing smart car environment sensing technology is difficult to achieve accurate vehicle behavior capture in complex environments, and multi-sensor fusion sensing based on occupied networks has problems such as high computing resource consumption and lack of mature technical solutions.
A multi-sensor fusion sensing lightweight network Fusion-OCC based on the occupancy network is proposed. Through redundant voxel sampling discarding and occupancy semantics guided multi-modal attention mechanism, combined with historical frame information, the redundant voxel sampling discarding method is adopted. and masked modality training strategies to improve computational efficiency and robustness.
It achieves comprehensive and accurate perception of the smart car environment, improves perception accuracy and robustness, reduces computing resource consumption, and ensures the stability of the system when multiple sensors fail.
Smart Images

Figure CN118625342A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of intelligent self-driving car environment perception, and particularly designs an intelligent car environment perception method and model based on multi-sensor fusion of occupation network. Background Art
[0002] Compared with traditional cars, smart cars have significant advantages in improving traffic efficiency, reducing traffic accidents, improving production efficiency, and reducing air pollution. Therefore, domestic and foreign automobile companies, Internet companies, and scientific research institutes have joined the ranks of researching smart cars, and smart cars have developed rapidly in the past few years. However, due to the complex driving environment, it is not easy to achieve fully autonomous driving, which requires smart cars to be able to accurately perceive the environment. This is also the first link to achieve autonomous driving and the basis for car decision-making and control. It provides the lower layer with necessary information such as the location, speed, and movement behavior of multiple surrounding targets. At this stage, the environmental perception of smart cars is inseparable from on-board environmental perception sensors such as cameras, lidar, millimeter-wave radar, and ultrasonic radar. The environmental perception tasks mainly include: target detection, tracking, semantic segmentation, lane line detection and other tasks.
[0003] Different on-board environment perception sensors have their own advantages and disadvantages. Cameras are rich in semantic information, but the perspective imaging principle inevitably causes the loss of depth information, such as Mask R-CNN, SSD and other networks; LiDAR can accurately capture the three-dimensional information of the environment, such as PointRCNN, PV-RCNN++ and other networks, but the sparseness and disorder of its point cloud will lead to the loss of semantics; millimeter wave radar has low resolution, but its strong penetration ability is almost unaffected by bad weather such as rain and fog. For smart cars, accurately perceiving key information such as the position, speed and driving trajectory of vehicles in the surrounding environment is crucial to ensure safe driving.
[0004] In addition, most existing environmental perception methods use three-dimensional object detection based on pure vision or multi-sensor fusion, such as BEVFusion, BEVDet, etc. However, semantic occupancy perception is crucial for autonomous driving, because autonomous vehicles need to perceive the three-dimensional urban structure in a fine-grained manner, and the three-dimensional box predicted by three-dimensional object detection is often insufficient to describe general objects. Inspired by the concept of robotics, the perception representation can be described as the occupancy prediction of the gridded three-dimensional space. The basic idea of the occupancy grid is to use a series of random variables to represent the prediction scene. Each random variable is a binary data, indicating whether the position is occupied. It is generally represented by (0,1), 0 means that the position is not occupied, and 1 represents occupation. The occupancy grid map construction algorithm performs approximate posterior estimation on the above random variables, and finally obtains the probability of each grid in the map being occupied. In addition to knowing whether it is occupied, the grid can also contain semantic information and speed information. Compared with the current mainstream two-dimensional prediction based on the BEV view, the Occupancy Network has more information in the height direction. It can correspond to multiple heights in the z-axis direction on the same xy coordinate, make more precise occupancy predictions, and solve the problem of multiple objects at the same xy coordinate point.
[0005] However, due to the inherent limitations of a single sensor, the information it obtains is often affected by distance, angle and environment, making it difficult to accurately capture vehicle behavior in complex environments. Multi-sensor fusion has become an important way to achieve reliable perception of complex environments and is a cutting-edge technology direction in this field.
[0006] In addition, existing occupancy network perception solutions lack the perception of diversity in urban scenes. They only evaluate the occupancy prediction of the front view or surround view based on pure vision, such as FB-OCC, TPVFormer, Tesla's OCC solution, etc., and do not fully integrate multiple types of sensor data.
[0007] However, the current application of the Internet to multi-sensor fusion perception has problems such as high consumption of computing resources and lack of mature technical solutions. Summary of the invention
[0008] In order to solve the above problems and improve the accuracy and robustness of intelligent vehicle perception, the present invention proposes a multi-sensor fusion perception lightweight network Fusion-OCC based on occupation network and a method for fusion perception using the model. Figure 1As shown, a multi-sensor fusion strategy is adopted to effectively integrate and process the data obtained by different sensors, including multi-view images and lidar point clouds; through the occupancy network technology, the occupancy prediction of the smart car is introduced in the environmental perception process to obtain a more comprehensive and accurate environmental perception result, providing more accurate and reliable upper-level environmental perception information for the autonomous path planning and decision-making of the smart car; considering that the application of the occupancy network to multi-sensor fusion perception has the problem of high computing resource consumption, the present invention proposes a solution for discarding redundant voxel sampling. The present invention specifically includes the following steps:
[0009] S1: Extract voxel features from lidar point clouds and camera multi-view images;
[0010] S2: Obtain occupancy predictions for the LiDAR point cloud processing branch and the multi-view image processing branch;
[0011] S3: Obtain fusion-based voxel features through the fusion module;
[0012] S4: Use the information of historical frames to associate features of multiple frames;
[0013] S5: Model training and loss function setting.
[0014] Prioritize the extraction of voxel features of the lidar point cloud and the camera multi-view image in S1, which is specifically implemented as follows:
[0015] At time t, the network takes the lidar point cloud and the camera multi-view image as input, and extracts features through the feature extraction module of the corresponding backbone network. The module includes two parallel channels, the lidar point cloud processing branch and the multi-view image processing branch. In the camera multi-view image processing branch, the backbone network uses a lightweight ResNet residual network and a multi-scale feature pyramid structure (FPN). The image encoder here can also use other mature frameworks to extract image features, such as Swin Transformer, VGG, etc., to extract the features of multi-view images respectively. In the lidar point cloud processing branch, the backbone network voxelizes the point cloud, and then three-dimensional sparse convolution is used for feature encoding of the point cloud to generate multi-scale voxel features of the point cloud.
[0016] Prioritize, S2 obtains the occupancy prediction of the lidar point cloud processing branch and the multi-view image processing branch, which is specifically implemented as follows:
[0017] In the multi-view image processing branch, the multi-view image features are obtained, and the two-dimensional features of the image are projected into the three-dimensional vehicle coordinate system through perspective conversion. The final camera voxel feature F C With F LThe same size. After the occupancy decoder and the occupancy detection head, the occupancy prediction of the multi-view image processing branch is obtained. In the lidar point cloud processing branch, the point cloud voxel features are passed through the occupancy decoder and the occupancy detection head to obtain the semantic occupancy result predicted by the lidar.
[0018] Prior to this, S3 obtains fused voxel features through a fusion module, which is specifically implemented as follows:
[0019] LiDAR point cloud voxel features and camera voxel features are used for natural representation of occupancy prediction. In the multimodal branch, the present invention proposes to use the occupancy-guided multimodal attention mechanism (OGMA) to adaptively fuse point cloud voxel features and camera voxel features to obtain fused voxel features. The occupancy semantics-guided multimodal attention mechanism ensures that the occupancy prediction finally generated not only reflects the complementary information of the camera multi-view image and LiDAR point cloud data, but also has high accuracy and resolution. The present invention also takes into account that the complexity of multi-sensor fusion environment perception based on occupancy network lies in the computational burden of high-resolution three-dimensional prediction. The present invention proposes a redundant voxel sampling discarding method (RVSD) to reduce the complexity of the model. The final semantic occupancy prediction is obtained by the occupancy decoder and the occupancy detection head.
[0020] Prior to this, S4 uses the information of historical frames to associate features of multiple frames, which is specifically implemented as follows:
[0021] In order to make full use of the tracking information of historical frames and improve the detection accuracy, the present invention uses a multi-frame feature association module. The input of the module is the fused image and point cloud feature map at two moments, and the final output is a feature map after fusion of multi-frame features.
[0022] Prior to S5, model training and loss functions are set; the specific training strategy is: the present invention adopts a joint optimization strategy to fine-tune network parameters by comprehensively applying multiple loss functions, so that the network can effectively deal with classification difficulties and blurred boundaries. The cross-entropy loss and Lovasz-Softmax loss are used to guide the optimization process of the network; the loss function based on scene affinity, namely the geometric scene affinity loss and the semantic scene affinity loss, is optimized for the geometric IoU and semantic mIoU; the present invention uses an explicit deep supervision loss function specifically for training the depth perception view conversion in the network. This supervision strategy ensures the fidelity of the depth information during the view conversion process and improves the accuracy and reliability of the three-dimensional reconstruction. The joint optimization of the loss function aims to effectively improve the performance of the network in the occupied space prediction task, especially in complex environments. In addition, the masked modality training strategy is used to improve the robustness of the model. Even when one or more sensors in the multimodal perception system fail, the autonomous driving system can still rely on the remaining valid sensor modalities to maintain the core functionality, thereby improving the overall vehicle safety of the smart car.
[0023] Beneficial effects of the present invention:
[0024] 1. Different from the existing occupancy network based on pure vision, the present invention proposes a multi-sensor fusion perception lightweight network Fusion-OCC based on the occupancy network, which makes full use of the advantages of various environmental perception sensors of the car and realizes comprehensive and accurate perception of the surrounding environment.
[0025] 2. Utilize the occupancy semantics-guided multimodal attention mechanism (OGMA) to fuse point cloud voxel features and camera voxel features to achieve effective utilization of multimodal data and complementary fusion between multimodal data.
[0026] 3. Combine the information of historical frames to associate the features of multiple frames, thereby improving the perception accuracy. The idea of redundant voxel sampling and discarding (RVSD) is introduced into the occupancy network to improve the computational efficiency of the fusion model while hardly compromising the perception performance.
[0027] 4. Applying the masked modal training strategy to the model training improves the robustness of the system in the face of data missing (such as failure of an environmental perception sensor). BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a flow chart of the invention implementation of the present invention;
[0029] Figure 2 The overall network architecture of Fusion-OCC of the present invention;
[0030] Figure 3 is a structural diagram of the fusion module (OGMA) of the present invention;
[0031] Figure 4 It is a schematic diagram of the redundant voxel sampling and discarding method (RVSD) of the present invention;
[0032] Figure 5 This is the training method of the masked modality training strategy of the present invention. DETAILED DESCRIPTION
[0033] In order to facilitate the understanding of those skilled in the art, the present invention is further described below in conjunction with the accompanying drawings. The contents mentioned in the implementation mode are not intended to limit the present invention.
[0034] The implementation flow chart of the present invention is as follows Figure 1 As shown in Figure 2, its input is the multi-view images and lidar point cloud of the nuScenes dataset, and its output is the occupancy prediction. The specific network architecture of Fusion-OCC is as follows: Figure 2 The implementation of the present invention comprises the following steps:
[0035] Step 1: Use the backbone network feature extraction module to extract the voxel features F of the camera multi-view image C and the voxel feature F of the lidar point cloud L The details are as follows:
[0036] Input the multi-view images and lidar point clouds of the nuScenes dataset, and use the backbone network to extract multi-scale image fusion features F mv ,In the voxel-based method in the point cloud branch, the backbone network voxelizes the point cloud, and then, 3D sparse convolution is used for feature encoding of the point cloud to generate ,multiscale voxel features.
[0037] In the multi-view image processing branch, the image encoder uses ResNet-50 and multi-scale feature pyramid FPN, introduces residual learning, and each residual block contains 3 convolution layers and jump connections. The first is a 1×1 convolution, which is used to reduce the number of channels. The second is a 3×3 convolution, which is the main convolution layer of the residual block. The third is a 1×1 convolution, which is used to restore the number of channels. Through the cross-layer connection mechanism, the gradient disappearance and gradient explosion problems in the training process can be solved. FPN is a multi-scale feature pyramid structure designed to generate multi-scale feature maps with rich semantic information. The image encoder here can also use other mature frameworks to extract image features, such as swin transformer, VGG, etc.
[0038] In the lidar point cloud processing branch, the original lidar point cloud is first voxelized using the VoxelNet encoding method. In order to improve the computational efficiency, a three-dimensional sparse convolutional SECOND network is used to encode the features in the voxel space to generate a low spatial dimensional lidar voxel feature F L , whose spatial dimension is
[0039]
[0040] Where D is the feature map depth, H is the feature map height, W is the feature map width, and S is the downsampling stride. After voxelization, the number of voxels in each dimension is the original number.
[0041] Camera voxel feature F C and the voxel feature F of the point cloud L It can be expressed by the following formula:
[0042]
[0043]
[0044] in, represents the cascade operation, PC represents the point cloud input of the LiDAR. Voxel and SPConv represent voxelization and three-dimensional sparse convolution operations respectively. ResNet represents the ResNet-50 backbone network and the FPN multi-scale feature pyramid structure, Img0, Img1, ..., Img6 represent multi-view camera images from 0 to 6, and Trans (2D → 3D) represents the view conversion operation.
[0045] Step 2: Use the occupancy prediction module to obtain the occupancy prediction of the LiDAR point cloud processing branch and the multi-view image processing branch. The details are as follows:
[0046] In multi-view image processing, the LSS algorithm (Lifting, Splatting, and Shooting) is applied to realize the conversion from two-dimensional image features to the three-dimensional vehicle coordinate system. Different from the traditional three-dimensional feature projection method, the commonly used BEV algorithm will pool the three-dimensional features along the z-axis direction, while the LSS algorithm here will retain the detailed information in the z-axis direction so that the lower layer can perform high-precision three-dimensional space occupancy prediction.
[0047] The final camera voxel feature F C With F L The same dimension. These features contain the observation information of the environment in their respective modes. The camera mainly provides high-resolution color and texture information, while the point cloud data provides spatial geometry information.
[0048] The extracted camera voxel features F L and the voxel feature F of the point cloud L , respectively, through the occupancy decoder and occupancy detection head, predict the occupancy state and semantic category of each voxel in the environment, and use the Softmax function to convert the original prediction scores obtained from the occupancy decoder and occupancy detection head into probability distribution to obtain the semantic occupancy prediction result, whose spatial dimension is:
[0049]
[0050]
[0051] Among them, O L is the prediction result generated by the camera voxel feature, O C is the prediction result generated by the point cloud voxel features, D is the feature map depth, H is the feature map height, W is the feature map width, and S is the downsampling stride.
[0052] Step 3: Convert the voxel feature F C and F L After being processed by the fusion module, occupancy decoder and occupancy detection head, the multimodal fusion occupancy result is finally obtained. The structural diagram of the fusion module of the present invention is shown in FIG. Figure 3 As shown, the details are as follows:
[0053] Camera voxel feature F C and the voxel feature F of the point cloud L In the fusion process, considering that the camera captures continuous surface information and generates high-density voxel features F C LiDAR can more accurately capture the geometric structure of nearby objects through point cloud data, forming sparse but detailed voxel features F L In practical applications, the marginal contribution of voxels close to the camera is relatively small compared to the performance improvement, but it significantly increases the consumption of computing resources in computational processing.
[0054] To solve the above problems, the present invention proposes a redundant voxel sampling discarding (RVSD) method, which improves the computational efficiency of the fusion model by discarding redundant voxels in close range of the camera during training and inference processes, while hardly compromising the perceptual performance.
[0055] The core idea of this method is that during the training and inference process, the model will dynamically discard the redundant voxels from the camera at close range, thereby reducing unnecessary computational load. The specific implementation strategy of the redundant voxel sampling and discarding method (RVSD) is as follows: Figure 4 As shown in the figure, the voxel features generated by the camera are first divided into several intervals N according to their distance from the vehicle. k(k=1,2,…,n), the present invention adopts n=12, wherein the distance range of each interval representing the distance is 5m. For each distance interval, the algorithm randomly discards some voxels at a fixed ratio. In the distance interval close to the vehicle (i.e., the k value is small), a higher discarding ratio is adopted. As the k value increases, i.e., the voxel distance increases, the discarding ratio is gradually reduced to ensure that the features of distant objects are preserved. In the present invention, when the k value range is 1 to 4, when the actual distance is 0m to 20m from the vehicle, an extremely high discarding ratio will be adopted, and the discarding ratio is about 80%; when the k value range is 5 to 6, when the actual distance is 20m to 30m from the vehicle, a high discarding ratio will also be adopted, and the discarding ratio is about 70%; and when the k value range gradually increases, the discarding ratio will also decrease, and the discarding ratios of the remaining k values are: 60%, 60%, 30%, 30%, 10%, 10% respectively.
[0056] After the redundant voxel sampling and discarding method (RVSD), the model discarded about 75% of the voxels. This uneven discarding mechanism enables the model to retain key long-distance information while effectively reducing the computational pressure of voxel processing in the close-range area. While significantly reducing the computational complexity, it has little impact on the overall network performance. This method achieves a trade-off between optimal detection accuracy and computational efficiency. This step can be expressed by the following formula:
[0057]
[0058] in, Yes F C The lightweight voxel features after redundant voxel sampling and discarding method, RVSD is the redundant voxel sampling and discarding operation.
[0059] In the field of multi-sensor fusion environmental perception, effectively integrating information from different perception modules is the key to obtaining accurate environmental perception. In the multimodal fusion module, voxel features F of the same dimension C (camera voxel features) and F L (LiDAR point cloud voxel features) First, the fusion generates a relatively rough occupancy prediction information in the first stage. The generation and dimension of the relatively rough occupancy prediction information in the first stage are expressed by the following formula:
[0060]
[0061] Among them, O1 is the one-stage occupancy prediction, OCCHead is the Occupancy detection head, OCCDec is the occupancy decoder, and Concat is the concatenation operation.
[0062] The present invention uses the superposition of multiple frames of lidar point cloud as the true value label for training. The training results show that the occupancy prediction result is very similar to the true value generated by the lidar point cloud, and has the sparsity of the point cloud, which cannot reflect the advantages of multi-sensor fusion perception, and the occupancy prediction results generated for small-scale objects are also extremely rough. Therefore, further optimization is needed to meet the requirements of practical applications.
[0063] In order to solve the above problems and improve the accuracy of the perception model, the present invention is inspired by the multimodal fusion framework Transfusion based on BEV view, and proposes a multimodal attention mechanism guided by occupancy semantics. In the Transfusion fusion detection algorithm, the Transformer-based detection head first uses the point cloud information of the lidar to decode the target query into an initial one-stage rough bounding box prediction, which acts as a query in the attention mechanism, and then cross-attention is performed between the query and the camera image features through the attention mechanism. The cross-attention mechanism can establish a soft association between the lidar point cloud and the image, and generate the final high-precision fusion detection result. Based on the one-stage rough occupancy prediction information generated by the fusion module, the mechanism uses the prediction information to generate a query vector as a query initialization operation, and at the same time, the camera voxel features and the voxel features of the lidar point cloud are respectively used as keys and values to participate in the attention mechanism.
[0064] First, the query vector is projected into the corresponding feature space, aiming to extract relevant semantic information from the camera voxel features and geometric information from the lidar point cloud voxel features, respectively. Through this step, Fusion-OCC can effectively combine the semantic information of the visual features based on the camera multi-view images with the accuracy of the features based on the lidar point cloud in terms of geometric description and spatial resolution, making full use of the complementary advantages of the two different sensors. Subsequently, through the interaction between the query and the key value, the attention weight is updated, and the query is continuously updated and optimized to better identify and interpret the surrounding environment. The above iterative optimization process allows the network to adaptively adjust its attention focus, significantly improve its ability to recognize environmental details, and ensure that only features that are critical to occupancy prediction are highlighted. The updated query vector is then processed through a fully connected layer (MLP) and a Reshape operation is performed, which plays a role in nonlinear transformation of key features, effectively integrating spatial and semantic information to obtain the final multimodal occupancy prediction.
[0065] Through this multimodal attention mechanism guided by occupancy semantics, it is ensured that the occupancy prediction generated in the end not only reflects the complementary information of the camera multi-view image and the lidar point cloud data, but also has high accuracy and resolution. This mechanism will significantly improve the environmental perception of smart cars, including lower-level decision-making, planning and control, and provide a stable and reliable computing framework for applications in complex traffic scenarios in the future.
[0066] The above steps can be expressed by the following formula:
[0067]
[0068]
[0069] Among them, OGMA is a multimodal attention mechanism guided by occupancy semantics. is the fused feature, MLP is the fully connected layer, Reshape represents the Reshape operation, O fine is the final occupation prediction.
[0070] Step 4: In order to improve the perception accuracy, the multi-frame features are associated with the multi-frame features using the multi-frame feature association module in combination with the information of the historical frames. The details are as follows:
[0071] In order to achieve the association matching of the previous and next frame targets, the present invention uses cosine similarity as an indicator to measure the similarity of the previous and next frame targets. In order to reduce the computational burden, the embedded feature map is first downsampled through the maximum pooling layer in the association module to obtain a reduced-dimensional feature map. Assume that C represents the similarity feature map between the historical frame and the current frame embedded feature map, and its calculation formula is:
[0072]
[0073] In this formula, let (i, j), (k, l) be the coordinate points on the current frame feature map and the historical frame feature map, is the feature at the feature map (i, j) of the current frame, and It represents the feature at (k, l) on the historical frame feature map, and the similarity between the two is represented by C i,j,k,l .
[0074] The association matching problem is transformed into a classification problem. When the target in the current frame appears in the position of the previous frame, it is a positive sample, recorded as Y = 1; other positions are negative samples, recorded as Y = 0. The Focal Loss loss function is used to supervise the association cost probability feature map output by the association module. The loss function expression is:
[0075]
[0076] Among them, ρ is the hyperparameter of the model, is the probability that the current frame target appears in the previous frame (*, l), is the probability that the target in the current frame appears in the previous frame (k, *).
[0077] Step 5: Fusion-OCC training and loss function setting
[0078] In the Fusion-OCC network proposed in this invention, a joint optimization strategy is adopted to fine-tune the network parameters by comprehensively applying multiple loss functions, so that the network can effectively deal with the problems of difficult classification and blurred boundaries. Fusion-OCC aims to accurately predict the occupied space, with particular emphasis on performance in complex scenarios.
[0079] Specifically, by combining the cross entropy loss function loss ce and Lovasz-Softmax loss ls To optimize the parameter configuration of the network, the cross entropy loss can naturally handle multi-classification problems and provide direct guidance on the correct category for the network model, while the Lovasz-Softmax loss, as an optimization function that integrates edge perception capabilities, focuses on improving the imprecise pixel-level boundaries. It is optimized based on the gradient of the sorting error and is directly related to the IoU (intersection over union) predicted by the model, making the network more sensitive and accurate in capturing object boundaries, thereby enabling the network to better handle classification and boundary ambiguities. In addition, in order to further enhance the accuracy of the network's predictions at the scene level and category level, geometric scene affinity loss and semantic scene affinity loss are also used. These two losses are optimized for geometric IoU and semantic mIoU respectively, focusing on the evaluation criteria of overall scene consistency, which requires the network to not only correctly identify object categories, but also to be highly consistent with the real environment in terms of spatial distribution. In addition, an explicit deep supervision loss function loss is introduced d The supervision strategy ensures the fidelity of the depth information during the view conversion process and improves the accuracy and reliability of 3D reconstruction. The overall training process aims to achieve the final performance optimization by jointly optimizing the loss function. The total loss function of the final network is:
[0080]
[0081] In the formula, loss d Only used in camera and multimodal models.
[0082] In addition, masked mode training is used to improve the robustness of the model in the face of missing modes in the data, e.g. Figure 5shown.
[0083] Safety is the most important issue for autonomous driving systems. A good system requires reliable performance. A highly reliable autonomous driving system not only needs to ensure performance when all sensors are working properly, but also needs to be robust against some sensor failures. In order to improve the robustness of the model, this paper proposes a training strategy to enhance the robustness of the model to sensor failures, called shielded mode training.
[0084] Specifically, the shielded mode training method simulates sensor failure scenarios, for example, using camera or lidar data alone to simulate damage to the corresponding sensor. During the training process, a random strategy is applied to the model, in which each sensor modality is independently selected for training with predetermined probabilities α1 and α2. This strategy ensures that the model is fully trained both in single mode and multi-modality. Through this method, even when one or more sensors in the multi-modal perception system fail, the autonomous driving system can still rely on the remaining valid sensor modalities to maintain the core functionality, which greatly improves the active safety of smart cars.
[0085] The series of detailed descriptions listed above are only specific descriptions of feasible implementation methods of the present invention. They are not intended to limit the scope of protection of the present invention. All equivalent methods or changes that do not deviate from the technical creation of the present invention should be included in the scope of protection of the present invention.
Claims
1. A multi-sensor fusion perception lightweight network model based on occupation network, characterized in that: include: Feature extraction module, occupancy prediction module, fusion module, multi-frame feature association module; The feature extraction module takes the camera multi-view image and the laser radar point cloud at time t as input, and passes through the corresponding feature extraction module respectively. The module includes two parallel channels, a laser radar point cloud processing branch and a multi-view image processing branch, which respectively extract voxel features of the multi-view image and multi-scale voxel features of the point cloud; The occupancy prediction module projects the multi-view image features obtained in the multi-view image processing branch into the three-dimensional vehicle coordinate system through perspective conversion to obtain the camera voxel features F C With voxel features F of the point cloud L The same size is processed by the occupancy decoder and the occupancy detection head to obtain the occupancy prediction of the multi-view image processing branch; the multi-scale voxel features of the point cloud obtained in the lidar point cloud processing branch are processed by the occupancy decoder and the occupancy detection head to obtain the occupancy semantic results predicted by the lidar; The fusion module uses the occupancy semantics guided multimodal attention mechanism OGMA to adaptively fuse point cloud voxel features and camera voxel features to obtain fusion-based voxel features; The multi-frame feature association module inputs the fused image and point cloud features at two adjacent moments, and outputs the features after fusion of the multi-frame features.
2. According to claim 1, a multi-sensor fusion perception lightweight network model based on occupied network is characterized in that: In the camera multi-view image processing branch, the backbone network adopts a lightweight ResNet residual network and a multi-scale feature pyramid structure (FPN) to extract voxel features of the multi-view images respectively; in the lidar point cloud processing branch, the backbone network voxelizes the point cloud, and then uses three-dimensional sparse convolution to encode the features of the point cloud to generate multi-scale voxel features of the point cloud. The backbone network in the multi-view image processing branch can also be implemented using Swin Transformer and VGG.
3. According to claim 1, a multi-sensor fusion perception lightweight network model based on occupied network is characterized in that: The model is trained using the following strategy: A joint optimization strategy is adopted to comprehensively apply multiple loss functions to fine-tune the network parameters, so that the network can effectively deal with the problems of difficult classification and blurred boundaries. Specifically, the cross-entropy loss and Lovasz-Softmax loss are used to guide the optimization process of the network. The scene affinity-based loss functions, namely the geometric scene affinity loss and the semantic scene affinity loss, are optimized for the geometric IoU and semantic mIoU. The explicit deep supervision loss function is used in the occupancy prediction module to train the depth-aware view transformation in the network, thereby improving the accuracy and reliability of 3D reconstruction.
4. A method for intelligent vehicle environment perception based on a multi-sensor fusion perception lightweight network model occupying a network, characterized in that: The steps include: S1: Extract voxel features from lidar point clouds and camera multi-view images; S2: Obtain occupancy predictions for the LiDAR point cloud processing branch and the multi-view image processing branch; S3: Obtain fusion-based voxel features according to the fusion module; S4: Use the information of historical frames to associate the features of multiple frames and obtain a feature map after fusing the features of multiple frames.
5. The intelligent vehicle environment perception method according to claim 4, characterized in that: The implementation of S1 includes the following: Input multi-view images and lidar point clouds, use the multi-view image processing branch of the backbone network feature extraction module to extract multi-scale image fusion features, voxelize the point cloud based on the voxel method in the lidar point cloud processing branch, and then use three-dimensional sparse convolution to encode the feature of the point cloud to generate multi-scale voxel features; In the multi-view image processing branch, the image encoder uses ResNet-50 and multi-scale feature pyramid FPN, and introduces residual learning. Each residual block contains 3 convolution layers and jump connections. The first is a 1×1 convolution, which is used to reduce the number of channels. The second is a 3×3 convolution, which is the main convolution layer of the residual block. The third is a 1×1 convolution, which is used to restore the number of channels. The cross-layer jump connection is used to solve the gradient disappearance and gradient explosion problems during training. The FPN is a multi-scale feature pyramid structure used to generate multi-scale feature maps with rich semantic information. The LSS algorithm is used to convert the two-dimensional image features to the three-dimensional self-vehicle coordinate system, retaining the detailed information in the z-axis direction, so that the lower layer can perform high-precision three-dimensional space occupancy prediction. In the lidar point cloud processing branch, the original lidar point cloud is first voxelized using the VoxelNet encoding method. To improve the computational efficiency, the three-dimensional sparse convolutional SECOND network is used to encode the features in the voxel space to generate the voxel features F of the lidar point cloud with low spatial dimensions. L , whose spatial dimension is Among them, S is the downsampling stride. After voxelization, the number of voxels in each dimension is the original number. Camera voxel feature F C With F L Same dimensions; in, F L =Voxel(PC)οSPConv F C =ResNet(Img0,Img1,...,Img6)οTrans(2D→3D) In the formula, ο represents the cascade operation, PC represents the point cloud input of the lidar; Voxel and SPConv represent voxelization and three-dimensional sparse convolution operations respectively; ResNet represents the ResNet-50 backbone network and the FPN multi-scale feature pyramid structure, Img0, Img1 to Img6 represent multi-view camera images from 0 to 6, and Trans(2D→3D) represents the two-dimensional to three-dimensional view conversion operation.
6. The intelligent vehicle environment perception method according to claim 5, characterized in that: The implementation of S2 includes the following: The extracted camera voxel features F C and the voxel feature F of the lidar point cloud L , respectively, through the occupancy decoder and occupancy detection head, predict the occupancy state and semantic category of each voxel in the environment, and use the Softmax function to convert the original prediction scores obtained from the occupancy decoder and occupancy detection head into probability distribution to obtain the semantic occupancy prediction result, whose spatial dimension is:
7. The intelligent vehicle environment perception method according to claim 4, characterized in that: The implementation of S3 includes: S3.1: Redundant Voxel Sampling Discarding (RVSD) is used to improve the computational efficiency of the fusion model by discarding redundant voxels close to the camera during training and inference, as follows: First, the voxel features generated by the camera are divided into several intervals N according to their distance from the vehicle. k (k=1,2,…,n), where each interval represents a certain range of distances. For each distance interval, some voxels are randomly discarded at a fixed ratio. In the distance interval close to the vehicle, a higher discard ratio is adopted. As the k value increases, that is, the voxel distance increases, the discard ratio is gradually reduced to ensure that the features of distant objects are preserved; in, Yes F C The lightweight voxel features after redundant voxel sampling and discarding, RVSD represents the redundant voxel sampling and discarding operation; S3.2: Convert the camera voxel features F of the same dimension C and the LiDAR point cloud voxel feature F L First, a relatively rough occupancy prediction information is generated by fusion; Among them, Concat is the concatenation operation, OCCDec is the occupancy decoder, OCCHead is the Occupancy detection head, and O1 is the one-stage occupancy prediction result; S3.3: The rough occupancy prediction information of S3.2 is optimized using the multimodal attention mechanism guided by occupancy semantics, and the query vector is generated using the prediction information. C and the LiDAR point cloud voxel feature F L They participate in the attention mechanism as keys and values respectively; specifically: The query vector is projected into the corresponding feature space using a transformation matrix to extract relevant semantic information from the camera voxel features and geometric information from the lidar point cloud voxel features. Subsequently, through the interaction between the query and the key value, the attention weight is updated, and the query is continuously updated and optimized to better identify and interpret the surrounding environment. The above iterative optimization process allows the network to adaptively adjust its attention focus. The updated query vector is then processed by a fully connected layer (MLP) and a Reshape operation is performed to perform nonlinear transformation on the key features to obtain a fused multi-modal occupancy prediction. Among them, OGMA is a multimodal attention mechanism guided by occupancy semantics. is the fused feature, MLP is the fully connected layer, Reshape represents the Reshape operation, O fine is the final occupation prediction.
8. The intelligent vehicle environment perception method according to claim 4, characterized in that: The implementation of S4 includes: S4.1: Downsample the embedded feature map through the maximum pooling layer to obtain a reduced-dimensional feature map. Assume that C represents the similarity feature map between the historical frame and the current frame embedded feature map, and its calculation formula is: In this formula, is the feature at the feature map (i, j) of the current frame, and It represents the feature of (k, l) on the historical frame feature map, and the similarity between the two is expressed as C i,j,k,l ; S4.2: Convert the association matching problem into a classification problem; when the target in the current frame appears in the position of the previous frame, it is a positive sample, recorded as Y=1; other positions are negative samples, recorded as Y=0, and the Focal Loss loss function is used to supervise the association cost probability feature map. The loss function expression is: Among them, ρ is the hyperparameter of the model, is the probability that the target of the current frame appears in the previous frame (*, 1), is the probability that the target in the current frame appears in the previous frame (k, *).
9. The intelligent vehicle environment perception method according to claim 8, characterized in that: Also includes S5: Design loss function; specifically including: Combined with the cross entropy loss function loss ce and Lovasz-Softmax loss ls Optimize the network parameter configuration. In order to enhance the prediction accuracy of the network at the scene level and category level, the geometric scene affinity loss is also used. and semantic scene affinity loss These two losses are optimized for geometric IoU and semantic mIoU respectively, focusing on the evaluation criteria of overall scene consistency, so that the network not only needs to correctly identify the object category, but also needs to be highly consistent with the real environment in terms of spatial distribution; in addition, an explicit deep supervision loss function loss is introduced d Specifically used for training the depth perception view conversion part of the network, this supervision strategy ensures the fidelity of the depth information during the view conversion process and improves the accuracy and reliability of 3D reconstruction; the final total loss function is: In the formula, loss d Only used in camera and multimodal models.
10. The intelligent vehicle environment perception method according to claim 9, characterized in that: It also includes setting a training method and using a shielding mode for training; specifically, simulating a sensor failure scenario, during the training process, each sensor modality is independently selected for training with predetermined probabilities α1 and α2, ensuring that the model can be fully trained in both single mode and multi-modality, and even when one or more sensors in the multi-modal perception system fail, it can still rely on the remaining valid sensor modalities to maintain functionality.
Citation Information
Cited By
Vehicle environment perception method based on multi-view and multi-scale feature fusion
CN119068445A
Road guardrail state detection method based on artificial intelligence
CN119295786A
A road guardrail state detection method based on artificial intelligence
CN119295786B
End-to-end cross-country ground feature prediction method based on suspension travel decoupling
CN119672530A
Automatic driving multi-sensing data self-supervision pre-training and fusion sensing method
CN120409601A
