A vehicle automatic driving method, system, computer device and medium
By adopting an asynchronous collaborative architecture of deep inference decision-maker and decision prior guidance executor, combined with a time weight modulation mechanism, the problems of decision interpretability and real-time performance of autonomous driving systems in extreme scenarios are solved, and efficient and reliable autonomous driving decision-making is achieved.
Patent Information
- Application Number
- CN202611683800.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-27
AI Technical Summary
Existing autonomous driving systems have unsatisfactory interpretability and reliability in handling extreme scenarios, and the high computational latency caused by the autoregressive inference mechanism of large language models (LLM) makes it difficult to meet the real-time requirements of autonomous driving systems.
An asynchronous collaborative architecture of deep reasoning decision maker and decision prior guidance executor is adopted, which combines a multimodal large language model and a planning-oriented model. The decision information is processed through a time weight modulation mechanism to ensure the real-time nature and interpretability of the decision.
It enables efficient and reliable decision-making for autonomous driving systems in extreme scenarios, meets the real-time requirements of autonomous driving, and improves the overall operating efficiency and safety of the system.
Smart Images

Figure CN123169959A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of autonomous driving, and specifically relates to a method, system, computer equipment and medium for autonomous driving of vehicles. Background Technology
[0002] Traditional planning-oriented autonomous driving systems employ an end-to-end deep learning architecture to uniformly optimize perception and planning tasks, generating high-precision control signals in typical scenarios. However, these systems rely entirely on driving experience covered by training data, and the interpretability and reliability of decisions in real-world driving situations, particularly in numerous extreme scenarios, are less than ideal.
[0003] To address the aforementioned shortcomings, existing technologies employ LLM-driven autonomous driving systems, which leverage the common-sense reasoning and generalization capabilities of large language models to handle complex scenarios and provide interpretable decision-making logic, offering a feasible path to solve extreme scenario challenges and interpretability issues.
[0004] However, the inherent autoregressive inference mechanism of LLM determines that the computational delay has structural rigidity, and the time for a single inference is usually as high as hundreds of milliseconds or even seconds. Meanwhile, autonomous driving systems require the single control cycle of the control signal to be less than or equal to 50ms, resulting in poor real-time performance of existing LLM-driven autonomous driving systems, making it difficult to meet the millisecond-level response requirements of autonomous driving systems. Summary of the Invention
[0005] To address the problem of poor real-time performance in existing autonomous driving systems, this invention provides a vehicle autonomous driving method, system, computer equipment, and medium.
[0006] To achieve the above objectives, the present invention provides the following technical solution: An autonomous driving method for vehicles includes: Obtain a text description of the vehicle's previous action, a text description of the vehicle's current driving status, and an image of the vehicle's surrounding environment. Based on the images of the vehicle's surrounding environment, the text description of the actions at the previous moment, and the text description of the vehicle's driving status at the current moment, deep thinking chain reasoning is performed to obtain trajectory decisions and driving logic. The time weight is determined based on the time interval between the trajectory decision generation time frame and the current time frame, where the time weight is inversely proportional to the time interval; initial logic text features are extracted from the driving logic, and the initial logic text features are weighted and modulated according to the time weight to obtain the adapted driving logic; initial trajectory decision features are extracted from the trajectory decision, and the initial trajectory decision features are weighted and modulated according to the time weight to obtain the adapted decision features; Based on the vehicle's surrounding environment image, the adapted driving logic, and the adapted decision characteristics, the control signal of the vehicle at the current moment is determined.
[0007] Optionally, the autonomous driving method for vehicles provided by the present invention further includes: Based on the preset scene understanding prompts, a description of the vehicle's driving scene is constructed from images of the vehicle's surrounding environment; A potential hazard assessment is conducted based on the driving scenario description, the text description of the actions at the previous moment, and the text description of the vehicle's driving status at the current moment, to obtain the potential hazard assessment result. The driver's line of sight is simulated based on the driving scenario description, the text description of the action at the previous moment, and the text description of the vehicle's driving status at the current moment, and the driver's line of sight inference results are obtained. Traffic rule retrieval is performed based on the driving scenario description, the text description of the action at the previous moment, and the text description of the vehicle's driving status at the current moment, to obtain the traffic rule retrieval inference results; The driving logic is obtained by integrating the driving scenario description, potential hazard assessment results, driver line-of-sight reasoning results, and traffic rule retrieval reasoning results.
[0008] Optionally, the autonomous driving method for vehicles provided by the present invention further includes: Based on the driving logic, the optimal trajectory direction is selected from multiple pre-clustered representative trajectory directions, and the optimal action is selected from multiple pre-set control actions; The optimal trajectory direction is used as the lateral control decision, and the optimal action is used as the longitudinal control decision to obtain the trajectory decision.
[0009] Optionally, the autonomous driving method for vehicles provided by the present invention further includes: Traverse the trajectory decision, truncate the vehicle's current location and previous trajectory points to obtain the valid trajectory; Initial trajectory decision features are extracted from valid trajectories, and weighted modulation is applied to the initial trajectory decision features according to time weights to obtain adapted decision features.
[0010] Optionally, the autonomous driving method for vehicles provided by the present invention further includes: Extract visual feature maps from images of the vehicle's surrounding environment; Based on the cross-attention mechanism, the adapted driving logic is integrated into the visual feature map to obtain the enhanced visual feature map. Based on the enhanced visual feature map, predict the motion trajectory of objects around the vehicle to obtain the motion prediction result of the surrounding objects. The control signal for the vehicle at the current moment is determined based on the motion prediction results of surrounding objects, the enhanced visual feature map, and the adapted decision features.
[0011] Optionally, the autonomous driving method for vehicles provided by the present invention further includes: Based on the enhanced visual feature map, target tracking is performed on the surrounding objects corresponding to the potential hazard assessment results to obtain the spatial position and motion state of the surrounding objects. Construct lanes, sidewalks, and drivable areas around the vehicle based on the enhanced visual feature map; The motion prediction results of surrounding objects are determined based on their spatial location and motion state, as well as the lanes, sidewalks, and drivable areas around the vehicle.
[0012] Optionally, DME-Driver++ also includes a control execution module. The vehicle autonomous driving method provided by this invention further includes: The deviation between the driving logic and the planned trajectory corresponding to the control signal of the vehicle at the current moment is judged. When the deviation is greater than the preset value, the trajectory decision is regenerated based on the image of the vehicle's surrounding environment, the text description of the action at the previous moment, and the text description of the vehicle's driving status at the current moment.
[0013] The present invention also provides a vehicle autonomous driving system, comprising: The data acquisition module is used to obtain text descriptions of the vehicle's actions at the previous moment, text descriptions of the current vehicle driving status, and images of the vehicle's surrounding environment. The trajectory reasoning and decision-making module is used to perform deep thought chain reasoning based on the vehicle's surrounding environment image, the text description of the action at the previous moment, and the text description of the vehicle's driving status at the current moment, to obtain trajectory decisions and driving logic. The time interval modulation module is used to determine the time weight based on the time interval between the generation time frame of the trajectory decision and the current time frame, wherein the time weight is inversely proportional to the time interval; it extracts the initial logic text features from the driving logic, and modulates the initial logic text features according to the time weight to obtain the adapted driving logic; it extracts the initial trajectory decision features from the trajectory decision, and modulates the initial trajectory decision features according to the time weight to obtain the adapted decision features; The control signal generation module is used to determine the vehicle's control signal at the current moment based on the vehicle's surrounding environment image, the adapted driving logic, and the adapted decision characteristics.
[0014] The present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement any of the steps in a vehicle autonomous driving method.
[0015] The present invention also provides a computer-readable storage medium storing a computer program that, when loaded by a processor, can execute any step of a vehicle autonomous driving method.
[0016] The vehicle autonomous driving method provided by this invention has the following beneficial effects: This invention constructs a time weight inversely proportional to the time interval between the trajectory decision generation time frame and the current execution time frame. It then applies weighted modulation to the driving logic text features and trajectory decision features output from the upstream process. Decision information with closer time intervals retains a higher contribution, while decision information with farther time intervals is automatically attenuated. This mechanism ensures that the downstream process always uses the most relevant prior decision information at the current moment as the control basis. When upstream inference delays cause decision information to lag, it automatically weakens the impact of outdated information on the control signal, thus seamlessly integrating high-latency deep inference results into the high-frequency control loop. This meets the real-time requirements of autonomous driving and provides a reliable technical solution for the practical deployment of large language models in high-real-time autonomous driving scenarios. Attached Figure Description
[0017] To more clearly illustrate the embodiments and design schemes of the present invention, the accompanying drawings required for this embodiment will be briefly described below. The drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of a vehicle autonomous driving method provided in an embodiment of the present invention; Figure 2 This is an example of the overall framework of DME-Driver++ provided for embodiments of the present invention. Detailed Implementation
[0019] To enable those skilled in the art to better understand and implement the technical solutions of the present invention, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. The following embodiments are only used to more clearly illustrate the technical solutions of the present invention and should not be construed as limiting the scope of protection of the present invention.
[0020] Existing perception-guided systems that rely solely on perception models to generate planning decisions suffer from insufficient generalization ability and a lack of interpretability. Existing LLM-driven systems that directly generate driving logic and control signals from LLMs exhibit weak precise numerical regression capabilities and poor real-time performance. Furthermore, existing fusion solutions such as Senna and DriveGPT4 often employ simple serial or parallel architectures, failing to address the asynchronous coordination issue between deep inference decision-makers (such as LLM-driven systems) and the prior decision-guiding executors used for perception-planning guidance. This results in systems either being limited by the high computational latency of LLMs or failing to fully utilize the common-sense reasoning capabilities of LLMs. Simultaneously, the lack of cross-module decision consistency verification mechanisms makes them prone to decision conflicts when the environment changes rapidly, failing to balance system reliability and operational efficiency. Moreover, the current lack of datasets specifically labeled with human driving thought processes makes it difficult to train deep inference decision-makers that conform to human driving logic. To address the aforementioned issues, the DME-Driver++ system provided by this invention adopts an asynchronous collaborative architecture of Deep Inference Decision Maker-Executor, integrating the deep logical reasoning capabilities of LLM with the precise perception and control capabilities of the planning-oriented model. Simultaneously, a trajectory verification module is introduced to ensure safety, thereby leveraging the high-precision control advantages of the planning-oriented system and the strong inference generalization advantages of LLM to achieve a balance between reliability, accuracy, and interpretability. This resolves the contradiction between the high computational latency of LLM and the real-time requirements of autonomous driving, improving the overall system operating efficiency. Furthermore, it avoids decision conflicts between the asynchronously running decision and execution modules, ensuring driving safety.
[0021] Example 1 This invention provides a method for autonomous driving of vehicles, specifically as follows: Figure 1 As shown, it includes the following steps: Step 1: Obtain the text description of the vehicle's previous action, the text description of the current vehicle driving state, and the image of the vehicle's surrounding environment. Process the text description of the action, the text description of the current vehicle driving state, and the image of the vehicle's surrounding environment using DME-Driver++ to obtain the control signal of the vehicle at the current moment. DME-Driver++ includes a deep inference decision-maker based on a multimodal large language model, an asynchronous controller, and a decision prior guidance executor based on a planning-oriented perception model.
[0022] Step 2: The deep reasoning decision-maker understands the prompts based on the preset scenario and constructs a driving scenario description of the vehicle from the surrounding environment image. Based on the driving scenario description, the text description of the action at the previous moment, and the text description of the vehicle's driving status at the current moment, deep thinking chain reasoning is performed to obtain the driving logic. Based on the driving logic, the trajectory direction and driving action are determined to obtain the trajectory decision.
[0023] The driving logic can be determined through the following steps: Step 21: Based on the driving scenario description, the text description of the action at the previous moment, and the text description of the vehicle's driving status at the current moment, conduct a potential hazard assessment to obtain the potential hazard assessment result.
[0024] Step 22: Simulate the driver's line of sight based on the driving scenario description, the text description of the action at the previous moment, and the text description of the vehicle's driving status at the current moment, and obtain the driver's line of sight inference result.
[0025] Step 23: Perform traffic rule retrieval based on the driving scenario description, the text description of the action at the previous moment, and the text description of the vehicle's driving status at the current moment, and obtain the traffic rule retrieval reasoning results.
[0026] Step 24: Integrate the driving scenario description, potential hazard assessment results, driver line-of-sight reasoning results, and traffic rule retrieval reasoning results to obtain the driving logic.
[0027] Trajectory decision can be determined through the following steps: Step 25: Based on the driving logic, select the optimal trajectory direction from multiple pre-clustered representative trajectory directions, and select the optimal action from multiple pre-set control actions.
[0028] Step 26: Use the optimal trajectory direction as the lateral control decision and the optimal action as the longitudinal control decision to obtain the trajectory decision.
[0029] Specifically, the DME-Driver++ system includes a deep inference decision-maker, an asynchronous controller, and a decision-prior guidance executor. As a purely visual end-to-end autonomous driving framework, the DME-Driver++ system does not rely on dedicated sensors such as LiDAR, but instead uses textual descriptions of previous actions such as left turn, right turn, straight ahead, acceleration, deceleration, and stopping. The current vehicle status text includes structured parameters such as speed and steering angle. Using 6-channel surround-view sRGB images Iv1-Iv6 as input, the trajectory decision is first initially inferred through a deep inference decision-maker.
[0030] The deep reasoning decision-maker is built on the Janus-Pro multimodal large model (LVLM), which simulates the cognitive process of human drivers and decomposes complex driving decisions into chain thinking (CoT) reasoning steps to generate highly reliable and interpretable driving logic and high-level decisions. The Chain-of-Track (CoT) reasoning process within the deep reasoning decision-maker consists of six core steps: driving scenario understanding, potential hazard assessment, driver line-of-sight reasoning, traffic rule retrieval, driving logic generation, and structured decision-making and trajectory synthesis. Driving scenario understanding extracts driving-related elements such as traffic lights, lane lines, and other traffic participants from multi-view surround-view images to generate a structured scenario description. Potential hazard assessment simulates defensive driving strategies, identifying risk factors such as pedestrians who may suddenly cross the road or vehicles about to change lanes. Driver line-of-sight reasoning mimics the eye-shifting patterns of human drivers to locate key traffic elements influencing decision-making. Traffic rule retrieval retrieves applicable local traffic regulations for the current scenario based on an external knowledge base. Driving logic generation aggregates the results of the above four types of reasoning to obtain driving logic in natural language form. Driving decision generation converts the driving logic into structured decisions including lateral and longitudinal control, thereby synthesizing a 3D trajectory sequence.
[0031] For example, the image encoder in the deep inference decision-maker first converts the 6-way surround view images into image tokens, and then combines them with scene understanding prompts to generate a driving scene description that includes driving-related elements such as traffic signals, lane markings, and other road users. Secondly, parallel execution identifies risk factors such as pedestrians who may suddenly cross the road, vehicles about to change lanes, and approaching emergency vehicles, thereby obtaining a potential hazard assessment. Simulate human drivers' attention allocation, locate key traffic elements influencing decision-making, and obtain driver line-of-sight inference. Based on an external local traffic regulations knowledge base, the applicable legal provisions for the current scenario are extracted to obtain traffic rule retrieval. Reasoning steps, and description of the driving scenario. Potential hazard assessment Driver's line of sight reasoning Traffic rules search Aggregation yields driving logic in natural language form. Then, it is transformed into a structured decision, such as selecting the optimal trajectory direction from seven pre-clustered representative trajectory directions. As a lateral control decision, the optimal action is selected from four types of actions: acceleration, deceleration, maintaining speed, and braking. As a longitudinal control decision, it is then used to synthesize a trajectory decision composed of a 3D point sequence. Together with all intermediate inference results and decision generation frame numbers External reference They are cached together in the DM2E message queue of the asynchronous controller.
[0032] Step 3: Determine the time weight by using the asynchronous controller based on the time interval between the trajectory decision generation time frame and the current time frame of the asynchronous controller, where the time weight is inversely proportional to the time interval; extract the initial logic text features from the driving logic, and perform weighted modulation on the initial logic text features according to the time weight to obtain the adapted driving logic; extract the initial trajectory decision features from the trajectory decision, and perform weighted modulation on the initial trajectory decision features according to the time weight to obtain the adapted decision features.
[0033] The adapted decision features can be determined through the following steps: Step 31: Calculate the external parameters of the extrinsic actuator based on the external parameters corresponding to the trajectory decision and the prior guidance of the decision, and obtain the coordinate system transformation matrix.
[0034] Step 32: Perform coordinate transformation on each point in the trajectory decision according to the coordinate system transformation matrix to obtain the aligned trajectory decision.
[0035] Step 33: Traverse the aligned trajectory decisions, truncate the vehicle's current location and previous trajectory points to obtain the valid trajectory.
[0036] Step 34: Extract initial trajectory decision features from the effective trajectory, and perform weighted modulation on the initial trajectory decision features according to the time weight to obtain the adapted decision features.
[0037] Specifically, when the deep inference decision-maker determines the trajectory decision... Subsequently, the DME-Driver++ system provided by this invention resolves the contradiction between LLM decision latency and the high-frequency operation of the decision prior guidance executor through an asynchronous controller, achieving asynchronous collaboration between the deep inference decision-maker and the decision prior guidance executor. The asynchronous controller structure includes a three-level message queue and an asynchronous converter. The three-level message queue includes a data read queue, a deep inference decision-maker to decision prior guidance executor (DM2E) queue, and a decision prior guidance executor to deep inference decision-maker (E2DM) queue, enabling non-blocking communication between modules. The asynchronous converter includes a text converter and a route converter. The text converter encodes the text information output by the deep inference decision-maker, calculates weights based on the time difference, and attenuates expired information. The route converter aligns the trajectory generated by the deep inference decision-maker to the current frame coordinate system of the decision prior guidance executor through coordinate transformation, truncates trajectory segments lagging behind the current position, and then performs encoding and weight modulation. Furthermore, the deep inference decision-maker and the decision prior guidance executor can run in parallel on different computing units. The deep inference decision-maker continuously generates the latest decisions and caches them, while the decision prior guidance executor reads the latest cached decisions for processing each time, making the overall system efficiency close to the high-frequency operation level of the decision prior guidance executor.
[0038] For example, the decision prior guide executor in the asynchronous controller retrieves the latest frame data from the data read queue and simultaneously reads the latest decision information from the DM2E queue to obtain the decision generation frame number. Decision generation frame extraparameters and the corresponding intermediate inference results and the original trajectory .
[0039] Next, the text converter is responsible for converting the text-based reasoning results output by the deep reasoning decision-maker into features that the decision prior guide executor can understand, and for weighting based on time differences, filtering out outdated information, such as... The text is concatenated into a unified text sequence and then input into a text encoder. To obtain the initial logical text features The time interval, measured in frames, between the current frame and the decision generation frame of the decision prior guide executor is calculated. and according to Calculate weights The text features are weighted and modulated to obtain the adapted text decision prior. .
[0040] The route converter is responsible for transforming the original trajectory generated by the deep inference decision-maker from the vehicle coordinate system at the time of decision generation to the vehicle coordinate system at the current time of the decision prior guidance executor, truncating invalid trajectory segments that have already been driven, and finally performing time weighting, for example, based on the extraparameters of the decision generation frame. and decision prior guidance executor current frame extraparameters Calculate the coordinate system transformation matrix This transforms the points in the vehicle coordinate system at the moment of decision generation to the world coordinate system, and then to the vehicle coordinate system of the decision prior guiding actuator at the current moment. A transformation matrix is then used. For the original trajectory Perform coordinate transformation on each point in the image to obtain a trajectory aligned to the current frame's coordinate system. Then iterate through the aligned trajectories. Find the first vehicle located at the current vehicle position of the decision prior guidance actuator. Subsequent trajectory points Cut off The valid trajectory is obtained from all previous trajectory points. When all trajectory points are located Previously, that is, the decision had completely expired. If empty, the decision prior guides the actuator to autonomously generate a trajectory. When a valid trajectory is obtained... Then, the effective trajectory Input trajectory encoder To obtain the initial trajectory features and using the same time weights as text features. Trajectory features We perform weighting to obtain the adapted decision features. .
[0041] Then, the adapted text decision prior will be... and decision characteristics The data is packaged and output to the decision prior fusion unit of the decision prior guidance executor for use in subsequent perception and planning tasks.
[0042] Step 4: The actuator is guided by decision priors to extract visual feature maps from the images of the vehicle's surrounding environment; based on the cross-attention mechanism, the adapted driving logic is integrated into the visual feature maps to obtain enhanced visual feature maps; the motion trajectories of objects around the vehicle are predicted based on the enhanced visual feature maps to obtain motion prediction results of the surrounding objects; the control signal of the vehicle at the current moment is determined based on the motion prediction results of the surrounding objects, the enhanced visual feature maps, and the adapted decision features.
[0043] The motion prediction results of surrounding objects can be determined through the following steps: Step 41: Based on the enhanced visual feature map, perform target tracking on the surrounding objects corresponding to the potential hazard assessment results to obtain the spatial position and motion state of the surrounding objects.
[0044] Step 42: Construct the lanes, sidewalks, and drivable areas around the vehicle based on the enhanced visual feature map.
[0045] Step 43: Determine the motion prediction results of surrounding objects based on their spatial location and motion state, as well as the lanes, sidewalks, and drivable areas around the vehicle.
[0046] Specifically, the decision-priority guided actuator used in this invention is built based on a planning-oriented perception model. It integrates the high-level decisions of the deep reasoning decision-maker as prior information into the perception and planning tasks, generating precise vehicle control signals. This actuator includes a visual backbone network, a decision-priority fusion unit, a multi-task perception head, and a planning head. The visual backbone network extracts feature maps from multi-view images. The decision-priority fusion unit employs a cross-attention mechanism, using prior information such as scene descriptions, potential hazard assessments, line-of-sight reasoning, and traffic rules processed by the asynchronous controller as keys and values, fusing them into the image features used as the query. Subsequently, the multi-task perception head performs target tracking, online mapping, and motion prediction tasks based on the fused features. The target tracking task focuses on potential hazard assessment targets identified by the deep reasoning decision-maker, improving the detection accuracy and tracking stability of dangerous targets. The online mapping task strengthens the feature representation of lanes, sidewalks, and drivable areas specified by the deep reasoning decision-maker. The motion prediction task prioritizes predicting the future trajectories of traffic participants such as vehicles about to change lanes and pedestrians who may cross the road, which are of interest to the deep reasoning decision-maker. Finally, the planning head combines motion prediction results, image features, and trajectory priors output by the deep inference decision-maker to generate precise control signals for steering angle and speed.
[0047] For example, the decision-prior-guided actuator adopts a planning-oriented end-to-end model, fusing decision priors to generate precise control signals. The backbone network extracts visual feature maps from six surround-view images. The decision-prior fusion unit, through a cross-attention mechanism, integrates asynchronously transformed scene descriptions, potential hazard assessments, line-of-sight reasoning, and traffic rule features into the visual features. It then sequentially performs perception sub-tasks such as multi-target tracking (outputting 3D spatial location, scale, and inter-frame motion information of other traffic participants), online mapping of lane information and drivable areas, and motion prediction of the future trajectories of other traffic participants. The planning head fuses motion perception features, enhanced visual features, and decision features. Generate the final planned trajectory. .
[0048] Step 5: The trajectory verification module determines the deviation between the driving logic and the planned trajectory corresponding to the vehicle's current control signal. When the deviation is greater than the preset value, the deep inference decision-maker regenerates the trajectory decision.
[0049] Specifically, this invention also incorporates system safety redundancy to address decision-making conflicts caused by asynchronous operation. When a significant deviation exists between the planned trajectory generated by the decision prior guidance executor and the driving logic of the deep inference decision-maker, an asynchronous verification process is triggered. First, the planned trajectory of the decision prior guidance executor is converted to the current frame coordinate system of the deep inference decision-maker. The deep inference decision-maker then reassesses the safety of the trajectory in the current environment. If it is deemed safe, the original planning result is retained. If danger exists, an emergency braking or deceleration signal is output, overriding the original output of the decision prior guidance executor. The verification process is executed asynchronously, without blocking the high-frequency control loop of the decision prior guidance executor, thus balancing safety and real-time performance.
[0050] For example, when there is a significant deviation between the planned trajectory output by the decision prior guidance actuator and the driving logic of the deep inference decision-maker, the planned trajectory is sent back to the deep inference decision-maker through the E2DM queue. The deep inference decision-maker transforms the planned trajectory to its own current frame coordinate system and uses the deep inference decision-maker to reassess the safety of the trajectory in the current environment. If the trajectory is safe, the original output of the decision prior guidance actuator is maintained. If there is a safety hazard, a predefined emergency control signal such as deceleration or braking is output to override the output of the decision prior guidance actuator.
[0051] Step 6: Drive the vehicle to complete the actions corresponding to the control signals through the control execution module.
[0052] Specifically, the vehicle control module receives control signals such as steering angle, throttle, and brake, and drives the vehicle to complete the corresponding actions to enter the next driving cycle.
[0053] Furthermore, to train the aforementioned system, a multimodal dataset containing human driving thought processes was constructed. The data sources integrated nuScenes, BDD-X, and LookBothWays datasets, and 364,945 timestamps were newly collected based on the CARLA simulator. A three-level annotation process was employed: GPT-o1 automatic pre-annotation + multiple rounds of manual review and correction + semantic enhancement verification. First, GPT-o1 generated preliminary annotations for each reasoning step based on the original multimodal data. Second, each annotation was independently reviewed and corrected by at least two experienced human drivers to ensure logical consistency and accuracy. Then, a general GPT model was used to perform semantically invariant and diversified rewriting of the annotated text, and samples with semantic drift were discarded through semantic consistency verification to improve the model's generalization ability. This involved annotating each timestamp with thought process steps such as scene understanding, potential hazard assessment, line-of-sight reasoning, traffic rules, and driving logic, as well as perception and planning labels such as 3D bounding boxes and control signals.
[0054] Once the dataset was constructed, a phased training strategy was adopted. First, the basic capabilities of the deep inference decision-maker and the decision prior guidance executor were trained independently, and then joint fine-tuning was performed to ensure that each module worked together. The training of the deep inference decision-maker was divided into two phases: pre-training and fine-tuning, based on the Janus-Pro multimodal model. In the pre-training phase, the goal was to establish the basic correspondence between video and text and optimize the feature extraction capability of the video tokenizer. A large-scale general text-image pair dataset was used, and all parameters of the SigLIP image encoder and the LLM backbone network were frozen. Only the video tokenizer was trained so that it could convert continuous video frames into LLM-understandable token sequences. In the fine-tuning phase, with the goal of enabling the model to master deep reasoning capabilities in driving scenarios and generate decisions that conform to human driving logic, 30K video-text pairs and 80K instruction-following image-text pairs containing complete CoT reasoning annotations were used in the HBD++ dataset. The parameters of the LLM backbone network and the visual word segmenter were unfrozen and jointly trained. The training objectives included six sub-tasks: scene description generation, potential hazard assessment, line-of-sight reasoning, traffic rule retrieval, driving logic generation, and structured decision output. A multi-task loss function was used for optimization.
[0055] The training of the decision-prior guided executor is divided into three stages, gradually introducing prior guidance from the deep inference decision-maker. The first stage is basic perception and planning training, training the perception model from scratch to establish an end-to-end mapping from visual input to perception and planning tasks. Perception and planning labels from standard autonomous driving datasets such as nuScenes are used to jointly optimize four sub-tasks: target tracking, online mapping, motion prediction, and planning. A unified planning loss is used for end-to-end training. The second stage is decision-prior fusion training, enabling the decision-prior guided executor to effectively utilize the output of the deep inference decision-maker as prior information to improve perception and planning performance. The HBD++ dataset is used, simultaneously inputting the inference results of the deep inference decision-maker and the original image. All parameters of the deep inference decision-maker are fixed, and only the cross-attention fusion module and each perception head of the decision-prior guided executor are trained. During training, the intermediate inference results of the deep inference decision-maker are used as supervision signals to guide the decision-prior guided executor to focus on key regions and targets. The third stage is the joint fine-tuning stage, which aims to optimize the collaborative working ability of the deep inference decision-maker and the decision prior guidance executor to improve the overall system performance. A combination of the HBD++ and nuScenes datasets is used. Training is performed using eight NVIDIA H800 GPUs for a total of 10 epochs. The Adam optimizer is employed with an initial learning rate of 3e-4, and cosine annealing is used to adjust the learning rate. The batch size is 48. The parameters of the deep inference decision-maker are kept fixed, and all parameters of the decision prior guidance executor, including the backbone network, fusion module, and perception planning head, are jointly trained. The loss function considers the accuracy of the perception task, the accuracy of the planned trajectory, and the consistency with the logic of the deep inference decision-maker.
[0056] The trajectory verification module reuses the LVLM model of the deep inference decision-maker without separate training. For example, during the training phase of the decision prior guidance executor, a large number of scenarios where decisions conflict with the environment are constructed through data augmentation to train the decision prior guidance executor to prioritize avoiding dangers. During the system deployment phase, the trajectory verification module uses the same inference logic as the deep inference decision-maker to perform a secondary safety check on the output of the decision prior guidance executor to ensure the safety of the final control signal.
[0057] After all modules have been trained, this invention also provides application examples of the DME-Driver++ system, such as... Figure 2As shown, historical actions, current state, and current view serve as inputs to the DME-Driver++ system. On the deep inference decision-maker side, the deep inference decision-maker first performs driving scene understanding, potential hazard assessment, human driver gaze understanding, and traffic rule retrieval based on the input. It then synthesizes the above inference results to generate driving logic and outputs a driving decision accordingly. This decision is adapted temporally and spatially by the asynchronous controller before being passed to the decision prior guidance executor. In the decision prior guidance executor, the backbone network extracts visual features from the current view and fuses the decision priors through a cross-attention mechanism. Subsequently, it executes detection and tracking, mapping, and motion prediction tasks in parallel, and finally, the planning module generates control signals. Simultaneously, the trajectory verification module performs a safety check on the planned trajectory to ensure decision consistency. Finally, the vehicle control module receives the verified control commands and drives the vehicle to perform the corresponding actions. Throughout the entire process, the modules work collaboratively through the data flow indicated by arrows, achieving end-to-end autonomous driving decision-making and control.
[0058] In summary, the autonomous driving method provided by this invention achieves state-of-the-art (SOTA) performance in the nuScenes benchmark test, reducing the average L2 planning error to 0.59m and the average collision rate to 0.08%, significantly outperforming pure planning-oriented systems such as SparseDrive and pure LLM systems. Specifically, this invention, through common-sense reasoning and thought chain decomposition in LLM, effectively handles extreme scenarios not covered by training data, significantly improving decision reliability. Furthermore, the asynchronous architecture of this invention enables the system's operating efficiency to approach the high-frequency operation level of the decision prior guidance executor. Moreover, each decision corresponds to a complete thought chain reasoning process, facilitating engineers to trace errors and debug the system. In addition, the trajectory verification module provides a secondary safety check, enabling timely detection and correction of erroneous decisions by the decision prior guidance executor, avoiding collisions.
[0059] Ablation experiments show that the deep inference module reduces the average L2 error of planning by 0.07m and the collision rate by 0.08%; the cross-attention fusion strategy reduces the L2 error by 0.01m and the collision rate by 0.07%-0.08% compared to simple feature concatenation or additive fusion; the trajectory verification module further reduces the system collision rate by 0.04%, verifying the necessity and effectiveness of each core module. Furthermore, the HBD++ dataset provides 719,255 timestamps and over 4 million rounds of dialogue annotations for multimodal thought chains, providing a high-quality data foundation for similar studies.
[0060] Example 2 Based on Example 1, taking the scenario of turning left at a traffic light intersection as an example, this invention also provides a specific example of an autonomous driving process.
[0061] First, the deep inference decision-maker performs scene understanding based on the input 6-way surround view images. The deep inference decision-maker identifies that there is a crossroads ahead, the vehicle is in the left-turn lane, and the traffic light shows that the left-turn arrow is green; there are 3 vehicles going straight in the opposite lane approaching the intersection, about 50 meters away from the vehicle; there are 2 pedestrians standing and waiting on the left sidewalk, facing the direction of the intersection; there are clear left-turn directional arrows and stop lines on the road surface, the weather is sunny, and the visibility is good. Furthermore, the deep reasoning decision-maker determines that the foremost vehicle among oncoming straight-ahead vehicles is traveling at a relatively high speed and may attempt to cross the intersection before the yellow light; pedestrians on the left-hand sidewalk may suddenly accelerate across the road at the end of the green light; and non-motorized vehicles may emerge from the blind spot on the right side of the intersection, thus completing a potential hazard assessment. The deep reasoning decision-maker infers that the driver's vision should primarily focus on the front of and front wheels of oncoming straight-ahead vehicles to determine if they are slowing down, while periodically scanning the pedestrians on the left-hand sidewalk and using peripheral vision to monitor the blind spot on the right side of the intersection, completing the driver's visual reasoning. Moreover, the deep reasoning decision-maker infers that according to local traffic regulations, vehicles turning left must yield to oncoming vehicles and pedestrians; at intersections without a left-turn waiting area, [the driver should...]. Wait behind the stop line and enter the intersection only after confirming it is safe; when turning, do not obstruct the passage of vehicles and pedestrians that have the right of way. Complete the traffic rule retrieval and finally generate the driving logic of "keeping the vehicle in the left turn lane, slowly entering the intersection, and controlling the speed within a safe range; closely observe the dynamics of oncoming straight-going vehicles, and stop immediately to let them pass if they show signs of cutting in; at the same time, pay attention to pedestrians on the left sidewalk and ensure that the pedestrians have completely crossed before continuing to turn; maintain a smooth turn and avoid sudden steering" during the turn. The lateral control selects the pre-clustered "standard left turn" trajectory direction; the longitudinal control selects the "maintain low speed" action, synthesizes the corresponding 3D point sequence trajectory, and completes the decision trajectory output.
[0062] Secondly, the asynchronous controller reads the information cached by the deep inference decision maker to obtain the frame number at the time of decision generation. and external references And the frame number of the current decision-making prior guiding executor. and external references Calculate the weights corresponding to the time difference, and weight the text features such as scene description and potential hazard assessment; then, through the transformation matrix... The decision trajectory is transformed to the current frame coordinate system, and the trajectory points before the current position of the vehicle are truncated; after being encoded by the trajectory encoder, time weighting is performed to generate decision priors and decision features adapted to the current moment.
[0063] Subsequently, the backbone network of the decision prior guides the executor to extract visual features from six images. The cross-attention fusion of the decision prior guides the executor to focus on oncoming vehicles and pedestrians indicated by the deep reasoning decision executor in the decision prior tracking task, the mapping task to enhance the features of the left-turn lane and the pedestrian crossing, and the motion prediction task to prioritize predicting the trajectories of oncoming vehicles and pedestrians. The speed, position, and motion trend of three oncoming vehicles are accurately detected, and the probability of pedestrians crossing the road on the left is predicted. The planning head combines the decision features to generate a smooth left-turn trajectory, controlling the vehicle to enter the intersection slowly at a low speed while leaving sufficient safety distance.
[0064] Next, the trajectory verification module checks whether the trajectory generated by the decision prior guidance actuator conforms to the driving logic of "yielding to oncoming vehicles and pedestrians". If the decision prior guidance actuator misjudges the distance to oncoming vehicles due to perception error and generates a trajectory of acceleration, the deep inference decision-maker will immediately identify the collision risk of the trajectory during asynchronous verification. The system immediately outputs an emergency braking signal to override the acceleration command of the decision prior guidance actuator, so that the vehicle stops before the stop line to avoid an accident. After the oncoming vehicles have passed and the pedestrians have completely left the intersection, the deep inference decision-maker regenerates a safe left turn decision, and the decision prior guidance actuator continues to complete the turning action.
[0065] Example 3 The present invention also provides a vehicle autonomous driving system, comprising: The data acquisition module is used to obtain text descriptions of the vehicle's actions at the previous moment, text descriptions of the current vehicle's driving status, and images of the vehicle's surrounding environment.
[0066] The trajectory reasoning and decision-making module is used to perform deep thought chain reasoning based on the vehicle's surrounding environment image, the text description of the action at the previous moment, and the text description of the vehicle's driving status at the current moment, to obtain trajectory decisions and driving logic.
[0067] The time interval modulation module is used to determine the time weight based on the time interval between the generation time frame of the trajectory decision and the current time frame, wherein the time weight is inversely proportional to the time interval; extract initial logic text features from the driving logic, and perform weighted modulation on the initial logic text features according to the time weight to obtain the adapted driving logic; extract initial trajectory decision features from the trajectory decision, and perform weighted modulation on the initial trajectory decision features according to the time weight to obtain the adapted decision features.
[0068] The control signal generation module is used to determine the vehicle's control signal at the current moment based on the vehicle's surrounding environment image, the adapted driving logic, and the adapted decision characteristics.
[0069] The present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps in an embodiment of a vehicle autonomous driving method. Specific implementation methods can be found in the method embodiments, and will not be repeated here.
[0070] Furthermore, the present invention also provides a non-transitory computer-readable storage medium containing instructions on which a computer program is stored. For example, a memory containing instructions that can be executed by a processor of a computer device to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc. When the computer program is executed by the processor, it can implement the steps in an embodiment of a vehicle autonomous driving method. Specific implementation methods can be found in the method embodiments, which will not be repeated here.
[0071] Those skilled in the art will understand that embodiments of the present invention can provide methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0072] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, as well as combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0073] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0074] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0075] It should be noted that the specific embodiments described above enable those skilled in the art to more fully understand the present invention, but do not limit the present invention in any way. Therefore, although the present invention has been described in detail in this specification and embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the present invention; and all technical solutions and improvements that do not depart from the spirit and scope of the present invention are covered within the protection scope of the present invention patent. No reference numerals in the claims should be construed as limiting the scope of the claims. Any simple variations or equivalent substitutions of technical solutions that can be readily obtained by those skilled in the art within the scope of the technology disclosed in the present invention are within the protection scope of the present invention.
Claims
1. A method for autonomous driving of a vehicle, characterized in that, include: Obtain a text description of the vehicle's previous action, a text description of the vehicle's current driving status, and an image of the vehicle's surrounding environment; Based on the images of the vehicle's surrounding environment, the text description of the action at the previous moment, and the text description of the vehicle's driving status at the current moment, deep thought chain reasoning is performed to obtain trajectory decision and driving logic. The time weight is determined based on the time interval between the trajectory decision generation time frame and the current time frame, wherein the time weight is inversely proportional to the time interval; initial logic text features are extracted from the driving logic, and the initial logic text features are weighted and modulated according to the time weight to obtain the adapted driving logic; initial trajectory decision features are extracted from the trajectory decision, and the initial trajectory decision features are weighted and modulated according to the time weight to obtain the adapted decision features; Based on the image of the vehicle's surrounding environment, the adapted driving logic, and the adapted decision-making characteristics, the control signal of the vehicle at the current moment is determined.
2. The vehicle autonomous driving method according to claim 1, characterized in that, Based on the image of the vehicle's surrounding environment, the text description of the action at the previous moment, and the text description of the vehicle's driving state at the current moment, deep thought chain reasoning is performed to obtain the driving logic, which includes: Based on preset scene understanding prompts, a description of the vehicle's driving scene is constructed from the images of the vehicle's surrounding environment; A potential hazard assessment is performed based on the driving scenario description, the text description of the action at the previous moment, and the text description of the vehicle's driving status at the current moment, to obtain the potential hazard assessment result. Based on the driving scenario description, the text description of the action at the previous moment, and the text description of the vehicle's driving status at the current moment, the driver's line of sight is simulated to obtain the driver's line of sight inference result. Traffic rule retrieval is performed based on the driving scenario description, the action text description of the previous moment, and the vehicle driving status text description of the current moment to obtain the traffic rule retrieval reasoning result; The driving logic is obtained by fusing the driving scenario description, potential hazard assessment results, driver line-of-sight reasoning results, and traffic rule retrieval reasoning results.
3. The vehicle autonomous driving method according to claim 2, characterized in that, Based on the image of the vehicle's surrounding environment, the text description of the action at the previous moment, and the text description of the vehicle's driving state at the current moment, deep thought chain reasoning is performed to obtain trajectory decisions, including: Based on the driving logic, the optimal trajectory direction is selected from multiple pre-clustered representative trajectory directions, and the optimal action is selected from multiple pre-set control actions; The optimal trajectory direction is used as the lateral control decision, and the optimal action is used as the longitudinal control decision to obtain the trajectory decision.
4. The vehicle autonomous driving method according to claim 1, characterized in that, Initial trajectory decision features are extracted from the trajectory decision, and weighted and modulated according to the time weight to obtain adapted decision features, including: Traverse the trajectory decision, truncate the vehicle's current location and previous trajectory points to obtain the valid trajectory; Initial trajectory decision features are extracted from the effective trajectory, and the initial trajectory decision features are weighted and modulated according to the time weight to obtain the adapted decision features.
5. The vehicle autonomous driving method according to claim 1, characterized in that, Based on the image of the vehicle's surrounding environment, the adapted driving logic, and the adapted decision-making features, the control signals for the vehicle at the current moment are determined as follows: Extract visual feature maps from images of the vehicle's surrounding environment; Based on the cross-attention mechanism, the adapted driving logic is integrated into the visual feature map to obtain an enhanced visual feature map. Based on the enhanced visual feature map, predict the motion trajectory of objects around the vehicle to obtain the motion prediction result of the surrounding objects. The control signal for the vehicle at the current moment is determined based on the motion prediction results of the surrounding objects, the enhanced visual feature map, and the adapted decision features.
6. The vehicle autonomous driving method according to claim 5, characterized in that, Based on the enhanced visual feature map, the motion trajectories of objects surrounding the vehicle are predicted, and the motion prediction results of the surrounding objects include: Based on the enhanced visual feature map, target tracking is performed on the surrounding objects corresponding to the potential hazard assessment results to obtain the spatial position and motion state of the surrounding objects. Based on the enhanced visual feature map, the lane, sidewalk, and drivable area around the vehicle are constructed; The motion prediction results of the surrounding objects are determined based on their spatial location and motion state, as well as the lanes, sidewalks, and drivable areas around the vehicle.
7. The vehicle autonomous driving method according to claim 1, characterized in that, After determining the vehicle's current control signal, the following is also included: The deviation between the driving logic and the planned trajectory corresponding to the control signal of the vehicle at the current moment is judged. When the deviation is greater than a preset value, the trajectory decision is regenerated based on the image of the vehicle's surrounding environment, the text description of the action at the previous moment, and the text description of the vehicle's driving state at the current moment.
8. A vehicle autonomous driving system, characterized in that, include: The data acquisition module is used to obtain text descriptions of the vehicle's actions at the previous moment, text descriptions of the current vehicle driving status, and images of the vehicle's surrounding environment. The trajectory reasoning and decision-making module is used to perform deep thought chain reasoning based on the image of the vehicle's surrounding environment, the text description of the action at the previous moment, and the text description of the vehicle's driving status at the current moment, to obtain trajectory decisions and driving logic. The time interval modulation module is used to determine the time weight based on the time interval between the generation time frame of the trajectory decision and the current time frame, wherein the time weight is inversely proportional to the time interval; extract initial logic text features from the driving logic, and perform weighted modulation on the initial logic text features according to the time weight to obtain the adapted driving logic; extract initial trajectory decision features from the trajectory decision, and perform weighted modulation on the initial trajectory decision features according to the time weight to obtain the adapted decision features; The control signal generation module is used to determine the control signal of the vehicle at the current moment based on the image of the vehicle's surrounding environment, the adapted driving logic, and the adapted decision features.
9. A computer device, comprising a memory, a processor, and a computer program stored in the memory, characterized in that, The processor executes the computer program to implement the steps of the vehicle autonomous driving method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is loaded by the processor, it is able to execute the steps of the vehicle autonomous driving method according to any one of claims 1 to 7.
