Reinforcement learning interference waveform generation and evaluation method and device with action set
By using the reinforcement learning interference waveform generation method with action sets in a non-cooperative scenario, combined with the SAC algorithm and the KNN algorithm, the problem of difficulty in learning anti-interference strategies in the existing technology is solved, and fast, accurate and efficient interference waveform generation is achieved. interference effect.
Patent Information
- Application Number
- CN202210875262.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-25
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-07-25
AI Technical Summary
It is difficult for existing technologies to quickly learn and implement anti-interference strategies in non-cooperative scenarios, resulting in an increase in the number of interference waveform interactions, long exploration time, and slow convergence.
The reinforcement learning interference waveform generation method with action sets is adopted. By constructing a policy network and a value network, the maximum entropy random strategy reinforcement learning algorithm SAC is used, combined with the KNN algorithm and channel selection, to generate efficient interference waveforms and reduce the number of interference waveform interactions. Improve accuracy and convergence speed.
In non-cooperative scenarios, the number of interference waveform interactions is significantly reduced, the accuracy of interference and the convergence speed of the algorithm are improved, the local optimal trap is avoided, and an efficient interference effect is achieved.
Smart Images

Figure CN115378774B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a method and device for generating and evaluating interference waveforms using reinforcement learning with action sets. Background Art
[0002] With the development of artificial intelligence technology, communication jamming technology with cognitive capabilities has become the current research focus. Cognitive communication jamming technology requires that the jammer can learn autonomously according to changes in the environment, so as to give the optimal jamming strategy. Various theoretical techniques such as optimization theory, game theory, and information theory have been used in the research of jamming strategies. However, the disadvantage of such methods is that they rely on prior information and cannot be used in non-cooperative scenarios. Reinforcement learning continuously interacts with the environment to learn the optimal strategy, does not rely on prior experience, and is suitable for non-cooperative scenarios. However, as the number of jamming parameters increases, the number of explorations and exploration time will increase exponentially. Improving the convergence speed of the algorithm is an urgent problem to be solved.
[0003] After continuous interference, the target signal will dynamically change parameters such as channel, power, and modulation style to perform anti-interference communication. For example, when the communication party is interfered, it will switch channels or gradually increase the communication power to reduce the bit error rate. When these two adjustment methods are useless, it will gradually reduce or change the modulation mode with a certain strategy. How to quickly learn the communication party's anti-interference method to achieve precise interference is crucial. Summary of the invention
[0004] In order to solve the shortcomings of the prior art and achieve the purpose of reducing the number of interference waveform interactions, improving accuracy, and accelerating convergence in a non-cooperative scenario, the present invention adopts the following technical solutions:
[0005] A reinforcement learning interference waveform generation method with an action set comprises the following steps:
[0006] Step S1, establishing an interference waveform library and initializing the parameters of the interference waveform, the parameters of the interference waveform include: modulation mode, interference power, and interference channel;
[0007] Step S2, constructing an interference waveform decision network, including a strategy network and a value network, wherein the strategy network obtains the communication state and outputs an interference action, the interference action including a set of interference waveform parameters, and the value network obtains the communication state and the interference action and outputs an evaluation value of the match between the two;
[0008] The backbone of the policy network Actor and the value network Critic is a multi-layer perceptron composed of fully connected layers. The number of neurons in the first layer of the policy network is 256, and the activation function is ReLU. The number of neurons in the second layer is 512, and the activation function is ReLU. The number of neurons in the third layer is 256, and the activation function is ReLU. The number of neurons in the last layer is 4. Then the Gaussian distribution is used to approximate the policy π, and the action a is obtained after sampling. The activation function is Tanh, and finally it is mapped to the actual interference action space; the number of neurons in the first layer of the policy network is 256, and the activation function is ReLU. The number of neurons in the second layer is 512, and the activation function is ReLU. The number of neurons in the third layer is 256, and the activation function is ReLU. The number of neurons in the last layer is 1, and the output is the Q value. According to the application scenario of the present invention, the network depth is appropriately deepened and the network width is appropriately widened, so that more useful information can be fully perceived;
[0009] Step S3: In the exploration phase, a tracking algorithm is used to interfere and fill the experience pool, which includes the current communication state, interference action, communication feedback information and the communication state at the next moment;
[0010] The experience pool includes the communication state s at time t, the interference action a, the feedback r, and the communication state s' at time t+1, where the communication states s and s' are composed of the current state of the communication party and the interference action of the interference party for the current state of the communication party. The interference action a is the interference action of the interference party predicting the communication state s' based on the communication state s, and the feedback r is the symbol error rate of the communication party.
[0011] Step S4: randomly selecting a set of data from the experience pool for training the interference waveform decision network;
[0012] Step S5: outputting the interference action according to the current state of the communication party, and predicting the interference action for the communication state of the communication party at the next moment through the strategy network according to the current communication state of the communication party and the interference action of the interference party at the current moment;
[0013] Step S6: discretize the interference action output by the strategy network to obtain an approximate interference action. Select a group of similar interference actions from the interference waveform library through the interference action output by the strategy network. Combine the interference action output by the strategy network, the approximate interference action obtained after discretization, and the interference action selected from the interference waveform library. Select the interference action with the highest value as the actual interference action through the corresponding communication state and value network.
[0014] Furthermore, in step S2, the strategy network includes a multilayer perceptron composed of a group of fully connected layers, the input is the communication state, the output is the interference action, the interference action is n-dimensional, the strategy π is approximated by multiplying the n-dimensional Gaussian distribution, and finally the interference action is obtained by sampling according to the strategy π.
[0015] Furthermore, in step S2, the value network includes a multilayer perceptron consisting of a group of fully connected layers, inputs the communication state s and the interference action a, and outputs the Q value, based on the SAC algorithm of the maximum entropy random strategy reinforcement learning:
[0016]
[0017] Among them, π * represents the objective function of the SAC algorithm, represents the effectiveness of interference, which is used as a cumulative reward over a period of time, and H represents the communication state s t The entropy of the strategy distribution under π represents the state-action trajectory distribution formed by strategy π, s t represents the state at time t, a t Represents the interference action at the tth moment, and E represents the mathematical expectation operation. The above formula shows that in the SAC algorithm, not only the reward should be maximized, but also the policy entropy should be maximized. The appropriate entropy coefficient can balance exploration and utilization well. Increasing entropy will bring more exploration, accelerate the convergence of the algorithm, and avoid falling into a local optimum too early.
[0018] Furthermore, the entropy coefficient α is specifically:
[0019] α(t)=1-0.5×log10(eps)
[0020] Among them, eps represents the number of training rounds, log10 represents the logarithm with base 10, and the size of the entropy coefficient decreases with the increase of the number of training rounds. In the early stage of exploration, a larger entropy coefficient is selected to ensure sufficient exploration. As the number of training rounds increases, the entropy coefficient is gradually reduced to improve the accuracy of interference.
[0021] Furthermore, in step S3, the exploration phase uses a tracking algorithm with a certain ratio, that is, the waveform parameters within the interference parameter range are randomly output with a first probability, and the communication state of the communication party is detected with a second probability, and the interference party provides interference waveform parameters with the same modulation mode, the same channel, and random power. Random output with a certain ratio can enrich experience and improve the robustness of the algorithm.
[0022] Furthermore, in step S4, the interfering party performs multiple rounds of interference, multiple times in each round, and the interference effect is counted. The anti-interference strategy of the communicating party is: if the receiving party's bit error rate exceeds the set threshold, the power is first increased to resist interference. If the bit error rate reaches the maximum power and still exceeds the set threshold, the interference is resisted in accordance with the preset channel conversion method. If interference is still received, the interference is resisted by reducing the modulation order and changing the modulation mode.
[0023] Furthermore, in step S6, the interference action output by the strategy network is discretized according to the formula:
[0024] m'=int(m t )
[0025] Where m' is the modulation mode of the interfering party after discretization, m t is the interference modulation mode output by the strategy network, and int is the rounded-down symbol.
[0026] c'=round(c t )
[0027] Where c' is the discretized interference frequency of the interferer, c t It is the interference frequency of the interferer output by the strategy network, and round is the rounding symbol.
[0028] p'=round(p t )
[0029] Where p' is the discretized interference frequency of the interferer, p t It is the interference frequency of the interferer output by the strategy network, and round is the rounding symbol.
[0030] Furthermore, in step S6, the interference action output by the strategy network uses the KNN algorithm to select a group of similar interference actions from the interference waveform library to form an interference action set |A|, so as to avoid the deviation caused by the discretization of continuous actions as much as possible. According to the formula:
[0031]
[0032] Where d is the distance between the interference action in the interference waveform library and the interference action output by the strategy network, and p t 、c t 、m t are the interference power, interference channel, and interference modulation mode output by the strategy network, respectively; p, c, and m are the interference power, interference channel, and interference modulation mode in the interference library, respectively;
[0033] The interference waveform composed of the interference power and interference modulation mode output by the channel combination strategy network in the interference waveform library is added to the interference set |A| to accelerate the convergence of the algorithm and improve the accuracy of interference.
[0034] A device for generating interference waveforms for reinforcement learning with an action set comprises a memory and one or more processors, wherein the memory stores executable codes, and when the one or more processors execute the executable codes, they are used to implement the method for generating interference waveforms for reinforcement learning with an action set.
[0035] A reinforcement learning interference waveform generation evaluation method with an action set, according to the reinforcement learning interference waveform generation method with an action set, the generated interference waveform is evaluated for interference effect, which is used to judge the accuracy of the interference waveform. The interference effect evaluation formula is as follows:
[0036]
[0037] Among them, r represents the actual effect of interference, e1 represents the correct flag of channel prediction, which is 1 when the channel prediction is correct, otherwise it is 0, and err represents the symbol error rate of the communicating party.
[0038] The advantages and beneficial effects of the present invention are:
[0039] (1) The present invention uses a reinforcement learning intelligent algorithm, which continuously interacts with the environment and adaptively designs the optimal interference waveform for the current environment based on the feedback of the environment. It does not rely on prior experience and can be used in non-cooperative scenarios.
[0040] (2) The present invention adds a power penalty term to the interference feedback, so that the interferer can achieve the purpose of interference with the smallest possible power, thus avoiding the interference party's excessive power and exposing its position.
[0041] (3) The present invention makes large-scale discrete actions continuous and uses the maximum entropy random strategy reinforcement learning SAC algorithm to avoid the interferer from falling into a local optimal state. At the same time, the KNN algorithm and channel optimization are implemented on the interference waveform parameters output by the strategy network to obtain the action set |A|, and the interference waveform with the largest Q value is taken as the actual interference action. Compared with the original SAC algorithm, the convergence speed of the algorithm is improved and the accuracy of interference is significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 The figure is a flow chart of a method according to an embodiment of the present invention.
[0043] Figure 2 Schematic diagram of the network structure in an embodiment of the present invention.
[0044] Figure 3a Detailed diagram of network parameters of the policy network in an embodiment of the present invention.
[0045] Figure 3b Detailed diagram of network parameters of the value network in an embodiment of the present invention.
[0046] Figure 4 A comparison diagram of the interference waveform effectively generated by the method of the present invention and the traditional SAC method.
[0047] Figure 5 Schematic diagram of the structure of the device in the embodiment of the present invention. DETAILED DESCRIPTION
[0048] The specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.
[0049] like Figure 1 As shown, a reinforcement learning interference waveform generation method with an action set includes the following steps:
[0050] Step S1, establishing an interference waveform library and initializing the parameters of the interference waveform;
[0051] The specific method of step S1 is as follows: the parameters of the interference waveform are composed of three parameters: modulation mode, interference power, and interference channel. The modulation mode is composed of four modulation modes: BPSK, QPSK, FSK, and AWGN. The interference power is 1 to 10 gears. The interference channel is composed of 20 channels with a center frequency of 225Mhz and an interval of 5K. At the same time, it is encoded as 1 to 20. There are 800 waveform decision waveforms composed of the above three parameters. The initialization interference waveform is an interference waveform composed of a modulation mode of BPSK, an interference power of 10 gears, and an interference channel of 10.
[0052] Step S2, constructing a deep reinforcement learning decision network based on maximum entropy;
[0053] The specific method of step S2 is as follows Figure 2 As shown: The interference waveform generation adopts the random strategy reinforcement learning algorithm SAC based on maximum entropy. The decision network consists of the policy network Actor and the value network Critic. The policy network is a multilayer perceptron composed of four fully connected layers, with the input being state s and the output being action a; the value network is a multilayer perceptron composed of four fully connected layers, with the input being s+a and the output being Q value. The target formula of the SAC algorithm is:
[0054]
[0055] in, represents the cumulative reward within a certain period of time, and in this invention represents the effectiveness of interference, and H is the state s t The entropy of the strategy distribution, α is the entropy coefficient. π is the state-action trajectory distribution formed by strategy π, s t represents the state at time t, a t represents the action at time t, and E represents the mathematical expectation operation. The above formula shows that in the SAC algorithm, not only the reward should be maximized, but also the policy entropy should be maximized. The appropriate entropy coefficient can well balance exploration and utilization. Increasing entropy will bring more exploration, accelerate the convergence of the algorithm, and avoid falling into a local optimum too early.
[0056] The entropy coefficient α is specifically:
[0057] α(t)=1-0.5×log10(eps)
[0058] Wherein, eps represents the number of training rounds, and in the present invention, eps is a maximum of 100, and log10 represents the logarithm with base 10. Using the above formula, a larger entropy coefficient is selected in the early stage of exploration to ensure sufficient exploration, and as the number of training rounds increases, the entropy coefficient is gradually reduced to improve the accuracy of interference.
[0059] Figure 3a , Figure 3b This is a detailed diagram of the network parameters of the present invention. The backbone of the policy network Actor and the value network Critic is a multi-layer perceptron composed of fully connected layers. The number of neurons in the first layer of the policy network is 256, and the activation function is ReLU. The number of neurons in the second layer is 512, and the activation function is ReLU. The number of neurons in the third layer is 256, and the activation function is ReLU. The number of neurons in the last layer is 4. Then, the Gaussian distribution is used to approximate the strategy π, and the action a is obtained after sampling. The activation function is Tanh, and finally it is mapped to the actual interference action space; the number of neurons in the first layer of the policy network is 256, and the activation function is ReLU. The number of neurons in the second layer is 512, and the activation function is ReLU. The number of neurons in the third layer is 256, and the activation function is ReLU. The number of neurons in the last layer is 1, and the output is the Q value.
[0060] Step S3: In the exploration phase, the tracking algorithm is used to perform interference and fill the experience pool;
[0061] The specific method of step S3 is: the exploration phase adopts a certain proportion of tracking algorithm, that is, the waveform parameters within the interference parameter range are randomly output with a probability of 50%, and the communication state of the communication party is detected with a probability of 50%. The interference party provides interference waveform parameters with the same modulation model, the same channel, and random power. Random output at a certain proportion can enrich the experience to improve the robustness of the algorithm. The experience pool is composed of the state s at time t, action a, feedback r, and state s' at time t+1, where state s and s' are the current state of the communication party and the interference action of the interference party for the current state of the communication party. Action a is the interference action of the interference party predicting state s' based on state s, and feedback r is the communication party's symbol error rate. The experience pool is implemented by a queue of size 10,000.
[0062] Step S4: randomly select a group of data from the experience pool for learning and train the interference waveform decision network;
[0063] The specific method of step S4 is: the number of training rounds is 100 rounds, the interfering party interferes 100 times in each round to count the interference effect, the communication party channel conversion strategy is implemented on the matlab side, and the communication party's anti-interference strategy is: if the receiving party's bit error rate exceeds the set threshold of 0.05, then first increase the power to resist interference. If the bit error rate still exceeds the set threshold after reaching the maximum power, then resist interference in accordance with the agreed channel conversion method. The center frequency of the channel is 225MHz, the number of conversions is 20, and the channel interval is 5K. If it is still interfered with, then resist interference by reducing the modulation order and changing the modulation mode. The initial communication mode of the communication party is: modulation mode QPSK, transmission power 2, and communication frequency 5.
[0064] Step S5, outputting interference action according to the current state of the communication party;
[0065] The specific method of step S5 is: according to the communication state of the communication party at time t and the interference action of the interference party at time t, output the interference action for the communication state of the communication party at time t+1, predict the anti-interference behavior of the communication party, and achieve precise interference.
[0066] Step S6: Based on the interference waveform parameters output by the strategy network as a guide, the KNN algorithm and the channel form an interference set |A|, and the action with the highest value is selected as the actual interference action;
[0067] The specific method of step S6 is:
[0068] The actions output by the policy network need to be discretized according to the formula:
[0069] m'=int(m t )
[0070] Where m' is the modulation mode of the interfering party after discretization, m t is the interference modulation mode output by the strategy network, and int is the rounded-down symbol.
[0071] c'=round(c t )
[0072] Where c' is the discretized interference frequency of the interferer, c t It is the interference frequency of the interferer output by the strategy network, and round is the rounding symbol.
[0073] p'=round(p t )
[0074] Where p' is the discretized interference frequency of the interferer, p t It is the interference frequency of the interferer output by the strategy network, and round is the rounding symbol.
[0075] After the interference actions output by the strategy are discretized, the KNN algorithm is used to select 10 actions with similar interference actions as the action set |A| to minimize the deviation caused by the discretization of continuous actions. According to the formula:
[0076]
[0077] Where d is the distance between the interference action in the interference library and the discretized output action of the policy network, and p t 、c t 、m t are the interference power, interference channel, and interference modulation mode output by the strategy network, respectively; p, c, and m are the interference power, interference channel, and interference modulation mode in the interference library, respectively.
[0078] The interference waveform composed of the interference power and interference modulation mode output by the channel combination strategy network in the interference library is added to the interference set |A| to accelerate the convergence of the algorithm and improve the accuracy of the interference.
[0079] The waveforms in the interference set |A| are input into the value network in sequence, and the interference action with the largest Q value is selected as the actual interference waveform.
[0080] The action set |A| contains not only the 10 interference parameters that are close to the output of the policy network, but also the interference parameters composed of the channel in the interference library plus the modulation mode and power output by the policy network.
[0081] Step S7: Obtain the interference effect and determine the accuracy of the interference waveform generation.
[0082] The interference effect of step S7 is:
[0083]
[0084] Among them, r is the actual effect of interference, e1 is the correct flag of channel prediction, which is 1 if the channel prediction is correct, otherwise it is 0, and err is the symbol error rate of the communicating party.
[0085] Figure 4It is a comparison diagram of the improved algorithm with action set of the present invention and the ordinary SAC algorithm in effectively generating interference waveforms. In the specific implementation process, the SAC algorithm has shown good characteristics in processing continuous action output, but the accuracy is not high in the scenario of the present invention, and the convergence speed is slow in the later stage. When training to 100 rounds, the accuracy is only 90%. The algorithm provided by the present invention implements KNN algorithm and channel optimization on the actions output by the strategy network to form an action set |A|, and selects the action with the largest Q value as the actual interference waveform. While improving the convergence speed, the accuracy is also greatly improved. When training to 68 rounds, the accuracy reaches 99%, which shows that the method provided by the present invention effectively solves the problems of slow convergence speed and low accuracy in current interference.
[0086] Corresponding to the aforementioned embodiment of a reinforcement learning interference waveform generation method with an action set, the present invention also provides an embodiment of a reinforcement learning interference waveform generation device with an action set.
[0087] See also Figure 5 An embodiment of the present invention provides a reinforcement learning interference waveform generation device with an action set, including a memory and one or more processors, wherein the memory stores executable code, and when the one or more processors execute the executable code, they are used to implement a reinforcement learning interference waveform generation method with an action set in the above embodiment.
[0088] An embodiment of a reinforcement learning interference waveform generation device with an action set of the present invention can be applied to any device with data processing capabilities, and the device with data processing capabilities can be a device or apparatus such as a computer. The device embodiment can be implemented through software, or through hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by the processor of any device with data processing capabilities in which it is located reading the corresponding computer program instructions in the non-volatile memory into the internal memory for execution. From a hardware perspective, if Figure 5 As shown, it is a hardware structure diagram of any device with data processing capability where a reinforcement learning interference waveform generating device with action set of the present invention is located, except Figure 5 In addition to the processor, memory, network interface, and non-volatile memory shown, any device with data processing capabilities in which the apparatus in the embodiments is located may also include other hardware, generally based on the actual functions of the device with data processing capabilities, which will not be described in detail.
[0089] The implementation process of the functions and effects of each unit in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.
[0090] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of the present invention. Ordinary technicians in this field can understand and implement it without paying creative work.
[0091] An embodiment of the present invention also provides a computer-readable storage medium having a program stored thereon. When the program is executed by a processor, a reinforcement learning interference waveform generation method with an action set in the above embodiment is implemented.
[0092] The computer-readable storage medium may be an internal storage unit of any device with data processing capability described in any of the aforementioned embodiments, such as a hard disk or a memory. The computer-readable storage medium may also be an external storage device of any device with data processing capability, such as a plug-in hard disk, a smart media card (SMC), an SD card, a flash card, etc. equipped on the device. Furthermore, the computer-readable storage medium may also include both an internal storage unit and an external storage device of any device with data processing capability. The computer-readable storage medium is used to store the computer program and other programs and data required by any device with data processing capability, and may also be used to temporarily store data that has been output or is to be output.
[0093] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some or all of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A reinforcement learning interference waveform generation method with action set, characterized in that The steps include: Step S1, establishing an interference waveform library and initializing the parameters of the interference waveform; Step S2, constructing an interference waveform decision network, including a strategy network and a value network, wherein the strategy network obtains the communication state and outputs an interference action, the interference action including a set of interference waveform parameters, and the value network obtains the communication state and the interference action and outputs an evaluation value of the match between the two; Step S3: In the exploration phase, a tracking algorithm is used to interfere and fill the experience pool, which includes the current communication state, interference action, communication feedback information and the communication state at the next moment; Step S4: randomly selecting a set of data from the experience pool for training the interference waveform decision network; Step S5: outputting the interference action according to the current state of the communication party, and predicting the interference action for the communication state of the communication party at the next moment through the strategy network according to the current communication state of the communication party and the interference action of the interference party at the current moment; Step S6: discretize the interference action output by the strategy network to obtain an approximate interference action, select a group of similar interference actions from the interference waveform library through the interference action output by the strategy network, combine the interference action output by the strategy network, the approximate interference action obtained after discretization, and the interference action selected from the interference waveform library, and select the interference action with the highest value as the actual interference action through the corresponding communication state and value network; The interference action output by the policy network uses the KNN algorithm to select a group of similar interference actions from the interference waveform library to form an interference action set |A|. According to the formula: Where d is the distance between the interference action in the interference waveform library and the interference action output by the strategy network, and p t 、c t 、m t are the interference power, interference channel, and interference modulation mode output by the strategy network, respectively; p, c, and m are the interference power, interference channel, and interference modulation mode in the interference library, respectively; The interference waveform composed of the interference power and interference modulation mode output by the channel combination strategy network in the interference waveform library is added to the interference set |A|.
2. The method for generating interference waveforms by reinforcement learning with action sets according to claim 1, characterized in that: In step S2, the strategy network includes a multilayer perceptron composed of a group of fully connected layers, the input is the communication state, the output is the interference action, the interference action is n-dimensional, the strategy π is approximated by multiplying the n-dimensional Gaussian distribution, and finally the interference action is obtained by sampling according to the strategy π.
3. The method for generating interference waveforms by reinforcement learning with action sets according to claim 1, characterized in that: In step S2, the value network includes a multilayer perceptron consisting of a group of fully connected layers, inputs the communication state s and the interference action a, and outputs the Q value. The SAC algorithm of random strategy reinforcement learning based on maximum entropy is: Among them, π * represents the objective function of the SAC algorithm, represents the effectiveness of interference, which is used as a cumulative reward over a period of time, and H represents the communication state s t The entropy of the strategy distribution under π represents the state-action trajectory distribution formed by strategy π, s t represents the state at time t, a t represents the interference action at the tth moment, and E represents the mathematical expectation operation.
4. The method for generating interference waveforms by reinforcement learning with action sets according to claim 3, characterized in that: The entropy coefficient α is specifically: α(t)=1-0.5×log10(eps) Among them, eps represents the number of training rounds, log10 represents the logarithm with base 10, and the size of the entropy coefficient decreases with the increase of the number of training rounds.
5. The method for generating interference waveforms by reinforcement learning with action sets according to claim 1, characterized in that: In step S3, a tracking algorithm of a certain proportion is adopted in the exploration phase, that is, waveform parameters within the interference parameter range are randomly output with a first probability, and the communication status of the communication party is detected with a second probability. The interfering party provides interference waveform parameters with the same modulation mode, the same channel and random power.
6. The method for generating interference waveforms by reinforcement learning with action sets according to claim 1, characterized in that: In step S4, the interfering party performs multiple rounds of interference, multiple times in each round, and statistics the interference effect. The anti-interference strategy of the communicating party is: if the bit error rate of the receiving party exceeds the set threshold, the power is first increased to resist interference. If the bit error rate reaches the maximum power and still exceeds the set threshold, the interference is resisted in accordance with the preset channel conversion method. If interference is still caused, the interference is resisted by reducing the modulation order and changing the modulation mode.
7. The method for generating interference waveforms by reinforcement learning with action sets according to claim 1, characterized in that: In step S6, the interference action output by the policy network is discretized according to the formula: m'=int(m t ) Where m' is the modulation mode of the interfering party after discretization, m t is the interference modulation mode output by the strategy network, and int is the rounded down symbol; c'=round(c t ) Where c' is the discretized interference frequency of the interferer, c t is the interference frequency of the interferer output by the strategy network, and round is the rounding symbol; p'=round(p t ) Where p' is the discretized interference frequency of the interferer, p t It is the interference frequency of the interferer output by the strategy network, and round is the rounding symbol.
8. A reinforcement learning interference waveform generation device with an action set, characterized in that: It comprises a memory and one or more processors, wherein the memory stores executable code, and when the one or more processors execute the executable code, it is used to implement a reinforcement learning interference waveform generation method with an action set as described in any one of claims 1-7.
Citation Information
Cited By
Method for generating intermittent sampling phase modulation interference waveform by using particle swarm algorithm
CN116299213A
Intermittent sampling phase modulation jamming waveform method generated by particle swarm algorithm
CN116299213B
