Knowledge-driven fusion new attention mechanism-based autonomous driving decision method and system
By constructing a driving rule base and a multi-level attention mechanism, the problems of insufficient rule constraints and inadequate scene interaction in autonomous driving are solved, enabling safe, compliant and explainable autonomous driving decisions in complex traffic environments.
Patent Information
- Application Number
- CN202611464574.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-20
- Publication Date
- 2026-11-27
AI Technical Summary
Existing autonomous driving technologies suffer from a lack of prior rules and constraints in decision-making and control, weak scene interaction modeling capabilities, a disconnect between knowledge and scene features, and poor stability in reinforcement learning exploration, leading to non-compliant, unsafe, and unexplainable decision-making issues.
We design a novel knowledge-driven, integrated attention mechanism. We construct a driving rule base through a cognitive module, use self-attention and gating attention mechanisms to model scene interactions, combine cross-attention mechanisms to achieve deep integration of rules and scene features, and introduce a rule-assisted supervisory head to optimize the DQN algorithm, outputting the vehicle's decision actions.
It enables compliant, safe, and explainable autonomous driving decisions in complex and dynamic traffic environments, improving the compliance, safety, and explainability of decisions, and enhancing the robustness and adaptability of the model.
Smart Images

Figure CN123169952A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the fields of autonomous driving decision planning, reinforcement learning, and multi-feature attention fusion technology, and relates to an autonomous driving decision-making method and system based on a knowledge-driven fusion of novel attention mechanisms. Background Technology
[0002] In recent years, autonomous driving technology has made significant progress in core aspects such as decision-making and control. With the rapid development of autonomous driving technology, decision-making methods based on deep reinforcement learning have become the mainstream solution for autonomous driving decision-making in complex traffic interaction scenarios due to their strong environmental adaptability. However, most existing autonomous driving reinforcement learning decision-making frameworks are driven by purely environmental perception data, relying solely on surface-level scene features such as vehicle position, speed, and obstacle states to complete policy learning, which has significant technical shortcomings. 1) Lack of prior rules and constraints in decision-making. Traditional reinforcement learning agents rely on iterative optimization of environmental reward functions without incorporating prior knowledge such as traffic regulations, driving rules, and safe avoidance rules. This can easily lead to non-compliant and unsafe decision-making behaviors such as illegal overtaking, following too closely, and disorderly passage through intersections, resulting in poor interpretability and insufficient compliance.
[0003] 2) Weak scene interaction modeling capabilities. Conventional perception feature extraction only independently encodes the state of a single vehicle, lacking information exchange and transmission between surrounding vehicles. At the same time, it cannot quantify the differentiated impact of different surrounding vehicles on the vehicle's decision-making, making it difficult to model complex traffic conditions involving multi-vehicle games and dynamic interactions.
[0004] 3) Disconnect between knowledge and scenario features. Existing solutions cannot achieve deep integration of structured driving rule knowledge and real-time driving scenario features. Rule knowledge is difficult to dynamically adapt to real-time road conditions, and knowledge-driven decision-making guidance capabilities are lacking.
[0005] 4) Poor stability in reinforcement learning exploration. Traditional DQN-like algorithms are highly random in their exploration, prone to local optima and insufficient decision robustness, and lack differentiated design for multi-agent ensemble learning, making them difficult to adapt to high-density, highly dynamic traffic environments.
[0006] In summary, there is an urgent need for a new decision-making framework that integrates driving rule knowledge, multi-vehicle interactive attention modeling, cross-domain feature fusion, and rule-based prior reinforcement learning to address the technical pain points of existing technologies, such as missing rules, insufficient interactive modeling, unreasonable decision-making, and weak generalization ability, in order to achieve a highly safe, compliant, and interpretable intelligent driving system. Summary of the Invention
[0007] In view of this, the purpose of this invention is to provide an autonomous driving decision-making method and system based on a knowledge-driven, novel attention mechanism. The invention is a knowledge-driven reinforcement learning-based autonomous driving decision-making framework, consisting of four core modules connected in series: a cognition module, a perception module, a fusion module, and a decision-making module. It uses real-time driving scenario data as perception input and a local driving rule base as knowledge input. Through a multi-level novel attention mechanism, it achieves cross-feature fusion, and combines an improved DQN algorithm with rule-based action prior constraints to output the vehicle's final driving decision. This invention is applicable to real-time behavioral decision-making and compliant, interpretable driving control of intelligent vehicles in complex dynamic traffic environments, and can be widely applied to passenger vehicle autonomous driving, intelligent connected vehicles, and driver assistance systems.
[0008] To achieve the above objectives, the present invention provides the following technical solution: An autonomous driving decision-making method based on a knowledge-driven, novel attention mechanism includes the following steps: S1. Design a cognitive module, build a driving rule knowledge base, and use an encoder to embed driving rules into a complete rule encoding; specifically including: S11. Design a driving rule base, collect autonomous driving traffic rules, obstacle avoidance rules, and traffic rule text rules, and record them as a rule text set. ,in, It is the number of rules. It is the first One text of driving rules; S12. The rule text in the driving rule base is embedded and encoded using an encoder. The encoding function is denoted as follows: Output a fixed-dimensional rule embedding vector, denoted as:
[0009] in, It is the dimension of the regular feature vector. It is the first The encoded vector of each text driving rule; S13. Integrate all rule vectors to obtain the global rule feature matrix, which serves as prior knowledge for subsequent feature fusion:
[0010] This matrix realizes a structured representation of driving rule knowledge, which is independent of the scenario and provides constant rule constraint priors for autonomous driving decision-making. S2. Design perception module, analyze driving scene information in real time, and use a two-stage attention mechanism to realize dynamic scene interaction feature modeling with the vehicle as the core; S3. Design feature fusion module, which obtains enhanced features by fusing rule features and scene features; S4, Design Decision Module, guides the DQN agent to make the final decision based on the rule-assisted module.
[0011] Furthermore, step S2 specifically includes: S21. Collect real-time driving scene data, including the position, speed, and acceleration status information of the vehicle and surrounding vehicles, and construct a vehicle state feature set; to reduce computational load, set vehicles within 100m of the vehicle as the computation target, and assume there are a total of [number missing] vehicles within the scene range. The surrounding vehicles, the first The original characteristics of the adjacent vehicles are: ,in, The state feature dimension of a single vehicle; the global state matrix of surrounding vehicles is:
[0012] S22. Perform self-attention interaction modeling on surrounding vehicles. Information transfer between surrounding vehicles is achieved through a self-attention mechanism, allowing each surrounding vehicle to integrate information from other vehicles and obtain a context-enhanced representation. Therefore, calculate the interaction features between neighboring vehicles:
[0013] In the formula, , , The characteristic matrix is respectively The query, key, and value obtained through linear mapping This represents the scaling factor to prevent the inner product from becoming too large. S23. Calculate the gating attention weights centered on the vehicle and construct the gating network. Based on the characteristics of the vehicle state and the enhanced features of surrounding vehicles Using the surrounding vehicles as input, calculate the importance weights of the vehicle relative to its neighboring vehicles, which are also known as gating weights:
[0014] In the formula, For the first The gating weight of a neighboring vehicle; the higher the weight, the stronger the influence of that vehicle on the vehicle itself. S24. Perform feature aggregation on the scene context, and sum the features of neighboring vehicles based on gating weights to obtain the final scene feature vector:
[0015] To integrate refined scene features that incorporate all vehicle interaction information.
[0016] Furthermore, step S3 specifically includes: S31. Utilize cross-attention for feature matching to refine scene features. For the query vector, the global rule feature matrix Given a key-value matrix, calculate the matching weights between scenarios and driving rules to achieve scenario adaptation of rule knowledge:
[0017] in, This represents a linear mapping matrix representing refined scene features. , It is a regular feature linear mapping matrix. This represents the scaling factor to prevent the inner product from becoming too large. S32. Fuse and concatenate the features by dimensionally concatenating the rule-matching features and scene features, and achieve dual-feature information fusion through residual connection:
[0018] S33. Normalization and activation processing: Normalization processing is performed on the splicing feature skill layer to eliminate the influence of feature dimensions. The activation function performs a nonlinear transformation, yielding the final enhanced fused features:
[0019] in, It is a layer normalization operation.
[0020] Furthermore, step S4 specifically includes: S41. Design rule sequence probability prediction: Build a rule-assisted supervision head to integrate... For input, through The function outputs the activation probability distribution of each driving rule:
[0021] in, , These are the weights and bias parameters of the rule supervision head, respectively. It is a regular probability distribution vector; S42. Constructing the rule-action mapping matrix ,in, This represents the spatial dimension of autonomous driving actions; prior action values are calculated through matrix operations. ,in, Prior values for actions guided by rule knowledge characterize the degree of rule compliance for each action; The S43 and DQN main networks, based on fused features, use deep neural networks to approximate the action value function to obtain the basic action Q-value. ; S44. Calculate the final Q-value by weighting and fusing the prior Q-values of the rules with the basic Q-values to obtain the final decision Q-value:
[0022] in, It is the bias coefficient of the rule prior, used to adjust the constraint strength of rule knowledge on decision-making; S45. Based on the final Q-value, select the action corresponding to the maximum value to complete the selection of the decision action:
[0023] in, It is the optimal control command output by the DQN intelligent agent in the current driving scenario, enabling more compliant and reasonable autonomous driving decisions in complex and dynamic scenarios.
[0024] The present invention also provides an autonomous driving decision-making system based on a knowledge-driven, novel attention mechanism.
[0025] The beneficial effects of this invention are as follows: This invention fully leverages the technical advantages of attention mechanisms, such as dynamic focusing of key information, accurate identification of interactive objects, and excellent model interpretability. It innovatively designs a two-stage attention scene modeling mechanism: First, a self-attention mechanism facilitates information interaction and feature transmission among surrounding vehicles, comprehensively exploring the interactive relationships between vehicles in a dynamic traffic flow environment. Simultaneously, a gating attention mechanism centered on the vehicle adaptively quantifies the influence weights of different surrounding vehicles on the vehicle's decisions, accurately selecting key interactive objects and generating enhanced scene feature vectors with strong interactive representation capabilities. Based on this, the invention constructs a dedicated driving rule knowledge base, relying on an encoder to complete the semantic encoding and vector embedding of text-based driving rules, achieving a structured and computable rule knowledge representation of unstructured traffic rules. Furthermore, a cross-attention mechanism is employed, using scene features as queries to dynamically match and adaptively aggregate rule features, constructing a deeply coupled and fused feature of scene information and prior rule knowledge, which is then input into a reinforcement learning decision agent. This invention enables intelligent agents to learn strategies and make action decisions by fully perceiving and understanding complex interactive scenarios and combining the optimal traffic rule constraints adapted to the current driving scenario. It effectively solves the technical pain points of traditional reinforcement learning autonomous driving decision-making, such as lack of rule constraints, insufficient scenario interaction modeling, and poor decision interpretability. Ultimately, it achieves compliant, safe, and transparent autonomous driving decision-making for vehicles in complex dynamic traffic scenarios.
[0026] 1) Digitally empower decision-making with driving rule knowledge. This invention uses an encoder to embed textual driving rules, transforming discrete traffic rules into computable rule vectors. These vectors, presented as prior knowledge, permeate the entire decision-making process, constraining agent behavior from the ground up and significantly improving the compliance, safety, and interpretability of autonomous driving decisions.
[0027] 2) Accurately model the dynamic interaction relationships between multiple vehicles. By combining a self-attention mechanism to achieve information exchange between surrounding vehicles, and with the vehicle-centric gating attention mechanism to quantify the importance weight of surrounding vehicles, the dynamic interaction characteristics of multiple vehicles are accurately depicted, improving the ability to understand the environment in complex dynamic traffic flow scenarios.
[0028] 3) Achieve deep integration of scene features and rule knowledge. Employ a cross-attention mechanism to achieve dynamic matching and alignment between real-time scenes and driving rules, and adaptively output rule features suitable for the current scene, solving the problems of scene and rule separation and low knowledge utilization in traditional solutions.
[0029] 4) Improve the reinforcement learning decision-making mechanism and optimize the learning and exploration process. Construct a rule-assisted supervision head to generate action prior values, integrate rule priors into Q-value calculation, guide the DQN agent to explore in a directional and compliant manner, reduce ineffective random exploration, and accelerate model convergence.
[0030] 5) The framework is highly versatile and robust. The overall modular design has a high degree of decoupling between the four modules of cognition, perception, fusion, and decision-making, making it adaptable to different vehicle types and traffic scenarios. Feature normalization and nonlinear activation processing further enhance the model's anti-interference ability, effectively dealing with complex conditions such as congested road sections, intersections, and sudden obstacle avoidance.
[0031] Other advantages, objectives, and features of the invention will be set forth in part in the description which follows, and in part will be apparent to those skilled in the art from the following examination, or may be learned from practice of the invention. The objectives and other advantages of the invention can be realized and obtained through the following description. Attached Figure Description
[0032] To make the objectives, technical solutions, and advantages of the present invention clearer, the preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, wherein: Figure 1 The overall algorithm flowchart of the algorithm framework proposed in this invention; Figure 2 This is a structural diagram of the algorithm framework proposed in this invention. Detailed Implementation
[0033] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0034] The accompanying drawings are for illustrative purposes only and are schematic diagrams, not actual pictures. They should not be construed as limiting the invention. To better illustrate the embodiments of the invention, some parts in the drawings may be omitted, enlarged, or reduced, and do not represent the actual product dimensions. It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.
[0035] In the accompanying drawings of the embodiments of the present invention, the same or similar reference numerals correspond to the same or similar components. In the description of the present invention, it should be understood that if terms such as "upper," "lower," "left," "right," "front," and "rear" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings, they are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, the terms used to describe positional relationships in the drawings are only for illustrative purposes and should not be construed as limiting the present invention. For those skilled in the art, the specific meaning of the above terms can be understood according to the specific circumstances.
[0036] Please see Figures 1-2 This invention is a knowledge-driven reinforcement learning-based autonomous driving decision-making framework, belonging to the field of autonomous driving decision-making technology. It aims to address the problems of traditional autonomous driving reinforcement learning decision-making methods, such as lack of rule constraints, insufficient environmental interaction modeling, and poor decision rationality and interpretability. The invention is a knowledge-driven reinforcement learning autonomous driving decision-making framework, consisting of four core modules connected in series: a cognition module, a perception module, a fusion module, and a decision-making module. It uses real-time driving scenario data as perception input and a local driving rule base as knowledge input. Through a novel multi-level attention mechanism, it achieves cross-feature fusion, and combined with an improved DQN algorithm and rule-based action prior constraints, outputs the vehicle's final driving decision action.
[0037] like Figure 1As shown, the method provided by the present invention includes the following steps: S1, designing a driving rule base and using a large model to complete the rule encoding and embedding of driving rules; S2, parsing driving scene information in real time and realizing dynamic scene interaction feature modeling; S3, cross-fusion of rule features and scene features; S4, making decisions based on the improved reinforcement learning agent guided by rule knowledge.
[0038] In this embodiment, step S1 includes the following steps: S11. Design a driving rule base, collect text rules such as autonomous driving traffic rules, obstacle avoidance rules, and traffic rules, and record them as a rule text set. ,in, It is the number of rules. It is the first Article driving rules.
[0039] S12. A locally deployed lightweight large model serves as the encoding body, embedding and encoding the rule text in the driving rule base. The encoding function is denoted as... Output a fixed-dimensional rule embedding vector, denoted as: , in, It is the dimension of the regular feature vector. It is the first The encoded vector of a text driving rule.
[0040] S13. Integrate all rule vectors to obtain the global rule feature matrix, which serves as prior knowledge for subsequent feature fusion: , This matrix realizes a structured representation of driving rule knowledge, which is independent of the scenario and provides constant rule constraint priors for autonomous driving decision-making.
[0041] Step S2 includes the following steps: S21. Collect real-time driving scene data, including the position, speed, acceleration, and other state information of the vehicle and surrounding vehicles, and construct a vehicle state feature set. To reduce computational load, vehicles within 100m of the vehicle are set as the computational targets, and the total number of vehicles within the scene is assumed to be... The surrounding vehicles, the first The original characteristics of the adjacent vehicles are: ,in, The state feature dimension of a single vehicle; the global state matrix of surrounding vehicles is:
[0042] S22. Perform self-attention interaction modeling on surrounding vehicles. Information transfer between surrounding vehicles is achieved through a self-attention mechanism, allowing each surrounding vehicle to integrate information from other vehicles and obtain a context-enhanced representation. Therefore, calculate the interaction weights between neighboring vehicles:
[0043] In the formula, , , The characteristic matrix is respectively The query, key, and value obtained through linear mapping Indicates the scaling factor to avoid excessively large inner product values. The output interaction enhancement features of surrounding vehicles are: .
[0044] S23. Calculate the gating attention weights centered on the vehicle and construct the gating network. Based on the characteristics of the vehicle state and the enhanced features of surrounding vehicles Using the surrounding vehicles as input, calculate the importance weights of the vehicle relative to its neighboring vehicles, which are also known as gating weights:
[0045] In the formula, For the first The gating weight of a neighboring vehicle is determined by the degree of influence that neighboring vehicle has on the vehicle itself. The higher the weight, the stronger the influence of that vehicle on the vehicle itself.
[0046] S24. Perform feature aggregation on the scene context, and sum the features of neighboring vehicles based on gating weights to obtain the final scene feature vector:
[0047] To integrate refined scene context features that incorporate all vehicle interaction information.
[0048] Step S3 includes the following steps: S31. Utilize cross-attention for feature matching to refine scene features. For the query vector, the global rule feature matrix Given a key-value matrix, calculate the matching weights between scenarios and driving rules to achieve scenario adaptation of rule knowledge:
[0049] in, This represents a linear mapping matrix representing refined scene features. , It is a regular feature linear mapping matrix. This represents a scaling factor to avoid excessively large inner product values, and the output is the rule-matching feature. .
[0050] S32. Fuse and concatenate the features by dimensionally concatenating the rule-matching features and scene features, and achieve dual-feature information fusion through residual connection:
[0051] S33. Normalization and activation processing: Normalization processing is performed on the splicing feature skill layer to eliminate the influence of feature dimensions. The activation function performs a nonlinear transformation to obtain the final fused features:
[0052] in, It is a layer normalization operation.
[0053] Step S4 includes the following steps: S41. Design rule sequence probability prediction. Build a rule-assisted supervision head to integrate... For input, through The function outputs the activation probability distribution of each driving rule:
[0054] in, , These are the weights and bias parameters of the rule supervision head, respectively. This is a regular probability distribution vector.
[0055] S42. Constructing the rule-action mapping matrix ,in, This represents the spatial dimension of autonomous driving actions. Prior action values are calculated using matrix operations. ,in, Prior values for actions guided by rule knowledge represent the degree of rule compliance for each action.
[0056] The S43 and DQN main networks, based on fused features, use deep neural networks to approximate the action value function to obtain the basic action Q-value. .
[0057] S44. Calculate the final Q-value by weighting and fusing the prior Q-values of the rules with the basic Q-values to obtain the final decision Q-value:
[0058] in, It is the rule-guided weight coefficient, used to adjust the constraint strength of rule knowledge on decision-making.
[0059] S45. Based on the final Q value, select the action corresponding to the maximum value to complete the autonomous driving decision:
[0060] in, It is the optimal control command output by the DQN intelligent agent in the current driving scenario, enabling more compliant and reasonable autonomous driving decisions in complex and dynamic scenarios.
[0061] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.
Claims
1. An autonomous driving decision-making method based on a knowledge-driven, novel attention mechanism, characterized in that, The method specifically includes the following steps: S1. Design a cognitive module, build a driving rule knowledge base, and use an encoder to embed driving rules into a complete rule encoding; specifically including: S11. Design a driving rule base, collect autonomous driving traffic rules, obstacle avoidance rules, and traffic rule text rules, and record them as a rule text set. ,in, It is the number of rules. It is the first One text of driving rules; S12. The rule text in the driving rule base is embedded and encoded using an encoder. The encoding function is denoted as follows: Output a fixed-dimensional rule embedding vector, denoted as: in, It is the dimension of the regular feature vector. It is the first The encoded vector of each text driving rule; S13. Integrate all rule vectors to obtain the global rule feature matrix, which serves as prior knowledge for subsequent feature fusion: This matrix realizes a structured representation of driving rule knowledge, which is independent of the scenario and provides constant rule constraint priors for autonomous driving decision-making. S2. Design perception module, analyze driving scene information in real time, and use a two-stage attention mechanism to realize dynamic scene interaction feature modeling with the vehicle as the core; S3. Design feature fusion module, which obtains enhanced features by fusing rule features and scene features; S4, Design Decision Module, guides the DQN agent to make the final decision based on the rule-assisted module.
2. The autonomous driving decision-making method based on a knowledge-driven, novel attention mechanism according to claim 1, characterized in that, Step S2 specifically includes: S21. Collect real-time driving scene data, including the position, speed, and acceleration status information of the vehicle and surrounding vehicles, and construct a vehicle state feature set; to reduce computational load, set vehicles within 100m of the vehicle as the computation target, and assume there are a total of [number missing] vehicles within the scene range. The surrounding vehicles, the first The original characteristics of the adjacent vehicles are: ,in, The state feature dimension of a single vehicle; the global state matrix of surrounding vehicles is: S22. Perform self-attention interaction modeling on surrounding vehicles. Information transfer between surrounding vehicles is achieved through a self-attention mechanism, allowing each surrounding vehicle to integrate information from other vehicles and obtain a context-enhanced representation. Therefore, calculate the interaction features between neighboring vehicles: In the formula, , , The characteristic matrix is respectively The query, key, and value obtained through linear mapping This represents the scaling factor to prevent the inner product from becoming too large. S23. Calculate the gating attention weights centered on the vehicle and construct the gating network. Based on the characteristics of the vehicle state and the enhanced features of surrounding vehicles Using the surrounding vehicles as input, calculate the importance weights of the vehicle relative to its neighboring vehicles, which are also known as gating weights: In the formula, For the first The gating weight of a neighboring vehicle; the higher the weight, the stronger the influence of that vehicle on the vehicle itself. S24. Perform feature aggregation on the scene context, and sum the features of neighboring vehicles based on the gating weights to obtain the final scene feature vector: To integrate refined scene features that incorporate all vehicle interaction information.
3. The autonomous driving decision-making method based on a knowledge-driven, novel attention mechanism according to claim 2, characterized in that, Step S3 specifically includes: S31. Utilize cross-attention for feature matching to refine scene features. For the query vector, the global rule feature matrix Given a key-value matrix, calculate the matching weights between scenarios and driving rules to achieve scenario adaptation of rule knowledge: in, This represents a linear mapping matrix representing refined scene features. , It is a regular feature linear mapping matrix. This represents the scaling factor to prevent the inner product from becoming too large. S32. Fuse and concatenate the features by dimensionally concatenating the rule-matching features and scene features, and achieve dual-feature information fusion through residual connection: S33. Normalization and activation processing: Normalization processing is performed on the splicing feature skill layer to eliminate the influence of feature dimensions. The activation function performs a nonlinear transformation to obtain the final enhanced fused features: in, It is a layer normalization operation.
4. The autonomous driving decision-making method based on a knowledge-driven, novel attention mechanism according to claim 3, characterized in that, Step S4 specifically includes: S41. Design rule sequence probability prediction: Build a rule-assisted supervision head to integrate... For input, through The function outputs the activation probability distribution of each driving rule: in, , These are the weights and bias parameters of the rule supervision head, respectively. It is a regular probability distribution vector; S42. Constructing the rule-action mapping matrix ,in, This represents the spatial dimension of autonomous driving actions; prior action values are calculated through matrix operations. ,in, Prior values for actions guided by rule knowledge characterize the degree of rule compliance for each action; The S43 and DQN main networks, based on fused features, use deep neural networks to approximate the action value function to obtain the basic action Q-value. ; S44. Calculate the final Q-value by weighting and fusing the prior Q-values of the rules with the basic Q-values to obtain the final decision Q-value: in, It is the bias coefficient of the rule prior, used to adjust the constraint strength of rule knowledge on decision-making; S45. Based on the final Q-value, select the action corresponding to the maximum value to complete the selection of the decision action: in, It is the optimal control command output by the DQN intelligent agent in the current driving scenario, enabling more compliant and reasonable autonomous driving decisions in complex and dynamic scenarios.
5. An autonomous driving decision-making system based on a knowledge-driven, novel attention mechanism, characterized in that: The system employs the method as described in any one of claims 1 to 4.
