5G-A enhanced SIM security scheduling method based on multi-agent voxel reinforcement learning
Through 5G-A's method based on multi-agent voxel reinforcement learning, the agent and safe rate ratio are used to solve the problem of insufficient security of traditional eSIM resource scheduling, achieve high-security scheduling of eSIM bandwidth resources, prevent data leakage and service Interrupt.
Patent Information
- Application Number
- CN202410556301.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-07
- Publication Date
- 2024-08-23
AI Technical Summary
In a complex communication environment with multiple users and multiple devices, traditional eSIM resource scheduling methods are difficult to ensure resource security and are vulnerable to malicious attacks, leading to data leakage or service interruption.
Using 5G-A's multi-agent element reinforcement learning method, by defining the agent and the safety rate ratio, designing a meta-reinforcement learning framework, and training the agent to maximize the security performance indicators of eSIM bandwidth resources and achieve safe scheduling.
It improves the security of eSIM resource scheduling, maximizes the safety rate ratio, ensures safe and efficient scheduling of bandwidth resources, and prevents malicious attacks.
Smart Images

Figure CN118540797A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of communication technology, and in particular to a 5G-A eSIM security scheduling method based on multi-intelligent element reinforcement learning. Background Art
[0002] With the rapid development of wireless communication technology and the popularization of smart terminal devices, eSIM (embedded SIM card), as a new type of SIM card, is gradually replacing traditional physical SIM cards to provide users with more convenient and flexible communication services. However, with the popularization of eSIM applications, the security issues of its resource scheduling are becoming increasingly prominent. Especially in a complex communication environment with multiple users and multiple devices, how to ensure the safe and efficient scheduling of eSIM resources has become a key issue that the industry needs to solve urgently.
[0003] Traditional eSIM resource scheduling methods often focus on efficiency and ignore security, which makes the system vulnerable to damage when facing malicious attacks, resulting in data leakage or service interruption. Therefore, a new type of eSIM resource security scheduling method is needed to ensure the secure scheduling of eSIM bandwidth resources while meeting communication needs. Summary of the invention
[0004] In order to solve these problems, the present invention proposes a 5G-A eSIM security scheduling method based on multi-agent meta-reinforcement learning. This method uses the adaptability and learning ability of multi-agent reinforcement learning to simulate real communication scenarios, allocates appropriate bandwidth resources to each eSIM through the meta-reinforcement learning algorithm, and maximizes the security performance index of the proposed eSIM bandwidth resource security scheduling scheme, thereby improving the security of eSIM resource scheduling.
[0005] The present invention provides the following technical solutions:
[0006] 5G-A eSIM security scheduling method based on multi-intelligent element reinforcement learning, the method comprising:
[0007] Step A, define the agents in the eSIM bandwidth resource scheduling strategy, each agent corresponds to an eSIM, and define the safety rate ratio as the reward value obtained by the interaction between the agent and the environment to measure the security of the eSIM scheduling solution.
[0008] Step B, design a meta-reinforcement learning framework for eSIM bandwidth resource scheduling strategy. Each agent contains a meta-learner and a base learner. The meta-learner is used to extract the common knowledge between different resource security scheduling tasks of eSIM, and the base learner learns the selection of network strategies for specific tasks.
[0009] Step C: train the agents in the eSIM bandwidth resource scheduling strategy. Use the meta-reinforcement learning algorithm to train each agent and learn the initialization parameters of the strategy network so that it can be deployed to the application faster and achieve secure scheduling of eSIM resources.
[0010] In step D, based on the trained agent, a resource security scheduling strategy is generated for each eSIM, and the security rate ratio is used to evaluate the security of the resource scheduling strategy.
[0011] Step E, fine-tune the strategy and apply the resource scheduling strategy to the eSIM resource scheduling system. During the continuous operation of the system, collect empirical data to further optimize the performance of the intelligent agent and achieve high security of the eSIM bandwidth resource scheduling solution.
[0012] Wherein, step A specifically includes:
[0013] A1, define an eSIM security scheduling system model, which consists of an eavesdropper, N eSIM users and a base station.
[0014] A2, define the state space S of agent i i = {B total ,N i ,P i ,B used}, where B total , N i , P i and B used They represent the total bandwidth, the channel noise power from agent i to the base station, the signal power sent by the i-th eSIM, and the bandwidth occupancy respectively.
[0015] A3, define the action space set
[0016] A i = {B i}
[0017] Among them B i Represents the bandwidth resources allocated to the i-th agent.
[0018] A4, set the reward function. The reward function of the i-th agent is defined as
[0019]
[0020] where r i (S i,t ,a i,t ) represents the cumulative reward function of the ith agent, ζ is the discount rate, S i,t with a i,tThey represent the state information obtained by the i-th agent based on the interaction with the environment at time t and the bandwidth resources allocated to the i-th agent based on the state information. is the security rate ratio at time t, which is used to measure the security of the scheduling scheme. When there is a moment when the received signal interference and noise ratio of the eavesdropper is greater than the threshold, the scheduling scheme is considered to be unsafe; when the received signal interference and noise ratio of any eSIM user is greater than or equal to 0 and the received signal interference and noise ratio of the eavesdropper is less than the threshold, the scheduling scheme is safe and a reward value is returned to the agent i. represents the rate that an eavesdropper can achieve when eavesdropping on the i-th eSIM user, represents the rate achievable by eSIM users, γ E,i , γ eSIM,i are the signal-to-interference-noise ratios of the eavesdropper and the eSIM user, respectively, and h eSIM ,i、h e,i Respectively represent the channel matrices of eSIM users and eavesdroppers, σ 2 is the channel noise power. i Indicates the transmission signal power of eSIM, B e and B i The bandwidth resources of the eavesdropper and the bandwidth resources of the i-th eSIM are allocated respectively.
[0021] A5, the agent synchronizes the bandwidth resources allocated to itself and the bandwidth usage to other agents. Then other agents interact with the environment, obtain new state information and perform actions. The environment feeds back new state information and reward values based on the actions of the agent.
[0022] Wherein, step B specifically includes:
[0023] B1, Multi-agent actor-critic algorithm: The critic network is used to guide the actor network, evaluate the quality of the actor network's actions, and guide the actor network to make the next action based on the quality. The actor network is defined as
[0024] π θ (a i,t |S i,t ;θ)=softmax(ReLU(MLP(Attention(S i,t ,V i (S i,t ;μ))))
[0025] Where θ={W1,W2,W Q ,W K ,b1,b2} are the parameters of the actor network; Attention(S i,t ,V i (S i,t; μ)) is a cross attention mechanism used to establish the connection between the critic network and the actor network, where W Q , W K are the weight matrix parameters of the query vector and key vector, S i,t , V i (S i,t ; μ) are the state mapping vector of the ith agent and the score given by the critic network to the actor network for the bandwidth resource assigned to the ith eSIM, and d represents the dimension of the feature vector. MLP(·) is a multi-layer perceptron model. It is represented as a perceptron model with two hidden layers, W1 and W2 are the weight parameters of the model, and b1 and b2 are the bias terms of the model. Finally, after the ReLU activation function and the softmax function, the prediction result is mapped to a probability value in the (0, 1) interval, which represents the probability of allocating to each bandwidth of the eSIM.
[0026] B2, the critic network is defined as
[0027] V i (S i,t ; μ) = MLP(Q i (S i,t ,a i,t )·max(π θ (a i,t |S i,t ;θ));μ)
[0028] where s i,t , a i,t Respectively represent the state of the i-th eSIM at time t and the bandwidth allocated to the i-th eSIM at time t. V i (S i,t ; μ) is the critic network, μ is its parameter. max(π θ (a i,t |s i,t ; θ)) represents the optimal bandwidth allocation scheme given by the actor network under the four conditions of the current total bandwidth, signal transmission power, channel noise and bandwidth occupancy of the i-th agent. Then the current state information and the optimal bandwidth allocated to the i-th agent predicted by the current actor network are sent to the multi-layer perceptron MLP(·). The MLP design f(x) = W4(W3x+b3)+b4, where W3 and W4 are the weight parameters of the multi-layer perceptron, and b3 and b4 are bias parameters. The number of neurons in the last layer of the perceptron is 1, which represents the score of the critic network for the action made by the actor network, Q i (S i,t ,a i,t ) is the action reward function.
[0029] B3, the agents transmit data packets to each other and pass the bandwidth information allocated to the i-th eSIM to the j-th agent, so that the remaining agents can know the current bandwidth allocation and perform reasonable resource scheduling for the eSIM corresponding to the agent.
[0030] Wherein, step C specifically includes:
[0031] C1, from the training set Sample n trajectories in the training set, add n trajectory information to the training set list, and each trajectory Contains the status information of the i-th eSIM, the bandwidth resources specifically allocated to the i-th eSIM, and the accumulated reward value.
[0032] C2, how the actor network is updated
[0033]
[0034] where θ' now is the current parameter of the actor network, θ' new is the updated parameter, and β is the learning rate of the actor network parameter update, which is set to 0.0001. is the loss function of the actor network, is to find the gradient of the current parameter, T i is the trajectory sampled using the meta-learner policy function with parameter θ, r i,t is the cumulative reward value of T time steps.
[0035] How the critic network is updated
[0036]
[0037] Among them, μ now is the current parameter of the critic network, μ new is the updated parameter. c is the learning rate, set to 0.0001, V i (S i,t ; μ)-r i,t -ζV i (S i,t+1 ; μ) represents the loss function of the critic network, V represents the gradient of the loss function. i (S i,t ;μ), V i (S i,t+1 ; μ) are the state reward functions at time t and time t+1, r i,t is the reward function at time t.
[0038] C3: Repeat the above steps, and delete the trajectory information from the list each time a task trajectory is executed until the task trajectory list is empty.
[0039] C4, meta-learner: policy function π θ (a i,t |s i,t ; θ) is to determine the probability distribution value of each action to be executed next based on the current state and the reward function at the previous moment. The updated base learner samples a total of m trajectories to obtain a test set Where D i test Including the state, action and reward value of the i-th eSIM. The gradient descent algorithm is used to update the meta-learner parameters
[0040]
[0041] Among them, θ now is the parameter of the current policy network of the i-th eSIM, θ new is the updated policy network parameter of the i-th eSIM. α is the learning rate, which is set to 0.0001. is the loss function of the meta-learner, It is D test The gradient of the policy function is calculated for the i-th trajectory in . T is the sampling trajectory, and P(T) is the probability distribution of the sampling task. Execute m steps and update the meta-learner parameters m times.
[0042] C5: After the meta-learner parameters are updated, continue to execute from step C1 and use the meta-learner parameters as the initialization parameters of the base learner.
[0043] Wherein, step D specifically comprises:
[0044] D1, the training is completed, and a resource security scheduling strategy is obtained. According to the resource security scheduling strategy, each eSIM resource security scheduling method is evaluated using the security rate ratio.
[0045] D2, construct query set Including the state information, actions and cumulative reward function values of each eSIM, a total of T trajectories. The security rate ratio of the i-th eSIM user is calculated. When the security rate ratio is greater than 0, it means that the resource scheduling scheme is safe, otherwise it is unsafe.
[0046] Wherein, step E specifically includes:
[0047] E1, when the environment, total bandwidth resources or eSIM signal transmission power changes, new data needs to be collected to fine-tune the eSIM resource scheduling strategy. Specific collected data Di ={D1, D2, D3, D4}, where D1, D2, D3, and D4 represent the current total bandwidth resources, the signal transmission power of the i-th eSIM, the noise in the channel, and the bandwidth occupancy, respectively.
[0048] E2, obtains the channel noise power, total bandwidth resources and signal transmission power of each eSIM from the data set, through the formula The security rate ratio of the i-th eSIM is calculated, and the reward function is constructed according to step A4.
[0049] E3, use the parameters learned by the meta-learner to initialize the policy network, and use the gradient descent algorithm to fine-tune the policy network parameters The step size here is set to be larger than that in the meta-learning stage, λ = 0.01.
[0050] E4, repeat the above steps until the model converges.
[0051] E5, generates the optimal bandwidth resource scheduling strategy that satisfies security constraints in the new communication scenario.
[0052] Compared with the prior art, the above technical solution has the following advantages:
[0053] The present invention is the first to consider the security rate ratio to measure the security of the eSIM bandwidth resource scheduling scheme, and uses the meta-reinforcement learning method to implement eSIM resource scheduling, and ultimately maximizes the security rate ratio of the eSIM bandwidth resource security scheduling scheme. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0055] Figure 1 The present invention is a flowchart of a 5G-eSIM security scheduling method based on multi-intelligent element reinforcement learning. DETAILED DESCRIPTION
[0056] As described in the background technology section, how to allocate bandwidth resources to each eSIM so that its long-term security rate ratio is maximized is an urgent problem to be solved by those skilled in the art.
[0057] The core idea of the present invention is to define the safe rate ratio as a performance indicator to measure the security of the scheduling scheme. At the same time, the multi-agent reinforcement learning method is used to schedule the bandwidth resources of the eSIM. When the eSIM user faces a new communication scenario, the model convergence can be achieved in fewer time steps, thereby maximizing the security performance indicator of the proposed eSIM bandwidth resource security scheduling scheme.
[0058] Reference Figure 1 The present invention provides a 5G-A eSIM security scheduling method based on multi-intelligent element reinforcement learning, the method comprising:
[0059] Step A, define the agents in the eSIM bandwidth resource scheduling strategy, each agent corresponds to an eSIM, and define the safety rate ratio as the reward value obtained by the interaction between the agent and the environment to measure the security of the eSIM scheduling solution.
[0060] Step B, design a meta-reinforcement learning framework for eSIM bandwidth resource scheduling strategy. Each agent contains a meta-learner and a base learner. The meta-learner is used to extract the common knowledge between different resource security scheduling tasks of eSIM, and the base learner learns the selection of network strategies for specific tasks.
[0061] Step C: train the agents in the eSIM bandwidth resource scheduling strategy. Use the meta-reinforcement learning algorithm to train each agent and learn the initialization parameters of the strategy network so that it can be deployed to the application faster and achieve secure scheduling of eSIM resources.
[0062] In step D, based on the trained agent, a resource security scheduling strategy is generated for each eSIM, and the security rate ratio is used to evaluate the security of the resource scheduling strategy.
[0063] Step E, fine-tune the strategy and apply the resource scheduling strategy to the eSIM resource scheduling system. During the continuous operation of the system, collect empirical data to further optimize the performance of the intelligent agent and achieve high security of the eSIM bandwidth resource scheduling solution.
[0064] Wherein, step A specifically includes:
[0065] A1, define an eSIM security scheduling system model, which consists of an eavesdropper, N eSIM users and a base station.
[0066] A2, define the state space S of agent i i = {B total ,N i ,P i ,B used}, where B total , Ni , P i and B used They represent the total bandwidth, the channel noise power from agent i to the base station, the signal power sent by the i-th eSIM, and the bandwidth occupancy respectively.
[0067] A3, define the action space set
[0068] A i = {B i}
[0069] Among them B i Represents the bandwidth resources allocated to the i-th agent.
[0070] A4, set the reward function. The reward function of the i-th agent is defined as
[0071]
[0072] where r i (S i,t ,a i,t ) represents the cumulative reward function of the ith agent, ζ is the discount rate, S i,t with a i,t They represent the state information obtained by the i-th agent based on the interaction with the environment at time t and the bandwidth resources allocated to the i-th agent based on the state information. is the security rate ratio at time t, which is used to measure the security of the scheduling scheme. When there is a moment when the received signal interference and noise ratio of the eavesdropper is greater than the threshold, the scheduling scheme is considered to be unsafe; when the received signal interference and noise ratio of any eSIM user is greater than or equal to 0 and the received signal interference and noise ratio of the eavesdropper is less than the threshold, the scheduling scheme is safe and a reward value is returned to the agent i. represents the rate that an eavesdropper can achieve when eavesdropping on the i-th eSIM user, represents the rate achievable by eSIM users, γ E,i , γ eSIM,i are the signal-to-interference-noise ratios of the eavesdropper and the eSIM user, respectively, and h eSIM,i 、h e,i Respectively represent the channel matrices of eSIM users and eavesdroppers, σ 2 is the channel noise power. i Indicates the transmission signal power of eSIM, B e and B i The bandwidth resources of the eavesdropper and the bandwidth resources of the i-th eSIM are allocated respectively.
[0073] A5, the agent synchronizes the bandwidth resources allocated to itself and the bandwidth usage to other agents. Then other agents interact with the environment, obtain new state information and perform actions. The environment feeds back new state information and reward values based on the actions of the agent.
[0074] Wherein, step B specifically includes:
[0075] B1, Multi-agent actor-critic algorithm: The critic network is used to guide the actor network, evaluate the quality of the actor network's actions, and guide the actor network to make the next action based on the quality. The actor network is defined as
[0076] π θ (a i,t |S i,t ;θ)=softmax(ReLU(MLP(Attention(S i,t ,V i (S i,t ;μ))))
[0077] Where θ={W1,W2,W Q ,W K ,b1,b2} are the parameters of the actor network; Attention(S i,t ,V i (S i,t ; μ)) is a cross attention mechanism used to establish the connection between the critic network and the actor network, where W Q , W K are the weight matrix parameters of the query vector and the key vector, Si,t, V i (S i,t ; μ) are the state mapping vector of the ith agent and the score given by the critic network to the actor network for the bandwidth resource assigned to the ith eSIM, and d represents the dimension of the feature vector. MLP(·) is a multi-layer perceptron model. It is represented as a perceptron model with two hidden layers, W1 and W2 are the weight parameters of the model, and b1 and b2 are the bias terms of the model. Finally, after the ReLU activation function and the softmax function, the prediction result is mapped to a probability value in the (0, 1) interval, which represents the probability of allocating to each bandwidth of the eSIM.
[0078] B2, the critic network is defined as
[0079] V i (S i,t ; μ) = MLP(Q i (S i,t ,a i,t )·max(πθ (a i,t |S i,t ;θ));μ)
[0080] where s i,t , a i,t Respectively represent the state of the i-th eSIM at time t and the bandwidth allocated to the i-th eSIM at time t. V i (S i,t ; μ) is the critic network, μ is its parameter. max(π θ (a i,t |s i,t ; θ)) represents the optimal bandwidth allocation scheme given by the actor network under the four conditions of the current total bandwidth, signal transmission power, channel noise and bandwidth occupancy of the i-th agent. Then the current state information and the optimal bandwidth allocated to the i-th agent predicted by the current actor network are sent to the multi-layer perceptron MLP(·). The MLP design f(x) = W4(W3x+b3)+b4, where W3 and W4 are the weight parameters of the multi-layer perceptron, and b3 and b4 are bias parameters. The number of neurons in the last layer of the perceptron is 1, which represents the score of the critic network for the action made by the actor network, Q i (S i,t ,a i,t ) is the action reward function.
[0081] B3, the agents transmit data packets to each other and pass the bandwidth information allocated to the i-th eSIM to the j-th agent, so that the remaining agents can know the current bandwidth allocation and perform reasonable resource scheduling for the eSIM corresponding to the agent.
[0082] Wherein, step C specifically includes:
[0083] C1, from the training set Sample n trajectories in the training set, add n trajectory information to the training set list, and each trajectory Contains the status information of the i-th eSIM, the bandwidth resources specifically allocated to the i-th eSIM, and the accumulated reward value.
[0084] C2, how the actor network is updated
[0085]
[0086] where θ' now is the current parameter of the actor network, θ' new is the updated parameter, and β is the learning rate of the actor network parameter update, which is set to 0.0001. is the loss function of the actor network, is to find the gradient of the current parameter, T i is the trajectory sampled using the meta-learner policy function with parameter θ, r i,t is the cumulative reward value of T time steps.
[0087] How the critic network is updated
[0088]
[0089] Among them, μ now is the current parameter of the critic network, μ new is the updated parameter. c is the learning rate, set to 0.0001, V i (S i,t ; μ)-r i,t -ζV i (S i,t+1 ; μ) represents the loss function of the critic network, V represents the gradient of the loss function. i (S i,t ;μ), V i (S i,t+1 ; μ) are the state reward functions at time t and time t+1, r i,t is the reward function at time t.
[0090] C3: Repeat the above steps, and delete the trajectory information from the list each time a task trajectory is executed until the task trajectory list is empty.
[0091] C4, meta-learner: policy function π θ (a i,t |s i,t ; θ) is to determine the probability distribution value of each action to be executed next based on the current state and the reward function at the previous moment. The updated base learner samples a total of m trajectories to obtain a test set Where D i test Including the state, action and reward value of the i-th eSIM. The gradient descent algorithm is used to update the meta-learner parameters
[0092]
[0093] Among them, θ now is the parameter of the current policy network of the i-th eSIM, θ new is the updated policy network parameter of the i-th eSIM. α is the learning rate, which is set to 0.0001. is the loss function of the meta-learner, It is D testThe gradient of the policy function is calculated for the i-th trajectory in . T is the sampling trajectory, and P(T) is the probability distribution of the sampling task. Execute m steps and update the meta-learner parameters m times.
[0094] C5: After the meta-learner parameters are updated, continue to execute from step C1 and use the meta-learner parameters as the initialization parameters of the base learner.
[0095] Wherein, step D specifically comprises:
[0096] D1, the training is completed, and a resource security scheduling strategy is obtained. According to the resource security scheduling strategy, each eSIM resource security scheduling method is evaluated using the security rate ratio.
[0097] D2, construct query set Including the state information, actions and cumulative reward function values of each eSIM, a total of T trajectories. The security rate ratio of the i-th eSIM user is calculated. When the security rate ratio is greater than 0, it means that the resource scheduling scheme is safe, otherwise it is unsafe.
[0098] Wherein, step E specifically includes:
[0099] E1, when the environment, total bandwidth resources or eSIM signal transmission power changes, new data needs to be collected to fine-tune the eSIM resource scheduling strategy. Specific collected data D i ={D1, D2, D3, D4}, where D1, D2, D3, and D4 represent the current total bandwidth resources, the signal transmission power of the i-th eSIM, the noise in the channel, and the bandwidth occupancy, respectively.
[0100] E2, obtains the channel noise power, total bandwidth resources and signal transmission power of each eSIM from the data set, through the formula The security rate ratio of the i-th eSIM is calculated, and the reward function is constructed according to step A4.
[0101] E3, use the parameters learned by the meta-learner to initialize the policy network, and use the gradient descent algorithm to fine-tune the policy network parameters The step size here is set to be larger than that in the meta-learning stage, λ = 0.01.
[0102] E4, repeat the above steps until the model converges.
[0103] E5, generates the optimal bandwidth resource scheduling strategy that satisfies security constraints in the new communication scenario.
[0104] Compared with the prior art, the above technical solution has the following advantages:
[0105] The present invention defines the safety rate ratio as a performance indicator for measuring the safety of the scheduling scheme. At the same time, the multi-agent reinforcement learning method is used to schedule the bandwidth resources of the eSIM. When the eSIM user faces a new communication scenario, the model convergence can be achieved in fewer time steps, thereby maximizing the safety performance indicator of the proposed eSIM bandwidth resource safety scheduling scheme.
[0106] The present invention discloses a 5G-A eSIM security scheduling method based on multi-agent meta-reinforcement learning. This method first considers the security rate ratio to measure the security of the eSIM bandwidth resource scheduling scheme, and uses the meta-reinforcement learning method to implement eSIM resource scheduling, and finally maximizes the security rate ratio of the eSIM bandwidth resource security scheduling scheme.
[0107] The various parts in this manual are described in a progressive manner, and each part focuses on the differences from other parts. The same or similar parts between the various parts can be referenced to each other.
[0108] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1.5GA is a multi-agent reinforcement learning based eSIM security scheduling method, characterized in that: The steps include: Step A, defining the agents in the eSIM bandwidth resource scheduling strategy, each agent corresponds to an eSIM, and defining the safety rate ratio, which is used as the reward value obtained by the interaction between the agent and the environment to measure the safety of the eSIM scheduling scheme; Step B: Design a meta-reinforcement learning framework for the eSIM bandwidth resource scheduling strategy. Each agent contains a meta-learner and a base learner. The meta-learner is used to extract the common knowledge between different resource security scheduling tasks of eSIM, and the base learner learns the selection of network strategies for specific tasks. Step C: training the agents in the eSIM bandwidth resource scheduling strategy, using a meta-reinforcement learning algorithm to train each agent and learn the initialization parameters of the strategy network so that it can be deployed to the application more quickly and achieve secure scheduling of eSIM resources; Step D: Based on the trained agent, a resource security scheduling strategy is generated for each eSIM, and the security rate ratio is used to evaluate the security of the resource scheduling strategy; Step E: fine-tune the strategy and apply the resource scheduling strategy to the eSIM resource scheduling system. During the continuous operation of the system, collect empirical data to further optimize the performance of the intelligent agent and achieve high security of the eSIM bandwidth resource scheduling solution. Wherein, step A specifically includes: A1, define an eSIM security scheduling system model, which consists of an eavesdropper, N eSIM users and a base station; A2, define the state space S of agent i i = {B total ,N i ,P i ,B used }, where B total , N i , P i and B used They represent the total bandwidth, the channel noise power of agent i reaching the base station, the signal power sent by the i-th eSIM, and the bandwidth occupancy respectively; A3, define the action space set A i ={B i } Among them B i represents the bandwidth resources allocated to the i-th agent; A4, set the reward function. The reward function of the i-th agent is defined as where r i (S i,t ,a i,t ) represents the cumulative reward function of the ith agent, ζ is the discount rate, S i,t with a i,t They represent the state information obtained by the i-th agent based on the interaction with the environment at time t and the bandwidth resources allocated to the i-th agent based on the state information. is the security rate ratio at time t, which is used to measure the security of the scheduling scheme. When there is a moment when the received signal interference and noise ratio of the eavesdropper is greater than the threshold, the scheduling scheme is considered to be unsafe; when the received signal interference and noise ratio of any eSIM user is greater than or equal to 0, and the received signal interference and noise ratio of the eavesdropper is less than the threshold, the scheduling scheme is safe, and a reward value is returned to the intelligent agent i. represents the rate that an eavesdropper can achieve when eavesdropping on the i-th eSIM user, represents the rate achievable by eSIM users, γ E,i , γ eSIM,i are the signal-to-interference-noise ratios of the eavesdropper and the eSIM user, respectively, and h eSIM,i 、h e,i Respectively represent the channel matrices of eSIM users and eavesdroppers, σ 2 is the channel noise power, P i Indicates the transmission signal power of eSIM, B e and B i The bandwidth resources of the eavesdropper and the bandwidth resources of the i-th eSIM are allocated respectively; A5, the agent synchronizes the bandwidth resources allocated to itself and the bandwidth usage to other agents, and then other agents interact with the environment, obtain new status information and perform actions. The environment feeds back new status information and reward values based on the actions of the agent; Wherein, step B specifically includes: B1, Multi-agent actor-critic algorithm: The critic network is used to guide the actor network, evaluate the quality of the actor network's actions, and guide the actor network to make the next action based on the quality. The actor network is defined as p θ (a i,t |S i,t ;θ)=softmax(ReLU(MLP(Attention(S i,t ,V i (S i,t ;m)))) Where θ={W1,W2,W Q ,W K ,b1,b2} are the parameters of the actor network; Attention(S i,t ,V i (S i,t ; μ)) is a cross attention mechanism used to establish the connection between the critic network and the actor network, where W Q , W K are the weight matrix parameters of the query vector and key vector, S i,t , V i (S i,t ; μ) are the state mapping vector of the ith agent and the score assigned to the ith eSIM bandwidth resource by the critic network to the actor network, d represents the dimension of the feature vector, MLP(·) is a multi-layer perceptron model, and the specific It is represented as a perceptron model with two hidden layers. W1 and W2 are the weight parameters of the model, b1 and b2 are the bias terms of the model, and finally, after the ReLU activation function and the softmax function, the prediction result is mapped to a probability value in the (0, 1) interval, which represents the probability of allocating to each bandwidth of the eSIM. B2, the critic network is defined as V i (S i,t ;μ)=MLP(Q i (S i,t ,a i,t )·max(π θ (a i,t |S i,t ;i));m) where s i,t , a i,t They represent the state of the i-th eSIM at time t and the bandwidth allocated to the i-th eSIM at time t, respectively. i (S i,t ; μ) is the critic network, μ is its parameter, max(π θ (a i,t |s i,t ; θ)) represents the optimal bandwidth allocation scheme given by the actor network under the four conditions of the current total bandwidth, signal transmission power, channel noise and bandwidth occupancy of the i-th agent. Then the current state information and the optimal bandwidth allocated to the i-th agent predicted by the current actor network are sent to the multi-layer perceptron MLP(·). The MLP design f(x)=W4(W3x+b3)+b4, where W3 and W4 are the weight parameters of the multi-layer perceptron, b3 and b4 are bias parameters, and the number of neurons in the last layer of the perceptron is 1, which represents the score value of the critic network for the action made by the actor network. Q i (S i,t ,a i,t ) is the action reward function; B3, agents transmit data packets to each other and pass the bandwidth information allocated to the i-th eSIM to the j-th agent, so that the other agents can know the current bandwidth allocation and perform reasonable resource scheduling for the eSIM corresponding to the agent; Wherein, step C specifically includes: C1, from the training set Sample n trajectories in the training set, add n trajectory information to the training set list, and each trajectory Contains the status information of the i-th eSIM, the bandwidth resources specifically allocated to the i-th eSIM, and the accumulated reward value; C2, how the actor network is updated where θ' now is the current parameter of the actor network, θ' new is the updated parameter, β is the learning rate of the actor network parameter update, which is set to 0.0001, where is the loss function of the actor network, is to find the gradient of the current parameter, T i is the trajectory sampled using the meta-learner policy function with parameter θ, r i,t is the cumulative reward value of T time steps; How the critic network is updated Among them, μ now is the current parameter of the critic network, μ new is the updated parameter, c is the learning rate, set to 0.0001, V i (S i,t ; μ)-r i,t -ζV i (S i,t+1 ; μ) represents the loss function of the critic network, Indicates the gradient of the loss function, V i (S i,t ;μ), V i (S i,t+1 ; μ) are the state reward functions at time t and time t+1, r i,t is the reward function at time t; C3: Repeat the above steps, and delete the track information from the list each time a task track is executed, until the task track list is empty; C4, meta-learner: policy function π θ (a i,t |s i,t ; The purpose of θ) is to decide the probability distribution value of each action to be executed next based on the current state and the reward function of the previous moment. The updated base learner samples a total of m trajectories to obtain a test set Where D i test Including the state, action and reward value of the i-th eSIM, the gradient descent algorithm is used to update the meta-learner parameters Among them, θ now is the parameter of the current policy network of the i-th eSIM, θ new is the updated policy network parameter of the i-th eSIM, α is the learning rate, set to 0.0001, is the loss function of the meta-learner, It is D test The i-th trajectory in the strategy function is used to find the gradient, T is the sampling trajectory, P(T) is the probability distribution of the sampling task, m steps are executed, and the meta-learner parameters are updated m times; C5: After the meta-learner parameters are updated, continue to execute from step C1 and use the meta-learner parameters as the initialization parameters of the base learner; Wherein, step D specifically comprises: D1, after the training is completed, a resource security scheduling strategy is obtained. According to the resource security scheduling strategy, each eSIM resource security scheduling method is evaluated using the security rate ratio; D2, construct query set Including the state information, actions and cumulative reward function values of each eSIM, a total of T trajectories, through Calculate the security rate ratio of the i-th eSIM user. When the security rate ratio is greater than 0, it means that the resource scheduling scheme is safe, otherwise it is unsafe. Wherein, step E specifically includes: E1, when the environment, total bandwidth resources or eSIM signal transmission power changes, new data needs to be collected to fine-tune the eSIM resource scheduling strategy. The specific data collected is D i ={D1, D2, D3, D4}, where D1, D2, D3, and D4 represent the current total bandwidth resources, the signal transmission power of the i-th eSIM, the noise in the channel, and the bandwidth occupancy, respectively; E2, obtains the channel noise power, total bandwidth resources and signal transmission power of each eSIM from the data set, through the formula Calculate the security rate ratio of the i-th eSIM and construct the reward function according to step A4; E3, use the parameters learned by the meta-learner to initialize the policy network, and use the gradient descent algorithm to fine-tune the policy network parameters The step size here is set to be larger than that in the meta-learning stage, λ = 0.01; E4, repeat the above steps until the model converges; E5, generates the optimal bandwidth resource scheduling strategy that satisfies security constraints in the new communication scenario.
Citation Information
Cited By
Heterogeneous GPU resource scheduling method and system based on combination of meta learning and reinforcement learning
CN119599857A
ESIM remote configuration management method based on cloud platform and cloud platform
CN119922081A
Multi-modal network bandwidth adaptive allocation method and system based on meta-reinforcement learning
CN121509246A
