Combat system design method and related equipment based on deep reinforcement learning

By using methods based on deep reinforcement learning, using pointer networks and attention mechanisms, we build a combined optimization model of combat systems and tasks, solving the problems of multiple iterations and high time costs in the existing technology, and achieving a fast and robust system. Ability to design and generalize to the same type of problems.

CN114970334BActive Publication Date: 2024-09-24NAT UNIV OF DEFENSE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210535183.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-17
Publication Date
2024-09-24
Estimated Expiration
2042-05-17

AI Technical Summary

Technical Problem

Existing technology requires multiple iterations in system design, has high time costs, and lacks learning capabilities. It is difficult to replicate solutions to the same type of problems, and is especially difficult to apply in large-scale problems.

Method used

Using a method based on deep reinforcement learning, we build a combined optimization model of combat systems and tasks, use pointer networks and attention mechanisms to generate feature vectors and output sequences, and update parameters using gradient descent to achieve rapid system design.

Benefits of technology

It achieves rapid system design that does not require iteration, reduces time costs, has the ability to learn from problems, can be generalized to related problems of the same type, and improves the robustness of handling combinatorial optimization problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114970334B
    Figure CN114970334B
Patent Text Reader

Abstract

The present application provides a design method and related equipment for a combat system based on deep reinforcement learning. The method includes: constructing a combination optimization model and an input sequence using a plurality of preset combat systems and a plurality of combat tasks; inputting the input sequence into an encoder of a pre-constructed pointer network, and the encoder maps the input sequence into a feature vector; inputting the feature vector into a decoder of the pre-constructed pointer network, and the decoder uses an attention mechanism to determine an output sequence, and the output sequence includes a plurality of the combat systems; calculating and selecting the reward return of each combat system according to the combination optimization model, and updating the parameters of the pointer network by gradient descent according to the reward return, and training the pointer network using the updated parameters, and completing the training in response to reaching a preset termination condition and using the trained pointer network to implement the design of the combat system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of system architecture design, and in particular, to a combat system design method based on deep reinforcement learning and related equipment. Background Art

[0002] Among the related methods of solving system construction, traditional methods such as genetic algorithms and differential algorithms are often used. However, related methods often require multiple iterations. In complex system design problems, the time cost is high and it is difficult to apply to large-scale problems. In addition, traditional methods do not have the ability to learn from problems. Therefore, it is difficult to replicate solutions to the same type of problems in reality that only differ in scale and initialization data.

[0003] Based on this, a solution is needed that can achieve the goal of quickly building a system without the need for iterations and reducing time costs. Summary of the invention

[0004] In view of this, the purpose of this application is to propose a combat system design method and related equipment based on deep reinforcement learning.

[0005] Based on the above objectives, this application provides a design method for a combat system based on deep reinforcement learning, including:

[0006] Utilize pre-set multiple combat systems and multiple combat missions to build a combined optimization model and input sequence;

[0007] Inputting the input sequence into an encoder of a pre-constructed pointer network, the encoder maps the input sequence into a feature vector;

[0008] Inputting the feature vector into a decoder of the pre-built pointer network, wherein the decoder uses an attention mechanism to determine an output sequence, wherein the output sequence includes a plurality of the combat systems;

[0009] The reward returns of each of the combat systems are calculated and selected according to the combined optimization model. According to the reward returns, the parameters of the pointer network are updated by gradient descent, and the updated parameters are used to train the pointer network. In response to reaching a preset termination condition, the training is completed and the combat system design is implemented using the trained pointer network.

[0010] Furthermore, a combination optimization model and input sequence are constructed using multiple preset combat systems and multiple combat tasks, including:

[0011] Determining the number of the combat systems, the capabilities provided by each of the combat systems, the number of combat missions, the capability requirements of each of the combat missions, and the cost of each of the combat systems;

[0012] Constructing a combination optimization model using the capabilities provided by each of the combat systems and the costs of each of the combat systems;

[0013] establishing an input sequence using capability requirements of each of the combat missions, capabilities provided by each of the combat systems, and costs of each of the combat systems;

[0014] The input sequence includes multiple nodes, each of which includes the capability provided by a combat system, the capability requirement of a combat mission and the cost of the combat system.

[0015] Furthermore, a combined optimization model is constructed using the capabilities provided by each of the combat systems and the costs of each of the combat systems, including:

[0016] The goal of minimizing the total cost of the system is achieved by utilizing the capabilities provided by each of the combat systems and the costs of each of the combat systems;

[0017] Constrain each of the combat systems to be used to complete at most one combat mission;

[0018] The sum of the capabilities of multiple combat systems required to complete a combat mission is constrained to be greater than or equal to the capability requirements of the combat mission.

[0019] Furthermore, the encoder maps the input sequence into a feature vector, including:

[0020] Encode each node in the input sequence into an embedding vector;

[0021] All of the embedding vectors are combined into a feature vector.

[0022] Furthermore, the decoder uses an attention mechanism to determine the output sequence, including:

[0023] An attention mechanism is used to calculate and select an attention value for each of the embedding vectors;

[0024] Calculating the probability distribution of the attention values ​​of all the embedding vectors to obtain the probability of selecting each of the nodes;

[0025] Select the node with the highest probability as the output action at the current moment;

[0026] The output action at the current moment is combined with the output actions at all previous moments to form the output sequence at the current moment.

[0027] Furthermore, the reward return of each combat system is calculated and selected according to the combined optimization model, including:

[0028] For each of the combat systems, perform the following operations:

[0029] An inverse relationship is established between the reward return of the combat system and the goal of minimizing the total cost of the system in the combinatorial optimization model.

[0030] Furthermore, the encoder of the pointer network is pre-built, including:

[0031] The encoder is constructed using a one-dimensional convolutional neural network;

[0032] The pre-construction of the decoder of the pointer network includes:

[0033] The decoder is constructed using a recurrent neural network with a memory storage function.

[0034] Based on the same inventive concept, the present application also provides a design device for a combat system based on deep reinforcement learning, including: a combined optimization model building module, an encoding module, a decoding module and a training module;

[0035] The combination optimization model building module is configured to build a combination optimization model and an input sequence using a plurality of preset combat systems and a plurality of combat tasks;

[0036] The encoding module is configured to input the input sequence into an encoder of a pre-constructed pointer network, and the encoder maps the input sequence into a feature vector;

[0037] The decoding module is configured to input the feature vector into a decoder of the pre-constructed pointer network, wherein the decoder uses an attention mechanism to determine an output sequence, wherein the output sequence includes a plurality of the combat systems;

[0038] The training module is configured to calculate and select the reward returns of each of the combat systems according to the combined optimization model, update the parameters of the pointer network by gradient descent according to the reward returns, and train the pointer network using the updated parameters. In response to reaching a preset termination condition, the training is completed and the trained pointer network is used to implement the design of the combat system.

[0039] Based on the same inventive concept, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for designing a combat system based on deep reinforcement learning as described in any one of the above items is implemented.

[0040] Based on the same inventive concept, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the above-mentioned method for designing a combat system based on deep reinforcement learning.

[0041] From the above, it can be seen that the design method of the combat system based on deep reinforcement learning provided by the present application is based on constructing multiple combat systems and multiple combat tasks into a combinatorial optimization model, and comprehensively considers using the encoder to generate feature vectors and the decoder to generate output sequences to form a specific pointer network. The attention mechanism is introduced into the pointer network to determine the output dimension according to the input dimension, and the network parameters are trained by combining the gradient descent method with the reward return in deep reinforcement learning, so as to achieve the solution of the combinatorial optimization problem by deep reinforcement learning. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0043] Figure 1 A flowchart of a method for designing a combat system based on deep reinforcement learning according to an embodiment of the present application;

[0044] Figure 2 A schematic diagram of the structure of a combat system design device based on deep reinforcement learning according to an embodiment of the present application;

[0045] Figure 3 A schematic diagram of the construction of the combat system of an embodiment of the present application;

[0046] Figure 4 A schematic diagram of a pointer network according to an embodiment of the present application;

[0047] Figure 5 A schematic diagram of the structure of an input sequence according to an embodiment of the present application;

[0048] Figure 6 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0049] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0050] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should have the usual meanings understood by people with ordinary skills in the field to which the present application belongs. "Include" or "comprising" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, but do not exclude other elements or objects.

[0051] As described in the background technology section, other related combat system design methods are still difficult to meet the needs of system construction in practical applications.

[0052] In the process of implementing this application, the applicant discovered that the main problem with other related combat system design methods is that in most military scenarios, when completing a mission, it is often necessary to assign multiple combat systems to multiple combat tasks, that is, it is necessary to build a system between combat tasks and combat systems.

[0053] In the system construction problem, it can be solved as a combinatorial optimization problem. The solution to the related combinatorial optimization problem usually adopts traditional methods such as genetic algorithm, differential algorithm or branch and bound method. However, these methods do not have the ability to learn from the current combinatorial optimization problem, that is, they cannot gain experience from historical data. When the same type of problem only has changes in variables, it is necessary to start from scratch to solve it.

[0054] However, the above traditional methods often rely on iteration to achieve the required accuracy during the solution process, so the time cost is very high.

[0055] The applicant further discovered in the research that after abstracting the above-mentioned system construction problem into the form of a combinatorial optimization problem, deep reinforcement learning can be used to get rid of the iterative method. Moreover, solving the combinatorial optimization problem with deep reinforcement learning can make the solution itself have a certain degree of learning ability, and can generalize the solution to related problems of the same type. Moreover, through specific design, the neural network of deep reinforcement learning can have a certain degree of robustness. In other words, the scale of the original data will not affect its ability to handle combinatorial optimization problems.

[0056] The technical method of the present application is described in detail below through specific embodiments.

[0057] refer to Figure 1 , a combat system design method based on deep reinforcement learning in one embodiment of the present application comprises the following steps:

[0058] Step S101: construct a combined optimization model and input sequence using multiple preset combat systems and multiple combat tasks.

[0059] In the embodiments of the present application, configuration of a combat system for a combat mission in a military scenario is taken as a specific example, such as Figure 3 As shown in FIG. 1 , in a specific military combat task allocation scenario, the mission to be completed is M, and the mission M can be decomposed into four combat tasks (hereinafter referred to as tasks), such as intelligence reconnaissance tasks, detection tasks, tracking and positioning tasks, and firepower strike tasks, and the set of all tasks is represented by T; wherein, different capabilities are required to complete each task, such as reconnaissance capability, detection capability, command capability, and strike capability, and for each task, the capability values ​​of the above capabilities are different. For example, completing the detection task requires a reconnaissance capability of 1 capability value, a detection capability of 2 capability values, a command capability of 3 capability values, and a firepower strike capability of 3 capability values.

[0060] Furthermore, the combat system provides various capabilities for the mission M. In the set of combat systems, there are multiple combat systems (hereinafter referred to as systems), such as submarine systems, fighter systems, helicopter systems, communication satellite systems, combat ship systems and communication satellite systems, etc.; wherein each system can provide different capabilities for the mission, such as the above-mentioned reconnaissance capability, detection capability, intelligence capability and strike capability, etc., and the capability values ​​of the above-mentioned capabilities that can be provided by each system are different. For example, the helicopter system can provide a reconnaissance capability of 0.5 capability values, a detection capability of 2 capability values, a command capability of 0.3 capability values ​​and a firepower strike capability of 0.2 capability values.

[0061] In this embodiment, the defined combat system (hereinafter referred to as system) design means that, at the same time, appropriate combat systems are respectively assigned to multiple combat tasks such as those mentioned above to provide them with appropriate capabilities to complete various tasks.

[0062] Furthermore, each system will also consume certain costs when participating in the system construction, and the costs consumed by each system are different.

[0063] In some embodiments, in order to simplify the above definition, the following settings can be made based on the above definition:

[0064] A system can only be used to complete one task; a task can be completed by multiple different systems, where the cost of a system to complete different tasks is the same; the capability values ​​of the various capabilities of the various systems used to complete the same task can be added together to determine the capability values ​​that can be obtained for each capability required for the task; and any task can only be determined to be met when all its capability requirements are met.

[0065] In some embodiments, the goal of constructing a combat system may be to minimize the total cost consumed by the combat system.

[0066] It can be seen that based on the above settings, the design of the combat system in this embodiment can be regarded as a combinatorial optimization problem. Specifically, in order to complete the mission M, it is necessary to complete the n tasks contained therein. The n tasks can be expressed as: T = [t1, t2...t n ].

[0067] Furthermore, each task can be represented by a combination of attributes. Specifically, taking t1 as an example, t1 = [r 11 , r 12 …r ij …r 1k ], where r ij represents the capability requirement of task i for capability j, and k represents the total number of capability types involved.

[0068] It can be seen that all combat systems available for selection can be represented by a set S, where S = [s1, s2…s i …s m ],s i Represents the i-th system. It can be seen that the set of all combat systems contains a total of m different systems.

[0069] Furthermore, each system can be expressed as: i =[c i1 , c i2 …c ij …c ik ], where c ij It represents the capability value of capability j that system i can provide.

[0070] In this embodiment, for each system, when it participates in building the system, that is, when it participates in completing the mission task M, the cost consumed by each system can be expressed as: C = [c1, c2 ... c i …c m ], where c i The cost required for system i to participate in completing mission M.

[0071] It can be seen that according to the existing combat tasks and combat systems, a combined optimization model as shown below can be constructed:

[0072]

[0073] Among them, s ijIndicates that system i is designated to complete task j; constraint 1 indicates that each system can be used to complete at most one task; constraint 2 indicates that for each of the capabilities required to complete the same task, the sum of its capability values ​​must be greater than or equal to the capability requirement of the task.

[0074] In this embodiment, based on the above situation, the capability requirements of each combat mission, the capabilities that each combat system can provide, and the cost of each combat system can be used to establish an input sequence, and apply it to deep reinforcement learning to solve the combinatorial optimization model.

[0075] Specifically, as mentioned above, when the number of tasks is n and the number of systems is m, all possible combinations of assigning different systems to each task can be expressed as: R = [re i , i = 1, 2...n×m], in this embodiment, R is taken as an entity set, where re i is the i-th tuple set and can be represented as re i =(r i ,s i , c i ); n×m is the size of the generated entity set.

[0076] It can be seen that in deep reinforcement learning, the size of its action space is the size of the entity set n×m.

[0077] Furthermore, the entity set can be used as an input sequence for deep reinforcement learning. Each tuple set re i =(r i ,s i , c i ) is used as an input vector in the input sequence.

[0078] Step S102: input the input sequence into an encoder of a pre-constructed pointer network, and the encoder maps the input sequence into a feature vector.

[0079] In the embodiments of the present application, the constructed pointer network is taken as a specific example of deep reinforcement learning to explain in detail the method of designing a combat system.

[0080] like Figure 4 As shown, the pointer network constructed in this embodiment includes an encoding network and a decoding network, that is, an encoder and a decoder.

[0081] The encoder in this embodiment is used to map the input sequence into a set of feature vectors, wherein, based on the combat system design problem in this embodiment, the order of the input sequence does not contain any information, and the encoding order of each input vector therein will not affect the encoding result.

[0082] It can be determined that in this embodiment, for the construction of the encoder of the pointer network, it is meaningless to use a recurrent neural network with higher complexity. Therefore, the encoder in this embodiment chooses to use a one-dimensional convolutional neural network with lower complexity.

[0083] Furthermore, if Figure 4 As shown, the encoder can convert each input vector in the input sequence into i Mapped into an embedding vector e i , and finally generate a feature vector, which is represented in this embodiment as: E = {e1, e2...e i …e nm}.

[0084] In this embodiment, if Figure 5 As shown, the structure of the input sequence includes multiple input vectors, each input vector is a node, and there are a total of n×m nodes. Therefore, each node contains the following three aspects: the capability value that a system can provide, the capability requirements of a task for each capability, and the cost of the system.

[0085] Furthermore, by encoding the input sequence, a (n×m)×d h The feature vector of n×m is the length of the input sequence, d h is the dimension of the target vector.

[0086] In this embodiment, since all input vectors in all input sequences are encoded by one encoder and each input vector shares a set of network parameters, the encoder is robust to the length of the input sequence, that is, the encoder can process it regardless of how the number of systems and the number of tasks in the system set change.

[0087] Step S103: input the feature vector into the pre-constructed decoder of the pointer network, and the decoder adopts an attention mechanism to determine an output sequence, and the output sequence includes a plurality of the combat systems.

[0088] In the embodiments of the present application, Figure 4 As shown, a decoder is also designed in the above-mentioned pointer network, and the decoder is used to decode the feature vector containing the relevant features of the input sequence to obtain an output sequence. Different from the above-mentioned encoder, the decoder of this embodiment needs to consider the output sequence before time f when inputting the output sequence of the current moment (time f). Therefore, in this embodiment, an RNN (recurrent neural network) with a memory storage function is required to decode the feature vector.

[0089] It should be noted that if Figure 4 As shown, the RNN in this embodiment does not directly output the above output sequence, but needs to use the state d of the hidden layer of the RNN at time f f and the feature vector E together generate the output sequence at time f; where d f Contains information about the decoder's output sequence before time f: {y0, y1, ..., y f-1}.

[0090] In this embodiment, the design of the combat system is a type of combinatorial optimization problem, and the dimension of its output information is determined according to the dimension of the input information, that is, the dimension of the output sequence is determined according to the dimension of the input sequence. In the related pointer network model, its output dimension is determined. In order to solve this problem, an attention mechanism is introduced into the pointer network of this embodiment, such as Figure 4 As shown in Figure 1, the attention value of each embedded vector after encoding the input vector is calculated, and the one with the largest attention value is selected as the output at the current moment.

[0091] Specifically, based on the feature vector E generated above, the following formula can be used to calculate the attention mechanism for each embedded vector in E:

[0092]

[0093] in, represents the jth embedding vector e j The attention values, v, W1, and W2 calculated at time f are all learnable parameters and are all learnable parameters in the pointer network of this embodiment.

[0094] Furthermore, based on the attention values ​​of each embedded vector obtained above, as shown in the following formula, the probability of selecting each node as the action output at the current time f is calculated through the softmax operation in the pointer network:

[0095] P(y f |y,…,y f-1 ,E)=softmax(u f )

[0096] Among them, y f Represents the action output at the current time f.

[0097] In this embodiment, among the above-calculated probabilities, the one with the highest probability can be selected as the action output y at time f. f .

[0098] Furthermore, the action output at the current time f and the output sequence before time f are combined to form the output sequence Y at the current time, that is, the design scheme of the combat system, and expressed as: Y = {y0, y1, ..., y f}, it can be seen that it includes multiple combat systems.

[0099] Step S104, calculating and selecting the reward returns of each of the combat systems according to the combined optimization model, updating the parameters of the pointer network by gradient descent according to the reward returns, and training the pointer network with the updated parameters, and completing the training in response to reaching a preset termination condition and implementing the design of the combat system with the trained pointer network.

[0100] In an embodiment of the present application, based on the output sequence obtained above, the pointer network can be trained to update the parameters of the encoder and decoder and determine the final combat system.

[0101] First, for each system in the output sequence, its reward return is calculated.

[0102] Specifically, since the present embodiment takes the minimum total cost of the system as the optimization goal, the calculation method of the reward return can be calculated based on the above-mentioned combined optimization model according to the goal of minimizing the total cost of the system, and expressed as the following formula:

[0103]

[0104] Among them, r k Represents the reward return of the kth system among the f systems in the output sequence.

[0105] Furthermore, based on the calculated reward return of each system in the output sequence, the parameters of the pointer network are trained using the following gradient descent method:

[0106]

[0107]

[0108] θ←θ+ηdθ

[0109] φ←φ+ηdφ

[0110] Among them, θ and φ represent network parameters, dθ and dφ represent the gradient of the network, and η represents the update amplitude of the network.

[0111] It should be noted that in the training phase, when determining the action output y f In the process, we can Select the result with the highest probability as the action output y at the current time ff , and The probability of randomly selecting a node as the action output at the current time f, where the probability It can be set according to specific needs and can be changed continuously as the training phase progresses.

[0112] In this embodiment, at the beginning of training, in order to conduct effective and sufficient exploration, a smaller probability The value of will be The value of gradually increases, and in the application stage, The value of is fixed to 1.

[0113] Furthermore, in the training of network parameters, corresponding termination conditions can be set according to specific circumstances. For example, a threshold value of gradient descent can be set as a termination condition. When the training result meets the set termination condition, the training can be terminated, and the parameters obtained from the training can be applied to the designed network, and the combat system can be designed with the network.

[0114] It can be seen that the design method of the combat system based on deep reinforcement learning in the embodiment of the present application is based on constructing multiple combat systems and multiple combat tasks into a combinatorial optimization model, and comprehensively considers using the encoder to generate feature vectors and the decoder to generate output sequences to form a specific pointer network, and introduces an attention mechanism in the pointer network to determine the output dimension according to the input dimension, and trains the network parameters by combining the gradient descent with the reward return in deep reinforcement learning, so as to achieve the solution of the combinatorial optimization problem in the form of deep reinforcement learning.

[0115] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0116] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0117] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, an embodiment of the present application also provides a design device for a combat system based on deep reinforcement learning.

[0118] refer to Figure 2 The design device of the combat system based on deep reinforcement learning includes: a combination optimization model construction module 201, an encoding module 202, a decoding module 203 and a training module 204.

[0119] The combination optimization model building module 201 is configured to build a combination optimization model and an input sequence using multiple preset combat systems and multiple combat tasks.

[0120] The encoding module 202 is configured to input the input sequence into an encoder of a pre-constructed pointer network, and the encoder maps the input sequence into a feature vector.

[0121] The decoding module 203 is configured to input the feature vector into the pre-built decoder of the pointer network, and the decoder uses an attention mechanism to determine an output sequence, and the output sequence includes a plurality of the combat systems.

[0122] The training module 204 is configured to calculate and select the reward returns of each of the combat systems according to the combined optimization model, update the parameters of the pointer network by gradient descent according to the reward returns, and train the pointer network using the updated parameters. In response to reaching a preset termination condition, the training is completed and the trained pointer network is used to implement the design of the combat system.

[0123] As an optional embodiment, the combination optimization model building module 201 is specifically configured as follows:

[0124] The encoder is constructed using a one-dimensional convolutional neural network;

[0125] The decoder is constructed using a recurrent neural network with a memory storage function.

[0126] Further, determining the number of the combat systems, the capabilities provided by each of the plurality of combat systems, the number of combat missions, the capability requirements of each of the plurality of combat missions, and the cost of each of the plurality of combat systems;

[0127] Constructing a combination optimization model using the capabilities provided by each of the combat systems and the costs of each of the combat systems;

[0128] establishing an input sequence using capability requirements of each of the combat missions, capabilities provided by each of the combat systems, and costs of each of the combat systems;

[0129] The input sequence includes multiple nodes, each of which includes the capability provided by a combat system, the capability requirement of a combat mission and the cost of the combat system.

[0130] Specifically, the goal of minimizing the total cost of the system is established by utilizing the capabilities provided by each of the combat systems and the costs of each of the combat systems;

[0131] Constrain each of the combat systems to be used to complete at most one combat mission;

[0132] The sum of the capabilities of multiple combat systems required to complete a combat mission is constrained to be greater than or equal to the capability requirements of the combat mission.

[0133] As an optional embodiment, the encoding module 202 is specifically configured as follows:

[0134] Encode each node in the input sequence into an embedding vector;

[0135] All of the embedding vectors are combined into a feature vector.

[0136] As an optional embodiment, the decoding module 203 is specifically configured as follows:

[0137] An attention mechanism is used to calculate and select an attention value for each of the embedding vectors;

[0138] Calculating the probability distribution of the attention values ​​of all the embedding vectors to obtain the probability of selecting each of the nodes;

[0139] Select the node with the highest probability as the output action at the current moment;

[0140] The output action at the current moment is combined with the output actions at all previous moments to form the output sequence at the current moment.

[0141] As an optional embodiment, the training module 204 is specifically configured as follows:

[0142] For each of the combat systems, perform the following operations:

[0143] An inverse relationship is established between the reward return of the combat system and the goal of minimizing the total cost of the system in the combinatorial optimization model.

[0144] For the convenience of description, the above devices are described in terms of functions and are divided into various modules. Of course, when implementing the embodiments of the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0145] The device of the above-mentioned embodiment is used to implement the corresponding design method of the combat system based on deep reinforcement learning in any of the aforementioned embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0146] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, an embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for designing a combat system based on deep reinforcement learning as described in any of the above embodiments is implemented.

[0147] Figure 6 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0148] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application.

[0149] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solution provided in the embodiment of the present application is implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0150] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0151] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0152] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0153] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiment of the present application, and does not necessarily include all the components shown in the figure.

[0154] The device of the above-mentioned embodiment is used to implement the corresponding design method of the combat system based on deep reinforcement learning in any of the aforementioned embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0155] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the design method of a combat system based on deep reinforcement learning as described in any of the above embodiments.

[0156] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0157] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the design method of a combat system based on deep reinforcement learning as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0158] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0159] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present application will be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0160] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0161] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.

Claims

1. A design method for a combat system based on deep reinforcement learning, characterized in that: include: Determining the number of the combat systems, the capabilities provided by each of the plurality of combat systems, the number of combat missions, the capability requirements of each of the plurality of combat missions, and the cost of each of the plurality of combat systems; Constructing a combination optimization model using the capabilities provided by each of the combat systems and the costs of each of the combat systems; establishing an input sequence using capability requirements of each of the combat missions, capabilities provided by each of the combat systems, and costs of each of the combat systems; The input sequence includes a plurality of nodes, each of which includes a capability provided by a combat system, a capability requirement of a combat mission, and a cost of the combat system; The method of constructing a combined optimization model by utilizing the capabilities provided by each of the combat systems and the costs of each of the combat systems includes: The goal of minimizing the total cost of the system is achieved by utilizing the capabilities provided by each of the combat systems and the costs of each of the combat systems; Constrain each of the combat systems to be used to complete at most one combat mission; The sum of the capabilities of multiple combat systems that complete a combat mission is constrained to be greater than or equal to the capability requirement of the combat mission; Inputting the input sequence into an encoder of a pre-constructed pointer network, wherein the encoder maps the input sequence into a feature vector; The feature vector is input into the decoder of the pre-constructed pointer network, and the decoder adopts the attention mechanism to determine the output sequence, wherein the output sequence includes a plurality of the combat systems; the reward return of each combat system is selected according to the calculation of the combinatorial optimization model, and the parameters of the pointer network are updated according to the reward return by adopting the gradient descent method, and the pointer network is trained with the updated parameters, and in response to reaching the preset termination condition, the training is completed and the combat system design is implemented with the trained pointer network.

2. The method according to claim 1, characterized in that: The encoder maps the input sequence into a feature vector, including: Encode each node in the input sequence into an embedding vector; All of the embedding vectors are combined into a feature vector.

3. The method according to claim 2, characterized in that The decoder adopts an attention mechanism to determine an output sequence, including: An attention mechanism is used to calculate and select an attention value for each of the embedding vectors; Calculating the probability distribution of the attention values ​​of all the embedding vectors to obtain the probability of selecting each of the nodes; Select the node with the highest probability as the output action at the current moment; The output action at the current moment is combined with the output actions at all previous moments to form the output sequence at the current moment.

4. The method according to claim 1, characterized in that: The reward return of each combat system is calculated and selected according to the combined optimization model, including: For each of the combat systems, perform the following operations: An inverse relationship is established between the reward return of the combat system and the goal of minimizing the total cost of the system in the combinatorial optimization model.

5. The method according to claim 1, characterized in that The pointer network encoder pre-build includes: The encoder is constructed using a one-dimensional convolutional neural network; The pre-construction of the decoder of the pointer network includes: The decoder is constructed using a recurrent neural network with a memory storage function.

6. A design device for a combat system based on deep reinforcement learning, comprising: Combination optimization model building module, encoding module, decoding module and training module; The combination optimization model building module is configured to determine the number of the combat systems, the capabilities provided by each of the plurality of combat systems, the number of combat missions, the capability requirements of each of the plurality of combat missions, and the cost of each of the plurality of combat systems; Constructing a combination optimization model using the capabilities provided by each of the combat systems and the costs of each of the combat systems; establishing an input sequence using capability requirements of each of the combat missions, capabilities provided by each of the combat systems, and costs of each of the combat systems; The input sequence includes a plurality of nodes, each of which includes a capability provided by a combat system, a capability requirement of a combat mission, and a cost of the combat system; The step of constructing a combined optimization model by utilizing the capabilities provided by each of the combat systems and the costs of each of the combat systems includes: The goal of minimizing the total cost of the system is achieved by utilizing the capabilities provided by each of the combat systems and the costs of each of the combat systems; Constrain each of the combat systems to be used to complete at most one combat mission; The sum of the capabilities of multiple combat systems that complete a combat mission is constrained to be greater than or equal to the capability requirement of the combat mission; The encoding module is configured to input the input sequence into an encoder of a pre-constructed pointer network, and the encoder maps the input sequence into a feature vector; The decoding module is configured to input the feature vector into a decoder of the pre-constructed pointer network, wherein the decoder uses an attention mechanism to determine an output sequence, wherein the output sequence includes a plurality of the combat systems; The training module is configured to calculate and select the reward returns of each of the combat systems according to the combined optimization model, update the parameters of the pointer network by gradient descent according to the reward returns, and train the pointer network using the updated parameters. In response to reaching a preset termination condition, the training is completed and the trained pointer network is used to implement the design of the combat system.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable by the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.

8. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions for causing a computer to execute the method according to any one of claims 1 to 5.