Frequency hopping interference resource allocation method based on learning from imperfect examples

By modeling frequency hopping interference resource allocation as a Markov decision process, and using the TRPO algorithm and strategy to combat the imitation phase optimization strategy, we solve the optimization problem of deep reinforcement learning in a sparse reward environment, achieve efficient interference resource allocation, and reduce Eliminates resource consumption and the need to rely on refined reward functions.

CN118740198AActive Publication Date: 2024-10-01AIR FORCE UNIV PLA

Patent Information

Application Number
CN202410715023.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-10-01
Estimated Expiration
2044-06-04

AI Technical Summary

Technical Problem

Deep reinforcement learning technology requires the artificial design of precise reward functions in combinatorial optimization problems, resulting in high resource consumption and reliance on professional knowledge, making it difficult to effectively optimize frequency hopping interference resource allocation in a sparse reward environment.

Method used

The frequency hopping interference resource allocation is modeled as a Markov decision process. Through iterative optimization of the policy neural network and the discriminator network, the TRPO algorithm and the policy confrontation imitation stage are used to optimize the strategy in a sparse reward environment and reduce the dependence on the fine reward function. .

Benefits of technology

It achieves effective optimization of frequency hopping interference resource allocation in a sparse reward environment, reduces resource consumption, avoids the cumbersome process of artificially designing reward functions, and improves the interference success rate and resource utilization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740198A_ABST
    Figure CN118740198A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a frequency hopping interference resource allocation method based on learning from imperfect examples. The method comprises the following steps: constructing a frequency hopping interference resource allocation problem according to a communication confrontation scene; modeling a frequency hopping interference resource allocation problem as a Markov decision process; randomly initializing strategy network parameters and a discriminator network; iterating the initialized strategy network for multiple times, and in each strategy iteration process, constructing a strategy improvement stage and a strategy adversarial imitation stage based on double confidence domains; in the strategy improvement stage, an initial allocation strategy in current iteration is optimized based on a TRPO algorithm, and an intermediate allocation strategy is obtained; and in a strategy adversarial imitation stage, training a discriminator network to optimize an intermediate allocation strategy by utilizing example data and interaction data of an initial allocation strategy in current iteration, and obtaining a final allocation strategy of the current iteration. According to the method, forward optimization of the strategy in the sparse reward environment can be guided, a fine reward function does not need to be manually designed, and resource consumption is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of wireless communications, and in particular to a frequency hopping interference resource allocation method based on learning from imperfect examples. Background Art

[0002] In the field of wireless communication technology, wireless sensor networks are widely used in the field of military communications. With the development of spread spectrum communication technology, frequency hopping spread spectrum (FHSS) communication has become an important means to improve the anti-interference ability of wireless sensor networks. As the interference party, partial-band noise jamming (PBNJ) is usually used to reduce the efficiency of the frequency hopping communication system. For example, the utilization rate of interference resources can be improved by reasonably setting multiple non-overlapping interference frequency bands, expanding the interference frequency band to increase the possibility of covering different user channels. The allocation of interference resources for frequency hopping spread spectrum communication is essentially a combinatorial optimization problem.

[0003] In the related technologies, with the rapid development of artificial intelligence, deep learning-based methods have emerged to solve combinatorial optimization problems. For example, deep reinforcement learning technology can be applied to the intelligent optimization of interference power allocation or interference link selection.

[0004] Regarding the above technical solution, the inventors found that there are at least the following technical problems: Although deep reinforcement learning technology has been widely used to solve combinatorial optimization problems, it requires heavy reliance on artificially designed sophisticated reward functions, that is, reward features need to be designed specifically for different goals of different tasks, which requires professional domain knowledge as support, and requires a large number of repeated experiments to find a suitable reward function, which is extremely resource-consuming. Summary of the invention

[0005] The purpose of the embodiments of the present disclosure is to provide a frequency hopping interference resource allocation method based on learning from imperfect examples, which can guide the strategy to be forward optimized in a sparse reward environment without the need to manually design a sophisticated reward function, thereby saving resource consumption.

[0006] According to an embodiment of the present disclosure, a method for allocating frequency hopping interference resources based on learning from imperfect examples is provided, including:

[0007] Construct the frequency hopping jamming resource allocation problem based on the communication confrontation scenario;

[0008] Modeling the frequency hopping interference resource allocation problem as a Markov decision process;

[0009] Randomly initialize the policy network parameters and the discriminator network;

[0010] The initialized policy network is iterated multiple times, and in each iteration, a policy improvement phase and a policy adversarial imitation phase are constructed based on the double reset trust region;

[0011] Wherein, in the strategy improvement stage, the initial allocation strategy in the current iteration is optimized based on the TRPO algorithm to obtain an intermediate allocation strategy;

[0012] In the strategy adversarial imitation stage, the discriminator network is trained using example data and interaction data of the initial allocation strategy in the current iteration to optimize the intermediate allocation strategy to obtain a final allocation strategy.

[0013] The technical solution provided by the present disclosure may have the following beneficial effects:

[0014] In the embodiments of the present disclosure, through a frequency hopping interference resource allocation method based on learning from non-perfect examples, on the one hand, the interference resource allocation problem involved in countering partial-band noise interference in frequency hopping communication is modeled as a Markov decision process, so that the policy neural network is allowed to make interference plans for each interference node in a timely manner to construct a dynamic transfer process in the combinatorial optimization; on the other hand, the initialized policy network is iterated multiple times, and in each policy iteration process, a policy improvement phase and a policy confrontation imitation phase are constructed based on a double reset trust domain, wherein in the policy improvement phase, the TRPO algorithm is used to optimize the initial allocation strategy in the current iteration to ensure the monotonic and robust optimization of the algorithm, and the intermediate allocation strategy after optimization in the policy improvement phase is obtained; further, in the policy confrontation imitation phase, the example data and the interaction data of the initial allocation strategy in the current iteration are used to train the discriminator network to optimize the intermediate allocation strategy, so that the strategy imitates the trajectory of the example data in the trust domain, and guides the strategy to forward optimize in a sparse reward environment, without the need to manually design a sophisticated reward function, saving resource consumption.

[0015] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0017] Figure 1 A schematic diagram showing the steps of a frequency hopping interference resource allocation method based on learning from imperfect examples in an exemplary embodiment of the present disclosure;

[0018] Figure 2 A schematic diagram of a ground-to-air interference scenario in an exemplary embodiment of the present disclosure is shown;

[0019] Figure 3 A schematic diagram showing the distribution of channels of different frequency hopping frequency sets on a frequency spectrum in an exemplary embodiment of the present disclosure;

[0020] Figure 4 The k+1th strategy iteration process in the exemplary embodiment of the present disclosure is shown;

[0021] Figure 5 A schematic diagram showing a discriminator network in an exemplary embodiment of the present disclosure;

[0022] Figure 6 A diagram showing a framework for allocating interference resources in an exemplary embodiment of the present disclosure is shown;

[0023] Figure 7 A schematic diagram showing the comparison of cumulative interference rewards obtained by different methods in a simulation experiment of an exemplary embodiment of the present disclosure;

[0024] Figure 8 A schematic diagram showing a comparison of total interference bandwidth consumed by different methods in a simulation experiment of an exemplary embodiment of the present disclosure;

[0025] Fig. 9 The interference success rate of the method proposed in the present application on different frequency sets in the simulation experiment of the exemplary embodiment of the present disclosure is shown;

[0026] Fig.10 The interference success rate of the GAIL method on different frequency sets in the simulation experiment of the exemplary embodiment of the present disclosure is shown;

[0027] Fig.11 A schematic diagram showing the comparison of interference frequency bands constructed after different methods converge in a simulation experiment of an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0029] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0030] In this example implementation, a frequency hopping interference resource allocation method based on learning from imperfect examples is first provided. Figure 1 As shown in , the frequency hopping interference resource allocation method based on meta-deep reinforcement learning may include the following steps:

[0031] Step S101: construct a frequency hopping interference resource allocation problem according to a communication confrontation scenario;

[0032] Step S102: Modeling the frequency hopping interference resource allocation problem as a Markov decision process;

[0033] Step S103: Randomly initialize the policy network parameters and the discriminator network;

[0034] Step S104: performing multiple iterations on the initialized policy network, and in each iteration process, constructing a policy improvement phase and a policy adversarial imitation phase based on the double reset trust region;

[0035] In the strategy improvement stage, the initial allocation strategy in the current iteration is optimized based on the TRPO algorithm to obtain the intermediate allocation strategy;

[0036] In the strategy adversarial imitation stage, the discriminator network is trained using the example data and the interaction data of the initial allocation strategy in the current iteration to optimize the intermediate allocation strategy and obtain the final allocation strategy of the current iteration.

[0037] Through the above-mentioned frequency hopping interference resource allocation method based on learning from imperfect examples, on the one hand, the interference resource allocation problem involved in the partial band noise interference of frequency hopping communication is modeled as a Markov decision process, so that the policy neural network can make interference plans for each interference node in a timely manner to construct a dynamic transfer process in the combinatorial optimization; on the other hand, the initialized policy network is iterated multiple times, and in each policy iteration process, a policy improvement stage and a policy adversarial imitation stage are constructed based on a double reset trust region, wherein in the policy improvement stage, the TRPO algorithm is used to optimize the initial allocation strategy in the current iteration to ensure the monotonic and robust optimization of the algorithm, and the intermediate allocation strategy after optimization in the policy improvement stage is obtained; further, in the policy adversarial imitation stage, the example data and the interaction data of the initial allocation strategy in the current iteration are used to train the discriminator network to optimize the intermediate allocation strategy, so that the strategy can imitate the trajectory of the example data in the trust region, and guide the strategy to forward optimize in a sparse reward environment, without the need to manually design a sophisticated reward function, saving resource consumption.

[0038] Next, we will refer to Figures 1 to 11 Each step of the above method in this example implementation is described in more detail.

[0039] It should be noted that, in the process of performing multiple iterations on the initialized policy network, the final allocation strategy obtained by the optimization of the previous iteration is used as the initial allocation strategy of the next iteration, thereby realizing multiple iterations on the initialized policy network.

[0040] For further reference, Figure 2 As shown in , the ground-to-air interference scenario in this application is that multiple ground interference nodes interfere with multiple ground-to-air frequency hopping communication networks. The ground transmitting node and the air receiving node communicate using FHSS technology, and N frequency hopping communication networks are constructed through N frequency hopping frequency sets. The attack on the frequency hopping communication network is to interfere with the frequency hopping frequency set from the energy domain and frequency domain.

[0041] In one embodiment, using Indicates the nth frequency hopping frequency set, n is the index Among them, the nth frequency hopping frequency set Total p n frequency hopping channels, which can be expressed as in, represents the center frequency of the ith frequency hopping channel of the nth frequency hopping frequency set, and the bandwidth of each frequency hopping channel is b u , and the total communication power Evenly distributed on all frequency hopping channels, it can be expressed as:

[0042]

[0043] Wherein, U(f) represents the power spectral density function of the communication signal.

[0044] Optionally, the jammer deploys M ground jammer nodes at the same location. Represents the index of the interference node. Each interference node uses the PBNJ interference mode to interfere with the N frequency hopping communication networks. Figure 3 The figure shows the distribution diagram of channels of different frequency hopping frequency sets on the spectrum. Through electronic warfare intelligence support and intelligence analysis, the jammer can grasp the channel distribution of the frequency hopping frequency sets used by each frequency hopping communication network in advance.

[0045] Optionally, each interfering node has a rated interference power By selecting the center interference frequency and interference bandwidth Construct a continuous interference band on the spectrum And the interference power of the interfering node is evenly distributed in the interference frequency band, which can be expressed as:

[0046]

[0047] Wherein, J(f) represents the power spectral density function of the interference signal.

[0048] Further, the interference frequency band of the mth interference node is calculated to be The Jamming-plus-Niose-to-Signal Ratio (JNSR) generated when the frequency hopping channel is:

[0049]

[0050] Where N(f) represents the power spectral density of Gaussian white noise, Represents the indicator function, when the center frequency is The interference frequency band can completely cover the center frequency of When the channel is a frequency hopping channel, its function value is 1, otherwise it is 0; u Represents the channel gain of the communication signal, G j represents the channel gain of the interference signal, F b represents the filtering loss coefficient, ρ represents the polarization loss coefficient; d u Indicates the propagation distance of the communication signal, d j represents the propagation distance of the interference signal, It represents the path transmission loss of the communication signal in free space. Represents the path transmission loss of the interference signal in free space.

[0051] Furthermore, we can get the center frequency of M interference nodes as The combined interference plus noise signal ratio of the frequency hopping channel is if Then the frequency hopping channel is regarded as successfully interfered, otherwise It means that it has not been successfully interfered.

[0052] In this embodiment, the interference coverage coefficient is introduced This means that for any frequency hopping frequency set, when there is at least When a certain percentage of the frequency hopping channels are interfered, the frequency hopping frequency set can be regarded as being completely interfered. The value of is between 0.3 and 0.4. Therefore, the interference success judgment formula for the nth frequency hopping frequency set can be obtained as follows:

[0053]

[0054] Where sgn(·) represents the indicator function. When the independent variable x>0, the function value sgn(x)=1, and when the independent variable x≤0, the function value Indicates that the center frequency of M interfering nodes is The combined interference plus noise signal ratio of the frequency hopping channel, p n represents the total number of channels in the nth frequency hopping frequency set, is the interference bandwidth, b u is the bandwidth of the hopping channel, M is the number of interfering nodes, Represents the interference coverage factor.

[0055] It should be noted that in order to make full use of the existing interference resources to successfully interfere with as many frequency hopping frequency sets as possible, the interferer needs to carefully select the central interference frequency and interference bandwidth for each interference node, and specifically consider the following factors: first, it is necessary to ensure that as many frequency hopping channels as possible are fully covered in the frequency domain and completely suppressed in the energy domain; at the same time, it is necessary to pay attention to not interfering with all the frequency hopping channels of the frequency hopping set, because as long as the proportion of the number of interfered frequency hopping channels exceeds, it is sufficient to interfere with the corresponding frequency hopping frequency set; finally, it is necessary to coordinate the interference frequency bands constructed by each interference node to avoid excessive overlap of the interference frequency bands of different interference nodes and cause waste of interference resources.

[0056] In this embodiment, the interference resource allocation problem in the communication confrontation scenario can be formulated and expressed as follows:

[0057]

[0058] Where sgn(·) represents the indicator function, Indicates that the center frequency of M interfering nodes is The combined interference plus noise signal ratio of the frequency hopping channel, p n represents the total number of channels in the nth frequency hopping frequency set, is the interference bandwidth, b u is the bandwidth of the hopping channel, M is the number of interfering nodes, Represents the interference coverage factor.

[0059] In the above formula, It represents the maximum number of successfully interfered frequency hopping sets; (C1) indicates that the interference power is evenly distributed on the interference frequency band; (C2) indicates that the communication power is evenly distributed on all frequency hopping channels; (C3) constrains the number of frequency hopping frequency sets and interference nodes; (C4) constrains the selection range of the central interference frequency; (C5) constrains the selection range of the interference bandwidth.

[0060] It should be noted that the problem expressed in the above formula is a static combinatorial optimization problem, so the size of its solution space is It can be seen that the solution space size increases exponentially with the increase of the number of interference nodes M. If the policy neural network is used to give solutions to all interference nodes at the same time, the number of neurons in the output layer of the policy network will also reach This deformed neural network structure will bring great trouble to the training of the policy network. Considering that the interference scheme is composed of the sub-schemes of each interference node, this application uses an incremental construction solution to give the interference scheme, that is, using the policy network to output the sub-schemes of each interference node in turn. This technical solution has two advantages: on the one hand, the number of neurons in the network output layer can be It is not affected by the number of interfering nodes; on the other hand, it can construct a dynamic state transfer process for static optimization problems and establish prerequisites for modeling Markov decision processes.

[0061] In this embodiment, in order to reasonably and optimally allocate interference resources of multiple interference devices and achieve simultaneous interference of multiple frequency hopping frequency sets, this embodiment models the frequency hopping interference resource allocation problem as a Markov decision process (MDP).

[0062] Furthermore, step S102 may include the following sub-steps:

[0063] Step S1021: define the state space, action space, state transfer function and reward function of the Markov decision process;

[0064] Step S1022: construct a discrete Markov decision process based on the state space, action space, state transfer function and reward function.

[0065] In one embodiment, the Markov decision process defined in step S1021 can be It indicates that, is the state space, is the action space, is the network, r is the reward function, and the specific physical meanings are as follows:

[0066] In the interference resource allocation problem of this embodiment, the state space S can be expressed as:

[0067] s t =[e1(t),e2(t),…,e n (t),…,e N (t)]∈S (10)

[0068] Among them, e n (t) represents the transient interference effect of the currently constructed interference scheme on the nth frequency hopping frequency set, and

[0069] The action of the interfering party t is the interference action of the interference node that makes a decision at time step t, then the action space A can be expressed as:

[0070]

[0071] Among them, t∈{0,1,2,…,M-1}, is the central interference frequency of the tth interference node, is the interference bandwidth of the tth interfering node;

[0072] The state transfer function P can be expressed as:

[0073] P(s t+1 |s t ,a t )→[0,1] (12)

[0074] Among them, P(s t+1 |s t ,a t ) indicates that the interference end performs action a t After that, according to the state transfer function, the state s of the environmental information t Transition to next state s t+1 ;

[0075] The reward function is used to guide the agent to move towards the direction of optimizing the objective function. In this embodiment, a binary reward function is directly used, and the achievement of the task goal is used as the judgment condition for obtaining the reward. That is, if the final goal is achieved, a reward of 1 is obtained, otherwise a reward of 0 is obtained. The expression of the reward function r is:

[0076]

[0077] Among them, e n (t) represents the transient interference effect of the currently constructed interference scheme on the nth frequency hopping frequency set, represents the interference coverage factor, p n represents the total number of channels in the nth frequency hopping frequency set, and N represents the number of frequency hopping frequency sets.

[0078] It should be noted that in order to compare with the artificially designed fine reward function used in existing deep reinforcement learning technology to solve combinatorial optimization problems, an existing fine reward function is given as an example, such as the following formula:

[0079]

[0080] Among them, the reward function provided in this application represents a sparse reward environment, and the refined reward function given in the above example represents a dense reward environment. It can be seen that this refined reward function needs to be supported by professional domain knowledge, and a large number of verification experiments are required to determine the characteristic parameters in the reward function, which undoubtedly requires a large amount of manpower and computing resources.

[0081] For example, reinforcement learning (RL) is a branch of machine learning with a general computing framework. Reinforcement learning can control an agent to use a strategy π to interact with the environment, adjust its own strategy through the feedback r given by the environment, and then continue to interact with the environment, repeating the cycle, and finally obtaining an optimized strategy π * Reinforcement learning usually models the policy optimization process as a Markov decision process, which can be defined by a tuple MDP=<S,A,P,r,γ,H> , S is the state space, A is the action space, r is the reward function, P is the state transition function, γ is the discount factor, and H is the decision sequence. Suppose at time step t, the agent observes the state s of the environment t , and from the strategy π(·|s t ) to sample action a t Act on the environment, the state of the environment is affected by the action and becomes s t+1 ~P(·∣s t ,a t ) and generates a reward r t , the agent and the environment repeat the above process until the environment reaches the final state and stops, and a trajectory τ=(s0,a0,r0,s1,a1,r1,…) is generated. The objective function of reinforcement learning is to find a strategy π * Maximizes the cumulative discounted reward of the trajectory That is π * = argmax π J r (π).

[0082] For example, the state value function is used to measure the state s t The value of can be defined as Indicates that from state s t The expected cumulative reward that can be obtained by starting to follow the policy. The action value function measures the t Take action a t The value of is defined as Indicates that in state s t Take action a t The expected cumulative reward that can be obtained. The advantage function is used to measure the t Take action a t The advantage obtained compared to other actions is defined as A r (a t ,s t )=Q r (s t , a t )-V r (s t ). For policy π, its discounted state access distribution can be expressed as The access distribution of discounted state actions to policy π can be expressed as ρ π (s, a) = ρ π (s)π(a|s), also known as the occupancy metric of strategy π, where the occupancy metric and strategy are in one-to-one correspondence.

[0083] For example, Deep Reinforcement Learning (DRL) is an extension of reinforcement learning. In deep reinforcement learning, neural networks are used to represent the policy π and the state value function V r (s t ) and the action-value function Q r (s t , a t ), which enables deep reinforcement learning algorithms to solve higher-dimensional and more complex problems.

[0084] It should be noted that the method proposed in this application is based on the TRPO algorithm and adopts the Actor-Critic structure, using the Actor neural network to represent the strategy and the Critic neural network to represent the value function. The TRPO algorithm can find a suitable update step size of the policy gradient so that each iteration of the strategy is in the direction of monotonically increasing the objective function.

[0085] In one embodiment, the following steps may be further included before step S103:

[0086] Input the number of interference nodes M and the interference bandwidth set Maximum interference power Iteration number E max 、Steps max , the confidence region δ of the strategy adversarial imitation stage k , the confidence region δ in the strategy improvement phase;

[0087] Input the spectrum distribution of channels in all frequency hopping sets;

[0088] Enter sample data and experience pool

[0089] refer to Figures 4 to 6 As shown in , this embodiment designs a strategy improvement phase and a strategy confrontation imitation phase in each strategy iteration process. The k+1th strategy iteration is used for illustration. k represents the initial allocation strategy in the k+1th policy iteration, using strategy π k+1 / 2 represents the intermediate allocation strategy in the k+1th policy iteration, using strategy π k+1 It represents the final allocation strategy in the k+1th policy iteration. The initial allocation strategy in the k+1th policy iteration is also the final allocation strategy in the kth policy iteration. δ is used to represent the trust region in the policy improvement stage.

[0090] Furthermore, in the policy improvement phase of the k+1th policy iteration, the initial allocation strategy π in the current iteration is improved based on the TRPO algorithm. k The optimization includes the following steps:

[0091] By initial allocation strategy π k Interact with the environment to generate interaction trajectories and external rewards r;

[0092] The objective function is constructed based on maximizing the cumulative discounted reward of the interaction trajectory;

[0093] Solve the objective function under KKT conditions and obtain the intermediate allocation strategy π k+1 / 2 strategy parameters.

[0094] Through the above steps, the initial allocation strategy π k Find the intermediate allocation strategy π that maximizes the objective function within the trust region δ k+1 / 2 .

[0095] Furthermore, the objective function of the strategy improvement stage is the same as that of the TRPO algorithm. The calculation formula of the objective function that needs to be optimized in the strategy improvement stage is:

[0096]

[0097] Among them, D KL (·||·) represents the Kullback-Leibler (KL) divergence of the two distributions, π k represents the initial allocation strategy in the k+1th policy iteration, π k+1 / 2 represents the intermediate allocation strategy in the k+1th policy iteration, Denotes the initial allocation strategy π k The discount status of the visit distribution, Represents the advantage function, specifically the initial allocation strategy π k In status t Take action a t Advantages compared to other actions.

[0098] Optionally, the policy parameters of the intermediate allocation strategy obtained by solving the objective function using the KKT condition can be expressed as follows:

[0099]

[0100] in,(·) T represents the transpose operator, is the Hessian matrix of the average KL distance between strategies, is the policy gradient;

[0101] The final allocation strategy π obtained by the k-th policy iteration k Generate a set of trajectories And use this set of trajectories to estimate the policy gradient It can be expressed as:

[0102]

[0103] in, represents the parameters after completing the kth policy iteration, Represents the advantage function, specifically the strategy π k In status t Take action a t Advantages compared to other actions.

[0104] But based on the inverse of the Hessian matrix in the objective function The amount of calculation is large, so when solving the objective function, As a whole, we only need to calculate Then it can be transformed into a solution to the following equation

[0105]

[0106] in, It can be obtained by conjugate gradient algorithm, which belongs to the prior art and will not be described here. Substitute into the solution formula (15) of the objective function and use backtracking linear search to find the initial allocation strategy π k Update and get the following updated intermediate allocation strategy π k+1 / 2 Parameters:

[0107]

[0108] Among them, z∈{0, 1, 2, …, Z} is the minimum value that satisfies the KL divergence constraint, Z is the maximum number of backtracking steps, and σ is the backtracking coefficient.

[0109] For example, the Actor-Critic algorithm is a reinforcement learning method that combines policy gradient and value function. It works together through an Actor network and a Critic network to solve reinforcement learning problems in continuous action space and high-dimensional state space.

[0110] In one embodiment, the update of the value function network in the strategy improvement phase is the same as the update method of the Critic network in the general Actor-Critic algorithm. The value function network is optimized by minimizing the mean square error of the temporal difference error in the samples, which can be achieved by the following formula:

[0111]

[0112] in, represents the parameters of the value function after completing the policy improvement step, Represents the parameter of the value function after completing the kth policy iteration, V r (s t ) indicates that from state s t The expected cumulative reward that can be obtained by starting to follow the strategy, V r (s t+1 ) indicates that from state s t+1 The expected cumulative reward that can be obtained by starting to follow the strategy, γ represents the discount factor;

[0113] Finally, the stochastic gradient descent method is used to complete Updates.

[0114] In one embodiment, in the strategy adversarial imitation phase of the k+1th strategy iteration, using example data and the initial allocation strategy π in the current iteration k The interaction data of the discriminator network is trained to optimize the intermediate allocation strategy π k+1 / 2 , including the following steps:

[0115] From the example strategy and the initial allocation strategy π in the strategy improvement phase k Sampling data;

[0116] Use the sampled data to train the discriminator network through stochastic gradient descent;

[0117] The output of the discriminator network is used as the intrinsic reward function to allocate the intermediate strategy π k+1 / 2 Make optimizations.

[0118] Through the above steps, we can make the example strategy π d It plays a role in constraint guidance, making the intermediate allocation strategy π after optimization in the strategy improvement stage k+1 / 2 In a sparse reward environment, forward optimization can continue, or the above steps can force the intermediate allocation strategy π k+1 / 2 Imitation example policy π d actions to achieve the purpose of effective exploration in unknown environments.

[0119] In one embodiment, when training the discriminator network, a binary cross entropy loss is used to calculate the loss function of the discriminator network, and the sampled data is combined with the loss function of the discriminator network to train the discriminator network, thereby achieving training of the discriminator network.

[0120] Furthermore, the loss function of the discriminator network can be expressed as:

[0121]

[0122] Among them, D φ (s t , a t ) represents the discriminator network, Represents the final allocation strategy π k+1 The discount status of the visit distribution, Denotes an example policy π d The discounted state visit distribution, Loss(D φ ) represents the loss function of the discriminator network.

[0123] In one embodiment, in the strategy adversarial imitation stage, the output of the discriminator network is used as the intrinsic reward function to allocate the intermediate strategy π k+1 / 2 When optimizing, the optimization objective can be expressed as:

[0124]

[0125] Among them, π k+1 / 2 represents the intermediate allocation strategy in the k+1th policy iteration, π k+1represents the final allocation strategy in the k+1th policy iteration, represents the intermediate allocation strategy π k+1 / 2 The discount status of the visit distribution, Represents the final allocation strategy π k+1 The discount status of the visit distribution, represents the intermediate allocation strategy π k+1 / 2 In status t Take action a t Compared with the advantages that other actions can obtain, D KL (·||·) represents the Kullback-Leibler (KL) divergence of the two distributions, δ k Represents the confidence region of the strategy against the imitation phase.

[0126] Optionally, the confidence region δ in the optimization objective of the strategy adversarial imitation phase k is set to decrease geometrically as the number of policy iterations increases. This setting allows the example policy π to be adaptively reduced as the optimization proceeds. d The teaching effect on strategy.

[0127] It should be noted that the present application obtains the optimization target of the above strategy against imitation stage through the following process:

[0128] First, the example policy π d It can be a non-perfect strategy, that is, J r (π d )≤J r (π * ), where the imperfect strategy consists of the average answers given by the average person to a certain type of problem, and the strategy π * is the optimal strategy that can maximize the cumulative discounted reward of the trajectory. In this embodiment, the example strategy π d It is not necessary to have an advantage over all strategies. Example strategy π d It only needs to be better than the policy at the very beginning. This assumption is reasonable considering that the initial policy is an untrained policy or even a randomly initialized policy.

[0129] Therefore, in the strategy adversarial imitation stage, we set d The sampled actions are compared from the initial allocation policy π k The actions sampled in have advantage values, and the advantage values ​​satisfy:

[0130]

[0131] Among them, ω represents the advantage value, π k represents the initial allocation strategy in the k+1th policy iteration, π drepresents an example policy, Denotes an example policy π d In status t Take Action Compared with the advantages that can be obtained by other actions, Denotes the initial allocation strategy π k In status t Take action a t Advantages compared to other actions.

[0132] Then, the objective function of the strategy adversarial imitation phase is set as:

[0133]

[0134] Among them, D KL (·||·) represents the Kullback-Leibler (KL) divergence of two distributions, represents the intermediate allocation strategy π k+1 / 2 The discount status of the visit distribution, Represents the final allocation strategy π k+1 The discounted state visit distribution, δ k represents the confidence region of the strategy against the imitation phase;

[0135] To make the example policy π d Can be initially assigned strategy π k Effective imitation helps strategy exploration. In this embodiment, the trust region δ k Assign a larger initial value and design a trust region δ k The geometric decrease as the number of iterations k increases. Through the above settings, the example strategy π can be adaptively reduced as the optimization proceeds. d The teaching effect on strategy.

[0136] Direct minimization is difficult, because the optimization strategy π k+1 The samples come from the strategy π to be optimized k+1 is difficult to achieve. Therefore, we refer to the method of constructing a substitute function in the TRPO algorithm to approximate the solution of formula (20). First, define an internal reward function r I , the internal reward function r I It can be expressed as r I =log[π k+1 (s t , a t ) / π d (s t , a t )], using the internal reward function r IReplacing the external reward r in the objective function and advantage function, we can get the internal reward function r I Variables and

[0137] Next, assume that the policy π k+1 / 2 is obtained through the strategy improvement stage, then for any Strategy π k+1 , the following inequalities all hold:

[0138]

[0139] Among them, D KL (·||·) represents the Kullback-Leibler (KL) divergence of the two distributions, π k+1 / 2 represents the intermediate allocation strategy in the k+1th policy iteration, π k+1 represents the final allocation strategy in the k+1th policy iteration, represents the intermediate allocation strategy π k+1 / 2 The discount status of the visit distribution, Represents the final allocation strategy π k+1 The discounted state visit distribution, δ k represents the trust region of the strategy adversarial imitation phase, represents the advantage function, γ is the discount factor, and π d It is necessary to explain that the proof process of this assumption will be given later.

[0140] So we can use the right half of inequality (21) to minimize instead of minimizing In inequality (21), and strategy π k+1 Only relevant That is to say, we only need to minimize this term, so we can transform the solution of formula (20) into the solution of the following formula:

[0141]

[0142] Among them, D KL (·||·) represents the Kullback-Leibler (KL) divergence of the two distributions, π k+1 / 2 represents the intermediate allocation strategy in the k+1th policy iteration, π k+1 represents the final allocation strategy in the k+1th policy iteration, represents the intermediate allocation strategy π k+1 / 2 The discounted state visit distribution, δ k represents the trust region of the strategy adversarial imitation phase, represents the advantage function.

[0143] Considering that in practice we can usually only obtain the example strategy π d Generated sample data But it is not possible to obtain the example strategy π in a detailed form d , which is important for the internal reward function r I =log[π k+1 (s t , a t ) / π d (s t , a t )] is very difficult to calculate. This embodiment uses sample data and strategy π k The generated trajectory is used to construct the internal reward. Thanks to the occupancy metric ρ π (s, a) and strategy π(s, a) are in one-to-one correspondence, so we can estimate Instead of estimating r I =log[π k+1 (s t , a t ) / π d (s t , a t )], and it is estimated You can use the sample data This is achieved through adversarial training on Figure 5 As shown in , it can be estimated by the discriminator network in the Generative adversarial networks GAN

[0144] The above is estimated by the discriminator network in the Generative adversarial networks GAN It should be noted that the strategy π k+1 As the generator in GAN, the discriminator D φ (s t , a t ) is the neural network we want to train. Specifically, we will use the occupancy metric The sampled state-action pairs (s t , a t ) is assigned a label of "1" and will be measured based on the occupancy The sampled state-action pairs (s t , a t ) is assigned the label “0”. The discriminator assigns the state-action pair (s t , a t) as input, and output a real number ranging from 0 to 1, which indicates that the discriminator believes that (s t , a t ) is from strategy π k+1 Instead of the example strategy π d The probability of . This embodiment uses binary cross entropy loss to calculate, so that the discriminator D φ (s t , a t )’s loss function Loss(D φ ). Based on the loss function Loss(D φ ), that is, the discriminator can be trained by stochastic gradient descent (SGD).

[0145] It should also be noted that for the generator, that is, the strategy π k+1 In terms of strategy π k+1 The goal is to make its (s t , a t ) is mistakenly interpreted by the discriminator as coming from the example policy π d Therefore, for the input The generator is the strategy π k+1 Hope D φ (s t , a t ) the smaller the corresponding output, the better, so the discriminator D can be used φ (s t , a t ) is used as the intrinsic reward to optimize the strategy π k+1 , so the intrinsic reward is set to r D = -log[D φ (s t , a t )]. The intrinsic reward r D Using the example data π d Enhanced environmental rewards, when environmental feedback is sparse or exploration is insufficient, the intrinsic reward r D Can force strategy π k+1 Generate and Example Strategy π d Similar trajectories, in other words, make the policy π k+1 and strategy π d The divergence is the smallest, so the method provided in this embodiment can explore the environment more effectively.

[0146] Finally, see Figure 6 As shown in D Replace r in formula (22) I , we get the optimization objective of the strategy adversarial imitation phase, which is formula (4).

[0147] Since formula (4) and formula (1) have similar forms, we can directly use the solution structure of formula (1), that is, replace r in formula (16), formula (17) and formula (18) with r D , δ is replaced by δ k , and change the gradient ascent to gradient descent, and get the following results:

[0148]

[0149]

[0150]

[0151] in, represents the parameters after completing the strategy improvement phase, represents the parameters after completing the k+1th policy iteration, represents the advantage function, z∈{0, 1, 2, …, Z} is the minimum value that satisfies the KL divergence constraint, Z is the maximum number of backtracking steps, and σ is the backtracking coefficient.

[0152] The parameter update of the value function network in the strategy adversarial imitation step is the same as in the strategy improvement stage, which can be achieved by the following formula:

[0153]

[0154] in, represents the parameters of the value function after completing the k+1th policy iteration, represents the parameters of the value function after completing the strategy improvement phase, Indicates that from state s t The expected cumulative reward from starting to follow the strategy, Indicates that from state s t+1 The expected cumulative reward that can be obtained by starting to follow the strategy, γ represents the discount factor;

[0155] Finally, the stochastic gradient descent method is used to complete Updates.

[0156] It should be noted that regarding the assumed strategy π k+1 / 2 is obtained through the strategy improvement stage, then for any Strategy π k+1 , the following inequalities all hold:

[0157]

[0158] Among them, D KL(·||·) represents the Kullback-Leibler (KL) divergence of the two distributions, π k+1 / 2 represents the intermediate allocation strategy in the k+1th policy iteration, π k+1 represents the final allocation strategy in the k+1th policy iteration, represents the intermediate allocation strategy π k+1 / 2 The discount status of the visit distribution, Represents the final allocation strategy π k+1 The discounted state visit distribution, δ k represents the trust region of the strategy adversarial imitation phase, represents the advantage function, γ is the discount factor, and π d represents an example strategy. Now the proof process is given:

[0159] First, we give the following two lemmas:

[0160] Lemma 1: For any two strategies π and π′, we have

[0161]

[0162] prove:

[0163]

[0164] Combined with the average KL divergence being less than or equal to the maximum value of KL divergence

[0165] You can get the desired result.

[0166] Lemma 2: For any strategy π, we have

[0167]

[0168] prove:

[0169]

[0170] Proof of Theorem 1:

[0171] Combining the result of Lemma 2 with the inequality given in Lemma 1, for any strategies π and π′, we can obtain:

[0172]

[0173] Use π k+1 / 2 Replace π′ with π k+1 Substituting for π, we get:

[0174]

[0175] Then, for any in the trust region π k+1 , both

[0176]

[0177] Using this inequality in the previous inequality, we can get the final result and complete the proof.

[0178] The specific algorithm of the frequency hopping interference resource allocation method based on learning from imperfect examples proposed in this application is shown in Table 1 below:

[0179] Table 1: Trust region interference strategy optimization algorithm based on imperfect example data

[0180]

[0181] It can be seen that the Imperfect Demonstration-Assisted Trust Region Policy Optimization (IDA-TRPO) algorithm, which is assisted by imperfect example data, constructs a policy improvement phase and a policy adversarial imitation phase based on a double-reset trust region in each policy iteration process to achieve policy update optimization, so that the optimization of the interference resource allocation strategy can be completed under the general binary reward function setting.

[0182] It should be noted that in the trust region interference strategy optimization algorithm based on imperfect example data, when the number of iterations does not exceed 10, if the cumulative interference reward obtained in the current iteration exceeds the average cumulative interference reward of the previous iteration, the following is executed: reduce δ according to the attenuation rule k ; When the number of iterations exceeds 10, if the cumulative interference reward obtained in the current iteration exceeds the average cumulative interference reward of the previous 10 iterations, then execute: reduce δ according to the attenuation rule k .

[0183] In the embodiment of the present application, in order to further verify the effect of the frequency hopping interference resource allocation method based on learning from imperfect examples proposed in the present application, the following simulation experiment was conducted:

[0184] The interference scenarios set in this simulation experiment are as follows:

[0185] In this embodiment, the communication party has N=5 frequency hopping communication networks, and the number of frequency hopping channels in the frequency hopping frequency set used by the communication party is 32, 32, 64, 64, and 128 respectively. The interference party has M=12 interference nodes, and each node adopts the PBNJ interference style. Due to the non-cooperation of the two adversaries, the interference party needs to obtain the intelligence of the communication party based on the electronic warfare intelligence support means and then estimate the interference effect. In order to cover the calculation deviation caused by the estimation, the interference party usually needs to make the interference resources have a certain redundancy. Therefore, in the simulation experiment, the transmission distance of the interference signal is made greater than the transmission distance of the communication signal, so that the loss suffered by the interference signal during the propagation process will be higher than the loss of the communication signal.

[0186] The simulation parameters set in this simulation experiment are shown in Table 2 below:

[0187] Table 2: Simulation parameter settings

[0188]

[0189]

[0190] In order to verify the excellent performance of the method proposed in this application, the following is an explanation through the comparison of various algorithms, which are as follows:

[0191] Expert: We trained the state-of-the-art LSTM-A3C model in a dense reward setting and trained it to convergence as the optimal baseline.

[0192] Example: The state-of-the-art LSTM-A3C model was trained in the dense reward setting, but was far from convergence, as the example policy had only mediocre performance.

[0193] IDA-TRPO: The method proposed in this application is trained under a sparse reward setting and provides example data generated by example policies as an aid.

[0194] GAIL: The GAIL method disclosed in the prior art is trained under a sparse reward setting, and example data generated by example policies are provided as an aid.

[0195] LSTM-A3C: The LSTM-A3C model is trained in the sparse reward setting.

[0196] TRPO: The existing TRPO model is trained in a sparse reward setting.

[0197] Continuous blocking interference: The interference frequency bands decided by all interference nodes are continuous and connected front to back, forming a large continuous interference frequency band. The center frequency of this frequency band is switched in a sweeping manner, and the bandwidth is the sum of the maximum bandwidths that can be selected by all nodes.

[0198] The evaluation indicators for comparing the performance of various algorithms are as follows:

[0199] Evaluation indicator 1: Interference success rate: In a certain number of interference tests, count the number of times the interference resource allocation scheme given by the model in these tests can successfully interfere with a specified frequency set, and calculate the proportion of successful interference experiments.

[0200] Evaluation indicator 2: Cumulative interference reward: In an interference test, the model gives the sub-interference resource allocation plans of all interference nodes in a time series manner. First, the total reward obtained by these sub-interference resource allocation plans is calculated, and then the total reward in all interference tests is averaged.

[0201] Evaluation indicator 3: Interference bandwidth: In an interference test, the model gives the sub-interference resource allocation schemes of all interfering nodes in a time series manner. First, the total interference bandwidth consumed by these sub-interference resource allocation schemes is calculated, and then the total interference bandwidth in all interference tests is averaged.

[0202] The model details and hyperparameter settings of this simulation experiment are as follows:

[0203] The strategy, value function and discriminator in IDA-TRPO all use a three-layer multilayer perceptron (MLP), the number of neurons in the hidden layer is 128, the activation function is Tanh, the learning rate of the value function is 0.01, the learning rate of the discriminator is 0.0003, and the neural network is optimized by Adam optimizer. The trust region δ in the strategy improvement stage is 0.0005, and the trust region δ in the strategy adversarial imitation stage is 0.0005. k The initial value of is δ0=0.0002, and the adaptive attenuation rule is: δ =5000 iterationsδ k No attenuation occurs at W δ After iterations, when the reward obtained by the strategy of the current iteration round is higher than the average reward of the previous 10 times, a geometric decay δ is performed k ←αδ k , α=0.95. The number of iterations of the conjugate gradient algorithm is 10, the number of maximum linear searches Z is 10, the discount factor γ is 0.98, the backtracking coefficient σ is 0.5, and the generalized advantage estimation (GAE) coefficient is 0.95. In order to ensure the fairness of the comparative experiment, all compared algorithms use the same network structure and optimizer.

[0204] The simulation platform settings of this simulation experiment are as follows:

[0205] The simulation and algorithm programs for the interference scenarios were built with Python 3.7 and OpenAI’s Gym 0.23.1, which uses PyTorch 1.11.0 to build and train neural networks.

[0206] The results of this simulation experiment are analyzed as follows:

[0207] In order to better compare the performance differences of each algorithm, this application iteratively trains the learning-based algorithm under the sparse interference reward setting, and then evaluates it under the dense interference reward setting. In addition, an evaluation is performed after every 400 training iterations, and each evaluation includes 100 interference tests. The average interference success rate and average cumulative interference reward of these 100 interference tests are counted as the evaluation result. The interference reward of the imperfect example data used in this application to assist algorithm training under the dense reward setting is 79, while the interference reward of the expert data under the dense reward setting is 240.

[0208] refer to Figure 7 As shown in Figure 7 The evaluation results of different methods in the iterative training process are shown. Figure 7 It can be seen intuitively that with the continuous advancement of iteration, with the assistance of Demo data, the cumulative interference reward of the method proposed in this application shows an upward trend and can approximately reach the expert level. The GAIL method, which also uses Demo data, can only converge approximately to the level of Demo data. This is because the GAIL method relies on pulling in its own strategy and the occupancy measurement of Demo data through imitation learning, so it cannot break through the performance upper bound of Demo data. Methods based on deep reinforcement learning, such as the LSTM-A3C method and the TRPO method, cannot obtain useful feedback information during iterative training, and the policy network training continues to deteriorate, resulting in the continuous decrease in the cumulative interference reward they obtain. It can be seen that the traditional deep reinforcement learning model is too dependent on the setting of the reward function. In addition, it is also noted that although the reward curve of continuous blocking interference is always above the reward curve of the LSTM-A3C method and the TRPO method, it is also at a lower level. This is because the interference frequency bands of all interfering nodes in continuous blocking interference are connected, and the total interference frequency band finally formed covers a lot of spectrum without user channels, which inevitably leads to the waste of interference resources.

[0209] Figure 8 A comparison diagram of the total interference bandwidth consumed by different methods is shown. Figure 8It can be seen that the total interference bandwidth used by the experts is 16.5MHz. The total interference bandwidth used by the method proposed in this application and the GAIL method are close to the expert level, but the GAIL method shows a large variance due to unstable training. In addition, the interference bandwidth used by the LSTM-A3C method and the TRPO method is the smallest, which is also the direct reason why the LSTM-A3C method and the TRPO method show the worst interference performance. From the above simulation experimental results, it can also be seen that in the absence of a sophisticated reward function, only the method proposed in this application and the GAIL method show effectiveness. Therefore, in subsequent experiments, the method proposed in this application and the GAIL method are mainly compared.

[0210] Fig. 9 The figure shows the interference success rate of the method proposed in this application for different frequency sets. Fig.10 The jamming success rate of the GAIL method for different frequency sets is shown. Fig. 9 and Fig.10 It can be seen intuitively that the interference success rate curves of the two methods for different frequency sets are Figure 7 The cumulative interference reward curves of the corresponding methods in have similar trends. And Fig. 9 and Fig.10 It is reflected that interference to frequency hopping set 5 is the most difficult for the method proposed in this application and the GAIL method. This is because frequency hopping set 5 has relatively the most frequency hopping channels and the widest spectrum span. Therefore, interference to frequency hopping set 5 requires more detailed planning of allocation of interference resources.

[0211] Fig.11 Figure 2 shows a schematic diagram of the interference frequency band comparison constructed on the spectrum after different methods converge. Fig.11 It can be seen that the interference frequency bands constructed by the expert method, the method proposed in this application, and the GAIL method on the spectrum all span a larger spectrum range, and compared with the interference frequency band constructed by the expert method, the interference frequency band constructed by the method proposed in this application on the spectrum is more concentrated in the part of 350MHz to 400MHz. This is because there are a large number of channels belonging to the fifth frequency hopping set distributed within 350MHz to 400MHz, and it is necessary to focus the interference force on interfering with certain channels of this frequency hopping set so that the number of interfered channels in the fifth frequency hopping set reaches the minimum threshold.

[0212] This application uses deep reinforcement learning technology to solve the interference resource allocation problem involved in confronting multiple frequency hopping communication networks, and focuses on how to bypass the cumbersome step of designing a fine reward function to optimize the interference strategy concisely and intuitively. To achieve this goal, an interference resource allocation method based on learning from imperfect example data is proposed. This method divides the interference strategy optimization into two stages based on the idea of ​​trust region optimization, namely the strategy improvement stage and the strategy confrontation imitation stage. The TRPO optimization method is introduced in the strategy improvement stage, and the information contained in the example data is used to guide the further optimization of the strategy in the strategy confrontation imitation stage, thereby improving the exploration efficiency of the strategy in a sparse environment. At the same time, the simulation experimental results confirm that the method proposed in this application can be trained under a simple and rough binary interference reward function setting to approximately achieve the optimal effect of training under a precise reward function, and greatly surpasses the performance of the example data used for auxiliary training, which improves the practicality of the interference resource allocation method based on deep reinforcement learning, and also shows that the generalization of the interference strategy to the emerging interference tasks can be improved without the need to design a precise reward function, so as to achieve rapid optimization of new tasks.

[0213] It should be noted that although several units of the system for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiment of the present disclosure, the features and functions of two or more units described above can be concretized in one unit. Conversely, the features and functions of a unit described above can be further divided into multiple units for concretization. Some or all of the units can be selected according to actual needs to achieve the purpose of the disclosed solution. Those of ordinary skill in the art can understand and implement it without paying creative work.

[0214] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.

Claims

1. A frequency hopping interference resource allocation method based on learning from imperfect examples, characterized in that: include: Construct the frequency hopping jamming resource allocation problem based on the communication confrontation scenario; Modeling the frequency hopping interference resource allocation problem as a Markov decision process; Randomly initialize the policy network parameters and the discriminator network; The initialized policy network is iterated multiple times, and in each iteration, a policy improvement phase and a policy adversarial imitation phase are constructed based on the double reset trust region; Wherein, in the strategy improvement stage, the initial allocation strategy in the current iteration is optimized based on the TRPO algorithm to obtain an intermediate allocation strategy; In the strategy adversarial imitation stage, the discriminator network is trained using example data and interaction data of the initial allocation strategy in the current iteration to optimize the intermediate allocation strategy to obtain a final allocation strategy.

2. The method for allocating frequency hopping interference resources based on learning from imperfect examples according to claim 1, characterized in that: The optimization of the initial allocation strategy in the current iteration based on the TRPO algorithm includes the following steps: Interacting with the environment through initial allocation strategies generates interaction trajectories and external rewards; The objective function is constructed based on maximizing the cumulative discounted reward of the interaction trajectory; The objective function is solved under the KKT condition to obtain the parameters of the intermediate allocation strategy.

3. The method for allocating frequency hopping interference resources based on learning from imperfect examples according to claim 2, characterized in that: The calculation formula of the objective function is: Among them, D KL (·||·) represents the Kullback-Leibler (KL) divergence of the two distributions, π k represents the initial allocation strategy in the k+1th policy iteration, π k+1 / 2 represents the intermediate allocation strategy in the k+1th policy iteration, Denotes the initial allocation strategy π k The discount status of the visit distribution, represents the advantage function.

4. The method for allocating frequency hopping interference resources based on learning from imperfect examples according to claim 1, characterized in that: The method of training the discriminator network using the example data and the interaction data of the initial allocation strategy in the current iteration to optimize the intermediate allocation strategy comprises the following steps: Sampling data from the example strategy and the initial allocation strategy in the strategy improvement phase respectively; Using the sampled data to train the discriminator network by stochastic gradient descent; The output of the discriminator network is used as an intrinsic reward function to optimize the intermediate allocation strategy.

5. The method for allocating frequency hopping interference resources based on learning from imperfect examples according to claim 4, characterized in that: When training the discriminator network, a binary cross entropy loss is used to calculate the loss function of the discriminator network, and the sampled data is combined with the loss function of the discriminator network to train the discriminator network.

6. The method for allocating frequency hopping interference resources based on learning from imperfect examples according to claim 5, characterized in that: The loss function of the discriminator network can be expressed as: Among them, D φ (s t ,a t ) represents the discriminator network, Represents the final allocation strategy π k+1 The discount status of the visit distribution, Represents the final allocation strategy π d The discounted state visit distribution, Loss(D φ ) represents the loss function of the discriminator network.

7. The method for allocating frequency hopping interference resources based on learning from imperfect examples according to claim 4, characterized in that: In the strategy adversarial imitation phase, it is assumed that the actions sampled from the example strategy have an advantage value over the actions sampled from the initial allocation strategy, and the advantage value satisfies: Among them, ω represents the advantage value, π k represents the initial allocation strategy in the k+1th policy iteration, π d represents an example policy, Denotes an example policy π d In status t Take Action Compared with the advantages that can be obtained by other actions, Denotes the initial allocation strategy π k In status t Take action a t Advantages compared to other actions.

8. The method for allocating frequency hopping interference resources based on learning from imperfect examples according to claim 4, characterized in that: In the strategy adversarial imitation stage, the output of the discriminator network is used as the intrinsic reward function to optimize the intermediate allocation strategy. The optimization objective can be expressed as: Among them, π k+1 / 2 represents the intermediate allocation strategy in the k+1th policy iteration, π k+1 represents the final allocation strategy in the k+1th policy iteration, represents the intermediate allocation strategy π k+1 / 2 The discount status of the visit distribution, Represents the final allocation strategy π k+1 The discount status of the visit distribution, represents the intermediate allocation strategy π k+1 / 2 In status t Take action a t Compared with the advantages that other actions can obtain, D KL (·||·) represents the Kullback-Leibler (KL) divergence of the two distributions, δ k Represents the confidence region of the strategy against the imitation phase.

9. The method for allocating frequency hopping interference resources based on learning from imperfect examples according to claim 8, characterized in that: The confidence region in the optimization objective of the strategy adversarial imitation phase is set to decrease geometrically as the number of strategy iterations increases.

10. The method for allocating frequency hopping interference resources based on learning from imperfect examples according to any one of claims 1 to 9, characterized in that: The method of modeling the frequency hopping interference resource allocation problem as a Markov decision process includes: Defining a state space, an action space, a state transfer function, and a reward function of the Markov decision process; A discrete Markov decision process is constructed according to the state space, action space, state transfer function and reward function.

Citation Information

Patent Citations

  • Method for generating radar intelligent cognitive anti-interference strategy

    CN112904290A

  • Anti-interference zero sum Markov game model and maximum and minimum depth Q learning method

    CN116866048A

  • Beam management using adaptive learning

    US20200358514A1

Cited By

  • Communication interference decision-making method based on reinforcement learning

    CN119788237A