A motion planning method based on inverse reinforcement learning

Through the data set expanded by inverse reinforcement learning and generative adversarial network, combined with the PPO algorithm, the problem of collision and transportation time in multi-robot collaborative transportation is solved, and efficient and safe multi-robot collaborative planning is achieved, which is suitable for complex dynamic environments.

CN118504808BInactive Publication Date: 2024-10-01CHANGCHUN INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410968161.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In a busy matrix production workshop, how to avoid collisions and minimize transportation time for multi-robot cooperative transportation is a very challenging problem. Traditional motion planning methods have local optimal solutions, lack of conflict resolution mechanisms, and high computational complexity. Problems such as being based on static environment assumptions and difficulty in realizing collaborative planning limit its application in dynamic and complex scenarios.

Method used

Using a motion planning method based on inverse reinforcement learning, by collecting expert data, using generative adversarial networks (CTGAN) for data expansion, learning collaborative planning reward functions, and combining with the PPO algorithm to achieve collaborative transportation of multi-robot systems in complex environments.

Benefits of technology

It significantly improves the transportation efficiency and safety of multi-robot systems, enhances the generalization ability and robustness of the model, can flexibly respond to complex and changeable logistics system scenarios, and reduces operating costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118504808B_ABST
    Figure CN118504808B_ABST
Patent Text Reader

Abstract

The present invention discloses a motion planning method based on inverse reinforcement learning, which relates to the fields of workshop transportation, machine learning, multi-robot control, motion planning, etc. First, collect and establish an expert database; second, process the expert data set through CTGAN to increase the diversity and coverage of training data; finally, continuously update and optimize the reward function and motion strategy through the maximum entropy inverse reinforcement learning algorithm based on improved PPO, and realize the real-time collaborative motion of multiple robots through algorithm evaluation, adjustment and iteration. Compared with the prior art, the present invention can not only improve the accuracy and adaptability of multi-robot collaborative motion, but also ensure the high safety and efficiency of the transportation process. It has high technical innovation and application prospects in the fields of complex and changeable multi-robot collaborative systems, intelligent logistics systems, etc.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of workshop transportation, machine learning, multi-robot control, motion planning, and more specifically to a motion planning method based on inverse reinforcement learning. Background Art

[0002] The matrix production architecture is an efficient production model that achieves flexible and fast production by arranging multiple small-scale production units in the production workshop. Under this architecture, multi-robot collaborative transportation plays a key role, which can accelerate the flow of materials and products on the production line, reduce labor costs and reduce the possibility of production line stagnation, adapt more flexibly to changing production needs, and transfer from one production link to another more quickly, reducing handling time and waiting time, improving overall production efficiency, and reducing production costs. When the production task or production scale changes, the new task requirements can be met by increasing the number of robots or adjusting the collaborative strategy. Although multi-robot collaborative transportation in matrix production has many advantages, in a busy production environment, multiple robots need to jointly plan and collaborate to perform transportation tasks. How to avoid collisions between robots while minimizing transportation time is a very challenging problem.

[0003] However, traditional motion planning methods are prone to falling into local optimal solutions, lack of conflict resolution mechanisms, high computational complexity, based on static environment assumptions, difficult to achieve collaborative planning, and lack of flexibility, which limit the application of traditional methods in dynamic and complex production workshops and other practical scenarios. In order to improve the efficiency and adaptability of the system, it is necessary to introduce more advanced motion planning algorithms, collaborative planning mechanisms, dynamic environment modeling, and highly adaptable methods, such as machine learning algorithms such as deep learning and reinforcement learning.

[0004] In view of the above problems and practical needs, the present invention designs an inverse reinforcement learning (IRL) algorithm, which makes the system more generalized by learning the behavior of the system from expert data, and can learn to adapt to the changing task requirements in a complex environment. First, expert data is collected, and a conditional tabular generative adversarial network (CTGAN) that can process tabular data is used for data expansion to increase the diversity of training data. Then, a collaborative planning reward function is learned and trained by expanding the data set. Finally, the obtained reward function is given to the PPO algorithm that introduces the experience pool to realize the collaborative transportation of multi-robot systems in complex environments and improve the overall transportation efficiency. This method comprehensively uses expert data, generative adversarial networks and inverse reinforcement learning, aiming to enable the robot system to better imitate expert operations and be able to cope with the challenges in complex multi-robot collaborative transportation tasks. Summary of the invention

[0005] The present invention designs a motion planning method based on inverse reinforcement learning.

[0006] The specific implementation steps are as follows:

[0007] Step 1: Collect and establish an expert database. In the inverse reinforcement learning system, the expert database can help the intelligent system learn from the behavior of experts and imitate the decision-making process of experts to the greatest extent. First, clearly define the tasks and scenarios, and then select experts with domain expertise. By formulating a detailed demonstration data collection plan, preparing appropriate equipment and tools, and having experts perform tasks while recording the status and behavior of the experts. Subsequently, the collected data is labeled and cleaned to ensure data quality. By establishing a dataset, the labeled and preprocessed demonstration data is organized into a form for inverse reinforcement learning model training.

[0008] Step 2: Expert database expansion, use CTGAN to expand and diversify the expert dataset to increase the diversity and coverage of the training data. First, load the dataset established in step 1, and then initialize the generative adversarial network model through CTGAN. In the model fitting stage, by training the model, the adversarial network is generated using the original dataset to learn the potential distribution of the input data. During the training process, the network parameters are collaboratively optimized by minimizing the loss function between the generator and the discriminator. Based on the fitted model, new synthetic data can be generated to ensure that it is similar to the original data in statistical characteristics. The specific steps are as follows:

[0009] First, the generator Accept the noise vector and the conditional vector As input, generate synthetic data , expressed as:

[0010]

[0011] The loss function is expressed as:

[0012] L G = E z , c [log( D ( G ( z , c ), c ))]

[0013] in represents the loss function of the generator, Indicates that among all possible noise vectors and the conditional vector Take the expectation on the combination of

[0014] Then, the discriminator Accept real data and the conditional vector As input, and output the probability that the data is true , discriminator It is expressed as:

[0015]

[0016] Its loss function is expressed as:

[0017] L D = E x , c [log( D ( x , c ))] + E z , c [log( 1 − D ( G ( z , c ), c ))]

[0018] in represents the loss function of the discriminator, Indicates that among all possible real data and the conditional vector Take the expectation on the combination of

[0019] Finally, the data features are processed through the feature conversion layer, normalization and denormalization steps to obtain the generated expert trajectory. Indicates that and It is a learnable parameter matrix and vector used to transform the output of the generator to satisfy the distribution characteristics of the data;

[0020] The expert trajectory T is expressed as:

[0021]

[0022] in is the state-action pair of the expert trajectory.

[0023] The goal of the discriminator is to maximize the accuracy of distinguishing between real data and generated data, while the goal of the generator is to minimize the ability of the discriminator so that it cannot distinguish between generated data and real data. These two processes together drive the generator to learn the distribution of data and generate diverse synthetic data, thereby building an expert database with complex dynamic environments.

[0024] Step 3: Algorithm construction. The algorithm designed in the present invention is a maximum entropy inverse reinforcement learning algorithm based on the improved PPO, which is mainly divided into two parts: reinforcement learning and inverse reinforcement learning. According to the database expanded by CTGAN, expert demonstrations are generated. Inverse reinforcement learning learns a reward function with multi-agent collaborative motion from expert demonstrations. Subsequently, the reinforcement learning strategy is used to estimate the task-related reward function. By comparing with the expert strategy, the inverse reinforcement learning algorithm adjusts the reward function to make the agent's behavior close to the expert. The whole process is iterative. Through multiple rounds of reinforcement learning and inverse reinforcement learning training, the reward function is continuously optimized, and finally a reward function and strategy that performs well on the task and is consistent with the expert behavior is obtained.

[0025] Step 3.1: Define the state and action space. First, establish the workshop model and determine the environmental state, including the AGV's own position, speed, orientation, and the position and speed of the surrounding intelligent agents; then define the robot's action space, including the moving direction and speed.

[0026] Step 3.2: Problem modeling. Model the problem as a Markov decision process (MDP), where the state space, action space, reward function, etc. are all defined, and then use the maximum entropy deep inverse reinforcement learning algorithm to solve the problem.

[0027] Step 3.2.1: Definition of Markov decision process. The MDP consists of five tuples Composition, of which is the state space, representing all possible states that the robot can be in; is the action space, representing all the actions the robot can take; is the state transition probability function, which means that in state Take action After transfer to state probability; is the reward function, which means that in the state Take action Rewards received after is the discount factor, which indicates the importance of future rewards; Express expectations, is the currently executed strategy, is the reward function, is the action-value function, also called Function, indicating that in the state Next action The expected cumulative reward after . The specific expression is as follows:

[0028] Q ( s , a ) = E π [ ∑ t = 0 ∞ c t r t | s 0 = s , a 0 = a ]

[0029] Step 3.2.2: Maximum entropy reward function of maximum entropy inverse reinforcement learning. The maximum entropy reward function of maximum entropy inverse reinforcement learning can be expressed as:

[0030]

[0031] in, is in state Take action The maximum entropy reward, is the feature weight, is the characteristic function.

[0032] Step 3.2.3: Maximum entropy policy expression. The maximum entropy policy expression represents the probability of the robot taking an action in a given state, which can be expressed as:

[0033]

[0034] in, is in state Take action The probability of Partition function used for normalization.

[0035] Step 3.2.4: Definition of state value function and advantage function. In maximum entropy inverse reinforcement learning, by learning the state value function and advantage function, we can better evaluate the quality of the strategy and further optimize the strategy. Indicates in status The expected cumulative reward after executing the strategy is expressed as:

[0036] V ( s ) = E π [ ∑ t = 0 ∞ c t r t | s 0 = s ]

[0037] Advantage function Indicates in status Actions taken The advantage relative to taking the average action is defined as the state-value function and the action-value function The difference:

[0038]

[0039] Step 3.3: PPO algorithm strategy optimization based on the introduction of the experience pool. The goal of the PPO algorithm is to maximize the expected cumulative reward of the updated strategy. The objective function of PPO can be expressed as:

[0040] J ( i ) = E π i old [ ∑ t = 0 ∞ c t A t ( i ) ]

[0041] in, It's an old strategy. is the advantage function, which means that in the state Take Action Advantages over old strategies.

[0042] Step 3.3.1: Policy Gradient: Policy gradient is used to update policy parameters to maximize the objective function. The policy gradient used by PPO is usually based on the advantage function and can be expressed as:

[0043] ∇ i J ( i ) = E π i old [ ∑ t = 0 ∞ ∇ i log π ( a t | s t ; i ) A t ( i ) ]

[0044] in, is the policy function, which means that in the state Take action probability.

[0045] Step 3.3.2: PPO loss function: The PPO loss function is used to update the policy parameters, using the PPO clipping function. The loss function can be expressed as:

[0046] L ( i ) = E t [ minutes ( r t ( i ) A t ( i ) , clip ( r t ( i ) , 1 − ϵ , 1 + ϵ ) A t ( i ) ) ]

[0047] in, is the strategy ratio, is a hyperparameter that controls the magnitude of the policy update.

[0048] Step 3.3.3: PPO policy update: Use gradient descent to minimize the loss function and update the policy parameters .

[0049] Step 4: Algorithm evaluation, adjustment, and iteration.

[0050] Step 4.1: MEIRL motion planning model training: Based on the MEIRL algorithm, a multi-robot motion model for a specific environment is trained. The model infers the optimal path by learning the behavior patterns and reward functions in the expert database to achieve adaptation to complex environments.

[0051] Step 4.2: Experience pool management: Introduce the experience pool mechanism to store and manage the experience data of multiple robots in the actual environment.

[0052] Step 4.3: Real-time motion planning: Based on the current state information of the environment and the data in the experience pool, the real-time motion planning of multiple robots is realized through the trained MEIRL motion planning model. In the planning process, the dynamic changes of the environment and the collaborative operation between multiple robots are fully considered to improve the accuracy and efficiency of path planning.

[0053] The present invention designs a motion planning method based on inverse reinforcement learning to solve the motion planning problem of a multi-robot system in different environmental states. Compared with the prior art, the technical solution of the present invention has the following beneficial technical effects:

[0054] 1. The present invention enhances the diversity of the data set through synthetic data generated by CTGAN, thereby significantly improving the generalization ability of the model. The application of this technology enables the model to better adapt to different situations, improves its performance in unknown or rare scenarios, and effectively enhances the robustness of the model.

[0055] 2. The multi-robot collaborative planning method proposed in the present invention can accurately control the location and handling process of the goods, ensuring the high safety and efficiency of the transportation process, bringing higher reliability to the matrix production workshop and reducing operating costs.

[0056] 3. The MEDIRL algorithm proposed in this invention improves the accuracy and adaptability of collaborative motion through in-depth understanding and optimization, and significantly improves the stability and efficiency of the system. In addition, the application of real-time collaborative motion technology enables the system to flexibly respond to dynamic changes in the environment, which is particularly suitable for complex and changeable logistics system scenarios. This multi-robot path planning solution, due to its high technological innovation and application prospects, is expected to achieve an order of magnitude technological breakthrough in matrix production workshops. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 is an overall flow chart of an embodiment of the present invention;

[0058] Figure 2 It is an algorithm framework diagram in an embodiment of the present invention. DETAILED DESCRIPTION

[0059] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0060] Attached Figure 1 This is an overall flow chart of an embodiment of the present invention. This embodiment provides a motion planning method based on inverse reinforcement learning, which specifically includes the following processes: collecting and establishing an expert database; expanding the expert database; constructing an algorithm; and evaluating, adjusting and iterating the algorithm.

[0061] Attached Figure 2This is the algorithm framework diagram in the embodiment of the present invention, specifically: import expert behavior data into the expert database. Use the inverse reinforcement learning algorithm to analyze the expert behavior data, learn the reward function with the expert decision-making mode, and then give the obtained reward function to the PPO algorithm that introduces experience to optimize the decision-making strategy. By continuously interacting with the environment, iteratively updating rewards and strategies, the best decision-making effect is achieved.

[0062] The specific implementation instructions are as follows:

[0063] Step 1: Build an expert behavior database. In the inverse reinforcement learning system, the expert library can help the intelligent system learn from the behavior of experts and imitate the decision-making process of experts to the greatest extent. First, clearly define the scenarios and tasks of the matrix production workshop, and then select experts with domain expertise. By formulating a detailed demonstration data collection plan, preparing appropriate equipment and tools, and letting experts perform tasks while recording the status and behavior of the robot experts. Subsequently, the collected data is labeled and cleaned to ensure data quality. By establishing a dataset, the labeled and preprocessed demonstration data is organized into a form for inverse reinforcement learning model training.

[0064] Step 2: Expert database expansion, use CTGAN to expand and diversify the expert dataset to increase the diversity and coverage of the training data. First, load the dataset established in step 1, and then initialize the generative adversarial network model through CTGAN. In the model fitting stage, by training the model, the adversarial network is generated using the original dataset to learn the potential distribution of the input data. During the training process, the network parameters are collaboratively optimized by minimizing the loss function between the generator and the discriminator. By fitting the model, new synthetic data can be generated to ensure that it is similar to the original data in statistical characteristics. The specific steps are as follows:

[0065] First, the generator Accept the noise vector and the conditional vector As input, generate synthetic data , expressed as:

[0066]

[0067] The loss function is expressed as:

[0068] L G = E z , c [log( D ( G ( z , c ), c ))]

[0069] in represents the loss function of the generator, Indicates that among all possible noise vectors and the conditional vector Take the expectation on the combination of

[0070] Then, the discriminator Accept real data and the conditional vector As input, and output the probability that the data is true , discriminator It is expressed as:

[0071]

[0072] Its loss function is expressed as:

[0073] L D = E x , c [log( D ( x , c ))] + E z , c [log( 1 − D ( G ( z , c ), c ))]

[0074] in represents the loss function of the discriminator, Indicates that among all possible real data and the conditional vector Take the expectation on the combination of

[0075] Finally, the data features are processed through the feature conversion layer, normalization and denormalization steps to obtain the generated expert trajectory. Indicates that and It is a learnable parameter matrix and vector used to transform the output of the generator to satisfy the distribution characteristics of the data;

[0076] The expert trajectory T is expressed as:

[0077]

[0078] in is the state-action pair of the expert trajectory.

[0079] The goal of the discriminator is to maximize the accuracy of distinguishing between real data and generated data, while the goal of the generator is to minimize the ability of the discriminator so that it cannot distinguish between generated data and real data. These two processes together drive the generator to learn the distribution of data and generate diverse synthetic data, thereby building an expert database with complex dynamic environments.

[0080] Step 3: Algorithm construction. The algorithm designed by the present invention is a maximum entropy inverse reinforcement learning algorithm based on the improved PPO, which is mainly divided into two parts: reinforcement learning and inverse reinforcement learning. Through the reinforcement learning algorithm, expert demonstrations can be generated, that is, task execution trajectories obtained through the interaction between the robot and the environment. These expert demonstrations become training data for inverse reinforcement learning, which is used to train a strategy that aims to imitate the behavior of experts. Subsequently, the reinforcement learning strategy is used to estimate the reward function associated with the task. By comparing with the expert strategy, the inverse reinforcement learning algorithm adjusts the reward function to make the agent's behavior close to that of the expert. The whole process is iterative. Through multiple rounds of training and learning steps, the reward function is continuously optimized, and finally a reward function and strategy that performs well on the task and is consistent with the expert behavior is obtained.

[0081] Step 3.1: Define the state and action space. First, establish the workshop model and determine the environmental state, including the AGV's own position, speed, direction, and the position and speed of the surrounding intelligent agents; then define the AGV's action space, including the moving direction and speed.

[0082] Step 3.2: Problem modeling. Model the problem as a Markov decision process (MDP), where the state space, action space, reward function, etc. are all defined, and then use the maximum entropy deep inverse reinforcement learning algorithm to solve the problem.

[0083] Step 3.2.1: Definition of Markov decision process. The MDP consists of five tuples Composition, of which is the state space, representing all possible states that the robot can be in; is the action space, representing all the actions the robot can take; is the state transition probability function, indicating that in state Take action After transfer to state probability; is the reward function, which means that in the state Take action Rewards received after is the discount factor, which indicates the importance of future rewards; Express expectations, is the currently executed strategy, is the reward function, is the action-value function, also called Function, indicating that in the state Next action The expected cumulative reward after . The specific expression is as follows:

[0084] Q ( s , a ) = E π [ ∑ t = 0 ∞ c t r t | s 0 = s , a 0 = a ]

[0085] Step 3.2.2: Maximum entropy reward function of maximum entropy inverse reinforcement learning. The maximum entropy reward function of maximum entropy inverse reinforcement learning can be expressed as:

[0086]

[0087] in, is in state Take action The maximum entropy reward, is the feature weight, is the characteristic function.

[0088] Step 3.2.3: Maximum entropy policy expression. The maximum entropy policy expression represents the probability of the robot taking an action in a given state, which can be expressed as:

[0089]

[0090] in, is in state Take action The probability of is the normalized partition function.

[0091] Step 3.2.4: Definition of state value function and advantage function. In maximum entropy inverse reinforcement learning, by learning the state value function and advantage function, we can better evaluate the quality of the strategy and further optimize the strategy. Indicates in status The expected cumulative reward after executing the strategy is expressed as:

[0092] V ( s ) = E π [ ∑ t = 0 ∞ c t r t | s 0 = s ]

[0093] Advantage function Indicates in status Next Take-Action The advantage relative to taking the average action is defined as the state-value function and the action-value function The difference:

[0094]

[0095] Step 3.3: PPO algorithm strategy optimization based on the introduction of the experience pool. The goal of the PPO algorithm is to maximize the expected cumulative reward of the updated strategy. The objective function of PPO can be expressed as:

[0096] J ( i ) = E π i old [ ∑ t = 0 ∞ c t A t ( i ) ]

[0097] in, It's an old strategy. is the advantage function, which means that in the state Take Action Advantages over old strategies.

[0098] Step 3.3.1: Policy Gradient: Policy gradient is used to update policy parameters to maximize the objective function. The policy gradient used by PPO is usually based on the advantage function and can be expressed as:

[0099] ∇ i J ( i ) = E π i old [ ∑ t = 0 ∞ ∇ i log π ( a t | s t ; i ) A t ( i ) ]

[0100] in, is the policy function, which means that in the state Take action probability.

[0101] Step 3.3.2: PPO loss function: The loss function of PPO is used to update the policy parameters, usually using the PPO cut function. The loss function can be expressed as:

[0102] L ( i ) = E t [ minutes ( r t ( i ) A t ( i ) , clip ( r t ( i ) , 1 − ϵ , 1 + ϵ ) A t ( i ) ) ]

[0103] in, is the strategy ratio, is a hyperparameter that controls the magnitude of the policy update.

[0104] Step 3.3.3: PPO policy update: Use gradient descent to minimize the loss function and update the policy parameters .

[0105] Step 4: Algorithm evaluation, adjustment, and iteration.

[0106] Step 4.1: MEIRL motion planning model training: Based on the MEIRL algorithm, a multi-AGV path planning model for a specific environment is trained. The model infers the optimal path by learning the behavior patterns and reward functions in the expert database to achieve adaptation to complex environments.

[0107] Step 4.2: Experience pool management: Introduce the experience pool mechanism to store and manage the experience data of multiple AGVs in the actual environment.

[0108] Step 4.3: Real-time motion planning: Based on the current state information of the environment and the data in the experience pool, the real-time motion planning of multiple AGVs is realized through the trained motion planning model. When executing tasks, the dynamic changes of the environment and the collaborative operation between AGVs are considered to improve the accuracy and efficiency of path planning.

Claims

1. A motion planning method based on inverse reinforcement learning, characterized in that: It is used to solve the motion planning problem of multi-robot system in different environmental states, including the following steps: Step 1: Collect and establish an expert database. First, clearly define the tasks and scenarios, then select experts to perform the tasks, and record the status and behavior of the experts. Then, annotate and clean the collected data, and finally establish a data set suitable for inverse reinforcement learning model training through data preprocessing. Step 2: Expand the expert database by initializing the generative adversarial network model using CTGAN to expand and diversify the expert dataset. Step 3: Algorithm construction. First, define the state and action space to establish the problem model. Then, based on the maximum entropy inverse reinforcement learning, obtain the maximum expected cumulative reward. Finally, use the PPO algorithm with experience pool to optimize the strategy and obtain the optimal collaborative motion strategy. The specific implementation steps are as follows: Step 3.1: Define the state and action space: First, establish the workshop model and determine the environment state, including the robot's own position, speed, orientation, and the position and speed information of the surrounding intelligent agents; then define the robot's action space, including the moving direction and speed; Step 3.2: Problem modeling: Model the problem as a Markov decision process, where the state space, action space, and reward function are all defined, and then use the maximum entropy deep inverse reinforcement learning algorithm to solve the problem; Step 3.2.1: Definition of Markov decision process: A Markov decision process consists of a five-tuple (S, A, T, R, γ), where S is the state space, representing all possible states of the robot; A is the action space, representing all actions that the robot can take; T(s′|s, a) is the state transition probability function, representing the probability of transitioning to state s′ after taking action a in state s; R(s, a) is the reward function, representing the reward obtained after taking action a in state s; γ is the discount factor, representing the importance of future rewards; where E represents expectation, π is the currently executed policy, r is the reward function, and Q(s, a) is the action value function, also known as the Q function, which represents the expected cumulative reward obtained after taking action a in state s; The specific expression of the Markov decision process is defined as: Step 3.2.2: Maximum Entropy Reward Function for Maximum Entropy Inverse Reinforcement Learning: The reward function for maximum entropy inverse reinforcement learning is expressed as: Where R(s,a) is the maximum entropy reward for taking action a in state s, θ i is the feature weight, f i (s,a) is the characteristic function; Step 3.2.3: The maximum entropy policy expression represents the probability of the robot taking an action in a given state, expressed as: Among them, π(a|s) is the probability of taking action a in state s, and Z(s) is used for the normalized partition function; Step 3.2.4: Definition of state value function and advantage function: The state value function V(s) represents the expected cumulative reward after executing the strategy in state s. The state value function is expressed as: Advantage function A t (θ) represents the advantage of taking action a in state s over taking the average action, which is defined as the difference between the state value function V(s) and the action value function Q(s,a): A t (θ)=Q(s,a)-V(s) Step 3.3: PPO algorithm strategy optimization based on the introduction of the experience pool: The goal of the PPO algorithm is to maximize the expected cumulative reward of the updated strategy. The objective function of the PPO algorithm is expressed as: in, It's the old strategy. t (θ) is the advantage function, which means that in state s t Take action a t Advantages over old strategies; Step 3.3.1: Policy gradient: The policy gradient is used to update the policy parameters to maximize the objective function. The policy gradient used by the PPO algorithm is usually expressed based on the advantage function as: in, represents the gradient of the parameter, π(a t |s t ; θ) is the policy function, which means that in state s t Take action a t probability; Step 3.3.2: PPO loss function: The PPO loss function is used to update the strategy parameters. The PPO cut function is used. The PPO loss function is expressed as: L(θ)=E t [min(r t (i)A t (θ),clip(r t (0),1-∈,1+∈)A t (i)) in, is the policy ratio, ∈ is a hyperparameter that controls the magnitude of policy updates; Step 3.3.3: PPO strategy update: Use gradient descent to minimize the loss function and update the strategy parameters θ; Step 4: Algorithm evaluation, adjustment and iteration. First, based on the MEIRL algorithm, a multi-robot motion model for a specific environment is trained. The model infers the optimal path by learning the behavior patterns and reward functions in the expert database. Secondly, the experience pool mechanism is introduced to store and manage the experience data of multiple robots in the actual environment. Finally, according to the state information of the current environment and the data in the experience pool, the real-time motion planning of multiple robots is realized through the trained MEIRL motion planning model.

2. A motion planning method based on inverse reinforcement learning according to claim 1, characterized in that: The expert database expansion described in step 2 is to expand and diversify the expert dataset by initializing the generative adversarial network model using CTGAN. The specific implementation is as follows: First, the generator G accepts the noise vector z and the conditional vector c as input to generate synthetic data x, which can be expressed as: x=G(z,c) The loss function is expressed as: L G =E z ,c[log(D(G(z,c),c))] Where L G represents the loss function of the generator, E z,c It means taking the expectation on all combinations of noise vector z and conditional vector c; Then, the discriminator D accepts the real data x and the conditional vector c as input, and outputs the probability d that the data is true. The discriminator D is expressed as: d=D(x,c) Its loss function is expressed as: L D =E x ,c[log(D(x,c))]+E z ,c[log(1-D(G(z,c),c))] Where L D represents the loss function of the discriminator, E x,c It means taking the expectation on all combinations of real data x and conditional vector c; Finally, the data features are processed through the feature conversion layer, normalization and denormalization steps to obtain the generated expert trajectory. The feature conversion layer is represented by x'=Mx+b, where M and b are the parameter matrix and vector used for learning, which are used to transform the output of the generator to satisfy the distribution characteristics of the data. The expert trajectory T is expressed as: T={(s1,a1),(s2,a2),...,(s T ,a T )} Among them (s T ,a T ) is the state-action pair of the expert trajectory.