Automatic driving motion planning method, device and equipment based on visual language model

By using a context-adaptive reasoning gating mechanism and dynamic adjustment of the visual language model, the problem of imbalance between planning performance and cost of the visual language model in different scenarios is solved, thereby improving the safety and stability of autonomous driving motion planning.

CN120686811BActive Publication Date: 2026-11-27UNIV OF SCI & TECH OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510694737.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-28
Publication Date
2026-11-27
Estimated Expiration
2045-05-28

AI Technical Summary

Technical Problem

Existing autonomous driving motion planning solutions based on visual language models exhibit an imbalance between planning effectiveness and planning cost across different scenarios. In simple scenarios, excessive involvement of the visual language model leads to increased inference costs, while in complex scenarios, frequent involvement is required to improve planning effectiveness.

Method used

By using a context-adaptive inference gating mechanism, the inference interval of the visual language model is dynamically adjusted, the inference frequency of the visual language model is adjusted according to the complexity of the scene, and the hidden layer features are generated by combining map and multi-view image information. The motion trajectory is then generated by a real-time planner.

Benefits of technology

It achieves a balance between planning effectiveness and cost in different scenarios, improves the safety and stability of autonomous driving, reduces the inference frequency of visual language models, and enhances the accuracy and safety of motion planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120686811B_ABST
    Figure CN120686811B_ABST
Patent Text Reader

Abstract

The present disclosure belongs to the technical field of automatic driving, and particularly relates to an automatic driving motion planning method, device and equipment based on a visual language model. The method comprises the following steps: acquiring automatic driving task information and perception data, wherein the perception data comprises map data; determining a scene complexity based on the perception data; determining an inference interval of a visual language model based on the scene complexity, wherein the higher the scene complexity, the smaller the inference interval, and the lower the scene complexity, the larger the inference interval; processing the task information and the perception data by the visual language model according to the inference interval to generate hidden layer features; and processing the hidden layer features of the last layer and the map data by a real-time planner to generate an automatic driving motion trajectory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure belongs to the field of autonomous driving technology, specifically relating to an autonomous driving motion planning method, device, and equipment based on a visual language model. Background Technology

[0002] Autonomous driving motion planning refers to generating the trajectory of an autonomous vehicle (EV) over a future period based on perception data and task information from the EV and its surroundings. Currently, learning-based planners are the mainstream technology for autonomous driving motion planning. However, learning-based planners heavily rely on large-scale datasets for training and are limited in performance for long-tail scenarios.

[0003] Large language models can compensate for the aforementioned shortcomings of learning-based planners due to their superior capabilities in commonsense reasoning and cross-domain knowledge transfer. Therefore, some researchers have attempted to combine visual language models (a type of large language model with added image modalities) with real-time planners for autonomous driving motion planning.

[0004] Existing solutions typically utilize the preliminary inference results of a visual language model to guide a learning-based real-time planner in path planning, where the visual language model infers at fixed time intervals. However, this approach ignores the differences between various scenarios: in simple scenarios, a real-time planner can accurately complete trajectory planning, and excessive involvement of the visual language model actually increases inference costs; in complex scenarios, more frequent involvement of the visual language model is needed to improve planning performance. Summary of the Invention

[0005] This disclosure proposes an autonomous driving motion planning scheme based on a visual language model to address the problem that existing autonomous driving motion planning schemes based on visual language models suffer from imbalances in planning performance and cost across different scenarios due to the fixed time intervals at which the visual language model infers.

[0006] A first aspect of this disclosure provides an autonomous driving motion planning method based on a visual language model, comprising:

[0007] Acquire autonomous driving task information and perception data, wherein the perception data includes map data;

[0008] The scene complexity is determined based on the perceived data;

[0009] The inference interval of the visual language model is determined based on the scene complexity, wherein the higher the scene complexity, the smaller the inference interval, and the lower the scene complexity, the larger the inference interval.

[0010] According to the inference interval, the visual language model processes the task information and the perceptual data to generate hidden layer features;

[0011] The real-time planner processes the hidden layer features and map data of the last layer to generate an autonomous driving trajectory.

[0012] In some embodiments of this disclosure, the task information includes at least system information and navigation instructions, wherein the system information is used to prompt the visual language model about its current environment and the task to be performed, and the navigation instructions are used to prompt the visual language model about the specific driving instructions to be performed;

[0013] The perception data includes at least state data, map data, and real-time multi-view image data. The state data includes the current and historical state data of the vehicle and the current and historical state data of other vehicles and pedestrians around the vehicle. Specifically, the current and historical state data of the vehicle includes its current and historical position, orientation, speed, and acceleration. The current and historical state data of the vehicles and pedestrians specifically includes their current and historical positions, orientations, speeds, and accelerations. The map data includes lane data and pedestrian crossing data around the vehicle. The lane data includes the position and orientation of the lanes, and the pedestrian crossing data includes the position and orientation of the pedestrian crossings. The real-time multi-view image data is acquired by multiple cameras installed on the vehicle.

[0014] In some embodiments of this disclosure, determining the scene complexity based on the task information and the perception data includes:

[0015] The real-time multi-view image information is input into a complexity decision network, which outputs a scene complexity classification. The complexity decision network is a sequence classification network based on EfficentNet; and / or

[0016] The complexity factors in the map data are determined, each complexity factor is scored based on preset rules, and the complexity of the scene is classified based on the aggregated scores.

[0017] In some embodiments of this disclosure, determining the inference interval of the visual language model based on the scene complexity includes:

[0018] The inference interval is predefined into N levels, where N is the number of different levels of scene complexity.

[0019] If the scene complexity level is i, then the inference interval of the visual language model is determined to be the predefined level i, where i is a natural number and 0 < i ≤ N.

[0020] In some embodiments of this disclosure, before the visual language model processes the task information and the perceptual data to generate hidden layer features, it further includes:

[0021] The map data is input into VectorMapEncoder to extract map features;

[0022] Image features with 3D information are generated based on the real-time multi-view image data;

[0023] The map features and the image features with 3D information are aligned to the feature dimensions of the visual language model using a multilayer perceptron.

[0024] In some embodiments of this disclosure, generating image features with 3D information based on the real-time multi-view image information includes:

[0025] The real-time multi-view image information is input into the CLIP model to extract image features. A 3D query vector is obtained through a linear layer using learnable reference points. Based on the 3D query vector and the image features, the image features with 3D information are obtained through a transformer structure.

[0026] In some embodiments of this disclosure, the visual language model processes the task information and the perceptual data to generate hidden layer features, including:

[0027] The map features, the image features with 3D information, the system information, and the navigation instructions are summarized and input into the visual language model to generate the hidden layer features.

[0028] In some embodiments of this disclosure, the real-time planner processes the hidden layer features of the last layer and the map data to generate an autonomous driving trajectory, including:

[0029] The real-time planner takes the hidden layer features of the last most recently generated layer of the visual language model and the map encoding based on the map data as input to generate an autonomous driving trajectory.

[0030] A second aspect of this disclosure provides an autonomous driving motion planning device based on a visual language model, comprising:

[0031] An acquisition module is used to acquire autonomous driving task information and perception data, wherein the perception data includes map data;

[0032] The first determining module is used to determine the scene complexity based on the perceived data;

[0033] The second determining module is used to determine the inference interval of the visual language model based on the scene complexity, wherein the higher the scene complexity, the smaller the inference interval, and the lower the scene complexity, the larger the inference interval.

[0034] The first inference module is used to process the task information and the perceptual data by the visual language model according to the inference interval, and generate hidden layer features;

[0035] The second inference module is used by the real-time planner to process the hidden layer features and map data of the last layer to generate an autonomous driving trajectory.

[0036] A third aspect of this disclosure provides an autonomous driving motion planning device based on a visual language model, including a memory and a processor:

[0037] The memory is used to store computer programs;

[0038] The processor is configured to, when executing the computer program, implement the autonomous driving motion planning method based on a visual language model according to any one of claims 1-8.

[0039] In summary, the autonomous driving motion planning method, apparatus, and device based on a visual language model provided in the embodiments of this disclosure mimic human driving behavior and, through a separate context-adaptive inference gating mechanism, dynamically adjust the inference interval of the visual language model to achieve a balance between planning effectiveness and planning cost. For example, in simple scenarios, the inference frequency of the visual language model is dynamically reduced to reduce planning costs, until only a real-time planner is used for inference; in complex scenarios, the inference frequency of the visual language model is increased to achieve better planning results. Simultaneously, during the inference process, map information is encoded using a dedicated encoder and then input into the visual language model to solve the accuracy problem. Multi-view image information is also encoded and input into the visual language model to understand more key information in the driving scenario, improving the safety and stability of motion planning. In the image information encoding process, image features are processed based on 3D reference points before being input into the visual language model, thereby reducing the number of image tags input to the visual language model and gaining 3D understanding capabilities to further enhance safety. Attached Figure Description

[0040] The features and advantages of this disclosure will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the scope of this disclosure in any way.

[0041] Figure 1 This is a schematic diagram of a computer system to which this disclosure applies;

[0042] Figure 2 This is an autonomous driving motion planning framework shown according to some embodiments of the present disclosure;

[0043] Figure 3 This is a flowchart illustrating an autonomous driving motion planning method based on a visual language model, according to some embodiments of this disclosure;

[0044] Figure 4 This is a specific process for autonomous driving motion planning in some embodiments of this disclosure;

[0045] Figure 5 This is a schematic diagram of an autonomous driving motion planning device based on a visual language model, according to some embodiments of the present disclosure;

[0046] Figure 6 This is a schematic diagram of an autonomous driving motion planning device based on a visual language model, according to some embodiments of the present disclosure. Detailed Implementation

[0047] In the following detailed description, numerous specific details of this disclosure are set forth by way of example in order to provide a thorough understanding of the relevant disclosure. However, it will be apparent to those skilled in the art that this disclosure may be practiced without these details. It should be understood that the terms “system,” “apparatus,” “unit,” and / or “module” used in this disclosure are a method of distinguishing different parts, elements, sections, or components at different levels in a sequential arrangement. However, these terms may be replaced by other expressions if they can achieve the same purpose.

[0048] It should be understood that when a device, unit, or module is referred to as being "on," "connected to," or "coupled to" another device, unit, or module, it may be directly connected to or coupled to, or communicate with, other devices, units, or modules, or there may be intermediate devices, units, or modules present, unless the context explicitly indicates otherwise. For example, the term "and / or" as used in this disclosure includes any one and all combinations of one or more of the associated listed items.

[0049] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to limit the scope of this disclosure. As shown in this specification and claims, unless the context clearly indicates otherwise, words such as "a," "an," "an," and / or "the" do not specifically refer to the singular and may include the plural. Generally speaking, the terms "comprising" and "including" only indicate the inclusion of explicitly identified features, integrals, steps, operations, elements, and / or components, and such expressions do not constitute an exclusive list, in which other features, integrals, steps, operations, elements, and / or components may also be included.

[0050] Referring to the following description and accompanying drawings, these and other features and characteristics, operating methods, functions of related structural elements, combinations of parts, and economics of manufacture of this disclosure can be better understood, wherein the description and drawings form part of the specification. However, it is clearly understood that the drawings are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this disclosure. It is understood that the drawings are not drawn to scale.

[0051] Various structural diagrams are used in this disclosure to illustrate various variations of embodiments according to this disclosure. It should be understood that the preceding or following structures are not intended to limit this disclosure. The scope of protection of this disclosure is defined by the claims.

[0052] Figure 1 This is a schematic diagram of a computer system applicable to this disclosure. Figure 1 The computer system shown includes a planning server that is connected to sensors, a task server, and an autonomous vehicle (hereinafter referred to as the vehicle) via data connections. The task server receives user requests and generates autonomous driving task information. The sensors acquire perception data of the vehicle and the environment. Based on the autonomous driving task information and the perception data, the planning server generates an autonomous driving trajectory and sends it to the vehicle for execution.

[0053] The autonomous driving task information includes system information and navigation instructions. The system information is used to indicate the current environment and the task to be performed, and the navigation instructions are used to indicate the specific driving instructions to be performed. The autonomous driving task information can be obtained by the task server in a preset manner, or obtained from passengers in the vehicle, such as by passengers through voice input or other human-computer interaction.

[0054] The sensors can be vehicle sensors, such as cameras and lidar, or roadside sensors or sensors placed in other locations. The perception data acquired by the sensors includes at least state data, map data, and real-time multi-view image data. The state data includes the current and historical state data of the vehicle and the current and historical state data of other vehicles and pedestrians around the vehicle. The current and historical state data of the vehicle specifically includes the vehicle's current and historical position, orientation, speed, and acceleration. The current and historical state data of vehicles and pedestrians specifically includes the current and historical position, orientation, speed, and acceleration of vehicles and pedestrians. The map data includes lane data and pedestrian crossing data around the vehicle. The lane data includes the position and orientation of the lanes, and the pedestrian crossing data includes the position and orientation of the pedestrian crossings. The real-time multi-view image data is acquired by multiple cameras installed on the vehicle.

[0055] The planning server is deployed with a visual language model and a real-time planner. The visual language model is a large language model with added image modalities. It can perform common-sense reasoning based on input images and text, but this reasoning process has a long latency and high cost. The real-time planner can generate autonomous driving trajectories based on input with very low latency and low reasoning cost. Any learning-based real-time planner is suitable for this disclosure. The task server and planning server can be any type of standalone, clustered, or distributed server. In particular, the task server can be a functional module of the planning server, which can be deployed inside the vehicle.

[0056] Currently, learning-based real-time planners are the mainstream technology for autonomous driving motion planning. However, these planners heavily rely on large-scale datasets for training and are limited in performance for long-tailed scenarios. Recent advances in large language models have demonstrated their superior capabilities in commonsense reasoning and cross-domain knowledge transfer. Through instruction fine-tuning, large language models can build a fundamental understanding of traffic rules, driving scenarios, and behavioral patterns, thereby enabling more insightful and context-aware planning in complex driving environments. These advantages make large language model-based autonomous driving motion planning a highly promising solution.

[0057] However, the limitation of large language models, which can only accept language as input, presents a challenge. Directly integrating map information surrounding the vehicle and other vehicle and pedestrian information into structured text before inputting it into the large language model and outputting the trajectory plan as text will result in an input length constraint. Integrating all information into text leads to an excessively long input, and inputting lane, vehicle, and pedestrian information via text also introduces accuracy issues. Furthermore, large language models are autoregressive models, making their inference process very slow; however, autonomous driving motion planning is a latency-sensitive task. All of these factors make the practical application of autonomous driving motion planning schemes based on large language models extremely difficult.

[0058] Visual language models, as large language models with added image modalities, can perform reasoning using map information as input. However, relying solely on map information as input can overlook many crucial details, leading to safety issues during driving. Furthermore, autonomous driving motion planning based on visual language models also faces high latency problems. Therefore, current solutions employ a two-stage motion planning approach, utilizing both a large language model and a real-time planner. The hidden layer features of the large language model guide the real-time planner, and a strategy of inferring from the large language model at fixed time intervals mitigates the real-time performance issue.

[0059] However, this approach ignores the differences between different scenarios: simple scenarios can accurately complete trajectory planning using only a real-time planner, and excessive involvement of the visual language model leads to increased inference costs; complex scenarios require more frequent guidance from a large language model to improve inference performance.

[0060] In view of this, this disclosure proposes an autonomous driving motion planning framework that combines a visual language model and a learning-based real-time planner for collaborative planning, such as... Figure 2 As shown, the framework determines the complexity of the current driving scenario based on the context-adaptive gating inference module, and adjusts the inference interval of the visual language model accordingly to achieve a balance between planning effectiveness and planning cost. For example, in simple scenarios, the inference frequency of the visual language model is dynamically reduced to reduce planning cost, until only the real-time planner is used for inference. In complex scenarios, the inference frequency of the visual language model is increased to achieve better planning results.

[0061] Figure 3 This is a flowchart illustrating an autonomous driving motion planning method based on a visual language model, according to some embodiments of this disclosure. In some embodiments, the autonomous driving motion planning method based on a visual language model is... Figure 1 The planning server shown executes the method, which includes the following steps:

[0062] S310, acquire autonomous driving task information and perception data, wherein the perception data includes map data.

[0063] First, perception data is collected from the vehicle's sensors and upstream perception tasks. Specifically, the collected data includes:

[0064] Status data: Current and historical status information of the vehicle (position, orientation, speed, acceleration, etc.) ego S, current and historical status information of other vehicles and pedestrians around the vehicle. neighbor ;

[0065] Map data: Lane information around the vehicle (location, orientation, etc.) M lane Information on pedestrian crossings around vehicles (M) crosswalk ;

[0066] Image data: Real-time multi-view image information from cameras installed on the vehicle.

[0067] Simultaneously, system information and navigation information are acquired from plain text. The system information mainly informs the visual language model of its current environment and the task to be performed, while the navigation instructions provide the visual language model with specific driving instructions, such as "go straight for 100.9m".

[0068] S320, determine the scene complexity based on the perceived data.

[0069] S330, determine the inference interval of the visual language model based on the scene complexity, wherein the higher the scene complexity, the smaller the inference interval, and the lower the scene complexity, the larger the inference interval.

[0070] Visual language models are used to mimic human driving behavior and improve the interpretability, controllability, and generalization ability of autonomous driving. However, due to their autoregressive nature and model size, visual language models are significantly slower than real-time planners in inference, making them difficult to directly apply in real-world scenarios. Observations of human driving behavior show that humans do not maintain full concentration in all driving scenarios. Instead, they allocate more attention to more complex scenarios, such as those with many surrounding vehicles or moving objects. In other words, humans dynamically allocate their attention based on the complexity of the scene.

[0071] In view of this, this disclosure presents a context-adaptive inference gating mechanism, which dynamically adjusts the inference interval of the visual language model by judging the complexity of the current driving scenario. The decoupling design of the visual language model from the real-time planner makes this mechanism possible. This disclosure designs two context-adaptive inference gating mechanisms, and experimental results demonstrate that both designs can effectively adjust the inference interval of the visual language model, achieving a balance between performance and computational efficiency for the entire system.

[0072] Learning-based context-adaptive inference gating:

[0073] One direct way to determine the complexity of a scene is to use a small network with fast inference (inference time can be negligible) to quickly make the determination. This disclosure presents a sequence classification network based on EfficientNet, which takes multi-view images of a car as input and outputs a level of scene complexity (divided into 5 levels).

[0074] Rule-based context-adaptive reasoning gating:

[0075] Another way to determine the complexity of a scene is to use the input map information and judge the complexity according to certain rules. First, define the factors that determine the scene complexity: the number of other vehicles and pedestrians around the vehicle, the distance to the nearest other vehicle and pedestrian, the vehicle's current speed and acceleration, the number of lanes and crosswalks around the vehicle, and the distance of the vehicle from intersections or places where a turn is needed. Collect this data and score each item separately, then summarize all scores and classify the scene complexity into five levels based on the scores. Specifically, we score each dependency factor j as S.j >0 (out of 5, with higher scores indicating more complex scenarios), thus obtaining the scenario complexity level i (1-5, with level 1 being the most complex). In some embodiments of this disclosure:

[0076]

[0077] Determining the inference interval of a visual language model based on scene complexity:

[0078] Some embodiments of this disclosure control the inference frequency of the visual language model by adjusting the inference interval C between the visual language model and the real-time planner, i.e., the real-time planner infers C times, and the visual language model infers once.

[0079] Specifically, in some embodiments of this disclosure, the complexity of the scene is determined to be level 1-5 (level 1 being the most complex) based on the aforementioned method, and the inference interval of the visual language model is predefined as {C1, C2, C3, C4, C5} (where C1 < C2 < C3 < C4 < C5). In actual operation, when the complexity of the current scene is determined to be level i, the inference interval C of the visual language model is adjusted to Ci. i For the detailed reasoning process, please refer to... Figure 4 .

[0080] S340, according to the inference interval, the visual language model processes the task information and the perceptual data to generate hidden layer features.

[0081] When performing reasoning based on a visual language model, the domain-specific encoder VectorMapEncoder and CLIP model are first used to encode map information and multi-view image information, respectively. Simultaneously, to reduce the number of labels input to the visual language model and to enable the model to gain 3D understanding capabilities, a 3D perception module similar to QFormer is used to upsample image features into 3D space. This allows for the acquisition of map features. and image features

[0082]

[0083] In some embodiments of this disclosure, upscaling image features into 3D space includes:

[0084] Real-time multi-view image information (I) is input into the CLIP model to extract image features. A 3D query vector is obtained through linear layers using learnable reference points. Based on the 3D query vector and image features, image features with 3D information are obtained through a transformer structure.

[0085] Then, in order to align the map encoding and image encoding to the feature dimensions of the visual language model, two MLP (Multilayer Perceptron) MapAdapter and ImgAdapter are used to align the features respectively.

[0086]

[0087] Finally, the aligned map and image codes, along with system information and navigation instructions, are summarized and input into the visual language model for inference.

[0088] S350, the real-time planner processes the hidden layer features and map data of the last layer to generate an autonomous driving trajectory.

[0089] The visual language model receives and processes the above information. This disclosure is based on the features of the last hidden layer output by the visual language model. Guide the real-time planner in planning motion for autonomous driving.

[0090] First, the features of the last hidden layer need to be projected onto the feature dimensions of the real-time planner. Some embodiments of this disclosure use an MLP layer FeatureAdapter for feature dimension alignment. Only the last feature is used:

[0091]

[0092] Any learning-based real-time planner can be applied to the framework proposed in this disclosure. Since the input to the real-time planner only includes map encoding, it needs to be extended by adding hidden layer features from a visual language model as input to guide the real-time planner in trajectory planning. Specifically, the decoding layer of the real-time planner needs to be modified; the original decoding layer is:

[0093]

[0094] Some embodiments of this disclosure effectively combine hidden layer features of a visual language model with map encoding through adaptive, learnable gating:

[0095]

[0096] Where MultiHeadAttn refers to the multi-head attention mechanism, g is the value of the adaptive gating, Q represents the query in the original decoding layer, and K... i V i Let s represent the key and key value of the hidden layer features, respectively. l s l+1 These represent the feature codes of the l-th and (l+1)-th decoding layers, respectively.

[0097] When the visual language model does not require inference, the nearest hidden layer features are used directly to guide the real-time planner.

[0098] An embodiment of this disclosure will Figure 3 The method described in S310-S350 (hereinafter referred to as "this method") was compared with other autonomous driving motion planning methods on the autonomous driving planning dataset and benchmark platform nuPlan. The comparison tests included open-loop performance testing, non-reactive closed-loop performance testing, and reactive closed-loop performance testing.

[0099] Since the test requires multi-view images as input, the standard nuPlan loop closure test cannot meet the requirements. Therefore, the loop closure test settings were modified to predict the trajectory only once in the first frame, and then follow the trajectory predicted in the first frame in subsequent frames. To evaluate the model's performance in long-tailed scenarios, the advanced traditional motion planning algorithm PDM was first tested on the test set, and some of the poorly performing scenarios were randomly selected as the test set. The test results are shown in Table 1.

[0100] method Open-loop test score Non-reactive closed-loop test score Reactive closed-loop test score PDM 58.21 33.84 42.16 PLUTO 57.21 58.76 48.87 PlanTF 78.86 75.09 61.57 DTPP 59.71 74.89 61.29 GameFormer 76.22 52.75 64.51 AsyncDriver 75.24 75.82 54.26 This method 79.12 76.35 66.66

[0101] Table 1: Comparative test of autonomous driving motion planning methods on the nuPlan dataset.

[0102] As shown in Table 1, the proposed method achieved the best performance in all three tests: open-loop test, non-reactive closed-loop test, and reactive closed-loop test, demonstrating the superiority of the autonomous driving motion planning framework based on the visual language model.

[0103] Figure 5 This is a schematic diagram of an autonomous driving motion planning device based on a visual language model, according to some embodiments of the present disclosure. Figure 5 As shown, the autonomous driving motion planning device 500 based on a visual language model includes an acquisition module 510, a first determination module 520, a second determination module 530, a first inference module 540, and a second inference module 550. In some embodiments of this disclosure, the autonomous driving motion planning function based on a visual language model is... Figure 1 The planning server shown executes the following:

[0104] The acquisition module 510 is used to acquire autonomous driving task information and perception data, wherein the perception data includes map data;

[0105] The first determining module 520 is used to determine the scene complexity based on the perceived data;

[0106] The second determining module 530 is used to determine the inference interval of the visual language model based on the scene complexity, wherein the higher the scene complexity, the smaller the inference interval, and the lower the scene complexity, the larger the inference interval.

[0107] The first inference module 540 is used to process the task information and the perceptual data by the visual language model according to the inference interval, and generate hidden layer features;

[0108] The second inference module 550 is used by the real-time planner to process the hidden layer features and map data of the last layer to generate an autonomous driving trajectory.

[0109] Figure 6 This is a schematic diagram of an autonomous driving motion planning device based on a visual language model, according to some embodiments of this disclosure. Figure 6 As shown, the autonomous driving motion planning device 600 based on a visual language model includes a memory 620 and a processor 610. The memory 620 is used to store computer programs; the processor 610 is used to implement... Figure 3 The autonomous driving motion planning method based on visual language model described in S310-S350.

[0110] In summary, the autonomous driving motion planning method, apparatus, and device based on a visual language model provided in the embodiments of this disclosure mimic human driving behavior and, through a separate context-adaptive inference gating mechanism, dynamically adjust the inference interval of the visual language model to achieve a balance between planning effectiveness and planning cost. For example, in simple scenarios, the inference frequency of the visual language model is dynamically reduced to reduce planning costs, until only a real-time planner is used for inference; in complex scenarios, the inference frequency of the visual language model is increased to achieve better planning results. Simultaneously, during the inference process, map information is encoded using a dedicated encoder and then input into the visual language model to solve the accuracy problem. Multi-view image information is also encoded and input into the visual language model to understand more key information in the driving scenario, improving the safety and stability of motion planning. In the image information encoding process, image features are processed based on 3D reference points before being input into the visual language model, thereby reducing the number of image tags input to the visual language model and gaining 3D understanding capabilities to further enhance safety.

[0111] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the devices and modules described above can be referred to the corresponding descriptions in the foregoing device embodiments, and will not be repeated here.

[0112] Although the subject matter described herein is provided in the general context of execution on a computer system in conjunction with an operating system and applications, those skilled in the art will recognize that other implementations can also be executed in conjunction with other types of program modules. Generally, program modules include routines, programs, components, data structures, and other types of structures that perform specific tasks or implement specific abstract data types. Those skilled in the art will understand that the subject matter described herein can be practiced using other computer system configurations, including handheld devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframes, etc., and can also be used in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In a distributed computing environment, program modules may reside on both local and remote memory storage devices.

[0113] Those skilled in the art will recognize that the units and method steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.

[0114] It should be understood that the specific embodiments described above are merely illustrative or explanatory of the principles of this disclosure and do not constitute a limitation thereof. Therefore, any modifications, equivalent substitutions, improvements, etc., made without departing from the spirit and scope of this disclosure should be included within the protection scope of this disclosure. Furthermore, the appended claims are intended to cover all variations and modifications falling within the scope and boundaries of the appended claims, or equivalent forms of such scope and boundaries.

Claims

1. An autonomous driving motion planning method based on a visual language model, characterized in that, include: Acquire autonomous driving task information and perception data, wherein the perception data includes map data; The scene complexity is determined based on the perceived data; The inference interval of the visual language model is determined based on the scene complexity, wherein the higher the scene complexity, the smaller the inference interval, and the lower the scene complexity, the larger the inference interval. According to the inference interval, the visual language model processes the task information and the perceptual data to generate hidden layer features; The real-time planner processes the hidden layer features output from the last layer of the visual language model and the map data to generate an autonomous driving trajectory; The task information includes at least system information and navigation instructions, wherein the system information is used to prompt the visual language model about the current environment and the task to be performed, and the navigation instructions are used to prompt the visual language model about the specific driving instructions to be performed. The perception data includes at least state data, map data, and real-time multi-view image data. The state data includes the current and historical state data of the vehicle and the current and historical state data of other vehicles and pedestrians around the vehicle. Specifically, the current and historical state data of the vehicle includes its current and historical position, orientation, speed, and acceleration. The current and historical state data of the vehicles and pedestrians specifically includes their current and historical positions, orientations, speeds, and accelerations. The map data includes lane data and pedestrian crossing data around the vehicle. The lane data includes the position and orientation of the lanes, and the pedestrian crossing data includes the position and orientation of the pedestrian crossings. The real-time multi-view image data is acquired by multiple cameras installed on the vehicle. Determining scene complexity based on the task information and the perception data includes: The real-time multi-view image data is input into a complexity decision network, which outputs a scene complexity ranking. The complexity decision network is a sequence classification network based on EfficentNet; and / or Determine the complexity-dependent factors in the map data, score each complexity-dependent factor based on preset rules, and classify the scene complexity based on the aggregated scores. The determination of the inference interval of the visual language model based on the scene complexity includes: The inference interval is predefined into N levels, where N is the number of different levels of scene complexity. If the scene complexity level is i, then the inference interval of the visual language model is determined to be a predefined level i, where i is a natural number, and ; The real-time planner processes the hidden layer features output from the last layer of the visual language model and the map data to generate an autonomous driving trajectory, including: The real-time planner takes the hidden layer features of the last layer output of the visual language model (most recently generated) and the map encoding based on the map data as input to generate an autonomous driving trajectory.

2. The method according to claim 1, characterized in that, Before the visual language model processes the task information and the perceptual data to generate hidden layer features, it also includes: Input the map data To extract map features; Image features with 3D information are generated based on the real-time multi-view image data; The map features and the image features with 3D information are aligned to the feature dimensions of the visual language model using a multilayer perceptron.

3. The method according to claim 2, characterized in that, The image features with 3D information generated based on the real-time multi-view image data include: Input the real-time multi-view image data The model extracts image features, obtains a 3D query vector through a linear layer using learnable reference points, and obtains the image features with 3D information through a transformer structure based on the 3D query vector and the image features.

4. The method according to claim 2, characterized in that, The visual language model processes the task information and the perceptual data to generate hidden layer features, including: The map features, the image features with 3D information, the system information, and the navigation instructions are summarized and input into the visual language model to generate the hidden layer features.

5. An autonomous driving motion planning device based on a visual language model, characterized in that, include: An acquisition module is used to acquire autonomous driving task information and perception data, wherein the perception data includes map data; The first determining module is used to determine the scene complexity based on the perceived data; The second determining module is used to determine the inference interval of the visual language model based on the scene complexity, wherein the higher the scene complexity, the smaller the inference interval, and the lower the scene complexity, the larger the inference interval. The first inference module is used to process the task information and the perceptual data by the visual language model according to the inference interval, and generate hidden layer features; The second inference module is used by the real-time planner to process the hidden layer features output from the last layer of the visual language model and the map data to generate an autonomous driving trajectory; The task information includes at least system information and navigation instructions, wherein the system information is used to prompt the visual language model about the current environment and the task to be performed, and the navigation instructions are used to prompt the visual language model about the specific driving instructions to be performed. The perception data includes at least state data, map data, and real-time multi-view image data. The state data includes the current and historical state data of the vehicle and the current and historical state data of other vehicles and pedestrians around the vehicle. Specifically, the current and historical state data of the vehicle includes its current and historical position, orientation, speed, and acceleration. The current and historical state data of the vehicles and pedestrians specifically includes their current and historical positions, orientations, speeds, and accelerations. The map data includes lane data and pedestrian crossing data around the vehicle. The lane data includes the position and orientation of the lanes, and the pedestrian crossing data includes the position and orientation of the pedestrian crossings. The real-time multi-view image data is acquired by multiple cameras installed on the vehicle. Determining scene complexity based on the task information and the perception data includes: The real-time multi-view image data is input into a complexity decision network, which outputs a scene complexity ranking. The complexity decision network is a sequence classification network based on EfficentNet; and / or Determine the complexity-dependent factors in the map data, score each complexity-dependent factor based on preset rules, and classify the scene complexity based on the aggregated scores. The determination of the inference interval of the visual language model based on the scene complexity includes: The inference interval is predefined into N levels, where N is the number of different levels of scene complexity. If the scene complexity level is i, then the inference interval of the visual language model is determined to be a predefined level i, where i is a natural number, and ; The real-time planner processes the hidden layer features output from the last layer of the visual language model and the map data to generate an autonomous driving trajectory, including: The real-time planner takes the hidden layer features of the last layer output of the visual language model (most recently generated) and the map encoding based on the map data as input to generate an autonomous driving trajectory.

6. An autonomous driving motion planning device based on a visual language model, characterized in that, Including memory and processor: The memory is used to store computer programs; The processor is configured to, when executing the computer program, implement the autonomous driving motion planning method based on a visual language model according to any one of claims 1-4.

Citation Information

Patent Citations

  • End-to-end motion planning method and system based on visual semantic segmentation and trajectory guidance

    CN118411388A

  • Automatic driving planning method based on visual language large model and related equipment

    CN119514716A