Reinforcement learning multi-vehicle cooperative system and method based on strategy-constrained communication
By using policy constraints and graph attention networks in a multi-autonomous vehicle collaboration system, the problem of low collaboration efficiency caused by vehicle information differences in the existing technology is solved, adaptive communication and group collaboration are realized, and traffic efficiency and Lane utilization.
Patent Information
- Application Number
- CN202311107763.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-29
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-08-29
Smart Images

Figure CN116902006B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical fields of multi-autonomous driving vehicle reinforcement learning, autonomous driving, multi-vehicle collaboration, and more specifically, to a reinforcement learning multi-vehicle collaboration system and method based on strategy-constrained communication. Background Art
[0002] The development of artificial intelligence technology is promoting continuous progress in the field of autonomous driving. However, in dense mixed traffic scenarios with a large number of autonomous driving vehicles, human-driven vehicles, pedestrians and other traffic participants, problems such as traffic congestion, difficulty in coordination, and difficulty in ensuring safety are more likely to occur.
[0003] With the continuous advancement of autonomous driving technology, the focus at home and abroad has recently been on how to use the collaboration between multiple autonomous driving vehicles to improve traffic conditions and traffic efficiency. Sensor data from multiple vehicles can provide multi-perspective information for autonomous driving vehicles, help vehicles to perceive beyond visual range, perceive harsh environments, and reduce the number and cost of on-board sensors. Therefore, multi-vehicle collaborative technology can expand the perception of autonomous driving vehicles and provide more abundant information support and data sources for autonomous driving technology, thereby promoting vehicles to make more robust and safe vehicle behavior decisions. Under the condition of richer data provided by multi-vehicle collaboration, more complex vehicle collaboration can also be achieved between multiple autonomous driving vehicles, further improving traffic operation efficiency based on vehicle collaboration and alleviating road congestion and other phenomena.
[0004] However, due to the long-distance characteristics of autonomous driving tasks and the limited communication range of vehicles, vehicles will undergo dynamic networking and can only communicate in a limited manner. Therefore, the key to multi-vehicle technology lies in how to effectively transmit information between multiple autonomous driving vehicles under this dynamic limited communication setting, promote their grouping and division of labor to maximize the level of coordination between vehicles and thus improve traffic efficiency.
[0005] CN115993793A discloses a method for intelligent automobile control based on vehicle-road collaboration, specifically, the vehicles in the area obtain vehicle operation status information and vehicle surrounding environment information based on vehicle-mounted sensors, and send them to the road test control unit through V2X technology. Each road test control unit uses a fuzzy control algorithm to save the identified road surface information in the road surface information library, and the road surface information is combined with the road surface information library data of the road section in the area, and the vehicle operation status information and vehicle surrounding environment information in the area are combined to plan the vehicle driving path and control execution instructions for the vehicles in the area, and finally send the vehicle-planned vehicle driving path and control execution instructions to the corresponding vehicle. Each vehicle in the area controls the vehicle operation according to the corresponding vehicle-planned vehicle driving path and control execution instructions.
[0006] This technology uses a centralized control method to send instructions to driving vehicles, ignoring the fact that different vehicles have different goals and driving strategy preferences. This application establishes an independent driving strategy network to control the autonomous driving vehicles in the communication area to perform adaptive communication based on the local strategies and observation information of the vehicles, thereby promoting the spontaneous grouping and collaboration of autonomous driving vehicles.
[0007] The existing technology models autonomous vehicles as autonomous vehicles. The Continuous Communication Net (CommNet) [1] algorithm is an algorithm for adaptive communication between autonomous vehicles to achieve autonomous vehicle collaboration. It takes the average of the information obtained by the autonomous vehicle from all other communicable autonomous vehicles as the communication message. The autonomous vehicle then uses a globally shared network to generate a local information vector after communication based on the communication message and local information. Finally, the autonomous vehicle makes behavioral decisions based on this new information vector. The algorithm training process can be summarized as follows:
[0008] Table 1 Algorithm processing flow pseudo code
[0009]
[0010]
[0011]
[0012] CommNet communication process Figure 1 As shown in Figure 2, multiple steps of centralized average message passing are required under a set of state inputs. Where f represents the shared communication module, T i represents the i-th time step, s i represents the state information observed locally by the vehicle, a i Represents the individual motion of a vehicle.
[0013] The shortcomings of the existing technology are as follows: the average communication method ignores the differences in information required by different vehicles, has high training overhead, and cannot explicitly promote grouping and coordination of autonomous driving vehicles based on the vehicle's strategic tendencies, resulting in low traffic efficiency and lane utilization. Summary of the invention
[0014] In order to solve the above problems, this proposal proposes a reinforcement learning collaborative decision-making method based on adaptive communication under the constraints of multi-vehicle individual strategies. The communication process is controlled by the correlation of vehicle state information and the consistency of individual strategies, so as to achieve adaptive communication and promote spontaneous grouping and collaboration of vehicles.
[0015] In order to achieve the above-mentioned object, the present invention adopts the following technical solution: a reinforcement learning multi-vehicle cooperative system based on strategy-constrained communication, comprising: a communication module and a communication control module;
[0016] The communication module is installed on the autonomous driving vehicle and is used to obtain local observations O = {o1, o2, ...o n}; and obtain the observation code e at other communicable autonomous driving vehicles ij ;
[0017] The communication control module is installed on the autonomous driving vehicle and includes a weight generator based on a graph attention network. The communication control module is used to extract features from observations and generate observation codes E = {e1, e2, ...e n}; Then according to the real-time communication range of each autonomous driving vehicle L = {l1, l2, ...l n}Establish communication topology and calculate communication weight w ij , get the communication message M = {m1, m2, ...m n};
[0018] The communication control module of each autonomous driving vehicle makes behavioral decisions based on its own observation code and communication messages to obtain the reward r, and uses the individual action estimation network g(·) based only on the local observation code (e.g. Figure 5 As shown in Figure 2), the local individual action value estimate Q′ = {Q 1 , Q 2 ,...Q n}, where Q i =g(e i ) ; Then the local individual action value estimates are distributed to generate local strategies, and the strategy similarity weight is calculated based on the similarity of local strategies
[0019] Then, the temporal difference loss is calculated based on the reward r, the constraints are calculated based on the similarity weights, and the model parameters are updated in reverse. Finally, the training is completed and the local strategy and weight generator are applied to specific scenarios.
[0020] Furthermore, each autonomous driving vehicle is regarded as a communication node. If two autonomous driving vehicles are within the communication range of each other, there is a communication edge between the two. Due to the dynamics of the autonomous driving vehicles in the environment, the communication topology is a time-varying topology.
[0021] Furthermore, for any autonomous driving vehicle i, the communication control module calculates the partial observation o obtained by itself from the surrounding traffic environment at a given time step t. i , using the encoding network f(·) whose structure is a single-layer linear embedding network, feature extraction is performed to generate the observation code ei , which obtains the observation code set E={e1, e2, …, e n}.
[0022] Furthermore, the communication control module calculates the communication coefficient c using a weight generator based on a graph attention network based on the observation set obtained by the autonomous driving vehicle and the feature correlation between its own observation code and the observation codes of all communicable autonomous driving vehicles. ij :
[0023]
[0024] Since the number of autonomous vehicles within the communication range changes dynamically, for scalability, the communication coefficient is activated using the LeakyReLU nonlinear activation function and normalized to generate the communication weight:
[0025]
[0026] Furthermore, the communication control module obtains the communication weight w ij Based on the observation code of each autonomous driving vehicle, the communication message is obtained from the centralized perspective of each autonomous driving vehicle; for vehicle i, its communication message m i for:
[0027]
[0028] Furthermore, in order to further realize the group coordination among autonomous driving vehicles, the communication control module introduces communication control based on local policy constraints. Since different autonomous driving vehicles have different policy tendencies and possibly different driving goals, the group coordination among vehicles with similar tendencies and goals can effectively improve traffic efficiency. To extract the individual policy tendencies of vehicles, for any autonomous driving vehicle i, let i only rely on the local observation information o i Generate individual action driving value estimate Q i , and distribute the action value estimate to generate a local individual action strategy π, which represents the individual behavior strategy tendency of the autonomous driving vehicle based on different goals:
[0029]
[0030] Where P(.) means distributing the action value estimate, and H(.,.) means calculating the Heisenberg distance between two distributions.
[0031] Furthermore, the communication control module controls the communication process by measuring the similarity of individual behavior strategies within the limited communication range of each autonomous driving vehicle in order to enable vehicles with similar strategic tendencies to group and cooperate. The Heisenberg distance is used to calculate the similarity between the two distributions and normalized to obtain the strategy similarity weight:
[0032]
[0033] Represents the similarity weight between distributions. According to the policy similarity weight, the communication control in the first part can be subject to policy regularization constraints:
[0034]
[0035] represents the policy constraint loss, which can explicitly encourage autonomous vehicles with similar policy tendencies to cooperate in groups.
[0036] The present invention also discloses a reinforcement learning multi-vehicle collaboration method based on strategy constraint communication, comprising the following steps:
[0037] Step 1: All autonomous vehicles obtain local observations O = {o1, o2, ...o n};
[0038] Step 2: Extract features from observations to generate observation codes E = {e1, e2, ...e n};
[0039] Step 3: According to the real-time communication range of each vehicle L = {l1, l2, ...l n}Establish communication topology;
[0040] Step 4: Each vehicle obtains the observation code e from other communicable vehicles ij , calculate the communication weight w ij ;
[0041] Step 5: Get the communication message M = {m1, m2, ...m n};
[0042] Step 6: Each vehicle makes a behavioral decision based on its own observation code and communication message to obtain a reward r, and uses the individual action estimation network g(·) based only on the local observation code (e.g. Figure 5 As shown in Figure 2), the local individual action value estimate Q′ = {Q 1 , Q 2 ,...Q n}, where Q i =g(e i );
[0043] Step 7: Distribute the local individual action value estimates to generate local strategies, and calculate the strategy similarity weight based on the similarity of local strategies
[0044] Step 8: Calculate the temporal difference loss based on the reward r, calculate the constraints based on the similarity weights, and update the model parameters in reverse;
[0045] Step 9: Complete training and apply the local strategy and weight generator to specific scenarios.
[0046] Furthermore, each autonomous driving vehicle is regarded as a communication node. If two autonomous driving vehicles are within the communication range of each other, there is a communication edge between the two. Due to the dynamics of the autonomous driving vehicles in the environment, the communication topology is a time-varying topology.
[0047] Furthermore, in Step 2, specifically: at a given time step t, for any autonomous driving vehicle i, first, all autonomous driving vehicles obtain partial observations o from the surrounding traffic environment i , using the encoding network f(·) whose structure is a single-layer linear embedding network, feature extraction is performed to generate the observation code e i , which obtains the observation code set E={e1, e2, ..., e n}.
[0048] Furthermore, in Step 4, the specific steps are as follows:
[0049] Based on the observation set obtained by the autonomous driving vehicle, the feature correlation between its own observation code and the observation codes of all communicable autonomous driving vehicles is used, and a weight generator based on a graph attention network (such as Figure 3 As shown) calculate the communication coefficient c ij :
[0050]
[0051] Since the number of autonomous vehicles within the communication range changes dynamically, for scalability, the communication coefficient is activated using the LeakyReLU nonlinear activation function and normalized to generate the communication weight:
[0052]
[0053] Furthermore, in Step 5, the specific steps are as follows:
[0054] The communication weight w ijBased on the observation code of each autonomous driving vehicle, the communication message is obtained from the centralized perspective of each autonomous driving vehicle; for vehicle i, its communication message m i for:
[0055]
[0056] Furthermore, in Step 6, the specific steps are as follows:
[0057] In order to further realize the group coordination among autonomous driving vehicles, communication control based on local policy constraints is introduced. Since different autonomous driving vehicles have different policy tendencies and possibly different driving goals, group coordination among vehicles with similar tendencies and goals can effectively improve traffic efficiency. To extract the individual policy tendencies of vehicles, for any autonomous driving vehicle i, let i only rely on the local observation information o i Generate individual action driving value estimate Q i , and distribute the action value estimate to generate a local individual action strategy v, which represents the individual behavior strategy tendency of the autonomous driving vehicle based on different goals:
[0058]
[0059] Where P(.) means distributing the action value estimate, and H(.,.) means calculating the Heisenberg distance between two distributions.
[0060] Furthermore, in Step 6, the specific steps are as follows:
[0061] In order to enable vehicles with similar strategic tendencies to cooperate in groups, the communication process is controlled by measuring the similarity of individual behavior strategies within the limited communication range of each autonomous driving vehicle. The Heisenberg distance is used to calculate the similarity between the two distributions and normalized to obtain the strategy similarity weight:
[0062]
[0063] Represents the similarity weight between distributions. According to the policy similarity weight, the communication control in the first part can be subject to policy regularization constraints:
[0064]
[0065] represents the policy constraint loss, which can explicitly encourage autonomous vehicles with similar policy tendencies to cooperate in groups.
[0066] The beneficial effects of the present invention are:
[0067] 1. The method of generating communication weights by using the local state of the vehicle proposed in the present invention generates weight values for communication control based on the correlation of state information, which can realize adaptive communication of vehicles within a limited communication range and promote spontaneous collaboration of vehicles.
[0068] 2. The communication control method based on local policy constraints proposed in the present invention can effectively constrain communication based on the individual policy tendencies of autonomous driving, explicitly promote grouping and collaboration of intelligent agents (autonomous driving vehicles), and thus effectively improve traffic efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 It is a schematic diagram of the CommNet communication process of the prior art;
[0070] Figure 2 A schematic diagram of establishing a dynamic communication topology diagram for the present invention;
[0071] Figure 3 is a schematic diagram of the weight generator;
[0072] Figure 4 Schematic diagram of policy constraints;
[0073] Figure 5 Schematic diagram of using individual action estimation network based on local observation encoding;
[0074] Figure 6 A schematic diagram of a traffic scene at a crossroad. DETAILED DESCRIPTION
[0075] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0076] A reinforcement learning multi-vehicle cooperative system based on strategy-constrained communication, comprising: a communication module and a communication control module;
[0077] The communication module is installed on the autonomous driving vehicle and includes a weight generator based on a graph attention network. The communication control module is used to obtain local observations O = {o1, o2, ...o n}; and obtain the observation code e at other communicable autonomous driving vehicles ij ;
[0078] The communication control module is installed on the autonomous driving vehicle and is used to extract features from observations to generate observation codes E = {e1, e2, ...en}; Then according to the real-time communication range of each autonomous driving vehicle L = {l1, l2, ...l n}Establish communication topology and calculate communication weight w ij , get the communication message M = {m1, m2, ...m n};
[0079] The communication control module of each autonomous vehicle makes behavioral decisions based on its own observation code and communication messages to obtain a reward r. The definition of the reward uses the existing schemes in Human-in-the-loop deep reinforcement learning with application to autonomous driving[2] and Deep Reinforcement Learning for Traffic Light Control in Vehicular Networks[3]. It comprehensively considers the driving strategy of the autonomous vehicle and the traffic communication efficiency, and generates a local individual action value estimate Q′={Q 1 , Q 2 ,...Q n}, where Q i =g(e i ) ; Then the local individual action value estimates are distributed to generate local strategies, and the strategy similarity weight is calculated based on the similarity of local strategies
[0080] Then, the temporal difference loss is calculated based on the reward r, the constraints are calculated based on the similarity weights, and the model parameters are updated in reverse. Finally, the training is completed, and the local strategy and weight generator are applied to specific scenarios, ultimately achieving a better multi-vehicle collaboration solution and optimizing the autonomous driving strategy. The individual action value estimation and strategy network use the network structure in QMIX: Monotonic Value Function Factorisation for Deep Multi-Agent Reinforcement Learning[4], and the communication weight network structure uses the graph attention network structure in Graph attention network[5].
[0081] In practical applications, such as Figure 2As shown, there is a scene with multiple autonomous driving vehicles at an intersection. Each autonomous driving vehicle is regarded as a communication node. If two autonomous driving vehicles are within the communication range of each other, there is a communication edge between the two. Due to the dynamics of the autonomous driving vehicles in the environment, the communication topology is a time-varying topology.
[0082] For any autonomous driving vehicle i, the communication control module uses the encoding network f(·) integrated in the vehicle to calculate the partial observation o obtained from the surrounding traffic environment at a given time step t. i Perform feature extraction to generate observation code i =f(o i ), the coding network is composed of a single-layer linear embedding network, which obtains the observation coding set E = {e1, e2, ..., e n}.
[0083] Then, the communication control module uses the feature correlation between its own observation code and the observation codes of all communicable autonomous driving vehicles based on the observation set obtained by the autonomous driving vehicle, and uses a weight generator based on the graph attention network (such as Figure 3 As shown) calculate the communication coefficient c ij :
[0084]
[0085] Since the number of autonomous vehicles within the communication range changes dynamically, for scalability, the communication coefficient is activated using the LeakyReLU nonlinear activation function and normalized to generate the communication weight:
[0086]
[0087] The communication control module obtains the communication weight w ij Based on the observation code of each autonomous driving vehicle, the communication message is obtained from the centralized perspective of each autonomous driving vehicle; for vehicle i, its communication message m i for:
[0088]
[0089] Furthermore, in order to further realize the group coordination among autonomous driving vehicles, the communication control module introduces communication control based on local policy constraints. Since different autonomous driving vehicles have different policy tendencies and possibly different driving goals, the group coordination among vehicles with similar tendencies and goals can effectively improve traffic efficiency. To extract the individual policy tendencies of vehicles, for any autonomous driving vehicle i, let i only rely on the local observation information oi Generate individual action driving value estimate Q i ,like Figure 5 As shown, the action value estimate is distributed to generate a local individual action strategy π, which represents the individual behavior strategy tendency of the autonomous driving vehicle based on different goals:
[0090]
[0091] Where P(.) means distributing the action value estimate, and H(.,.) means calculating the Heisenberg distance between two distributions.
[0092] In order to enable vehicles with similar strategic tendencies to group and cooperate, the communication control module controls the communication process by measuring the similarity of individual behavior strategies within the limited communication range of each autonomous driving vehicle. The Heisenberg distance is used to calculate the similarity between the two distributions and normalized to obtain the strategy similarity weight:
[0093]
[0094] Represents the similarity weight between distributions. According to the policy similarity weight, the communication control in the first part can be subject to policy regularization constraints:
[0095]
[0096] represents the policy constraint loss, which can explicitly encourage autonomous vehicles with similar policy tendencies to cooperate in groups.
[0097] In practical applications, the reinforcement learning multi-vehicle cooperative system based on policy-constrained communication is provided with a memory or storage unit for storing data, which is used to dynamically update and store data information such as communication topology in real time.
[0098] The present invention also discloses a reinforcement learning multi-vehicle collaboration method based on strategy constraint communication, comprising the following steps:
[0099] Step 1: All autonomous vehicles obtain local observations O = {o1, o2, ...o n};
[0100] Step 2: Extract features from observations to generate observation codes E = {e1, e2, ...e n}, where e i =f(o i );
[0101] Step 3: According to the real-time communication range of each vehicle L = {l1, l2, ...l n}Establish communication topology;
[0102] Step 4: Each vehicle obtains the observation code e from other communicable vehicles ij , calculate the communication weight w ij ;
[0103] Step 5: Get the communication message M = {m1, m2, ...m n};
[0104] Step 6: Each vehicle makes a behavioral decision based on its own observation code and communication message to obtain a reward r, and uses the individual action estimation network g(·) based only on the local observation code (e.g. Figure 5 As shown in Figure 2), the local individual action value estimate Q′ = {Q 1 , Q 2 ,...Q n}, where Q i =g(e i );
[0105] Step 7: Distribute the local individual action value estimates to generate local strategies, and calculate the strategy similarity weight based on the similarity of local strategies
[0106] Step 8: Calculate the temporal difference loss based on the reward r, calculate the constraints based on the similarity weights, and update the model parameters in reverse;
[0107] Step 9: Complete training and apply the local strategy and weight generator to specific scenarios.
[0108] In practical applications, each autonomous driving vehicle is regarded as a communication node. If two autonomous driving vehicles are within the communication range of each other, there is a communication edge between them. Due to the dynamics of the autonomous driving vehicles in the environment, the communication topology is a time-varying topology.
[0109] In Step 2, specifically: at a given time step t, for any autonomous driving vehicle i, first all autonomous driving vehicles obtain part of their own observations o from the surrounding traffic environment i , using the encoding network f(·) whose structure is a single-layer linear embedding network, feature extraction is performed to generate the observation code e i , which obtains the observation code set E={e1, e2, ..., e n}.
[0110] In Step 4, specifically:
[0111] Based on the observation set obtained by the autonomous driving vehicle, the observation encoding is feature mapped: Wei , and concatenate the mapping results to generate a joint vector: Then, the feature correlation between its own observation code and the observation code of all communicable autonomous driving vehicles is used, and a weight generator based on a graph attention network (such as Figure 3 As shown) calculate the communication coefficient c ij :
[0112]
[0113] Since the number of autonomous vehicles within the communication range changes dynamically, for scalability, the communication coefficient is activated using the LeakyReLU nonlinear activation function and normalized to generate the communication weight:
[0114]
[0115] In Step 5, specifically:
[0116] The communication weight w ij Based on the observation code of each autonomous driving vehicle, the communication message is obtained from the centralized perspective of each autonomous driving vehicle; for vehicle i, its communication message m i for:
[0117]
[0118] In Step 6, specifically:
[0119] In order to further realize the group coordination among autonomous driving vehicles, communication control based on local policy constraints is introduced. Since different autonomous driving vehicles have different policy tendencies and possibly different driving goals, group coordination among vehicles with similar tendencies and goals can effectively improve traffic efficiency. To extract the individual policy tendencies of vehicles, for any autonomous driving vehicle i, let i only rely on the local observation information o i Generate individual action driving value estimate Q i ,like Figure 5 As shown, the action value estimate is distributed to generate a local individual action strategy π, which represents the individual behavior strategy tendency of the autonomous driving vehicle based on different goals:
[0120]
[0121] Where P(.) means distributing the action value estimate, and H(.,.) means calculating the Heisenberg distance between two distributions.
[0122] Furthermore, in Step 6, the specific steps are as follows:
[0123] In order to enable vehicles with similar strategic tendencies to cooperate in groups, the communication process is controlled by measuring the similarity of individual behavior strategies within the limited communication range of each autonomous driving vehicle. The Heisenberg distance is used to calculate the similarity between the two distributions and normalized to obtain the strategy similarity weight:
[0124]
[0125] Represents the similarity weight between distributions. According to the policy similarity weight, the communication control in the first part can be subject to policy regularization constraints:
[0126]
[0127] represents the policy constraint loss, which can explicitly encourage autonomous vehicles with similar policy tendencies to cooperate in groups.
[0128] Take the traffic scene with a crossroad where traffic efficiency is more important as an example. Figure 6 As shown, multiple autonomous driving vehicles (taking 10 as an example, Figure 6 Each autonomous vehicle has its own independent driving destination (indicated by the dotted arrow in the figure). Each autonomous vehicle obtains its own speed from the environment, the observed state information of other vehicles and other traffic entities, and uses the policy-constrained communication-based reinforcement learning multi-vehicle cooperative system integrated on the autonomous vehicle to extract features and obtain local observation codes. The codes contain high-level semantic features of all state information such as speed and direction observed by the autonomous vehicle itself. Each vehicle establishes its own communication topology based on a real-time limited communication range, such as a circular communication range with a radius of 25 meters. The communication topology can be dynamically updated in real time and stored in the vehicle storage unit. Each vehicle obtains its own original observation codes from other vehicles within the communication range. These observation codes contain multi-perspective traffic information, and uses its own observation code and the obtained observation codes of multiple other vehicles to form a joint vector (as shown on the right side of the equal sign in formula (1)). The linear network in the graph attention network is used to adaptively extract the correlation between its own observation and the observation of each communicable vehicle (as shown in the right side of the equation (1)). Figure 3 As shown in the figure, the corresponding communication weight is generated by the softmax function, and the observation code of each vehicle is weighted averaged using the weight to achieve focused communication of vehicle information with high relevance. On this basis, all vehicles use the individual action estimation network based on local information (such as Figure 5As shown in the figure, the local action value estimation is generated, and the value estimation is Boltzmann distributed or softmax distributed to generate the local strategy. The local strategy reflects the nature of the strategic tendency formed by the vehicle based on different driving purposes. The communication weight is regularized by using the Heisenberg distance or other distance measurement methods to promote the cooperation between vehicles with similar strategic tendencies, so that vehicles with similar driving destinations can make lane adjustments in advance, which can indirectly improve the specificity of lanes in the same road section. For example, the lane change adjustment of vehicles in the lane in the figure is taken as an example. Lane selection is adaptively performed according to different vehicle destinations to avoid the reduction of lane utilization efficiency caused by frequent lane changes, reduce congestion, and indirectly improve traffic operation efficiency. The parameters of multiple networks (encoding network, individual value estimation network, weight generator), network structure information, intermediate operation results (such as observation coding, local value estimation value, etc.), communication messages, etc. are all stored in the vehicle storage unit.
[0129] The beneficial effects of the present invention are:
[0130] 1. The method of generating communication weights by using the local state of the vehicle proposed in the present invention generates weight values for communication control based on the correlation of state information, which can realize adaptive communication of vehicles within a limited communication range and promote spontaneous collaboration of vehicles.
[0131] 2. The communication control method based on local policy constraints proposed in the present invention can effectively constrain communication based on the individual policy tendencies of autonomous driving, explicitly promote grouping and collaboration of intelligent agents (autonomous driving vehicles), and thus effectively improve traffic efficiency.
[0132] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
[0133] References
[0134] [1]Sukhbaatar S,Fergus R,Others.Learning multiagent communication with backpropagation[J].Advances in neural information processingsystems.2016,29.
[0135] [2]Wu,Jingda,et al."Human-in-the-loop deep reinforcement learningwith application to autonomous driving."arXiv preprint arXiv:2104.07246(2021).
[0136] [3]Liang,Xiaoyuan,et al."Deep reinforcement learning for trafficlight control in vehicular networks."arXiv preprint arXiv:1803.11115(2018).
[0137] [4]Rashid,Tabish,et al."Monotonic value function factorisation fordeep multi-agent reinforcement learning."The Journal of Machine LearningResearch 21.1(2020):7234-7284.
[0138] [5] Petar,et al."Graph attention networks."arXiv preprintarXiv:1710.10903(2017).
Claims
1. A reinforcement learning multi-vehicle cooperative system based on policy-constrained communication, characterized in that: include: Communication module and communication control module; The communication module is installed on the autonomous driving vehicle and is used to obtain local observations O = {o1, o2, ... n }; and obtain the observation code e at other communicable autonomous driving vehicles ij ; The communication control module is installed on the autonomous driving vehicle and includes a weight generator based on a graph attention network. The communication control module is used to extract features from observations to generate an observation encoding set E = {e1, e2, ...e n }; Then according to the real-time communication range of each autonomous driving vehicle L = {l1,l2,…l n }Establish communication topology and calculate communication weight w ij , get the communication message M = {m1,m2,…m n }; The communication control module of each autonomous driving vehicle makes behavioral decisions based on its own observation code and communication messages to obtain reward r, and generates local individual action value estimates Q based only on local observation codes using the individual action estimation network g(·) ′ = {Q 1 ,Q 2 ,…Q n }, where Q i =g(e i ) ; Then the local individual action value estimates are distributed to generate local strategies, and the strategy similarity weight is calculated based on the similarity of local strategies Then, the temporal difference loss is calculated based on the reward r, the constraints are calculated based on the similarity weights, and the model parameters are updated in reverse. Finally, the training is completed and the local strategy and weight generator are applied to specific scenarios. The communication control module performs feature mapping on the observation code based on the observation set obtained by the autonomous driving vehicle: i , and concatenate the mapping results to generate a joint vector; then use the feature correlation between its own observation code and the observation code of all communicable autonomous driving vehicles, and use the weight generator based on the graph attention network to calculate the communication coefficient c ij : Since the number of autonomous vehicles within the communication range changes dynamically, for scalability, the communication coefficient is activated using the LeakyReLU nonlinear activation function and normalized to generate the communication weight: The communication control module obtains the communication weight w ij Based on the observation code of each autonomous driving vehicle, the communication message is obtained from the centralized perspective of each autonomous driving vehicle; for vehicle i, its communication message m i for: In order to further realize the group coordination among autonomous driving vehicles, the communication control module introduces communication control based on local policy constraints. Since different autonomous driving vehicles have different policy tendencies and possibly different driving goals, the group coordination among vehicles with similar tendencies and goals can effectively improve traffic efficiency. To extract the individual policy tendencies of vehicles, for any autonomous driving vehicle i, let i only rely on the local observation information o i Generate individual action driving value estimate Q i , and distribute the driving value estimate of the action to generate a local individual action strategy π, which represents the individual behavior strategy tendency of the autonomous driving vehicle based on different goals: Where P(.) means distributing the action value estimate, and H(.,.) means calculating the Heisenberg distance between two distributions; The communication control module controls the communication process by measuring the similarity of individual behavior strategies within the limited communication range of each autonomous driving vehicle in order to enable vehicles with similar strategy tendencies to group and cooperate. The Heisenberg distance is used to calculate the similarity between the two distributions and normalized to obtain the strategy similarity weight: Represents the policy similarity weight, according to which the communication control in the first part can be constrained by policy regularization: represents the policy constraint loss, which can explicitly encourage autonomous vehicles with similar policy tendencies to cooperate in groups.
2. The reinforcement learning multi-vehicle cooperative system based on policy constraint communication according to claim 1 is characterized in that: Each autonomous vehicle is regarded as a communication node. If two autonomous vehicles are within the communication range of each other, there is a communication edge between them. Due to the dynamics of autonomous vehicles in the environment, the communication topology is a time-varying topology.
3. The reinforcement learning multi-vehicle cooperative system based on policy constraint communication according to claim 1 is characterized in that: For any autonomous driving vehicle i, the communication control module obtains part of the observation information o from the surrounding traffic environment at a given time step t. i , using the encoding network f(·) whose structure is a single-layer linear embedding network, feature extraction is performed to generate the observation code e i =f(o i ), which obtains the observation code set E = {e1, e2, …, e n }.
4. A reinforcement learning multi-vehicle collaboration method based on policy-constrained communication, characterized in that: The following steps are involved: Step 1: All autonomous vehicles obtain local observations O = {o1, o2, ... n }; Step 2: Extract features from observations to generate observation encoding set E = {e1, e2, ...e n }, where e i =f(o i ); Step 3: According to the real-time communication range of each vehicle L = {l1,l2,…l n }Establish communication topology; Step 4: Each vehicle obtains the observation code e from other communicable vehicles ij , calculate the communication weight w ij ; Step 5: Get the communication message M = {m1,m2,…m n }; Step 6: Each vehicle makes a behavioral decision based on its own observation code and communication message to obtain a reward r, and generates a local individual action value estimate Q′={Q 1 ,Q 2 ,…Q n }, where Q i =g(e i ); Step 7: Distribute the local individual action value estimates to generate local strategies, and calculate the strategy similarity weight based on the similarity of local strategies Step 8: Calculate the temporal difference loss based on the reward r, calculate the constraints based on the similarity weights, and update the model parameters in reverse; Step 9: After training, apply the local strategy and weight generator to specific scenarios; In Step 4, specifically: Based on the observation set obtained by the autonomous driving vehicle, the observation encoding is feature mapped: We i , and concatenate the mapping results to generate a joint vector; then use the feature correlation between its own observation code and the observation code of all communicable autonomous driving vehicles, and use the weight generator based on the graph attention network to calculate the communication coefficient c ij : Since the number of autonomous vehicles within the communication range changes dynamically, for scalability, the communication coefficient is activated using the LeakyReLU nonlinear activation function and normalized to generate the communication weight: In Step 5, specifically: The communication weight w ij Based on the observation code of each autonomous driving vehicle, the communication message is obtained from the centralized perspective of each autonomous driving vehicle; for vehicle i, its communication message m i for: In Step 6, specifically: In order to further realize the group coordination among autonomous driving vehicles, communication control based on local policy constraints is introduced. Since different autonomous driving vehicles have different policy tendencies and possibly different driving goals, group coordination among vehicles with similar tendencies and goals can effectively improve traffic efficiency. To extract the individual policy tendencies of vehicles, for any autonomous driving vehicle i, let i only rely on the local observation information o i Generate individual action driving value estimate Q i , and distribute the driving value estimate of the action to generate a local individual action strategy π, which represents the individual behavior strategy tendency of the autonomous driving vehicle based on different goals: Where P(.) means distributing the action value estimate, and H(.,.) means calculating the Heisenberg distance between two distributions; In Step 6, specifically: In order to enable vehicles with similar strategic tendencies to cooperate in groups, the communication process is controlled by measuring the similarity of individual behavior strategies within the limited communication range of each autonomous driving vehicle. The Heisenberg distance is used to calculate the similarity between the two distributions and normalized to obtain the strategy similarity weight: Represents the policy similarity weight, according to which the communication control in the first part can be constrained by policy regularization: represents the policy constraint loss, which can explicitly encourage autonomous vehicles with similar policy tendencies to cooperate in groups.
5. The reinforcement learning multi-vehicle coordination method based on policy constraint communication according to claim 4 is characterized in that: Each autonomous driving vehicle is regarded as a communication node. If two autonomous driving vehicles are within the communication range of each other, there is a communication edge between them. Due to the dynamics of the autonomous driving vehicles in the environment, the communication topology is a time-varying topology.
6. The reinforcement learning multi-vehicle coordination method based on strategy-constrained communication according to claim 4 is characterized in that: In Step 2, specifically: at a given time step t, for any autonomous driving vehicle i, first all autonomous driving vehicles obtain part of the observation information o from the surrounding traffic environment i , using the encoding network f(·) whose structure is a single-layer linear embedding network, feature extraction is performed to generate observation encoding It obtains the observation code set E={e1,e2,…,e n }.
