Road environment sensing method and device, training method and device, electronic equipment, storage medium and program product
By obtaining associated area lane attributes that are highly similar to the target area and using the vehicle-side perception model to process these attributes, the problem of insufficient accuracy of the vehicle-side perception model in road environment perception is solved, and the accuracy and accuracy of road perception information are improved. Vehicle driving safety.
Patent Information
- Application Number
- CN202410954767.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-09-06
AI Technical Summary
The vehicle-side perception model has low accuracy in perceiving the road environment and is difficult to meet the needs of autonomous driving or assisted driving, resulting in reduced vehicle driving safety and an impact on traffic efficiency.
By obtaining the lane attributes of the associated area that are highly similar to the target area, and using the vehicle-side perception model to process these attributes and the information to be measured, the conflict of lane attributes between the target area and the associated area is reduced, and the perception accuracy of the road perception information is improved. .
It improves the perception accuracy of road sensing information and vehicle driving safety, and improves driving efficiency.
Smart Images

Figure CN118609080A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, especially to the field of computer vision, deep learning, and large model technology, and can be applied to scenarios such as autonomous driving and unmanned driving. Specifically, it relates to a road environment perception method, training method, device, electronic device, storage medium, and program product. Background Art
[0002] With the rapid development of science and technology, the number of vehicles on the road is showing a rapid growth trend. Vehicles can perform autonomous driving functions based on perception systems, or drivers can assist in driving the vehicle based on perception information about the road environment generated by the perception system, thereby improving driving safety. Summary of the invention
[0003] The present disclosure provides a road environment perception method, a vehicle control method, a training method, an apparatus, an electronic device, an autonomous driving vehicle, a storage medium, and a program product.
[0004] According to one aspect of the present disclosure, a road environment perception method is provided, including: obtaining lane attributes of an associated area and information to be tested collected by a vehicle-side sensor, wherein the information to be tested represents a target area for vehicle travel, the lane attributes of the associated area correspond to the associated area, and a preset similarity condition is satisfied between the associated area and the target area; and using a vehicle-side perception model to process the lane attributes of the associated area and the information to be tested to obtain road perception information of the target area.
[0005] According to another aspect of the present disclosure, a vehicle control method is provided, comprising: controlling vehicle travel according to road perception information, wherein the road perception information is determined according to the above-mentioned road environment perception method.
[0006] According to another aspect of the present disclosure, a method for training a perception model is provided, including: obtaining lane attributes of a sample associated area and sample information to be tested, wherein the sample information to be tested represents a sample target area, the lane attributes of the sample associated area correspond to the sample associated area, and the sample associated area and the sample target area satisfy a preset similarity condition; based on a knowledge distillation mechanism, performing knowledge transfer training on an initial vehicle-side perception model according to the lane attributes of the sample associated area, the sample information to be tested and a large model serving as a teacher model to obtain a vehicle-side perception model, wherein the vehicle-side perception model is used to process the lane attributes of the associated area and the information to be tested collected by the vehicle-side sensor to obtain road perception information of the target area.
[0007] According to another aspect of the present disclosure, a road environment perception device for a vehicle is provided, including: a first acquisition module, used to acquire lane attributes of an associated area and information to be tested collected by a vehicle-side sensor, wherein the information to be tested represents a target area for vehicle travel, the lane attributes of the associated area correspond to the associated area, and a preset similarity condition is satisfied between the associated area and the target area; and a road perception information acquisition module, used to process the lane attributes of the associated area and the information to be tested using a vehicle-side perception model to obtain road perception information of the target area.
[0008] According to another aspect of the present disclosure, a vehicle control device is provided, comprising: a vehicle control module, configured to control vehicle driving according to road perception information, wherein the road perception information is determined according to the above-mentioned road environment perception device for the vehicle.
[0009] According to another aspect of the present disclosure, a perception model training device is provided, including: a second acquisition module, used to acquire lane attributes of a sample associated area and sample information to be tested, wherein the sample information to be tested represents a sample target area, the lane attributes of the sample associated area correspond to the sample associated area, and the sample associated area and the sample target area satisfy a preset similarity condition; a training module, used to perform knowledge transfer training on an initial vehicle-side perception model based on a knowledge distillation mechanism, according to the lane attributes of the sample associated area, the sample information to be tested and a large model as a teacher model, to obtain a vehicle-side perception model, wherein the vehicle-side perception model is used to process the lane attributes of the associated area and the information to be tested collected by the vehicle-side sensor to obtain road perception information of the target area.
[0010] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the road environment perception method or vehicle control method provided in an embodiment of the present disclosure.
[0011] According to another aspect of the present disclosure, an autonomous driving vehicle is provided, comprising the above-mentioned electronic device.
[0012] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the training method provided by an embodiment of the present disclosure.
[0013] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method as described above.
[0014] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein the computer program implements the method provided by the embodiment of the present disclosure when executed by a processor.
[0015] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0017] Figure 1 An exemplary system architecture to which the road environment perception method and device according to an embodiment of the present disclosure can be applied is schematically shown;
[0018] Figure 2 A flowchart of a road environment perception method according to an embodiment of the present disclosure is schematically shown;
[0019] Figure 3 The schematic diagram of the road environment perception method according to the embodiment of the present disclosure is shown;
[0020] Figure 4 The schematic diagram of the vehicle-side encoder according to the embodiment of the present disclosure is shown;
[0021] Figure 5 A schematic diagram of a road environment perception method according to another embodiment of the present disclosure is shown;
[0022] Figure 6 A flowchart of a road environment perception method according to an embodiment of the present disclosure is schematically shown;
[0023] Figure 7 A flowchart of a method for training a perception model according to an embodiment of the present disclosure is schematically shown;
[0024] Figure 8 A schematic diagram of a method for training a perception model according to an embodiment of the present disclosure is shown;
[0025] Fig. 9 A block diagram of a road environment perception system according to an embodiment of the present disclosure is schematically shown;
[0026] Fig.10 A block diagram of a road environment perception device for a vehicle according to an embodiment of the present disclosure is schematically shown;
[0027] Fig.11A block diagram of a vehicle control device according to an embodiment of the present disclosure is schematically shown;
[0028] Fig.12 A block diagram schematically shows a training device for a perception model according to an embodiment of the present disclosure;
[0029] Fig.13 A block diagram of an electronic device suitable for implementing the method provided by an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0030] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0031] In the technical solution disclosed in the present invention, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations, necessary confidentiality measures are taken, and do not violate public order and good morals.
[0032] The inventors found that the vehicle can perceive the road environment based on the perception model deployed in the vehicle-side perception system to achieve autonomous driving or assisted driving. However, the vehicle-side perception model has a low accuracy in road environment perception and is difficult to meet the actual autonomous driving or assisted driving needs, which will reduce the driving safety of the vehicle and affect traffic efficiency.
[0033] The embodiments of the present disclosure provide a road environment perception method, a vehicle control method, a training method, an apparatus, an electronic device, an autonomous driving vehicle, a storage medium, and a program product. The road environment perception method includes: obtaining lane attributes of an associated area and information to be tested collected by a vehicle-side sensor, wherein the information to be tested represents a target area where the vehicle is traveling, the lane attributes of the associated area correspond to the associated area, and the associated area and the target area meet a preset similarity condition; and using a vehicle-side perception model to process the lane attributes of the associated area and the information to be tested to obtain road perception information of the target area.
[0034] According to the embodiments of the present disclosure, by acquiring the lane attributes of the associated area of the associated area with a high similarity to the target area, and using the vehicle-side perception model to process the lane attributes of the associated area and the information to be tested, the vehicle-side perception model can be enabled to more accurately analyze and predict the information to be tested under the condition of learning the lane attributes of the associated area of the associated area with a high similarity, so that the obtained road perception information can reduce the lane attribute conflict between the target area and the associated area, thereby improving the perception accuracy of the road perception information, and then improving the driving safety and driving efficiency of the vehicle.
[0035] Figure 1 An exemplary system architecture to which the road environment perception method and apparatus according to an embodiment of the present disclosure can be applied is schematically shown.
[0036] It should be noted that Figure 1 The examples shown are only examples of system architectures to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but do not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios. For example, in another embodiment, the exemplary system architecture to which the road environment perception method and apparatus can be applied may include a terminal device, but the terminal device may implement the road environment perception method and apparatus provided by the embodiments of the present disclosure without interacting with the server.
[0037] like Figure 1 As shown, the system architecture 100 according to this embodiment may include a first vehicle 101, a second vehicle 102, a third vehicle 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the first vehicle 101, the second vehicle 102, the third vehicle 103, and the server 105. The network 104 may include various connection types, such as wired and / or wireless communication links, etc.
[0038] The user can use the first vehicle 101 , the second vehicle 102 , and the third vehicle 103 to interact with the server 105 through the network 104 to receive or send messages, etc.
[0039] The first vehicle 101 , the second vehicle 102 , and the third vehicle 103 may be cars, trucks, vans, etc. with information processing functions. The first vehicle 101 , the second vehicle 102 , and the third vehicle 103 may be provided with communication modules, such as GSM (Global System for Mobile Communications) modules, LoRA (Low-Rank Adaptation) modules, etc., so as to exchange information with the server 105 through the network 104 .
[0040] The first vehicle 101, the second vehicle 102, and the third vehicle 103 may also be provided with vehicle-side sensors, which may include, for example, monocular vision sensors, binocular vision sensors, laser vision sensors, structured light vision sensors, and TOF (Time Of Flight) vision sensors, etc. The vehicle-side sensors may also include other types of sensors, such as laser radar sensors and millimeter wave radar sensors.
[0041] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for the content browsed by the user using the first vehicle 101, the second vehicle 102, and the third vehicle 103. The background management server may perform processing such as analysis on the received information to be tested, and feed back the processing results (such as road perception information, etc.) to the vehicle.
[0042] It should be noted that the road environment perception method provided in the embodiment of the present disclosure can generally be performed by the first vehicle 101, the second vehicle 102 or the third vehicle 103. Accordingly, the road environment perception device for vehicles provided in the embodiment of the present disclosure can also be arranged in the first vehicle 101, the second vehicle 102 or the third vehicle 103.
[0043] Alternatively, the road environment perception method provided in the embodiment of the present disclosure may also be generally performed by the server 105. Accordingly, the road environment perception device for a vehicle provided in the embodiment of the present disclosure may generally be disposed in the server 105. The road environment perception method provided in the embodiment of the present disclosure may also be performed by a server or server cluster that is different from the server 105 and that can communicate with the first vehicle 101, the second vehicle 102, the third vehicle 103 and / or the server 105. Accordingly, the road environment perception device for a vehicle provided in the embodiment of the present disclosure may also be disposed in a server or server cluster that is different from the server 105 and that can communicate with the first vehicle 101, the second vehicle 102, the third vehicle 103 and / or the server 105.
[0044] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0045] Figure 2 The flowchart of the road environment perception method according to an embodiment of the present disclosure is schematically shown.
[0046] like Figure 2 As shown, the road environment perception method includes operations S210~S220.
[0047] In operation S210, lane attributes of the associated area and information to be measured collected by the vehicle-side sensor are obtained.
[0048] In operation S220, the vehicle-side perception model is used to process the lane attributes of the associated area and the information to be measured to obtain road perception information of the target area.
[0049] According to an embodiment of the present disclosure, a vehicle may be traveling in a target area. The vehicle-side sensor may include any visual sensor such as a monocular vision sensor, a binocular vision sensor, a laser vision sensor, a structured light vision sensor, etc., but is not limited thereto, and may also include other types of sensors such as a laser radar sensor and a millimeter wave radar sensor. The embodiment of the present disclosure does not limit the type of the vehicle-side sensor.
[0050] According to the embodiments of the present disclosure, the information to be tested may represent the target area where the vehicle is traveling. The information to be tested may be any type of information such as the image to be tested collected by the vehicle-side sensor of the vehicle, or the information to be tested may be collected by the vehicle-side sensor of other vehicles. The embodiments of the present disclosure do not limit the specific location of the vehicle-side sensor.
[0051] According to the embodiments of the present disclosure, the target area and the associated area may be areas where vehicles can travel, such as highways and viaducts in public transportation. For another example, the target area and the associated area may also be areas where vehicles can pass after obtaining authorization, such as industrial parks, logistics operation areas, factory workshop areas, etc. The embodiments of the present disclosure do not limit the specific types of representations of the target area or the associated area, as long as the vehicle can travel.
[0052] It should be noted that the vehicle may include any type of vehicle, such as a car, a truck, a bus, etc., but is not limited thereto, and may also include an autonomous driving vehicle such as an unmanned guided vehicle.
[0053] According to an embodiment of the present disclosure, the lane attribute of the associated area corresponds to the associated area, and the associated area satisfies a preset similarity condition with the target area. The associated area may include an area that at least partially overlaps with the target area, or the associated area may also include a road area adjacent to the target area, such as a road area adjacent to the target area. A road area within a preset distance range from the target area. Or the associated area may also include an area that has a preset traffic relationship with the target area, such as the target area and the associated area belong to the same traffic section (such as the same highway, the same viaduct traffic route). The embodiment of the present disclosure does not limit the specific setting method of the preset similarity condition, and it can be designed based on actual needs, as long as it can meet the actual needs.
[0054] According to an embodiment of the present disclosure, the lane attributes of the associated area may include the attributes of the lane lines in the associated area, such as lane shape, lane type, position, lane line topological relationship, etc. It should be noted that the lane type may include the direction of travel indicated by the lane line (such as left turn, forward, etc.), or may also include the traffic rules indicated by the lane line, such as allowing vehicles to merge, oncoming traffic indication, etc.
[0055] According to an embodiment of the present disclosure, the vehicle-side perception model may be a deep learning model for performing road environment perception tasks. The vehicle-side perception model may be constructed based on any type of deep learning algorithm, for example, it may be constructed based on a convolutional neural network algorithm or a long short-term memory network algorithm. However, this is not limited to the above, and the vehicle-side perception model may also be constructed based on other types of algorithms, such as an attention network algorithm, etc. The embodiment of the present disclosure does not limit the specific algorithm type for constructing the vehicle-side perception model.
[0056] According to the embodiments of the present disclosure, the vehicle-side perception model can be deployed on the vehicle, for example, it can be deployed in the perception system of the vehicle. Alternatively, the vehicle-side perception model can also be deployed on other vehicles other than the vehicle. Alternatively, the vehicle-side perception model can also be deployed on any type of server such as a cloud server, a cloud edge server, etc. The embodiments of the present disclosure do not limit the specific deployment method of the vehicle-side perception model.
[0057] According to an embodiment of the present disclosure, the vehicle-side perception model can be deployed on other vehicles traveling in front of the vehicle or behind the vehicle, so that the computing power resources of other vehicles can be used to process the lane attributes and information to be tested in the associated area to obtain road perception information that can assist the vehicle in realizing the autonomous driving function.
[0058] According to an embodiment of the present disclosure, the road perception information may include obstacles, pedestrians, vehicles, etc. in the target area, and may also include regional lane attributes of the road in the target area, such as regional lane lines, etc.
[0059] In one example, the vehicle and other vehicles can form a fleet arranged according to preset rules, so that the vehicle-side sensors of multiple vehicles in the fleet can be used to collect the information to be tested, and the computing power resources of some vehicles in the fleet can be used to execute the vehicle-side perception model to process the lane attributes and the information to be tested in the associated area, and broadcast the obtained road perception information to at least one vehicle in the fleet, so as to realize the road environment perception capability for the fleet while saving computing power resources.
[0060] It should be noted that the process of obtaining, collecting or processing information involved in the embodiments of the present disclosure is performed under the condition of obtaining authorization from relevant users or organizations, and the relevant users or organizations are clearly informed that the purpose of the method provided by the embodiments of the present disclosure is to improve the driving safety and driving efficiency of the vehicle. The method provided by the embodiments of the present disclosure adopts necessary encryption or desensitization measures for the acquired information, including but not limited to the information to be tested, the lane attributes of the associated area, etc., to avoid information leakage.
[0061] According to an embodiment of the present disclosure, the information to be measured may be multimodal information to be measured, and the multimodal information to be measured includes at least one of the following: an image to be measured and a point cloud to be measured.
[0062] According to the embodiments of the present disclosure, the image to be tested may be any type of image, such as a surround image, a single-frame image, or a continuous multi-frame image. The embodiments of the present disclosure do not limit the specific image type of the image to be tested.
[0063] In one example, a vehicle-side perception model may be used to process the image to be tested and the lane attributes of the associated area to facilitate road environment perception of the target area.
[0064] According to an embodiment of the present disclosure, the point cloud to be measured may include any one or more types of point cloud data such as laser radar point cloud data, millimeter wave radar point cloud data, etc.
[0065] In one example, a vehicle-side perception model can be used to process the point cloud to be measured and the lane attributes of the associated area to facilitate road environment perception of the target area.
[0066] According to an embodiment of the present disclosure, the information to be measured may also include multimodal information to be measured, such as a point cloud to be measured and an image to be measured. The vehicle-side perception model may be used to process the multimodal information to be measured and the lane attributes of the associated area, so as to facilitate road environment perception of the target area.
[0067] It should be understood that the vehicle-side perception model can perform tokenization, embedding and other processing processes on the information to be measured and the lane attributes of the associated area to obtain a feature tensor that represents the information to be measured and the lane attributes of the associated area, so as to perform road environment perception tasks based on the feature tensor.
[0068] According to an embodiment of the present disclosure, acquiring the information to be tested may include: acquiring first information to be tested, where the first information to be tested is collected by a vehicle-side sensor installed on the vehicle.
[0069] According to an embodiment of the present disclosure, the first information to be measured may also include at least one modality, for example, may include at least one of a first image to be measured and a first point cloud to be measured collected by a vehicle-side sensor of the vehicle.
[0070] According to an embodiment of the present disclosure, obtaining the information to be tested may further include: obtaining second information to be tested, the second information to be tested being collected by a vehicle-side sensor installed in other vehicles, the other vehicles being vehicles other than the vehicle. For example, the other vehicles may be vehicles in the target area or around the target area that can perform sensor detection on the target area. The other vehicles may be moving vehicles or may be stopped vehicles.
[0071] According to an embodiment of the present disclosure, the second information to be measured may also include at least one modality, for example, may include at least one of a second image to be measured and a second point cloud to be measured collected by a vehicle-side sensor of other vehicles.
[0072] It should be understood that the information to be tested includes first information to be tested and second information to be tested.
[0073] According to the embodiments of the present disclosure, the first information to be tested and the second information to be tested can both be multimodal information, so that the vehicle-side perception information can be integrated with the road environment data detected by the multimodal information to be tested, and the detection viewing angle range of the vehicle-side sensors of multiple vehicles can be used to avoid the situation where errors exist in the first information to be tested obtained by the vehicle due to occlusion, thereby improving the perception accuracy of the road perception information.
[0074] According to an embodiment of the present disclosure, the vehicle-side perception model includes a vehicle-side encoder and a vehicle-side decoder. The vehicle-side encoder (encoder) and the vehicle-side decoder (decoder) can be constructed based on an attention network algorithm, for example, can be constructed based on a Transformer algorithm.
[0075] According to an embodiment of the present disclosure, using a vehicle-side perception model to process lane attributes of an associated area and information to be measured to obtain road perception information of a target area may include: using a vehicle-side encoder to fuse features to be measured and features of an associated area to obtain features of the area to be measured in a bird's-eye view space; and based on an attention mechanism, using a vehicle-side decoder to process features of an associated area and features of an area to be measured to obtain road perception information.
[0076] According to the embodiments of the present disclosure, the feature to be measured is determined based on the information to be measured. For example, the image to be measured can be processed based on any type of network algorithm such as a convolutional neural network algorithm to obtain the feature to be measured. The feature to be measured can characterize the semantic attributes of the information to be measured collected by the vehicle-side sensor, so that the lane attributes in the target area can be characterized based on the feature to be measured.
[0077] According to an embodiment of the present disclosure, the associated region feature is obtained by extracting features of the associated region lane attributes. For example, the associated region lane attributes can be extracted based on any type of algorithm such as a convolutional neural network algorithm. The associated region feature can represent the semantic attributes of the associated lane in the associated region.
[0078] According to the embodiments of the present disclosure, the feature to be measured can represent the target area based on the acquisition perspective of the vehicle-side sensor, and the encoder can be used to fuse the feature to be measured and the feature of the associated area. The feature to be measured in the vehicle-side sensor perspective can be converted based on the preset bird's eye view (BEV, or bird's eye view) space, and the attribute semantic information of the feature to be measured and the feature of the associated area can be fused. In this way, the feature to be measured in the bird's eye view space can be used to characterize the regional lane attributes of the lane line in the target area from a bird's eye view, avoiding the regional lane attribute characterization error caused by factors such as occlusion and light exposure in the image to be measured obtained by the vehicle-side sensor based on the vehicle-side acquisition perspective, so that the perception accuracy of subsequent road perception information can be improved based on the feature to be measured.
[0079] According to the embodiments of the present disclosure, the features of the area to be measured can also be generated based on multiple information to be measured collected by vehicle-side sensors of multiple vehicles. By determining the features to be measured corresponding to each of the multiple vehicle-side sensors, the multiple features to be measured can be used to characterize the target area from the data collection perspectives of the multiple vehicles, and then the features of the area to be measured can be used to characterize the regional lane attributes of the target area according to the semantic attributes of the multiple collection perspectives, thereby improving the representation accuracy of the features of the area to be measured for the target area in the bird's-eye view space, and then improving the perception accuracy of the road perception information.
[0080] According to an embodiment of the present disclosure, based on the attention mechanism, a vehicle-side decoder is used to process associated area features and features of the area to be tested. The associated area features can be used to further assist the vehicle-side decoder of the vehicle-side perception model to understand the semantic information representing the regional lane attributes in the features of the area to be tested, thereby reducing the attribute conflict between the regional lane attributes represented by the road perception information and the associated area lane attributes, and improving the perception accuracy and generation efficiency of the road perception information.
[0081] According to an embodiment of the present disclosure, a vehicle-side decoder may be used to process features of the area to be measured and some or all of the features of the associated area, thereby obtaining road perception information.
[0082] Figure 3 The principle diagram of the road environment perception method according to an embodiment of the present disclosure is schematically shown.
[0083] like Figure 3As shown, the target area Q300 may include multiple vehicles traveling in the area lanes, and each of the multiple vehicles may be equipped with a vehicle-side sensor. The vehicle-side sensors of each of the multiple vehicles may collect multi-modal information to be tested, such as images to be tested and point clouds to be tested. Vehicle C301 among the multiple vehicles may obtain the information to be tested collected by the vehicle-side sensors of the first other vehicle C302 and the second other vehicle C303 in the target area Q300, and may obtain multiple information to be tested P301 for inputting the vehicle-side perception model. It should be understood that the vehicle-side perception model may be deployed on the vehicle C301 and may also determine multiple associated area lane attributes A301 that meet preset similarity conditions with the target area Q300 based on the position of the target area Q300.
[0084] like Figure 3 As shown, multiple information to be tested P301 is input into the feature extraction network of the vehicle-side perception model to obtain multiple features to be tested. Multiple lane attributes of associated regions A301 can be input into the associated feature extraction network of the vehicle-side perception model to obtain associated region features. Multiple features to be tested and associated region features can be input into the vehicle-side encoder 310 of the vehicle-side perception model to output the features of the region to be tested F301 in the bird's-eye view space.
[0085] like Figure 3 As shown, the target area Q300 can be divided into a plurality of grid sub-areas arranged in an array. For the first information to be measured P3011 and the second information to be measured P3012 representing the target grid sub-area in the plurality of grid sub-areas, the vehicle-side encoder 310 can map the information to be measured collected by the vehicle-side perspective to the bird's-eye view space, thereby obtaining the sub-feature F3011 of the area to be measured in the bird's-eye view space. It can be understood that after obtaining the sub-features of the area to be measured in the bird's-eye view space corresponding to each of the plurality of grids, the feature F301 of the area to be measured in the bird's-eye view space can be determined.
[0086] It should be noted that the first information to be tested P3011 may be collected by the vehicle-side sensor of the vehicle C301 in the target area Q300, and the second information to be tested P3012 may be the information to be tested collected by the vehicle-side sensors of the first other vehicle C302 and the second other vehicle C303 in the target area Q300. The regional lanes in the target area Q300 can be characterized from different vehicle-side perspectives, so that the characteristics of the area to be tested can be obtained by fusing the characteristics to be tested corresponding to multiple vehicle-side perspectives and mapping them to the bird's-eye view space, thereby achieving a more accurate characterization of the regional lane attributes of the target area and improving the perception accuracy of road perception information.
[0087] like Figure 3As shown, the feature F301 of the area to be tested and the feature of the associated area can be input into the vehicle-side decoder 320 of the vehicle-side perception model to output the target fusion feature. The target fusion feature is input into the detection head 330 of the vehicle-side perception model to output the road perception information G301 including any regional lane attributes such as regional lane lines, regional lane line topological relationships, and regional lane line types.
[0088] According to an embodiment of the present disclosure, the lane attributes of the associated area may include the lane position of the associated area and the lane type of the associated area. The lane position of the associated area may include the coordinate position of the lane line. The lane type of the associated area may include any type such as the color of the lane line in the associated area, the traffic rule indication type, etc.
[0089] In one example, the associated area lane position may be the coordinates of one or more points of the lane line in the associated area.
[0090] According to an embodiment of the present disclosure, the associated area features are determined based on the following operations: performing spatial feature extraction on the associated area lane attributes to obtain associated spatial features; and performing feature extraction on the associated area lane position and the associated area lane type to obtain associated lane position and type features.
[0091] According to an embodiment of the present disclosure, the associated area features include associated space features and associated lane position and type features.
[0092] According to an embodiment of the present disclosure, feature fusion of the associated area lane position and the associated area lane type may include processing the associated area lane position and the associated area lane type based on a fusion algorithm. The fusion algorithm may include, for example, matrix multiplication, concatenation, attention algorithm, etc. The embodiment of the present disclosure does not limit the specific algorithm type of the fusion algorithm.
[0093] It should be noted that the lane position and the lane type of the associated area may be tokenized, embedded, etc. to obtain a feature tensor representing the lane position and the lane type of the associated area. Then, feature fusion is performed on the feature tensor.
[0094] In one example, the associated area feature may include an associated lane spatial feature, which is obtained by extracting spatial features of the associated area lane attributes. The associated area lane attributes may be characterized based on an SD map (Standard Definition Map), and the SD map may be processed based on any type of neural network algorithm such as a convolutional neural network to obtain the associated lane spatial feature.
[0095] In one example, the lane attributes of the associated area can be processed based on the FPN (Feature Pyramid Networks) algorithm to facilitate multi-level feature extraction and fusion of the spatial features of the lane attributes of the associated area, so that the obtained associated lane spatial features can more accurately represent the spatial semantic information of the lane lines in the associated area.
[0096] According to an embodiment of the present disclosure, the associated area may include multiple associated areas, and the associated area lane attributes of the multiple associated areas correspond to the multiple associated lane positions and type features.
[0097] According to an embodiment of the present disclosure, a plurality of associated areas and a target area may satisfy a preset similarity condition, such as a preset distance condition, a preset traffic relationship condition, etc., and the embodiments of the present disclosure will not be described in detail herein.
[0098] According to an embodiment of the present disclosure, the multiple associated lane positions and type features may include at least one reference position and type feature, and the reference position and type feature may be an associated lane position and type feature obtained by executing the method provided by the embodiment of the present disclosure based on other images to be tested. For example, in the process of executing the method provided by the embodiment of the present disclosure for multiple rounds, the associated lane position and type feature of the current i-th round may be obtained during the execution of the current i-th round, and the associated lane position and type features obtained from the 1st round to the i-1th round may be used as the reference position and type feature.
[0099] According to an embodiment of the present disclosure, based on the attention mechanism, a vehicle-side decoder is used to process associated area features and features of the area to be tested, which can include using a vehicle-side decoder to process features of the area to be tested, as well as at least one of associated spatial features and associated lane position and type features to obtain road perception information.
[0100] According to an embodiment of the present disclosure, using a vehicle-side encoder to fuse the features to be measured and the features of the associated area may include: using a first attention network of the vehicle-side encoder to fuse the features to be measured and the spatial features of the associated lanes to obtain spatial fusion features in a bird's-eye view space; using a second attention network of the vehicle-side encoder to fuse the spatial fusion features and the positions and types of the associated lanes to obtain features of the area to be measured.
[0101] According to an embodiment of the present disclosure, the first attention network and the second attention network can be constructed based on a cross-attention network algorithm. By using the first network to fuse the features to be tested and the spatial features of the associated lanes, the spatial fusion features can be used to more accurately learn the semantic information of the regional lane attributes in the target area in the bird's-eye view space based on the cross-attention mechanism. Then, based on the spatial fusion features of the second attention network and the position and type features of the associated lanes, the spatial fusion features in the bird's-eye view space can assist in learning the regional lane attributes of the regional lanes in the target area with the help of the position and type of the associated regional lanes in the associated area, so that the features of the area to be tested can more accurately characterize the more important lane semantic attributes such as the type, position, and topological relationship of the regional lanes, thereby improving the detection accuracy and accuracy of the subsequent regional lane map.
[0102] Figure 4 The schematic diagram shows a principle diagram of a vehicle-side encoder according to an embodiment of the present disclosure.
[0103] like Figure 4 As shown, the first attention network of the vehicle-side encoder 410 may include a first self-attention network layer 411 and a first cross-attention network layer 412, and the second attention network of the vehicle-side encoder 410 may include a second cross-attention network layer 421. The lane attribute of the associated area may be represented based on the standard definition map A401 of the associated area. The standard definition map A401 is input into the associated spatial feature extraction layer 401, and the associated lane spatial feature F401 is output. The associated spatial feature extraction layer 401 may be constructed based on the feature pyramid network algorithm. The standard definition map A401 is input into the associated feature encoding layer 402, and the associated lane position and type feature F402 is output. The feature encoding network 402 may be constructed based on the position encoding layer of the transformer model, so that the obtained associated lane position and type feature F402 may be represented as a token sequence. It should be understood that the associated feature extraction network of the vehicle-side perception model may include an associated spatial feature extraction layer 401 and an associated feature encoding layer 402.
[0104] like Figure 4As shown, the associated lane spatial feature F401 and the vehicle-side encoder query feature F411 are fused and input into the first self-attention network layer 411 to realize the self-attention enhancement of the associated lane spatial feature, and the enhanced associated lane spatial feature is obtained. The enhanced associated lane spatial feature is used as the query feature (key), and the feature to be tested F403 is input into the first cross-attention network layer 412 as the value feature and the key feature, and the spatial fusion feature is output. The spatial fusion feature is used as the query feature, and the associated lane position and type feature F402 is input into the second cross-attention network layer 421 as the value feature and the key feature, and the feature of the area to be tested F410' can be output.
[0105] It should be noted that the vehicle-side encoder query feature F411 can be obtained by training the vehicle-side perception model.
[0106] According to an embodiment of the present disclosure, based on the attention mechanism, using the vehicle-side decoder to process the associated area features and the features of the area to be tested may include: based on the attention mechanism, using the vehicle-side decoder to process the lane attribute query features, key features and value features to obtain the target fusion features.
[0107] According to an embodiment of the present disclosure, the key feature and the value feature can be determined based on the feature of the area to be tested and the spatial feature of the associated lane. For example, the feature of the area to be tested and the spatial feature of the associated lane can be fused to obtain the fused feature of the area to be tested. The fused feature of the area to be tested is used as the key feature and the value feature.
[0108] According to an embodiment of the present disclosure, the lane attribute query feature may be obtained by fine-tuning the vehicle-side perception model. For example, the vehicle-side decoder of the initial vehicle-side perception model may set an initialized lane attribute query feature, and in the process of fine-tuning the vehicle-side perception model, the initialized lane attribute query feature may be adjusted until the fine-tuning process is completed to obtain the lane attribute query feature.
[0109] According to the embodiments of the present disclosure, the lane attribute query feature can be used as a query feature (Query), and the key feature (Key) and the value feature (Value) can be determined according to the target prompt information and the features of the area to be tested. Then, based on the cross-attention mechanism, a decoder pair can be used to process the query feature (Query), the key feature (Key) and the value feature (Value), so as to achieve full fusion of the semantic information between the target prompt information, the features of the area to be tested and the lane attribute query feature. Then, under the condition of the large model's relatively powerful lane attribute understanding and expression capabilities, the obtained target fusion features can more accurately characterize the regional lane attributes in the target area, thereby improving the detection accuracy of the regional road map.
[0110] According to an embodiment of the present disclosure, the road perception information is determined based on the target fusion feature. For example, the vehicle-side perception model may also include a detection head, which may be used to process the target fusion feature to obtain the road perception information.
[0111] According to an embodiment of the present disclosure, the road perception information may include at least one of the following: regional lane lines, regional lane topological relationships, and regional lane groups.
[0112] According to an embodiment of the present disclosure, the regional lane group represents the association relationship between at least two lanes in the target area.
[0113] According to an embodiment of the present disclosure, the detection head may include a lane line detection head.
[0114] According to an embodiment of the present disclosure, using a detection head to process target fusion features to obtain road perception information may include: using a lane line detection head to process target fusion features to obtain regional lane lines.
[0115] According to an embodiment of the present disclosure, the regional lane line may include the track of the lane line in the regional lane, and may also include the vehicle traffic rules such as the traffic direction indicated by the lane line, the vehicle merging mode, etc. The regional lane line may be characterized based on a vector.
[0116] According to an embodiment of the present disclosure, the detection head may further include a lane topology relationship detection head.
[0117] According to an embodiment of the present disclosure, using a detection head to process target fusion features to obtain road perception information may also include: using a lane topology relationship detection head to process target fusion features to obtain regional lane topology relationships.
[0118] According to an embodiment of the present disclosure, the detection head may further include a lane group detection head.
[0119] According to an embodiment of the present disclosure, using a detection head to process target fusion features to obtain road perception information may also include: using a lane group detection head to process target fusion features to obtain a regional lane group.
[0120] According to an embodiment of the present disclosure, a regional road map is determined based on a regional lane detection result, and the regional lane detection result includes a regional lane group, and the regional lane group represents the association relationship between at least two lanes in the target area. For example, it can represent two adjacent regional lanes with the same travel direction.
[0121] According to an embodiment of the present disclosure, the detection head may further include a lane difference detection head.
[0122] According to an embodiment of the present disclosure, using a detection head to process target fusion features to obtain road perception information may also include: using a lane difference detection head to process target fusion features to obtain target difference information.
[0123] According to an embodiment of the present disclosure, the target difference information indicates that the difference between the lane attributes of the associated area and the lane attributes of the target area satisfies a preset difference condition, and the road perception information may further include the target difference information.
[0124] In one example, the target difference information can represent the regional lane attributes in the current target area, and the difference between the lane attributes of the associated area representing the associated area is too large. Therefore, it can be deduced that the lane attributes of the associated area may be difficult to accurately represent the current associated area due to road construction, changes in road form rules, etc. In this way, the information to be tested (including at least one of the images to be tested and the point cloud to be tested) collected by the vehicle-side sensor can be used to more accurately identify the lane attributes of the associated area that need to be updated, and then the images to be tested and at least one of the point clouds to be tested related to the associated area can be used to generate an associated area road map of the associated area, realize accurate update of map information, and improve the accuracy and safety of the vehicle's autonomous driving function in multiple associated road areas.
[0125] According to an embodiment of the present disclosure, the vehicle-side decoder may further include a topological relationship classification network. The topological relationship classification network may be constructed based on any type of neural network algorithm such as a multilayer perceptron algorithm.
[0126] According to an embodiment of the present disclosure, based on the attention mechanism, using a vehicle-side decoder to process lane attribute query features, key features and value features to obtain target fusion features may include: fusing lane attribute query features, key features and value features based on the attention mechanism to obtain intermediate fusion features; using a topological relationship classification network to process the intermediate fusion features to obtain classification results; and based on the attention mechanism, determining the target fusion features according to the classification results and the intermediate fusion features.
[0127] According to an embodiment of the present disclosure, the classification result represents whether there is a lane topological relationship between lanes in different regions in the target area. For example, "1" can be used to represent that there is a topological relationship between two lanes, and "0" can be used to represent that there is no topological relationship between two lanes.
[0128] According to an embodiment of the present disclosure, the classification results and the intermediate fusion features can be fused based on the attention mechanism, so that the intermediate fusion features can learn the lane topology relationship between lanes in different regions in the target area based on the classification results, thereby improving the perception accuracy of the target fusion features for the regional lane attributes in the target area, thereby improving the driving safety and traffic efficiency of the vehicle.
[0129] According to an embodiment of the present disclosure, based on the attention mechanism, determining the target fusion feature according to the classification result and the intermediate fusion feature may include: based on the self-attention mechanism, performing feature fusion on the intermediate fusion feature using the self-attention weight determined according to the classification result to obtain the target fusion feature.
[0130] According to an embodiment of the present disclosure, the intermediate fusion feature may include an intermediate sub-fusion feature that characterizes each regional lane in the target area. According to the self-attention mechanism, the self-attention weights determined according to the classification results are used to perform self-attention fusion on multiple intermediate sub-fusion features, so that the obtained target fusion feature can more accurately characterize the regional lane attributes of each regional lane, so that the road perception information obtained according to the target fusion feature can more accurately characterize the road environment of the target area, thereby improving the driving efficiency and driving safety of the vehicle.
[0131] Figure 5 The principle diagram of a road environment perception method according to another embodiment of the present disclosure is schematically shown.
[0132] like Figure 5 As shown, the vehicle-side decoder 520 of the vehicle-side perception model may include a decoder first self-attention network 521, a decoder cross-attention network 522, a topological relationship classification network 523, a decoder second self-attention network 524 and a detection network 525.
[0133] like Figure 5 As shown, the lane attribute query feature F511 obtained after fine-tuning the vehicle-side perception model is input into the first self-attention network 521 of the decoder to obtain an enhanced query feature. The features of the area to be tested and the spatial features of the associated lanes are fused, and the fused features of the area to be tested are obtained as the value features and key features of the decoder cross-attention network 522. The enhanced query features, the value features and key features of the decoder cross-attention network 522 are input into the decoder cross-attention network 522 to output the intermediate fused features. The intermediate fused features are input into the topological relationship classification network 523 to obtain the classification result. The classification result is used as the self-attention weight of the second self-attention network 524 of the decoder. The second self-attention network 524 of the decoder is used to perform self-attention fusion on the intermediate fused features output by the decoder cross-attention network 522 based on the self-attention weight, and the target fused features can be obtained.
[0134] like Figure 5As shown, the target fusion feature is input into the detection network 525, and the regional lane topology relationship G511, the regional lane group G512, the target difference information G513, and the regional lane line (polyline) G514 can be obtained. The regional lane topology relationship G511, the regional lane group G512, the target difference information G513, and the regional lane line (polyline) G514 can be characterized based on the regional road navigation map G510. It should be understood that the detection network 525 can include one or more detection heads, which will not be repeated in this embodiment.
[0135] Based on the road environment perception method provided in the above embodiments, an embodiment of the present disclosure also provides a vehicle control method.
[0136] Figure 6 The flowchart of the road environment perception method according to an embodiment of the present disclosure is schematically shown.
[0137] like Figure 6 As shown, the vehicle control method includes operation S610.
[0138] In operation S610, the vehicle is controlled to travel according to the road perception information.
[0139] According to an embodiment of the present disclosure, the road perception information is determined according to the road environment perception method provided by the embodiment of the present disclosure.
[0140] According to the embodiments of the present disclosure, the vehicle can obtain road perception information by deploying the vehicle-side perception model provided by the embodiments of the present disclosure, and then perform autonomous driving functions based on the road perception information.
[0141] In one example, the vehicle can also display road perception information to the driver through images and audio media, so that the driver can drive the vehicle based on the road perception information, thereby realizing the vehicle's assisted driving function.
[0142] An embodiment of the present disclosure also provides a method for training a perception model.
[0143] Figure 7 The flowchart of the method for training a perception model according to an embodiment of the present disclosure is schematically shown.
[0144] like Figure 7 As shown, the training method of the perception model includes operations S710 to S720.
[0145] In operation S710, lane attributes of a sample associated area and information about a sample to be tested are obtained.
[0146] According to an embodiment of the present disclosure, the sample to-be-tested information represents a sample target area, the lane attribute of the sample associated area corresponds to the sample associated area, and the sample associated area and the sample target area satisfy a preset similarity condition.
[0147] In operation S720, based on the knowledge distillation mechanism, the initial vehicle-side perception model is trained for knowledge transfer according to the lane attributes of the sample-associated area, the sample information to be tested, and the large model as a teacher model to obtain a vehicle-side perception model.
[0148] According to an embodiment of the present disclosure, the vehicle-side perception model can be used to process the lane attributes of the associated area and the information to be tested collected by the vehicle-side sensor to obtain the road perception information of the target area. The information to be tested represents the target area, the lane attributes of the associated area correspond to the associated area, and the associated area and the target area meet the preset similarity condition.
[0149] According to an embodiment of the present disclosure, the vehicle-side perception model determined according to the training method provided by the embodiment of the present disclosure can also be used to execute the road environment perception method provided by the embodiment of the present disclosure.
[0150] It should be noted that the technical terms involved in the training method provided in the embodiment of the present disclosure, including but not limited to sample information to be tested, lane attributes of sample associated areas, etc., have the same or corresponding meanings as the technical terms involved in the road environment perception method provided in the embodiment of the present disclosure, and the embodiment of the present disclosure will not be repeated here.
[0151] According to the embodiments of the present disclosure, the large model may be a model having a large-scale parameter structure, and the parameter magnitude is generally in the tens of millions or hundreds of millions, and may reach the billions or tens of billions. In terms of the network structure of the large model, for example, a network structure such as UFO (Unified Feature Optimization) may be used. By processing the lane attributes of the sample-associated area and the sample information to be tested through the large model, it is possible to use the lane attributes of the sample-associated area as the target prompt information for controlling the large model to perform the road environment perception task, so as to control the large model to exert a relatively powerful feature understanding and expression ability, and to achieve efficient processing of the sample information to be tested with a large data scale, thereby improving the detection accuracy and efficiency of the sample road perception information.
[0152] It should be noted that the number of model parameters of the vehicle-side perception model is smaller than that of the large model. The vehicle-side perception model and the large model can be either isomorphic models or heterogeneous models.
[0153] According to an embodiment of the present disclosure, knowledge transfer training is performed on the initial vehicle-side perception model based on lane attributes of sample-associated areas, sample information to be tested, and a large model serving as a teacher model. The training may include inputting lane attributes of sample-associated areas and sample information to be tested into the initial vehicle-side perception model to obtain intermediate-layer features (such as sample features to be tested, etc.) and sample road perception information of the initial vehicle-side perception model; inputting lane attributes of sample-associated areas and sample information to be tested into the large model to obtain collaborative intermediate-layer features (such as sample collaborative features to be tested, etc.) and sample collaborative road perception information of the large model, and utilizing the difference between the intermediate-layer features and the collaborative intermediate-layer features, as well as the difference between the sample road perception information and the sample collaborative road perception information to determine loss information used to train the initial vehicle-side perception model, so that the loss information can be utilized to transfer the road environment perception capability of the large model to the vehicle-side perception model, thereby implementing knowledge transfer training on the initial vehicle-side perception model to obtain the vehicle-side perception model.
[0154] It should be noted that the large model serving as the teacher model and the initial vehicle-side perception model can be either isomorphic models or heterogeneous models, and the embodiments of the present disclosure do not limit this.
[0155] According to an embodiment of the present disclosure, based on the knowledge distillation mechanism, according to the lane attributes of the sample associated area, the sample information to be tested and the large model as a teacher model, the knowledge transfer training of the initial vehicle-side perception model may include: using the vehicle-side encoder of the initial vehicle-side perception model to fuse the sample to-be-tested features and the sample associated area features to obtain the sample to-be-tested area features; based on the sample to-be-tested area features and the sample collaborative to-be-tested area features, determining the feature loss; and training the initial vehicle-side perception model based on the feature loss.
[0156] According to the embodiments of the present disclosure, the features of the sample to be tested are determined based on the information of the sample to be tested, and the features of the sample associated area are obtained by extracting the features of the lane attributes of the sample associated area.
[0157] According to an embodiment of the present disclosure, the features of the sample area to be tested may be feature tensors output by a vehicle-side encoder of an initial vehicle-side perception model.
[0158] According to an embodiment of the present disclosure, the sample collaborative test area feature is obtained by fusing the sample test information and the lane attribute of the sample associated area using a large model. For example, the sample collaborative test area feature can be a feature tensor obtained by processing the sample test information and the lane attribute of the sample associated area by the encoder of the large model.
[0159] According to an embodiment of the present disclosure, determining feature loss based on sample test area features and sample collaborative test area features may include using a loss function to process sample test area features and sample collaborative test area features to obtain feature loss.
[0160] According to an embodiment of the present disclosure, training an initial vehicle-side perception model based on feature loss may include generating a gradient corresponding to model parameters of the initial vehicle-side perception model based on the feature loss, and then using the gradient to adjust the parameters of the initial vehicle-side perception model.
[0161] According to an embodiment of the present disclosure, the sample collaborative test area features can be obtained according to the following operations: using the collaborative feature extraction network of the large model to process the sample test information to obtain the sample collaborative test features; using the target prompt information related to the large model to build a network to process the lane attributes of the sample associated area to obtain the sample target prompt information; and using the encoder of the large model to process the sample collaborative test features and the sample target prompt information to obtain the sample collaborative test area features in the bird's-eye view space.
[0162] According to the embodiments of the present disclosure, the collaborative feature extraction network may be constructed based on a feature pyramid network algorithm, or may be constructed based on other types of neural network algorithms, which is not limited in the embodiments of the present disclosure.
[0163] According to the embodiments of the present disclosure, the target prompt information construction network can be an isomorphic model or a heterogeneous model with the associated feature extraction network provided in the above embodiments. The target prompt information construction network can be used to extract features of the sample associated area road attributes, and the target prompt information can be determined based on the sample collaborative associated area features to help the large model understand the serialized identifier or tensor of the detection task. The target prompt information can assist the large model in more accurately perceiving the regional lane attributes in the image to be tested based on the included associated area lane attributes, avoiding obvious attribute conflicts between the regional lane attributes in the regional lane detection results and the sample associated area lane attributes (such as changes in the direction of the lane line indication, etc.), and improving the perception accuracy of the regional lanes in the target area.
[0164] According to an embodiment of the present disclosure, based on the knowledge distillation mechanism, according to the lane attributes of the sample associated area, the sample information to be tested and the large model as a teacher model, the knowledge transfer training of the initial vehicle-side perception model can also include: using the associated feature extraction network of the initial vehicle-side perception model to process the lane attributes of the sample associated area to obtain the sample associated area features; and determining the first feature loss based on the sample associated area features and the sample target prompt information.
[0165] According to an embodiment of the present disclosure, the feature loss may include a first feature loss and a second loss, and the second loss may characterize the difference between the feature of the sample to be tested area and the feature of the sample collaborative to be tested area.
[0166] In one example, the sample to-be-tested region feature and the sample collaborative to-be-tested region feature may be processed based on a loss function to obtain a second feature loss.
[0167] According to an embodiment of the present disclosure, training an initial vehicle-side perception model based on feature loss may include: training the initial vehicle-side perception model based on feature loss and road perception information loss.
[0168] According to an embodiment of the present disclosure, the road perception information loss is determined based on sample road perception information and sample collaborative road perception information as a pseudo label.
[0169] According to the embodiments of the present disclosure, the sample road perception information is obtained by the initial vehicle-side perception model processing the lane attributes of the sample associated area and the sample information to be tested, and the sample collaborative road perception information is obtained by the large model processing the lane attributes of the sample associated area and the sample information to be tested. The sample road perception information and the sample collaborative road perception information can be the road environment perception results of the initial vehicle-side perception model and the large model for the sample target area, respectively.
[0170] Figure 8 The principle diagram of the training method of the perception model according to the embodiment of the present disclosure is schematically shown.
[0171] like Figure 8 As shown, the large model with road environment perception capability may include a target prompt information construction network 801, a collaborative encoder 811, a collaborative decoder 812, and a collaborative detection network 813. The initial vehicle-side perception model may include an associated feature extraction network 802, a vehicle-side encoder 821, a vehicle-side decoder 822, and a detection network 823. The sample collaborative feature to be tested F811 may be obtained by extracting features from the sample information to be tested by a collaborative feature extraction network associated with the large model, and the sample feature to be tested F812 may be obtained by extracting features from the sample information to be tested by a feature extraction network associated with the vehicle-side perception model. The sample associated area lane attribute A801 may be input into the target prompt information construction network 801, and the sample target prompt information F812 may be output. The sample associated area lane attribute A801 may also be input into the associated feature extraction network 802 to obtain the sample associated area feature F822.
[0172] like Figure 8 As shown, the collaborative encoder 811 can process the sample target prompt information F812 and the sample collaborative test feature F811 to obtain the sample collaborative test area feature F831 in the bird's-eye view space. The sample collaborative test area feature F831 and the sample target prompt information F812 can be input into the collaborative decoder 812 to obtain the sample collaborative target fusion feature. The sample collaborative target fusion feature can be input into the collaborative detection network 813 to obtain the sample collaborative road perception information G801.
[0173] like Figure 8As shown, the vehicle-side encoder 821 can process the sample associated region feature F822 and the sample to-be-tested feature F812 to obtain the sample to-be-tested region feature F832 in the bird's-eye view space. The sample associated region space features in the sample to-be-tested region feature F832 and the sample associated region feature F822 can be input into the vehicle-side decoder 822 to obtain the sample target fusion feature. The sample target fusion feature can be input into the detection network 823 to obtain the sample road perception information G802.
[0174] like Figure 8 As shown, the loss function can be used to process the sample target prompt information F812 and the sample associated area feature F822 to obtain the first feature loss. The loss function is used to process the sample collaborative test area feature F831 and the sample test area feature F832 to obtain the second feature loss. Taking the sample collaborative road perception information G801 as a pseudo label, the loss function is used to process the sample road perception information G802 and the sample collaborative road perception information G801 to obtain the road perception information loss. The model parameters of the initial vehicle-side perception model are updated according to the first feature loss, the second feature loss and the road perception information loss until a vehicle-side perception model that meets the training conditions is obtained.
[0175] According to the embodiments of the present disclosure, the training method provided by the embodiments of the present disclosure can be used to enable the associated feature extraction network of the vehicle-side perception model to have the function of prompting information construction, thereby realizing the vehicle-side perception model to simulate the large model.
[0176] It should be noted that Figure 8 In the training process shown, during multiple rounds of training of the initial vehicle-side perception model, each round can perform the current round of training based on the sample target prompt information F812, the sample collaborative test area features F831 and the sample collaborative road perception information G801 of the previous round, avoiding the repeated use of large models for data processing, so as to save the computing overhead consumed by the training method.
[0177] In one example, training the initial vehicle-side perception model based on feature loss and road perception information loss may also include: first using a loss function to process sample target prompt information and sample associated area features to obtain a first feature loss. Adjusting the model parameters of the associated feature extraction network of the vehicle-side perception model according to the first loss, thereby pre-training the associated feature extraction network. This enables the obtained pre-trained associated feature extraction network to have the function of constructing prompt information. Then, using at least one of the first feature loss, the second feature loss, and the road perception information loss, adjust the model parameters of at least one of the associated feature extraction network, the vehicle-side encoder, the vehicle-side decoder, and the detection network in the pre-trained initial perception model, thereby performing knowledge transfer training on the initial perception model and obtaining a trained perception model.
[0178] It should be noted that the process of obtaining, collecting or processing information involved in the embodiments of the present disclosure is performed under the condition of obtaining authorization from relevant users or organizations, and the relevant users or organizations are clearly informed that the purpose of the method provided by the embodiments of the present disclosure is to improve the driving safety and driving efficiency of the vehicle. The method provided by the embodiments of the present disclosure adopts necessary encryption or desensitization measures for the acquired information, including but not limited to the information to be tested, the lane attributes of the associated area, etc., to avoid information leakage.
[0179] Fig. 9 A block diagram of a road environment perception system according to an embodiment of the present disclosure is schematically shown.
[0180] like Fig. 9 As shown, the road environment perception system 900 may include a road perception large model and a vehicle-side perception model. The road perception large model may be a large model in the training method provided according to an embodiment of the present disclosure. The road perception large model and the vehicle-side perception model may realize function scheduling based on a multi-agent coordinated perception component, so as to use the road perception large model and the vehicle-side perception model to perceive the road environment of the target area and improve the perception accuracy. The lane line perception component may perceive the lane line by calling at least one of the road perception large model and the vehicle-side perception model, and obtain the type, position and other attribute information of the lane line in the road environment. The lane topology relationship perception component may perceive the lane topology relationship by calling at least one of the road perception large model and the vehicle-side perception model, and obtain the topological relationship between the lanes. The prompt engineering component may be realized by constructing a network based on the target prompt information related to the large model, so as to generate the target prompt information, or may also be used to pre-train the associated feature extraction network of the vehicle-side perception model. The road change perception component may generate target difference information based on at least one of the road perception large model and the vehicle-side perception model to detect the change of the associated area or the target area, so as to update the map information of the associated area or the target area in time. The feature perspective conversion component can convert the information to be measured from the vehicle's perspective into a feature tensor in the bird's-eye view space to improve the accuracy of road environment perception.
[0181] Fig.10 A block diagram of a road environment perception device for a vehicle according to an embodiment of the present disclosure is schematically shown.
[0182] like Fig.10 As shown, the road environment perception device 1000 for a vehicle includes: a first acquisition module 1010 and a road perception information acquisition module 1020.
[0183] The first acquisition module 1010 is used to obtain lane attributes of the associated area and information to be tested collected by the vehicle-side sensor, wherein the information to be tested represents a target area for vehicle driving, the lane attributes of the associated area correspond to the associated area, and the associated area and the target area meet a preset similarity condition.
[0184] The road perception information acquisition module 1020 is used to use the vehicle-side perception model to process the lane attributes of the associated area and the information to be measured to obtain the road perception information of the target area.
[0185] According to an embodiment of the present disclosure, the vehicle-side perception model includes a vehicle-side encoder and a vehicle-side decoder.
[0186] According to an embodiment of the present disclosure, the road perception information acquisition module includes: a feature acquisition submodule of a region to be measured and a road perception information acquisition submodule.
[0187] The feature acquisition submodule of the area to be measured is used to use the vehicle-side encoder to fuse the features to be measured and the features of the associated area to obtain the features of the area to be measured in the bird's-eye view space, wherein the features to be measured are determined based on the information to be measured, and the features of the associated area are obtained by extracting the features of the lane attributes of the associated area.
[0188] The road perception information acquisition submodule is used to obtain road perception information by processing the associated area features and the features of the area to be tested based on the attention mechanism using the vehicle-side decoder.
[0189] According to an embodiment of the present disclosure, the associated area lane attributes include an associated area lane position and an associated area lane type.
[0190] According to an embodiment of the present disclosure, the associated area features are determined based on the following operations: performing spatial feature extraction on the associated area lane attributes to obtain associated spatial features; and performing feature extraction on the associated area lane positions and associated area lane types to obtain associated lane position and type features, wherein the associated area features include associated spatial features and associated lane position and type features.
[0191] According to an embodiment of the present disclosure, the feature acquisition submodule of the area to be measured includes: a spatial fusion feature acquisition unit and a feature acquisition unit of the area to be measured.
[0192] The spatial fusion feature acquisition unit is used to use the first attention network of the vehicle-side encoder to fuse the features to be tested and the spatial features of the associated lanes to obtain the spatial fusion features in the bird's-eye view space.
[0193] The feature acquisition unit of the area to be tested is used to use the second attention network of the vehicle-side encoder to fuse the spatial fusion features and the associated lane position and type features to obtain the features of the area to be tested.
[0194] According to an embodiment of the present disclosure, the road perception information acquisition submodule includes a target fusion feature acquisition unit.
[0195] The target fusion feature acquisition unit is used to process the lane attribute query feature, key feature and value feature based on the attention mechanism and utilize the vehicle-side decoder to obtain the target fusion feature, wherein the key feature and the value feature are determined based on the features of the area to be measured and the spatial features of the associated lanes, the lane attribute query feature is obtained by fine-tuning the vehicle-side perception model, and the road perception information is determined based on the target fusion feature.
[0196] The target fusion feature acquisition unit and the vehicle-side decoder include a topological relationship classification network.
[0197] According to an embodiment of the present disclosure, the target fusion feature obtaining unit includes: an intermediate fusion feature obtaining subunit, a classification result obtaining subunit and a target fusion feature determining subunit.
[0198] The intermediate fusion feature acquisition subunit is used to fuse lane attribute query features, key features and value features based on the attention mechanism to obtain intermediate fusion features.
[0199] The classification result obtaining subunit is used to process the intermediate fusion features using the topological relationship classification network to obtain the classification result. The classification result represents whether there is a lane topological relationship between different regional lanes in the target area.
[0200] The target fusion feature determination subunit is used to determine the target fusion feature based on the attention mechanism, according to the classification results and the intermediate fusion features.
[0201] According to an embodiment of the present disclosure, the target fusion feature determination subunit is configured to: based on the self-attention mechanism, perform feature fusion on the intermediate fusion features using the self-attention weights determined according to the classification results to obtain the target fusion features.
[0202] According to an embodiment of the present disclosure, the road perception information includes at least one of the following: regional lane lines, regional lane topological relationships, and regional lane groups; wherein the regional lane group represents the association relationship between at least two lanes in the target area.
[0203] According to an embodiment of the present disclosure, the information to be measured is multimodal information to be measured, and the multimodal information to be measured includes at least one of the following: an image to be measured and a point cloud to be measured.
[0204] According to an embodiment of the present disclosure, the first acquisition module includes a first acquisition submodule.
[0205] The first acquisition submodule is used to acquire first information to be tested, where the first information to be tested is collected by a vehicle-side sensor installed on the vehicle.
[0206] According to an embodiment of the present disclosure, the first acquisition module includes a second acquisition submodule.
[0207] The second acquisition submodule is used to acquire second information to be tested, where the second information to be tested is collected by a vehicle-side sensor installed on other vehicles, where the other vehicles are vehicles other than the vehicle, and the information to be tested includes the first information to be tested and the second information to be tested.
[0208] Fig.11 A block diagram of a vehicle control device according to an embodiment of the present disclosure is schematically shown.
[0209] like Fig.11 As shown, the vehicle control device 1100 includes a vehicle control module 1110 .
[0210] The vehicle control module 1110 is used to control the vehicle driving according to the road perception information, wherein the road perception information is determined according to the road environment perception device for the vehicle provided in the embodiment of the present disclosure.
[0211] Fig.12 A block diagram of a perceptual model training device according to an embodiment of the present disclosure is schematically shown.
[0212] like Fig.12 As shown, the training device 1200 for the perception model may include: a second acquisition module 1210 and a training module 1220
[0213] The second acquisition module 1210 is used to obtain the lane attributes of the sample associated area and the sample information to be tested, wherein the sample information to be tested represents the sample target area, the lane attributes of the sample associated area correspond to the sample associated area, and the sample associated area and the sample target area meet a preset similarity condition.
[0214] The training module 1220 is used to perform knowledge transfer training on the initial vehicle-side perception model based on the knowledge distillation mechanism, according to the lane attributes of the sample associated area, the sample information to be tested and the large model as the teacher model, so as to obtain the vehicle-side perception model. The vehicle-side perception model is used to process the lane attributes of the associated area and the information to be tested collected by the vehicle-side sensor to obtain the road perception information of the target area.
[0215] According to an embodiment of the present disclosure, the vehicle-side perception model can be used to execute the road environment perception method provided according to an embodiment of the present disclosure.
[0216] According to an embodiment of the present disclosure, the training module includes: a sample to-be-tested area feature acquisition submodule, a feature loss determination submodule and a training submodule.
[0217] The sample to-be-tested area feature acquisition submodule is used to use the vehicle-side encoder of the initial vehicle-side perception model to fuse the sample to-be-tested features and the sample associated area features to obtain the sample to-be-tested area features, wherein the sample to-be-tested features are determined based on the sample to-be-tested information, and the sample associated area features are obtained by extracting features from the lane attributes of the sample associated area.
[0218] The feature loss determination submodule is used to determine the feature loss based on the features of the sample area to be tested and the features of the sample collaborative area to be tested, wherein the features of the sample collaborative area to be tested are obtained by fusing the sample information to be tested and the lane attributes of the sample associated area using a large model.
[0219] The training submodule is used to train the initial vehicle-side perception model based on feature loss.
[0220] According to an embodiment of the present disclosure, the sample collaborative feature of the area to be tested is obtained according to the following operations: using the collaborative feature extraction network of the large model to process the sample information to be tested to obtain the sample collaborative feature to be tested; using the target prompt information related to the large model to build a network to process the lane attributes of the sample associated area to obtain the sample target prompt information; and using the encoder of the large model to process the sample collaborative feature to be tested and the sample target prompt information to obtain the sample collaborative feature of the area to be tested.
[0221] According to an embodiment of the present disclosure, the training module further includes: a sample associated region feature acquisition submodule and a first feature loss acquisition submodule.
[0222] The sample associated area feature acquisition submodule is used to process the lane attributes of the sample associated area using the associated feature extraction network of the initial vehicle-side perception model to obtain the sample associated area features.
[0223] The first feature loss obtaining submodule is used to determine the first feature loss based on the sample associated area feature and the sample target prompt information, wherein the feature loss includes the first feature loss and the second loss between the sample to-be-tested area feature and the sample collaborative to-be-tested area feature.
[0224] According to an embodiment of the present disclosure, the training submodule includes a training unit.
[0225] A training unit is used to train an initial vehicle-side perception model based on feature loss and road perception information loss; wherein the road perception information loss is determined based on sample road perception information and sample collaborative road perception information as a pseudo-label, the sample road perception information is obtained by the initial vehicle-side perception model processing the lane attributes of the sample associated area and the sample information to be tested, and the sample collaborative road perception information is obtained by the large model processing the lane attributes of the sample associated area and the sample information to be tested.
[0226] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, an autonomous driving vehicle, a readable storage medium, and a computer program product.
[0227] According to an embodiment of the present disclosure, an electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the road environment perception method or vehicle control method provided by the embodiment of the present disclosure.
[0228] According to an embodiment of the present disclosure, an autonomous driving vehicle includes: an electronic device for executing a road environment perception method or a vehicle control method provided by an embodiment of the present disclosure.
[0229] According to an embodiment of the present disclosure, an electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the training method provided by the embodiment of the present disclosure.
[0230] According to an embodiment of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the method provided by the embodiment of the present disclosure.
[0231] According to an embodiment of the present disclosure, a computer program product includes a computer program, and when the computer program is executed by a processor, the method provided by the embodiment of the present disclosure is implemented.
[0232] Fig.13 A block diagram of an electronic device suitable for implementing the method provided by an embodiment of the present disclosure is schematically shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0233] like Fig.13As shown, the device 1300 includes a computing unit 1301, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1302 or a computer program loaded from a storage unit 1308 into a random access memory (RAM) 1303. In the RAM 1303, various programs and data required for the operation of the device 1300 can also be stored. The computing unit 1301, the ROM 1302, and the RAM 1303 are connected to each other via a bus 1304. An input / output (I / O) interface 1305 is also connected to the bus 1304.
[0234] A number of components in the device 1300 are connected to the I / O interface 1305, including: an input unit 1306, such as a keyboard, a mouse, etc.; an output unit 1307, such as various types of displays, speakers, etc.; a storage unit 1308, such as a disk, an optical disk, etc.; and a communication unit 1309, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1309 allows the device 1300 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0235] The computing unit 1301 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1301 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1301 performs the various methods and processes described above, such as a road environment perception method, a vehicle control method, or a training method for a perception model. For example, in some embodiments, the road environment perception method, the vehicle control method, or the training method for a perception model may be implemented as a computer software program, which is tangibly included in a machine-readable medium, such as a storage unit 1308. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1300 via the ROM 1302 and / or the communication unit 1309. When the computer program is loaded into the RAM 1303 and executed by the computing unit 1301, one or more steps of the road environment perception method, the vehicle control method, or the training method for the perception model described above may be performed. Alternatively, in other embodiments, the computing unit 1301 may be configured to execute a road environment perception method, a vehicle control method, or a perception model training method in any other appropriate manner (eg, by means of firmware).
[0236] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0237] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0238] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0239] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0240] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0241] A computer system may include a client and a server. The client and the server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises through computer programs running on respective computers and having a client-server relationship to each other. The server may be a cloud server, a server in a distributed system, or a server combined with a blockchain.
[0242] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0243] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A road environment perception method, comprising: Obtaining lane attributes of an associated area and information to be measured collected by a vehicle-side sensor, wherein the information to be measured represents a target area where the vehicle is traveling, the lane attributes of the associated area correspond to the associated area, and a preset similarity condition is satisfied between the associated area and the target area; and The vehicle-side perception model is used to process the lane attributes of the associated area and the information to be measured to obtain road perception information of the target area.
2. The method according to claim 1, wherein The vehicle-side perception model includes a vehicle-side encoder and a vehicle-side decoder; The step of processing the lane attributes of the associated area and the information to be measured using the vehicle-side perception model to obtain the road perception information of the target area includes: Using the vehicle-side encoder to fuse the features to be measured and the features of the associated area, the features of the area to be measured in the bird's-eye view space are obtained, wherein the features to be measured are determined based on the information to be measured, and the features of the associated area are obtained by extracting features of lane attributes in the associated area; Based on the attention mechanism, the vehicle-side decoder is used to process the associated area features and the features of the area to be measured to obtain the road perception information.
3. The method according to claim 2, wherein: The associated area lane attributes include the associated area lane position and the associated area lane type; The associated region features are determined based on the following operations: Extracting spatial features of lane attributes in the associated area to obtain associated spatial features; and Feature extraction is performed on the lane position and the lane type of the associated area to obtain associated lane position and type features, wherein the associated area features include the associated space features and the associated lane position and type features.
4. The method according to claim 3, wherein: The method of fusing the features to be measured and the features of the associated area by using the vehicle-side encoder includes: Using the first attention network of the vehicle-side encoder to fuse the feature to be measured and the associated lane spatial feature, to obtain a spatial fusion feature in a bird's-eye view space; The second attention network of the vehicle-side encoder is used to fuse the spatial fusion features and the associated lane position and type features to obtain the features of the area to be measured.
5. The method according to any one of claims 2 to 4, wherein The processing of the associated region features and the to-be-tested region features by the vehicle-side decoder based on the attention mechanism includes: Based on the attention mechanism, the vehicle-side decoder is used to process lane attribute query features, key features and value features to obtain target fusion features, wherein the key features and the value features are determined based on the features of the area to be measured and the spatial features of the associated lanes. The lane attribute query features are obtained by fine-tuning the vehicle-side perception model, and the road perception information is determined based on the target fusion features.
6. The method according to claim 5, wherein: The vehicle-side decoder includes a topological relationship classification network; The attention mechanism is used to process the lane attribute query features, key features, and value features using the vehicle-side decoder to obtain target fusion features, including: fusing the lane attribute query feature, the key feature, and the value feature based on an attention mechanism to obtain an intermediate fusion feature; Processing the intermediate fusion features using the topological relationship classification network to obtain a classification result, wherein the classification result indicates whether there is a lane topological relationship between lanes in different areas of the target area; and Based on the attention mechanism, the target fusion feature is determined according to the classification result and the intermediate fusion feature.
7. The method according to claim 6, wherein: The determining of the target fusion feature based on the attention mechanism according to the classification result and the intermediate fusion feature includes: Based on the self-attention mechanism, the intermediate fusion features are fused using the self-attention weights determined according to the classification results to obtain the target fusion features.
8. The method according to any one of claims 1 to 4, wherein The road perception information includes at least one of the following: Regional lane lines, regional lane topology, and regional lane groups; The regional lane group represents the association relationship between at least two lanes in the target area.
9. The method according to any one of claims 1 to 4, wherein The information to be tested is multimodal information to be tested, and the multimodal information to be tested includes at least one of the following: The image and point cloud to be measured.
10. The method according to claim 1, wherein Acquiring the information to be tested includes: Acquiring first information to be tested, where the first information to be tested is collected by a vehicle-side sensor installed on the vehicle; and / or Second information to be tested is obtained, where the second information to be tested is collected by a vehicle-side sensor installed on another vehicle, the other vehicle being different from the vehicle, and the information to be tested includes the first information to be tested and the second information to be tested.
11. A vehicle control method, comprising: The vehicle driving is controlled according to the road perception information, wherein the road perception information is determined according to the method according to any one of claims 1 to 10.
12. A method for training a perception model, comprising: Obtaining a lane attribute of a sample association area and sample to-be-tested information, wherein the sample to-be-tested information represents a sample target area, the lane attribute of the sample association area corresponds to the sample association area, and a preset similarity condition is satisfied between the sample association area and the sample target area; Based on the knowledge distillation mechanism, the initial vehicle-side perception model is trained on knowledge transfer according to the lane attributes of the sample-associated area, the sample information to be tested, and the large model serving as the teacher model to obtain a vehicle-side perception model. The vehicle-side perception model is used to process the lane attributes of the associated area and the information to be tested collected by the vehicle-side sensors to obtain road perception information of the target area.
13. The method according to claim 12, wherein: The knowledge distillation mechanism is based on the lane attributes of the sample associated area, the sample information to be tested, and the large model as a teacher model, and the knowledge transfer training of the initial vehicle-side perception model includes: fusing the sample to-be-tested features and the sample associated region features using the vehicle-side encoder of the initial vehicle-side perception model to obtain the sample to-be-tested region features, wherein the sample to-be-tested features are determined based on the sample to-be-tested information, and the sample associated region features are obtained by extracting features of lane attributes of the sample associated region; Determining feature loss based on the sample to-be-tested area features and the sample collaborative to-be-tested area features, wherein the sample collaborative to-be-tested area features are obtained by fusing the sample to-be-tested information and the lane attributes of the sample associated area using the large model; and The initial vehicle-side perception model is trained based on the feature loss.
14. The method according to claim 13, wherein The sample-to-be-tested area feature is obtained by the following operations: Processing the sample information to be tested using the collaborative feature extraction network of the large model to obtain collaborative features of the sample to be tested; Using the target prompt information related to the large model, a network is constructed to process lane attributes of the sample associated area to obtain sample target prompt information; as well as The encoder of the large model is used to process the sample collaborative features to be measured and the sample target prompt information to obtain the sample collaborative area features to be measured.
15. The method according to claim 14, wherein The knowledge distillation mechanism is based on the lane attributes of the sample associated area, the sample information to be tested, and the large model as a teacher model, and the knowledge transfer training of the initial vehicle-side perception model further includes: Processing lane attributes of the sample associated area using the associated feature extraction network of the initial vehicle-side perception model to obtain features of the sample associated area; and Based on the sample-associated area feature and the sample target prompt information, a first feature loss is determined, wherein the feature loss includes the first feature loss and a second loss between the sample-to-be-tested area feature and the sample-coordinated-to-be-tested area feature.
16. The method according to any one of claims 13 to 15, wherein The training of the initial vehicle-side perception model based on the feature loss includes: Training the initial vehicle-side perception model based on the feature loss and the road perception information loss; In which, the road perception information loss is determined based on sample road perception information and sample collaborative road perception information as a pseudo label. The sample road perception information is obtained by the initial vehicle-side perception model processing the lane attributes of the sample associated area and the sample information to be tested. The sample collaborative road perception information is obtained by the large model processing the lane attributes of the sample associated area and the sample information to be tested.
17. A road environment perception device for a vehicle, comprising: A first acquisition module is configured to acquire lane attributes of an associated area and information to be measured collected by a vehicle-side sensor, wherein the information to be measured represents a target area where the vehicle is traveling, the lane attributes of the associated area correspond to the associated area, and a preset similarity condition is satisfied between the associated area and the target area; and The road perception information acquisition module is used to use the vehicle-side perception model to process the lane attributes of the associated area and the information to be measured to obtain the road perception information of the target area.
18. The device according to claim 17, wherein The vehicle-side perception model includes a vehicle-side encoder and a vehicle-side decoder; The road perception information acquisition module includes: A submodule for obtaining features of the area to be measured is used to use the vehicle-side encoder to fuse the features to be measured and the features of the associated area to obtain the features of the area to be measured in the bird's-eye view space, wherein the features to be measured are determined based on the information to be measured, and the features of the associated area are obtained by extracting features of the lane attributes of the associated area; The road perception information acquisition submodule is used to process the associated area features and the features of the area to be measured using the vehicle-side decoder based on the attention mechanism to obtain the road perception information.
19. The device according to claim 18, wherein The associated area lane attributes include the associated area lane position and the associated area lane type; The associated region features are determined based on the following operations: Extracting spatial features of lane attributes in the associated area to obtain associated spatial features; and Feature extraction is performed on the lane position and the lane type of the associated area to obtain associated lane position and type features, wherein the associated area features include the associated space features and the associated lane position and type features.
20. The device according to claim 19, wherein The feature acquisition submodule of the area to be measured includes: a spatial fusion feature obtaining unit, configured to fuse the feature to be measured and the associated lane spatial feature using a first attention network of the vehicle-side encoder to obtain a spatial fusion feature in a bird's-eye view space; The feature acquisition unit of the area to be measured is used to use the second attention network of the vehicle-side encoder to fuse the spatial fusion feature and the associated lane position and type feature to obtain the feature of the area to be measured.
21. The device according to any one of claims 18 to 20, wherein The road perception information acquisition submodule includes: A target fusion feature acquisition unit is used to process lane attribute query features, key features and value features using the vehicle-side decoder based on an attention mechanism to obtain target fusion features, wherein the key features and the value features are determined based on the features of the area to be measured and the spatial features of the associated lanes, the lane attribute query features are obtained by fine-tuning the vehicle-side perception model, and the road perception information is determined based on the target fusion features.
22. The device according to claim 21, wherein The vehicle-side decoder includes a topological relationship classification network; Wherein, the target fusion feature obtaining unit includes: an intermediate fusion feature obtaining subunit, configured to fuse the lane attribute query feature, the key feature, and the value feature based on an attention mechanism to obtain an intermediate fusion feature; a classification result obtaining subunit, configured to process the intermediate fusion features using the topological relationship classification network to obtain a classification result, wherein the classification result indicates whether there is a lane topological relationship between lanes in different areas of the target area; and The target fusion feature determination subunit is used to determine the target fusion feature based on the attention mechanism according to the classification result and the intermediate fusion feature.
23. The device according to claim 22, wherein The target fusion feature determination subunit is configured as follows: Based on the self-attention mechanism, the intermediate fusion features are fused using the self-attention weights determined according to the classification results to obtain the target fusion features.
24. The device according to any one of claims 17 to 20, wherein The road perception information includes at least one of the following: Regional lane lines, regional lane topology, and regional lane groups; The regional lane group represents the association relationship between at least two lanes in the target area.
25. The device according to any one of claims 17 to 20, wherein The information to be tested is multimodal information to be tested, and the multimodal information to be tested includes at least one of the following: The image and point cloud to be measured.
26. The apparatus according to claim 17, wherein The first acquisition module includes: A first acquisition submodule is configured to acquire first information to be tested, where the first information to be tested is collected by a vehicle-side sensor installed on the vehicle; and / or The second acquisition submodule is used to acquire second information to be tested, where the second information to be tested is collected by a vehicle-side sensor installed on another vehicle, where the other vehicle is different from the vehicle, and the information to be tested includes the first information to be tested and the second information to be tested.
27. A vehicle control device comprising: A vehicle control module, configured to control vehicle travel based on road perception information, wherein the road perception information is determined by an apparatus according to any one of claims 17 to 27.
28. A training device for a perception model, comprising: A second acquisition module is configured to acquire lane attributes of a sample association region and sample test information, wherein the sample test information represents a sample target region, the lane attributes of the sample association region correspond to the sample association region, and a preset similarity condition is satisfied between the sample association region and the sample target region; The training module is used to perform knowledge transfer training on the initial vehicle-side perception model based on the knowledge distillation mechanism, according to the lane attributes of the sample-associated area, the sample information to be tested, and the large model serving as a teacher model, to obtain a vehicle-side perception model, wherein the vehicle-side perception model is used to process the lane attributes of the associated area and the information to be tested collected by the vehicle-side sensor to obtain road perception information of the target area.
29. The apparatus according to claim 28, wherein The training module includes: a sample to-be-tested area feature acquisition submodule, configured to fuse the sample to-be-tested features and the sample associated area features using the vehicle-side encoder of the initial vehicle-side perception model to obtain the sample to-be-tested area features, wherein the sample to-be-tested features are determined based on the sample to-be-tested information, and the sample associated area features are obtained by extracting features of lane attributes in the sample associated area; a feature loss determination submodule, configured to determine feature loss based on the sample to-be-tested area features and the sample collaborative to-be-tested area features, wherein the sample collaborative to-be-tested area features are obtained by fusing the sample to-be-tested information and the lane attributes of the sample associated area using the large model; and A training submodule is used to train the initial vehicle-side perception model based on the feature loss.
30. The apparatus according to claim 29, wherein The sample-to-be-tested area feature is obtained by the following operations: Processing the sample information to be tested using the collaborative feature extraction network of the large model to obtain collaborative features of the sample to be tested; Using the target prompt information related to the large model, a network is constructed to process lane attributes of the sample associated area to obtain sample target prompt information; as well as The encoder of the large model is used to process the sample collaborative features to be measured and the sample target prompt information to obtain the sample collaborative area features to be measured.
31. The device according to claim 30, wherein The training module also includes: a sample association region feature acquisition submodule, configured to process lane attributes of the sample association region using the association feature extraction network of the initial vehicle-side perception model to obtain features of the sample association region; and The first feature loss obtaining submodule is used to determine the first feature loss based on the sample associated area feature and the sample target prompt information, wherein the feature loss includes the first feature loss and the second loss between the sample to-be-tested area feature and the sample collaborative to-be-tested area feature.
32. The device according to any one of claims 29 to 31, wherein The training submodule includes: A training unit, configured to train the initial vehicle-side perception model based on the feature loss and the road perception information loss; In which, the road perception information loss is determined based on sample road perception information and sample collaborative road perception information as a pseudo label. The sample road perception information is obtained by the initial vehicle-side perception model processing the lane attributes of the sample associated area and the sample information to be tested. The sample collaborative road perception information is obtained by the large model processing the lane attributes of the sample associated area and the sample information to be tested.
33. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 11.
34. An autonomous driving vehicle comprising: The electronic device as claimed in claim 33.
35. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 12 to 16.
36. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 16.
37. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 16.
Citation Information
Patent Citations
Vehicle control instruction generation method, device and equipment
CN115649184A
Multi-task joint sensing network model for traffic road pavement information and detection method
CN115797881A
Migration method and device of automatic driving perception model, equipment and medium
CN115907009A
Trajectory prediction method and device and electronic processing device
CN116071925A
Automatic driving model, training method and device and vehicle
CN116881707A
Cited By
Endogenous security network elastic evaluation and judgment method, system and device and storage medium
CN119249120A
