Method and system for large language model guiding multi-agent action plan generation
By combining large language models and hierarchical multi-agent reinforcement learning, structured action plans are generated and rules are validated, solving the problems of adaptability and executability of action plan generation in wargame simulations, and achieving high-quality plan generation and execution.
Patent Information
- Application Number
- CN202611334592.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-11-24
AI Technical Summary
Existing methods for generating action plans in wargame simulations suffer from poor adaptability, insufficient rule enforceability, and inadequate auditability and post-game interpretability.
By combining the high-level task decomposition capability of large language models with the low-level execution optimization capability of hierarchical multi-agent reinforcement learning, structured action plans are generated, and evaluated and replanned through rule verification and simulation feedback.
It improves the enforceability, completeness, readability, and auditability of the action plan, and enhances its execution capability and debriefing interpretability in a wargaming simulation environment.
Smart Images

Figure CN123159097A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of artificial intelligence and wargaming decision-making technology, specifically to a method and system for generating action plans for multiple agents guided by a large language model. Background Technology
[0002] Wargaming typically involves long-term decision-making, strong rule constraints, partial observability, coordination among multiple types of pieces, and the need for interpretation and debriefing of results. In wargaming, the action plan is the overall arrangement guiding each piece in carrying out its tasks, and its quality directly determines the effectiveness of the simulation.
[0003] Large Language Models (LLMs) possess capabilities in task decomposition, language generation, plan drafting, and contextual reasoning. The output of an LLM is essentially text generation, achieved through self-supervised learning on massive amounts of text data, acquiring rich linguistic knowledge, common-sense knowledge, and a certain level of reasoning ability. Compared to traditional deep learning models, LLMs not only understand natural language instructions but also combine contextual information for logical reasoning, task decomposition, and decision planning, making them suitable for tasks such as high-level solution generation, situational explanation, and debriefing.
[0004] Multi-Agent Reinforcement Learning (MARL) is a class of reinforcement learning methods that studies sequential decision-making by multiple agents in shared, collaborative, or competitive environments. In MARL, each agent learns policies through continuous interaction with the environment and other agents to achieve individual or overall system goals. Hierarchical Multi-Agent Reinforcement Learning (HMARL) reduces the difficulty of exploring long-term tasks and improves the stability of low-level execution policies by separating high-level goals from low-level action policies.
[0005] Currently, the generation of wargaming action plans mainly relies on three methods. The first is manually written rule scripts, where the plan templates are fixed in advance and primarily depend on expert experience. When opponent strategies, piece positions, terrain access costs, or mission phases change, the templates are difficult to adapt to in a timely manner, resulting in poor adaptability of the action plans. The second method directly utilizes large language models to generate action plans. This approach typically organizes the current battlefield situation, mission objectives, and rule constraints into cue words input into the LLM (Large Language Model). The model directly generates action plan text containing phase tasks, piece actions, combat steps, or command suggestions, which is then manually reviewed or parsed by the program before being executed by the wargaming system. However, plans directly generated by LLM lack rigorous field and rule validation and low-level execution verification. The generated text may contain unattainable objectives, conflicting tasks, missing timing windows, and unmet support ranges, leading to insufficient executability of the plan rules and inadequate plan-execution consistency. The third category is using multi-agent reinforcement learning to optimize piece action strategies. Although it can achieve high execution capabilities in some scenarios, multi-agent reinforcement learning only optimizes action strategies and does not form explicit action plans. It is difficult to explain to users why they act in this way, what the goals are at each stage, and whether the execution trajectory conforms to the original plan, resulting in insufficient auditability and retrospective interpretability. Summary of the Invention
[0006] This application provides a method and system for generating action plans for multiple agents guided by a large language model. It combines the high-level task decomposition capability of the large language model with the low-level execution optimization capability of hierarchical multi-agent reinforcement learning, so that the generated action plan has both structured expression and rule-executability, can be implemented by multiple chess piece agents in a simulation environment, and can be evaluated and replanned based on simulation feedback.
[0007] This application provides a method for generating action plans for multiple agents guided by a large language model, including: Obtain a compressed situation summary of the current simulated situation; The compressed situation summary is input into a large language model to generate a structured action plan; The structured action plan is validated according to rules; if the validation fails, the validation error is fed back to the large language model, and the structured action plan is regenerated or corrected. The structured action plan that has passed the rule verification is parsed into a sub-goal graph, which is based on stage sub-goals as nodes and the sequential dependencies, parallel constraints, and resource conflicts between sub-goals as edges. The current activated sub-target and the chess piece role encoding are used as the conditional inputs to the low-level actuator of the hierarchical multi-agent reinforcement learning. The low-level actuator outputs the actions of each chess piece based on the local observations of each chess piece, forming a joint action and submitting it to the wargaming simulation environment for execution. The evaluation metrics are updated based on the execution feedback from the wargaming simulation environment. The evaluation metrics include sub-objective completion rate and plan-execution consistency. If the replanning trigger condition is met, the compressed situation summary is updated and the step of generating a structured action plan is re-executed; otherwise, the structured action plan and execution trajectory are output.
[0008] This application provides a system for generating action plans for multiple agents guided by a large language model, comprising: The situation summary module is used to obtain a compressed situation summary of the current simulated situation; The high-level planning module of the large language model is used to generate a structured action plan based on the compressed situation summary; the structured action plan is a structured object containing overall intent, stage sub-objectives, piece role allocation, temporal constraints, rule constraints, and replanning trigger conditions. The structured action plan parsing and rule verification module is used to perform rule verification on the structured action plan. When the verification fails, the verification error is fed back to the high-level planning module of the large language model for regeneration or correction. The structured action plan that passes the verification is parsed into a sub-objective graph with stage sub-objectives as nodes and the sequential dependencies, parallel constraints and resource conflict relationships between sub-objectives as edges. The low-level execution module of the hierarchical multi-agent reinforcement learning is used to take the current activated sub-target and the chess piece role code as input, output the actions of each chess piece based on the local observations of each chess piece, form a joint action, and submit it to the wargaming simulation environment for execution. The simulation feedback evaluation module is used to update evaluation indicators, including sub-objective completion rate and plan-execution consistency, based on the execution feedback of the wargaming simulation environment, and to determine whether the replanning trigger condition is met.
[0009] This application embodiment limits the natural language planning results of the large language model to a structured action plan with fixed fields, and checks the field integrity, map reachability, piece capabilities, resource conflicts and temporal constraints through a rule validator before execution. This can reduce illusion output, rule violations and unexecutable sub-goals, and improve the executability rate and integrity of the plan rules.
[0010] The structured action plan is further transformed into a sub-objective graph, and the current activated sub-objectives and role codes are input into the hierarchical multi-agent reinforcement learning low-level executor. This not only has low-level execution optimization capabilities, but also retains a clear overall intent, stage goals, piece division of labor, and execution criteria, thereby improving the readability, auditability, and post-mortem interpretability of the plan.
[0011] The above description is only an overview of the technical solution of this application. In order to better understand the technical means of this application and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of this application more obvious and understandable, the following are specific embodiments of this application. Attached Figure Description
[0012] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 This is a flowchart illustrating the method for generating action plans for multiple agents guided by a large language model, as described in an embodiment of this application. Figure 2 This is a schematic diagram of the hierarchical multi-agent reinforcement learning (LLM-HMARL) algorithm framework for the action plan generation method of a large language model guided by this application embodiment. Detailed Implementation
[0013] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0014] For ease of description, the embodiments of this application and subsequent embodiments model the low-level inference process as a partially observable multi-agent decision-making process. This process is represented by a seven-tuple as follows: in, The number of chess piece agents. For the overall situation space, Let i be the action space of the i-th piece. Let i be the local observation space of the i-th piece. This is the state transition function. In return for the environment, This is the discount factor. Unlike conventional multi-agent reinforcement learning (MARL), this invention introduces a high-level action plan generated by a large language model (LLM) above the low-level decision-making process, enabling the system to simultaneously express the plan and simulate its execution.
[0015] In one embodiment, the action plan is defined as a structured object consisting of an overall intent, stage sub-objectives, piece role assignments, temporal constraints, rule constraints, and replanning trigger conditions, rather than a simple sequence of low-level actions. Let the action plan generated by the LLM at time t be represented as: in, Indicates the overall mission intent. Represents the set of sub-goals for a stage. This indicates the role assignment of the three types of chess pieces: A, B, and C. Indicates the stage timing window, Representing rules, resources, and spatial constraints, This indicates the replanning trigger condition. Each sub-objective Represented as: in, For target description, To participate in the game, For the target area or state, For time window, As constraints, To complete the judgment criteria.
[0016] After the action plan is generated, rule validation is performed first, eliminating sub-goals that conflict with the map, piece abilities, or deduction rules. Then, a sub-goal graph is constructed and mapped to the conditional inputs and reward shaping terms of the lower-level strategy. The action selection of the i-th piece in the lower level is represented as: in, For the local observation of the i-th piece, For the currently active sub-target, Encode the role of the i-th chess piece. Based on this, embodiments of this application provide a method for generating action plans for multiple agents guided by a large language model, such as... Figure 1 As shown, it includes: In step S101, a compressed situation summary of the current simulation situation is obtained; the LLM input does not use the complete original map, but uses the compressed situation summary. The compressed situation summary is a structured information obtained by compressing the hexagonal grid map, piece status, terrain access cost, key areas, resources and rule constraints in the wargaming simulation environment.
[0017] In some other embodiments, the compressed situation summary includes piece type, number of pieces, piece positions, piece move states, terrain access costs, key areas, known opponent behavior patterns, current mission objectives, and wargame rule constraints, but does not include the complete original map. That is, the compressed situation summary only contains the key structured information required for LLM planning, thereby reducing the input size of LLM, minimizing the interference of irrelevant information on the planning results, and avoiding the leakage of complete map data.
[0018] In step S102, the compressed situation summary is input into the large language model to generate a structured action plan. In some embodiments, the structured action plan is a structured object containing an overall intent, stage sub-objectives, piece role assignments, timing constraints, rule constraints, and replanning trigger conditions. An exemplary LLM output uses fixed fields, including the overall intent, stage objectives, A / B / C role assignments, timing windows, rule constraints, and replanning trigger conditions. If the output lacks necessary fields or violates rule constraints, the validator returns an error message and requests the LLM to be regenerated.
[0019] In step S103, the structured action plan is validated according to rules. If the validation fails, the validation error is fed back to the large language model, and the structured action plan is regenerated or corrected. In some embodiments, the structured action plan is further converted into a sub-objective graph, and the currently activated sub-objectives and role codes are input into the hierarchical multi-agent reinforcement learning low-level executor. This not only has low-level execution optimization capabilities but also retains a clear overall intent, stage goals, piece division of labor, and execution criteria, thereby improving the readability, auditability, and post-game interpretability of the plan.
[0020] In step S104, the structured action plan that has passed rule verification is parsed into a sub-objective graph. The sub-objective graph uses stage sub-objectives as nodes and the dependencies, parallel constraints, and resource conflicts between sub-objectives as edges. For example... Figure 2 As shown, the Hierarchical Multi-Agent Reinforcement Learning (HMARL) consists of a high-level decision-maker, low-level enforcers, an environment interaction module, and a multi-agent collaboration module. In this embodiment, the high-level decision-maker is replaced by an LLM high-level planner, which generates abstract goals and sub-tasks based on the global environment state or joint observation information, and remains stable over a long timescale, providing unified task guidance for multiple agents. The low-level enforcers output specific actions at each decision moment based on the goals issued by the high-level planner and the local observation information of each agent, interacting with the environment in real time and obtaining environmental feedback.
[0021] In step S105, the currently active sub-target and the piece role encoding are used as conditional inputs to the low-level actuator of the hierarchical multi-agent reinforcement learning system. The low-level actuator outputs the actions of each piece based on local observations, forming a joint action which is then submitted to the wargame simulation environment for execution. After the sub-target graph transformation, the system will... As input to the low-level policy, the sub-goal completion criterion is transformed into a reward shaping item.
[0022] In step S106, the evaluation metrics are updated based on the execution feedback from the wargaming simulation environment. These metrics include subgoal completion rate and plan-execution consistency. To evaluate the quality of the generated scheme, this application uses subgoal completion rate (SGR) and plan-execution consistency (PEC).
[0023] In step S107, if the replanning trigger condition is met, the compressed situation summary is updated and the step of generating a structured action plan is re-executed; otherwise, the structured action plan and execution trajectory are output. In some embodiments, each stage sub-objective in the structured action plan includes an object description, participating pieces, object area or state, time window, constraints, and completion criteria.
[0024] This application embodiment limits the natural language planning results of the large language model to a structured action plan with fixed fields, and checks the field integrity, map reachability, piece capabilities, resource conflicts and temporal constraints through a rule validator before execution. This can reduce illusion output, rule violations and unexecutable sub-goals, and improve the executability rate and integrity of the plan rules.
[0025] In some embodiments, parsing into a sub-target graph includes: Each stage sub-goal is mapped to a sub-goal graph node, and the edges between nodes are determined based on the sequential dependencies, parallel constraints, and resource conflicts between sub-goals. When two sub-objectives share the same piece and their time windows overlap, the conflict can be eliminated by adjusting the piece's role allocation or rearranging the timing. When the target area of a sub-target is unreachable or violates space support range constraints, the corresponding sub-target will be marked as unexecutable.
[0026] In a specific example, the structured action plan is represented by a sub-goal diagram. In this context, node V represents a stage sub-goal, and edge E represents sequential dependencies, parallel constraints, and resource conflict relationships. If two sub-goals share the same piece and their time windows overlap, the conflict needs to be resolved through role allocation or time-series rearrangement. If the target region is unreachable or violates the support range constraint, the rule validator marks the sub-goal as unexecutable.
[0027] In some embodiments, the low-level executor optimizes the strategy of each piece using a comprehensive reward function, which is: in, The total reward at time t. For task rewards, Rewards for achieving sub-goals For collaborative rewards, For rule violations and penalties, For the cost of the operation, , , , These are the weight coefficients for the corresponding items, which are either manually set or determined through grid search based on the simulation scenario. The reward for achieving the sub-objective... The criterion is derived from the transformation of the sub-objective completion criteria. When the sub-objective Completion Criteria When satisfied, Achieve positive increment; penalty for rule violation The cost of the action is increased when a piece's move violates the deduction rules, in order to suppress rule violations; Used to reflect the resources or turn costs consumed by actions such as piece movement and combat.
[0028] The reward for achieving the sub-goal is derived from the sub-goal completion criterion.
[0029] In some embodiments, the sub-target completion rate is based on The calculation, the plan-execution consistency according to calculate; in, The number of sub-objectives in the plan. This indicates whether the k-th sub-goal has been completed (1 for completion, 0 for non-completion). This indicates whether the execution trajectory corresponding to the k-th sub-target satisfies the spatial, temporal, and role constraints (1 if satisfied, 0 if not).
[0030] The replanning trigger conditions include: the replanning trigger conditions in the structured action plan. If the plan-execution consistency (PEC) is lower than a preset threshold, the following conditions will trigger a replanning process: Key sub-objectives are not met, key sub-objectives fail, the adversary's strategy changes, or the PEC is lower than a preset threshold. When these conditions are met, the system updates the situation summary based on historical execution records and returns to the high-level planning steps to regenerate the action plan. At the end of the simulation, the system outputs the final structured action plan. Execution trajectory Sub-target completion rate (SGR), plan-execution consistency (PEC), and rule violation statistics.
[0031] This application also proposes an implementation example of a method for generating action plans for multiple agents guided by a large language model, including the following steps: S1, Initialize Environment: Initialize the abstract wargame simulation environment, read the hexagonal grid map M, piece set U, task objective T, rule constraints C, and strategy parameters. Reward weight and historical execution records .
[0032] S2, Constructing a Situation Summary: The situation summary module summarizes the current global situation. The situation summary is obtained by compressing the piece status, terrain access costs, key areas, resources, and rules. The situation summary does not contain the complete original map, but only the key structured information required for LLM planning.
[0033] S3, Generate Structured Action Plan: The LLM high-level planning module receives the situation summary. Task objective T, rule constraints C, and historical execution records Output structured action plans This includes the overall intent, phase sub-goals, piece role allocation, timing window, rule constraints, and replanning trigger conditions.
[0034] S4, Rule Validation and Correction: The structured scheme parsing and rule validation module... Perform field integrity and rule executability checks. If the check results... Then, based on the verification error feedback, regenerate or partially correct. .
[0035] S5, Generate sub-target image: (This will generate the verified sub-target image.) Parsing into sub-target graphs This involves determining sub-target nodes, dependencies, parallel relationships, resource conflict relationships, timing windows, and completion criteria.
[0036] S6, Low-level multi-agent execution: For each piece The HMARL low-level actuator is based on local observations Current active sub-target and role coding Output Action This forms a joint action and submits it to the wargaming simulation environment.
[0037] S7, Simulation Interaction and Feedback: The environment performs joint actions and returns to the next state. ,award Sub-goal completion markers Trajectory Consistency Flag And rule violation signs.
[0038] S8, Update Evaluation Metrics: The system updates the sub-goal completion status, rule violation status, plan-execution consistency, action cost, and historical trajectory database.
[0039] S9, Replanning or Output: If the replanning trigger condition... If the objective is established, a key sub-objective fails, the adversary's strategy changes, or the PEC falls below a threshold, then update. Then return to S2 to replan; if the simulation is complete, output the final structured action plan. Execution trajectory Statistics on SGR, PEC, and rule violations.
[0040] This application limits the natural language planning results of large language models to structured action plans with fixed fields, and checks field integrity, map reachability, piece capabilities, resource conflicts and temporal constraints through a rule validator before execution. This can reduce illusion output, rule violations and unexecutable sub-goals, and improve the executability rate and integrity of the plan rules.
[0041] This application further transforms the structured action plan into a sub-objective graph and inputs the currently activated sub-objectives and role codes into the hierarchical multi-agent reinforcement learning low-level executor. This not only has low-level execution optimization capabilities, but also retains a clear overall intent, stage objectives, piece division of labor, and execution criteria, thereby improving the readability, auditability, and retrospective interpretability of the plan.
[0042] This application incorporates sub-goal completion, collaborative relationships, rule violations, and action costs into low-level strategy optimization through reward shaping. It also conducts closed-loop evaluation of high-level solutions and low-level trajectories through sub-goal completion rate and plan-execution consistency. When key sub-goals fail, opponent strategies change, or plan-execution consistency declines, the system can trigger replanning and revise subsequent stage goals, thereby improving stability and adaptability in long-term simulation scenarios.
[0043] This application also proposes a large language model-guided multi-agent action plan generation system, including: The situation summary module is used to obtain a compressed situation summary of the current simulated situation; The high-level planning module of the large language model is used to generate a structured action plan based on the compressed situation summary; the structured action plan is a structured object containing overall intent, stage sub-objectives, piece role allocation, temporal constraints, rule constraints, and replanning trigger conditions. The structured action plan parsing and rule verification module is used to perform rule verification on the structured action plan. When the verification fails, the verification error is fed back to the high-level planning module of the large language model for regeneration or correction. The structured action plan that passes the verification is parsed into a sub-objective graph with stage sub-objectives as nodes and the sequential dependencies, parallel constraints and resource conflict relationships between sub-objectives as edges. The low-level execution module of the hierarchical multi-agent reinforcement learning is used to take the currently activated sub-target and the chess piece role code as input, output the actions of each chess piece based on the local observations of each chess piece, form a joint action, and submit it to the wargaming simulation environment for execution. The simulation feedback evaluation module is used to update evaluation indicators, including sub-objective completion rate and plan-execution consistency, based on the execution feedback of the wargaming simulation environment, and to determine whether the replanning trigger condition is met.
[0044] In some embodiments, when the simulation feedback evaluation module meets the replanning triggering condition, it instructs the situation summary module to update the compressed situation summary in combination with historical execution records, so that the large language model high-level planning module can regenerate a structured action plan based on the updated compressed situation summary.
[0045] In some embodiments, the hierarchical multi-agent reinforcement learning low-level execution module includes a low-level actuator, an environment interaction module, and a multi-agent collaboration module; The low-level executor outputs the specific actions of each piece at each decision moment based on the currently activated sub-target and the piece role code. The multi-agent collaboration module coordinates the actions of each piece based on the parallel constraints and resource conflicts between sub-objectives; The environment interaction module submits the combined action formed by the actions of each piece to the wargame simulation environment and obtains environmental feedback.
[0046] It should be noted that, in the embodiments of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0047] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0048] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0049] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims. All of these forms are within the protection scope of this application.
Claims
1. A method for generating action plans for multiple agents guided by a large language model, characterized in that, include: Obtain a compressed situation summary of the current simulated situation; The compressed situation summary is input into a large language model to generate a structured action plan; Perform rule validation on the structured action plan; If the verification fails, the verification error is fed back to the large language model, and the structured action plan is regenerated or corrected. The structured action plan that has passed the rule verification is parsed into a sub-goal graph, which is based on stage sub-goals as nodes and the sequential dependencies, parallel constraints, and resource conflicts between sub-goals as edges. The current activated sub-target and the chess piece role encoding are used as the conditional inputs to the low-level actuator of the hierarchical multi-agent reinforcement learning. The low-level actuator outputs the actions of each chess piece based on the local observations of each chess piece, forming a joint action and submitting it to the wargaming simulation environment for execution. The evaluation metrics are updated based on the execution feedback from the wargaming simulation environment. The evaluation metrics include sub-objective completion rate and plan-execution consistency. If the replanning trigger condition is met, the compressed situation summary is updated and the step of generating a structured action plan is re-executed; otherwise, the structured action plan and execution trajectory are output.
2. The method for generating action plans for multiple agents guided by a large language model as described in claim 1, characterized in that, The compressed situation summary is a structured information obtained by compressing the hexagonal grid map, piece status, terrain access costs, key areas, resources, and rule constraints in the wargaming environment. The structured action plan is a structured object that includes overall intent, phase sub-goals, piece role allocation, timing constraints, rule constraints, and replanning trigger conditions; Each stage sub-objective in the structured action plan includes an objective description, participating pieces, target area or state, time window, constraints, and completion criteria.
3. The method for generating action plans for multiple agents guided by a large language model as described in claim 1, characterized in that, The compressed situation summary includes piece type, number of pieces, piece position, piece action status, terrain access cost, key areas, known opponent behavior patterns, current mission objective, and wargame rule constraints, but does not include the complete original map.
4. The method for generating action plans for multiple agents guided by a large language model as described in claim 1, characterized in that, The rule verification includes field integrity verification, map reachability verification, piece capability verification, temporal conflict verification, resource conflict verification, spatial support constraint verification, and rule validity verification of the structured action plan. Subtargets that fail to be validated are marked as non-executable and removed from the structured action plan.
5. The method for generating action plans for multiple agents guided by a large language model as described in claim 1, characterized in that, The parsed sub-target graph includes: Each stage sub-goal is mapped to a sub-goal graph node, and the edges between nodes are determined based on the sequential dependencies, parallel constraints, and resource conflicts between sub-goals. When two sub-objectives share the same piece and their time windows overlap, the conflict can be eliminated by adjusting the piece's role allocation or rearranging the timing. When the target area of a sub-target is unreachable or violates space support range constraints, the corresponding sub-target will be marked as unexecutable.
6. The method for generating action plans for multiple agents guided by a large language model as described in claim 5, characterized in that, The low-level executor optimizes the strategy for each piece using a comprehensive reward function, which is: in, The total reward at time t. For task rewards, Rewards for achieving sub-goals For collaborative rewards, For rule violations and penalties, For the cost of the operation, , , , These are the weight coefficients for the corresponding items; The reward for achieving the sub-goal is derived from the sub-goal completion criterion.
7. The method for generating action plans for multiple agents guided by a large language model as described in claim 5, characterized in that, The sub-target completion rate is based on The calculation, the plan-execution consistency according to calculate; Where K is the number of sub-objectives in the structured action plan. Indicates whether the k-th sub-goal has been completed. This indicates whether the execution trajectory corresponding to the k-th sub-objective satisfies spatial constraints, temporal constraints, and role constraints. The replanning trigger conditions include: the replanning trigger conditions in the structured action plan are met, key sub-objectives fail, the adversary's strategy changes, or the plan-execution consistency falls below a preset threshold.
8. A system for generating action plans for multiple agents guided by a large language model, characterized in that, include: The situation summary module is used to obtain a compressed situation summary of the current simulated situation; The high-level planning module of the large language model is used to generate a structured action plan based on the compressed situation summary; The structured action plan is a structured object that includes overall intent, phase sub-goals, piece role allocation, timing constraints, rule constraints, and replanning trigger conditions; The structured action plan parsing and rule verification module is used to perform rule verification on the structured action plan. When the verification fails, the verification error is fed back to the high-level planning module of the large language model for regeneration or correction. The structured action plan that passes the verification is parsed into a sub-objective graph with stage sub-objectives as nodes and the sequential dependencies, parallel constraints and resource conflict relationships between sub-objectives as edges. The low-level execution module of the hierarchical multi-agent reinforcement learning is used to take the current activated sub-target and the chess piece role code as input, output the actions of each chess piece based on the local observations of each chess piece, form a joint action, and submit it to the wargaming simulation environment for execution. The simulation feedback evaluation module is used to update evaluation indicators, including sub-objective completion rate and plan-execution consistency, based on the execution feedback of the wargaming simulation environment, and to determine whether the replanning trigger condition is met.
9. The large language model-guided multi-agent action plan generation system as described in claim 8, characterized in that, When the replanning trigger condition is met, the simulation feedback evaluation module instructs the situation summary module to update the compressed situation summary in conjunction with historical execution records, so that the high-level planning module of the large language model can regenerate a structured action plan based on the updated compressed situation summary.
10. The large language model-guided multi-agent action plan generation system as described in claim 8, characterized in that, The hierarchical multi-agent reinforcement learning low-level execution module includes a low-level actuator, an environment interaction module, and a multi-agent collaboration module. The low-level executor outputs the specific actions of each piece at each decision moment based on the currently activated sub-target and the piece role code. The multi-agent collaboration module coordinates the actions of each piece based on the parallel constraints and resource conflicts between sub-objectives; The environment interaction module submits the combined action formed by the actions of each piece to the wargame simulation environment and obtains environmental feedback.
