Multi-agent learning method for scheduling and resource configuration for users of a cell-free network

By employing a multi-agent learning approach combined with deep Q-learning and the DDPG algorithm, the problem of user scheduling and resource allocation in non-cellular networks is solved, reducing computational complexity and achieving efficient system performance improvement. In particular, resource allocation can be optimized without global channel state information in large-scale systems.

CN117221925BActive Publication Date: 2026-11-24SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310692705.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-13
Publication Date
2026-11-24
Estimated Expiration
2043-06-13

AI Technical Summary

Technical Problem

Existing technologies struggle to effectively address user scheduling and resource allocation issues in non-cellular networks, especially in large-scale systems where computational complexity is high and global channel state information is required. Traditional methods are also complex, and reinforcement learning-based methods require a large amount of training data, making them difficult to implement.

Method used

A multi-agent learning approach is adopted, using deep Q-learning and deep deterministic policy gradient algorithm to design a cascaded two-layer network structure. Through centralized training and distributed execution, the problems of user scheduling, sub-band selection and power control are solved. Deep Q-network and DDPG network are used to handle discrete and continuous problems respectively, and reasonable state space, action space and reward function are designed.

Benefits of technology

While reducing complexity, it achieves near-centralized performance, with each access point only needing local channel state information to make decisions, thus improving system performance, especially demonstrating effectiveness in continuous power control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117221925B_ABST
    Figure CN117221925B_ABST
Patent Text Reader

Abstract

This invention discloses a multi-agent learning method for user scheduling and resource allocation in non-cellular networks. It constructs a non-cellular network system model, establishes a mixed-integer linear programming problem involving joint user scheduling, sub-band selection, and power control, and sequentially applies deep Q-learning and a deep deterministic policy gradient algorithm to solve this problem, designing appropriate state, action space, and reward function. A deep reinforcement learning neural network structure is designed and its parameters are initialized. The neural network is then trained until convergence, yielding the final system performance. This invention can jointly solve the user scheduling, sub-band selection, and power control problems, reducing complexity while approximating the performance of a centralized method based on fractional programming. Each access point can make its own decisions using only local channel state information and some non-real-time information; the effectiveness of using the deep deterministic policy gradient algorithm to solve the continuous power control problem is verified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of user scheduling and resource allocation technology in non-cellular networks, and particularly to a multi-agent learning method for user scheduling and resource allocation in non-cellular networks. Background Technology

[0002] Cell-free networks are an emerging network architecture in 6G mobile communication. In this type of network, a large number of access points (APs) are connected to the central processing unit (CPU) via fronthaul links, eliminating the concept of cell edges found in traditional cellular networks. Compared to traditional cellular networks, cell-free networks can provide better Quality of Service (QoS) for user equipment (UEs), thereby improving system throughput, spectral efficiency, and coverage. Proper user connection and scheduling are key factors affecting the performance of cell-free networks. Furthermore, as the number of users increases, effectively allocating limited resources to achieve higher system performance remains a challenge that needs to be addressed.

[0003] Numerous studies have addressed the user scheduling problem, proposing various effective methods. For example, methods such as continuous convex approximation maximize the system sum rate of non-cellular networks while ensuring user service quality, and maximizing the sum rate of MIMO systems while guaranteeing minimum user data rates, have been employed. Meanwhile, resource allocation problems, such as spectrum allocation and power control, have also received extensive research. Methods like Weighted Minimum Mean Square Error (WMMSE) and Fractional Programming (FP) have been proposed. While these methods offer good performance, they require instantaneous global channel state information (CSI) and a certain number of iterations to obtain the optimal solution. The implementation complexity increases dramatically with system size, making their application in practical systems very challenging. On the other hand, data-driven machine learning (ML) methods, such as supervised learning, can achieve good performance while reducing computational complexity. However, they require collecting large amounts of training data, which is difficult to implement in practice.

[0004] Unlike traditional methods, reinforcement learning (RL) does not require pre-generated training datasets. Agents learn optimal policies through interaction with the environment, making it particularly suitable for dynamic wireless environments. Multi-agent reinforcement learning (MARL) involves multiple agents learning optimal policies in a distributed manner, achieving good performance even with only partial system information. Recently, reinforcement learning has also been widely applied in wireless communication to solve resource allocation problems, achieving promising results.

[0005] Currently, while many papers exist on user scheduling and resource allocation, most address only one or two of these problems, with limited research considering all three simultaneously. Furthermore, many reinforcement learning-based power control methods quantize transmit power into several levels and solve them using deep Q-learning. For a continuous power control problem, this approach may not yield optimal solutions. Therefore, it is necessary to design methods that jointly address user scheduling and resource allocation, taking into account practical considerations, to reduce algorithmic complexity and achieve significant system performance improvements. Summary of the Invention

[0006] This invention provides a multi-agent learning method for user scheduling and resource allocation in non-cellular networks, aiming to jointly solve the user scheduling and resource allocation problems in non-cellular networks. To address system performance requirements, this invention treats the application processor (AP) as an agent, employing two reinforcement learning algorithms: Deep Q-learning and Deep Deterministic Policy Gradient (DDPG). A cascaded two-layer network structure is designed, along with appropriate state space, action space, and reward function. A neural network deployed at a central processing unit (CPU) is trained using a centralized training distributed execution (CTDE) method to obtain a globally optimal policy that can be used by other APs, determining the users scheduled by each AP in each time slot, the selected sub-band, and the transmit power used.

[0007] This invention provides a multi-agent learning method for user scheduling and resource allocation in non-cellular networks, comprising the following steps:

[0008] Step S1: Construct a non-cellular network system model that includes multiple access points and users;

[0009] Step S2: Based on the cellular network system model, establish a mixed integer linear programming (MILP) problem for joint user scheduling, sub-band selection, and power control. The MILP problem aims to maximize the average weighted sum rate of the cellular network system, and is constrained by scheduling one user per access point per time slot, selecting one sub-band, and the maximum transmit power of each access point.

[0010] Step S3: Use deep Q-learning and deep deterministic policy gradient algorithm to solve the mixed integer linear programming problem, and design the agent, state space, action space and reward function;

[0011] Step S4: Deploy two cascaded networks with identical structures at each access point and central processing unit, namely a deep Q-network and a deep deterministic policy gradient network.

[0012] Step S5: Initialize the environment, initialize the parameters of the multi-agent reinforcement learning, and copy the parameters of the multi-agent reinforcement learning to the target deep Q network, target action network and target evaluation network in the deep Q network and deep deterministic policy gradient network, respectively.

[0013] Step S6: In each time slot of each round, determine the set of users to be scheduled in each access point. For each agent, obtain the current state in all selectable sub-bands as the input of the local deep Q network, obtain the corresponding action through the local deep Q network, determine the user to be scheduled in the current time slot and the sub-band allocated, obtain the current state in the selected sub-band as the input of the action network in the deep deterministic policy gradient network, and obtain the action in this state through the action network, i.e. the selected transmit power factor. After all agents execute the corresponding actions, calculate the current reward, i.e. the average weighted sum rate of the system. For each agent, obtain the state of the next time slot in all sub-bands, and store this state, the state in all sub-bands at the previous time, the action selected through the deep Q network, and the reward in sequence into the experience pool used to collect training deep Q network. Obtain the state of each agent in the next time slot in the currently selected sub-band, and store this state, the state in the selected sub-band at the previous time, the action selected by the action network, and the reward at the current time into the experience pool used to collect training DDPG network.

[0014] Step S7: When the amount of experience in the two experience pools is sufficient, train the deep Q-network and the deep deterministic policy gradient network constructed in step S4.

[0015] Step S8: Repeat steps S6 and S7 until a trained neural network is obtained, and copy the parameters of the trained neural network to the network at each access point. Solve user scheduling, sub-band selection and power control problems based on the trained deep learning network.

[0016] In one embodiment of the present invention, the cellular network system model includes N access points and U single-antenna users. The N access points share M allocable spectrums. The channel gain from the access points to the users includes large-scale fading and small-scale fading. Large-scale fading includes path loss and shadowing fading. Small-scale fading follows a first-order Gaussian Markov process.

[0017] In one embodiment of the present invention, establishing a mixed-integer linear programming problem for joint user scheduling, subband selection, and power control based on the cellular-free network system model includes:

[0018] At the start of each round, the user set for each access point is determined based on the distance from the user to the access point. The user set for access point i is denoted as . Dimension K i At time t, each access point schedules one user from its corresponding user set, selects a sub-frequency band, and determines its own transmit power using binary variables. and This indicates whether access point i schedules user j from its user set in time slot t, and whether access point i selects sub-frequency band m within time slot t. This represents the transmit power of access point i in time slot t, using... and Let the sub-band selection vector, user scheduling vector, and power control vector be respectively. The mixed-integer linear programming problem is as follows:

[0019]

[0020]

[0021]

[0022]

[0023]

[0024]

[0025] in, This represents the weight of user j at access point i at time t. P represents the achievable rate of user j at access point i at time t, and formula (1a) represents the access point transmit power limit. max The maximum transmit power of the access point is (1d), which means that each access point schedules only one user per time slot, and (1e) means that each access point selects only one sub-band in time slot t.

[0026] The weight of user j in access point i is calculated based on whether user j is scheduled at time t, using the proportional fairness method.

[0027]

[0028] Among them, t c This indicates the average window size used.

[0029] In one embodiment of the present invention, step S3 includes:

[0030] Step S301: Treat each access point as an intelligent agent;

[0031] Step S302: Obtain the state of each agent at time t. The state of the deep Q-network is the set of states of each access point across all sub-bands. The state of the deep deterministic policy gradient network is the state of each access point in the selected sub-band after determining the sub-band using the deep Q-network. A centralized training and distributed execution method is used to train the agents and obtain a global policy. Each agent uses its local information as its state. Before the start of each time slot, each access point selects the top O users with the highest weights from its user set to form a user set to be scheduled. This represents the set of users to be scheduled at access point i in time slot t. At the beginning of each time slot t, agent i sorts all subbands according to the ratio of its channel gain to the total received interference power. The sorting is represented as follows: The state of access point i in sub-band m of time slot t includes the following components:

[0032] a) At time t, access point i to Channel gain for all users in sub-band m;

[0033] b) gather The weighted rate of users in the data at time t-1;

[0034] c) The disturbance experienced by agent i at time t-1;

[0035] d) At time t, the sorting value of agent i for sub-band m;

[0036] e) The transmit power used by agent i in sub-band m at time t-1;

[0037] At time t, the state of access point i in sub-band m is:

[0038]

[0039] User scheduling and sub-band selection are performed using a deep Q-network, and the power allocation factor is determined using a deep deterministic policy gradient algorithm. The state of the deep Q-network includes information about the agent across all sub-bands, while the state of the deep deterministic policy gradient network includes information about the sub-band selected by the deep Q-network. Therefore, at access point i in time slot t, the state of the deep Q-network is represented as follows: The state of a deep deterministic policy gradient network is determined by information in the selected sub-band by a deep Q-network;

[0040] Step S303: Design the action space for each agent. Each agent has the same state space. To jointly optimize user scheduling, sub-band selection, and power allocation, two reinforcement learning algorithms, Deep Q-learning and Deep Deterministic Policy Gradient Algorithm, are used to solve this joint problem. At access point i, user scheduling and sub-band selection are discrete problems, solved using the Deep Q-method. Their action space is represented as follows: This represents the user scheduled at access point i at time t. The sub-band selected by access point i at time t represents the power control problem, which is a continuous problem and is solved using the deep deterministic policy gradient algorithm. Its action space is... At this time, the transmit power of access point i is

[0041] Step S304: Design a reward function. Based on the actions of all agents, obtain a set of rewards at time t as the reward function. Considering the optimization problem, the local reward of agent i is expressed as the weighted sum rate of users in its user pool at time t, as follows:

[0042]

[0043] The system's reward function is the sum of the local rewards for each agent:

[0044]

[0045] Step S305: Design discount factors γ1 and γ2 in the deep Q-network and deep deterministic policy gradient algorithm.

[0046] In one embodiment of the present invention, in step S4, a deep Q-network is used to solve the joint user scheduling and sub-band selection problem, and a deep deterministic policy gradient network is used to determine the transmit power used by each access point. The deep Q-network includes a local Q-network and a target Q-network. The two networks have the same structure, each including 5 fully connected layers. The output of the network is the Q-value corresponding to each action in the action space, and the dimension is equal to the dimension of the action space. The deep deterministic policy gradient network includes four neural networks: an action network, a target action network, an evaluation network, and a target evaluation network. The action network and the target action network have the same structure, each including 5 fully connected layers. The action network is responsible for giving the corresponding action based on the current input state. The evaluation network and the target evaluation network have the same structure, each including 5 fully connected layers, and they give the Q-value for performing the corresponding action in the current state.

[0047] In one embodiment of the present invention, in step S5, the parameters of the multi-agent reinforcement learning include: two experience pools that store the training experiences of the deep Q-network and the deep deterministic policy gradient network, respectively. and The corresponding learning rate, the number of samples sampled per network update, the discount factor, the total number of training rounds, the time slots included in each training round, and the parameters of the local deep Q-network, action network, and evaluation network at each access point and central processing unit.

[0048] In one embodiment of the present invention, step S6 includes:

[0049] Step S601: In each training round, at any time slot t, for each agent n, it obtains the current state from the environment. Among them, this state The form defined for step S302; the state Input a local Q-network and use the ∈-greedy policy to determine the action in the current state. Obtain the users scheduled by access point n and the selected sub-band Then obtain the current state in the selected sub-band. This state The input is fed into the action network to obtain the transmit power factor of access point n in the current state.

[0050] Step S602: After all agents determine the current action, execute the action and calculate the current reward r according to formula (5). (t) ;

[0051] Step S603: For each access point n, obtain the state of all sub-bands at the next time step. And the state at the next time step in the currently selected sub-band. and the set of experience values as well as Store them into the experience pool in sequence. and middle.

[0052] In one embodiment of the present invention, step S7 includes:

[0053] Step S701, from the experience pool and Randomly sample samples of size N. B experience points The empirical value extracted from it is expressed as The empirical value extracted from it is expressed as

[0054] Step S702: Train the deep Q-network. The goal of training the local deep Q-network is to minimize the loss function L1. Then, the parameters of the deep Q-network are updated using stochastic gradient descent. The loss function L1 is:

[0055]

[0056]

[0057] in, For the target Q value, Let γ1 be the Q-function of DQN, ψ be the discount factor, and ψ be the Q-function of DQN. Q and ψ Q′ These represent the parameters for the local DQN and the target DQN, respectively.

[0058] The parameters of the target depth Q-network are updated using the soft update method shown in Equation (8):

[0059] ψ Q′ ←τψ Q +(1-τ)ψ Q′ (8)

[0060] Where τ is the soft update factor;

[0061] Step S703: Train the deep deterministic policy gradient network. Optimizing the parameters of the action network involves finding the parameters that maximize the Q-value of the action network's output action. Specifically:

[0062]

[0063] Where, θ μ and θ μ′ These are the parameters for the action network and the target action network, respectively.

[0064] Formula (9) is optimized using gradient descent to update the action network parameters;

[0065] For the evaluation network, similar to training a deep Q-network, the evaluation network is trained by minimizing the loss function L2, and the network parameters are updated using stochastic gradient descent. The loss function L2 is:

[0066]

[0067]

[0068] in, Represents the target value, γ2 is the discount factor, and θ Q and θ Q′ These are the parameters for the evaluation network and the target evaluation network, respectively; the target action network and the target evaluation network are updated using a soft update method.

[0069] θ Q′ ←τθ Q +(1-τ)θ Q′ (12)

[0070] θ μ′ ←τθ μ +(1-τ)θ μ′ (13).

[0071] The multi-agent learning method for user scheduling and resource allocation in non-cellular networks according to embodiments of the present invention has the following characteristics:

[0072] Beneficial effects:

[0073] 1. This invention employs a multi-agent reinforcement learning method to solve the problems of joint user scheduling, sub-band selection, and power control. It solves the complex optimization problems through neural networks, thereby addressing the issues of high complexity and the need for global instantaneous channel state information when using traditional centralized methods.

[0074] 2. This invention uses two deep reinforcement learning methods: Deep Q-learning and DDPG. Deep Q-learning is used to solve the discrete problem of user scheduling and sub-band selection, while DDPG is used to solve the continuous problem of power control. Compared with the method using only DQN, the system performance is improved to a certain extent, which verifies the effectiveness of using the DDPG method to solve continuous problems.

[0075] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0076] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:

[0077] Figure 1 A flowchart illustrating a multi-agent learning method for user scheduling and resource allocation in non-cellular networks, provided by an embodiment of the present invention;

[0078] Figure 2 This is a schematic diagram of the system model used in an embodiment of the present invention;

[0079] Figure 3 This is a table of user scheduling and resource allocation methods for the multi-agent learning method used in embodiments of the present invention;

[0080] Figure 4 This is a schematic diagram of the data flow and training phase of a neural network according to an embodiment of the present invention;

[0081] Figure 5 This describes the convergence of training of the neural network according to an embodiment of the present invention;

[0082] Figure 6 The average sum rate of each user within a scheduling round under different methods;

[0083] Figure 7 This embodiment compares the performance of the method with a random selection method, a fairness-considered fractional programming method, and a fairness-considered deep Q-network method under different numbers of users.

[0084] Figure 8 This paper compares the performance of the method in this embodiment with that of a random selection method, a fairness-considered fractional programming method, and a fairness-considered deep Q-network method, under different numbers of available sub-bands. Detailed Implementation

[0085] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.

[0086] This invention can jointly solve user scheduling, subband selection, and power control problems, reducing complexity while approaching the performance of a centralized approach based on fractional programming (FP). Furthermore, each AP can make its own decisions using only local channel state information (CSI) and some non-real-time information. This invention also demonstrates the effectiveness of using DDPG to solve continuous power control problems.

[0087] Figure 1 This is a flowchart illustrating a multi-agent learning method for user scheduling and resource allocation in non-cellular networks, provided by an embodiment of the present invention.

[0088] like Figure 1 As shown, this multi-agent learning method for user scheduling and resource allocation in non-cellular networks includes the following steps:

[0089] Step S1: Construct a non-cellular network system model that includes multiple access points and users.

[0090] The cellular-free network system model includes N access points and U single-antenna users. The N access points share M allocable spectrums. The channel gain from the access points to the users includes large-scale fading and small-scale fading. Large-scale fading includes path loss and shadowing fading, while small-scale fading follows a first-order Gaussian Markov process. The system model is as follows: Figure 2 As shown.

[0091] Step S2 involves establishing a mixed-integer linear programming problem for joint user scheduling, sub-band selection, and power control based on the cellular network system model. The mixed-integer linear programming problem aims to maximize the average weighted sum rate of the cellular network system, constrained by scheduling one user per access point per time slot, selecting one sub-band, and the maximum transmit power of each access point. Simultaneously, the optimization problem involves variables considering user fairness, specifically the weight of each user at the start of each time step, which is calculated using a proportional fairness-based method.

[0092] Specifically, in this embodiment, at the beginning of each round, the user set of each AP is first determined based on the distance from the user to the AP, and the user set of APi is denoted as . Its dimension is K i At time t, each AP schedules one user from its user set, selects a sub-band, and determines its own transmit power. We use binary variables respectively. and This indicates whether APi schedules user j from its user set in time slot t and whether APi selects sub-band m within time slot t. This represents the transmit power of APi in time slot t, using and Let the sub-band selection vector, user scheduling vector, and power control vector be represented respectively. Therefore, the mixed-integer linear programming problem can be specifically expressed as:

[0093]

[0094]

[0095]

[0096]

[0097]

[0098]

[0099] In formula (1), This represents the weight of user j in APi at time t. P represents the achievable rate of user j in APi at time t, and formula (1a) represents the AP transmit power limit. max Let t be the maximum transmit power of the AP. (1d) indicates that each AP schedules only one user per time slot, and (1e) indicates that each AP selects only one sub-band in time slot t.

[0100] Meanwhile, the proportional fairness method is used to calculate the weight of user j in APi based on whether user j is scheduled at time t. The formula is shown below:

[0101]

[0102] Among them, t c This indicates the average window size used.

[0103] Step S3: Use deep Q-learning and deep deterministic policy gradient algorithm to solve the mixed integer linear programming problem, and design the agent, state space, action space and reward function.

[0104] Based on the optimization problem constructed in step S2, considering that user scheduling and sub-band selection are discrete problems while power control is a continuous problem, two reinforcement learning algorithms are selected: Deep Q-learning and Deep Deterministic Policy Gradient (DDPG) algorithm. Deep Q-learning is used to solve the discrete problem of user scheduling and sub-band selection, while DDPG solves the continuous problem of power control. These two algorithms are used sequentially to solve the user scheduling, sub-band selection, and power control problems, and the agent, state space, action space, and reward function are designed.

[0105] In this embodiment, step S3 includes:

[0106] Step S301: Treat each AP as an intelligent agent.

[0107] Step S302: Obtain the state of each agent at time t. The state of the DQN network is the sum of the states of each AP across all sub-bands, while the state of the DDPG is obtained by using the states of each AP in the selected sub-band after determining the sub-band using DQN. A centralized training distributed execution (CTDE) method is used to train the agents and obtain a global policy. Therefore, each agent only needs its own local information as its state. Before the start of each time slot, each AP selects the top O users with the highest weights from its user pool to form the user set to be scheduled. We use... Let APi represent the set of users to be scheduled in time slot t. At the beginning of each time slot t, agent i sorts all subbands according to the ratio of its channel gain to the total received interference power. This sorting is denoted as... Taking APi as an example, we introduce its state in sub-band m of time slot t, which includes the following components:

[0108] a) At time t, access point i to Channel gain for all users in sub-band m;

[0109] b) gather The weighted rate of users in the data at time t-1;

[0110] c) The disturbance experienced by agent i at time t-1;

[0111] d) At time t, the sorting value of agent i for sub-band m;

[0112] e) The transmit power used by agent i in sub-band m at time t-1;

[0113] At time t, the state of access point i in sub-band m is:

[0114]

[0115] As described above, DQN is first used for user scheduling and sub-band selection, and then DDPG is used to determine the power allocation factor. Therefore, the state of DQN should include information about the agent across all sub-bands, while the state of DDPG can be designed to include only information about the sub-band selected by DQN. Therefore, at time slot t, the state of DQN for APi is represented as... The state of the DDPG network is determined by the information in the selected sub-band by the DQN.

[0116] Step S303: Design the action space for each agent. Each agent has the same state space. To jointly optimize user scheduling, sub-band selection, and power allocation, we use two reinforcement learning algorithms, Deep Q-learning and DDPG, to solve this joint problem. Again, taking APi as an example, user scheduling and sub-band selection are discrete problems, solved using Deep Q-learning, and their action space can be represented as follows: This represents the user scheduled by APi at time t. Let APi represent the sub-band selected at time t. The power control problem is a continuous problem, solved using the DDPG method, with an action space of... At this time, the transmit power of APi is

[0117] Step S304, design the reward function. We obtain a set of rewards at time t based on the actions of all agents as the reward function. Considering the optimization problem, we represent the local reward of agent i as the weighted sum rate of users in its user pool at time t, which can be expressed as:

[0118]

[0119] The system's reward function is the sum of the local rewards for each agent:

[0120]

[0121] Step S305: Design discount factors γ1 and γ2 in the DQN and DDPG methods.

[0122] Step S4: Deploy two cascaded networks with identical structures at each access point and central processing unit, namely a deep Q-network and a deep deterministic policy gradient network.

[0123] At each access point (AP) and central processing unit (CPU), two identical cascaded networks are deployed: a Deep Q-Network (DQN) and a Direct Generation Programming (DDPG) network. The DQN addresses joint user scheduling and subband selection, while the DDPG determines the transmit power used by each AP. The DQN comprises a local Q-network and a target Q-network, both with identical structures, each containing five fully connected layers. The network output is the Q-value for each action in the action space, with a dimension equal to the dimension of the action space. The DDPG network contains four neural networks: an action network, a target action network, an evaluation network, and a target evaluation network. The action network and target action network share the same structure, both containing five fully connected layers. The action network is responsible for providing the appropriate action based on the current input state. The evaluation network and target evaluation network also share the same structure, each containing five fully connected layers, and provide the Q-value for executing the corresponding action in the current state.

[0124] Step S5: Initialize the environment and initialize the parameters of the multi-agent reinforcement learning. Copy the parameters of the multi-agent reinforcement learning to the target deep Q network, target action network, and target evaluation network in the deep Q network and deep deterministic policy gradient network, respectively.

[0125] like Figure 3 As shown, the environment is initialized, and the parameters for multi-agent deep reinforcement learning are initialized. These parameters include two experience pools that store the experience of training DQN and DDPG networks, respectively. and The corresponding learning rate, the number of samples sampled per network update, the discount factor, the total number of training rounds, the time slots included in each training round, and the parameters of the local DQN, action network, and evaluation network at each AP and CPU, and these parameters are copied to the target DQN, target action network, and target evaluation network respectively.

[0126] Specifically, the environment is initialized with N access points (APs) and U randomly distributed users. The system has M available sub-bands. Two experience pools with capacities D1 and D2 are initialized, with learning rates η1 and η2 respectively. The number of samples sampled each time the network is updated is N. BThe discount factors are γ1 and γ2, the total number of training rounds for the reinforcement learning network, the time slots included in each round, and the local Q-network parameters ψ are randomly initialized. Q and target Q network parameters ψ Q′ Randomly initialize the action network θ μ and target action network θ μ′ Parameters and evaluation network θ Q And the parameters θ of the target evaluation network Q′ .

[0127] Step S6: In each time slot of each round, determine the set of users to be scheduled in each access point. For each agent, obtain the current state in all selectable sub-bands as the input of the local deep Q network, obtain the corresponding action through the local deep Q network, determine the user to be scheduled in the current time slot and the sub-band assigned, obtain the current state in the selected sub-band as the input of the action network in the deep deterministic policy gradient network, and obtain the action in this state, i.e., the selected transmit power factor, through the action network. After all agents execute the corresponding actions, calculate the current reward, i.e., the average weighted sum rate of the system. For each agent, obtain the state of the next time slot in all sub-bands, and store this state, the state in all sub-bands at the previous time, the action selected by the deep Q network, and the reward in sequence into the experience pool used to collect training deep Q network. Obtain the state of each agent in the next time slot in the currently selected sub-band, and store this state, the state in the selected sub-band at the previous time, the action selected by the action network, and the reward at the current time into the experience pool used to collect training DDPG network.

[0128] In this embodiment, as Figure 4 As shown, step S6 includes:

[0129] Step S601: In each training round, at any time slot t, for each agent n, it obtains the current state from the environment. Among them, this state The form defined for step S302; the state Input a local Q-network and use the ∈-greedy policy to determine the action in the current state. Get the users scheduled by APn and the selected sub-band Then obtain the current state in the selected sub-band. This state The input is fed into the action network to obtain the transmit power factor of AP n in the current state.

[0130] Step S602: After all agents determine the current action, execute the action and calculate the current reward r according to formula (5). (t) ;

[0131] Step S603: For each AP n, obtain the state in all sub-bands at the next time step. And the state at the next time step in the currently selected sub-band. and the set of experience values as well as Store them into the experience pool in sequence. and middle.

[0132] Step S7: When the amount of experience in the two experience pools is sufficient, train the deep Q-network and the deep deterministic policy gradient network constructed in step S4.

[0133] In this embodiment, step S7 includes:

[0134] Step S701, from the experience pool and Randomly sample samples of size N. B experience points The empirical value extracted from it is expressed as The empirical value extracted from it is expressed as

[0135] Step S702, train DQN. The goal of training a local DQN is to minimize the loss function L1, and then update the parameters of the DQN using stochastic gradient descent (SGD). The loss function L1 is shown below:

[0136]

[0137]

[0138] in, For the target Q value, Let γ1 be the Q-function of DQN, ψ be the discount factor, and ψ be the Q-function of DQN. Q and ψ Q′ These represent the parameters for the local DQN and the target DQN, respectively.

[0139] The parameters of the target depth Q-network are updated using the soft update method shown in Equation (8):

[0140] ψ Q′ ←τψ Q +(1-τ)ψ Q′ (8)

[0141] Where τ is the soft update factor;

[0142] Step S703, train the DDPG network. For the action network, parameter optimization involves finding the parameters that maximize the Q-value of the action network's output action, i.e.:

[0143]

[0144] Where, θ μ and θ μ′ These are the parameters for the action network and the target action network, respectively.

[0145] The gradient descent method is used to optimize formula (9) and update the action network parameters.

[0146] For the evaluation network, similar to training DQN, the evaluation network is trained by minimizing the loss function L2, and the network parameters are updated using stochastic gradient descent. The loss function L2 is:

[0147]

[0148]

[0149] in, Represents the target value, γ2 is the discount factor, and θ Q and θ Q′ These are the parameters for the evaluation network and the target evaluation network, respectively.

[0150] The target action network and the target evaluation network are updated using a soft update method:

[0151] θ Q′ ←τθ Q +(1-τ)θ Q′ (12)

[0152] θ μ′ ←τθ μ +(1-τ)θ μ′ (13).

[0153] Step S8, as follows Figure 5 As shown, steps S6 and S7 are repeated until a trained neural network is obtained, and the parameters of the trained neural network are copied to the network at each access point. Based on the trained deep learning network, user scheduling, sub-band selection, and power control problems are solved.

[0154] like Figure 6 , Figure 7 and Figure 8 It is evident that the multi-agent learning method for user scheduling and resource allocation in non-cellular networks of the present invention has better performance.

[0155] The multi-agent learning method for user scheduling and resource allocation in non-cellular networks proposed in this invention employs multi-agent reinforcement learning to solve joint user scheduling, subband selection, and power control problems. It addresses the complex optimization problems through neural networks, overcoming the high complexity and reliance on global instantaneous channel state information required by traditional centralized methods. By using two deep reinforcement learning methods—Deep Q-learning and DDPG—Deep Q-learning solves the discrete problems of user scheduling and subband selection, while DDPG solves the continuous problem of power control. Using only local global channel state information (CSI) and some non-real-time information, the performance approaches that of the FP-PF method. Furthermore, compared to methods using only DQN, the system performance is also improved, validating the effectiveness of using the DDPG method for solving continuous problems.

[0156] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., refer to specific features, structures, materials, or characteristics described in connection with that embodiment or example, which are included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.

[0157] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0158] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of the invention pertain.

Claims

1. A multi-agent learning method for user scheduling and resource allocation in a cell-free network, characterized in that, Includes the following steps: Step S1: Construct a non-cellular network system model that includes multiple access points and users; Step S2: Based on the cellular network system model, establish a mixed integer linear programming problem for joint user scheduling, sub-band selection, and power control. The mixed integer linear programming problem aims to maximize the average weighted sum rate of the cellular network system, and is constrained by scheduling one user per access point per time slot, selecting one sub-band, and the maximum transmit power of each access point. Step S3: Use deep Q-learning and deep deterministic policy gradient algorithm to solve the mixed integer linear programming problem, and design the agent, state space, action space and reward function; Step S301: Treat each access point as an intelligent agent; Step S302, obtain the time of each agent at time... The states of the Deep Q-Network are the sum of the states of each access point across all sub-bands. The state of the Deep Deterministic Policy Gradient Network (DPRK) is the sum of the states of each access point across all sub-bands after the selected sub-bands are determined using the Deep Q-Network. A centralized training and distributed execution method is used to train the agents and obtain a global policy. Each agent uses its local information as its state. Before the start of each time slot, each access point selects the top O users with the highest weights from its user set to form a user set to be scheduled. Indicates in time slot Access point The set of users to be scheduled, in each time slot Initially, the intelligent agent All subbands are sorted according to the ratio of their channel gain to the total received interference power, and the sorting is expressed as follows: Access point In the time slot Subband The state above includes the following components: a) At any moment At that time, access point arrive All users in the sub-band Channel gain; b) :gather Users in Weighted rate at any given time; c) Intelligent agent exist Constant interference, and Indicates in At any time, access point Should users in its user set be scheduled? and access point In Whether to select sub-band within a given time period ; d) At any moment At that time, intelligent agent Pair band The sorting value; e) :exist Time-based intelligent agent In sub-band The transmission power used Indicates access point exist Transmission power at any given moment; At any moment Access point In sub-band The state above is:    (3) Deep Q-networks are used for user scheduling and sub-band selection, and then a deep deterministic policy gradient algorithm is used to determine the power allocation factor. The state of the deep Q-network includes information about the agent across all sub-bands, and the state of the deep deterministic policy gradient network includes information about the sub-band selected by the deep Q-network. Therefore, the access point... In the time slot At that time, the state representation of the deep Q-network is as follows The state of the deep deterministic policy gradient network is determined by the information in the selected sub-band by the deep Q-network; Step S303: Design the action space for each agent. Each agent has the same state space. To jointly optimize user scheduling, sub-band selection, and power allocation, two reinforcement learning algorithms—deep Q-learning and deep deterministic policy gradient algorithm—are used to solve this joint problem at the access point. User scheduling and sub-band selection are discrete problems, solved using the depth-Q method, and their action space is represented as follows: , Indicates access point exist Users who need to schedule in real time Indicates access point The power control problem for the sub-band selected at time t is a continuous problem, which can be solved using the deep deterministic policy gradient algorithm. Its action space is: At this time, the access point The transmission power is , This represents the maximum transmit power of the access point. Step S304: Design a reward function to obtain a reward based on the actions of all agents. Using the time-series concentrated rewards as the reward function, and considering the optimization problem, the agent... The local reward is represented as in The weighted sum rate of users in its user pool at any given time is expressed as:    (4) in, Indicates access point users in At any moment The weight, Indicates at the access point users in At any moment The achievable rate; The system's reward function is the sum of the local rewards for each agent:    (5) Step S305: Design the discount factor in the deep Q-network and the deep deterministic policy gradient algorithm. and ; Step S4: Deploy two cascaded networks with identical structures at each access point and central processing unit, namely a deep Q-network and a deep deterministic policy gradient network. Step S5: Initialize the environment, initialize the parameters of the multi-agent reinforcement learning, and copy the parameters of the multi-agent reinforcement learning to the target deep Q network, target action network and target evaluation network in the deep Q network and deep deterministic policy gradient network, respectively. Step S6: In each time slot of each round, determine the set of users to be scheduled in each access point. For each agent, obtain the current state in all selectable sub-bands as the input of the local deep Q network, obtain the corresponding action through the local deep Q network, determine the user to be scheduled in the current time slot and the sub-band allocated, obtain the current state in the selected sub-band as the input of the action network in the deep deterministic policy gradient network, and obtain the action in this state, i.e. the selected transmit power factor, through the action network. After all agents execute the corresponding actions, calculate the current reward, i.e. the average weighted sum rate of the system. For each agent, obtain the state of the next time slot in all sub-bands, and store this state, the state in all sub-bands at the previous time, the action selected by the deep Q network, and the reward in sequence into the experience pool used to collect training deep Q network. Obtain the state of each agent in the next time slot in the currently selected sub-band, and store this state, the state in the selected sub-band at the previous time, the action selected by the action network, and the reward at the current time into the experience pool used to collect training DDPG network. Step S7: When the amount of experience in the two experience pools is sufficient, train the deep Q-network and the deep deterministic policy gradient network constructed in step S4. Step S8: Repeat steps S6 and S7 until a trained neural network is obtained, and copy the parameters of the trained neural network to the network at each access point. Solve user scheduling, sub-band selection and power control problems based on the trained deep learning network.

2. The method according to claim 1, characterized in that, The non-cellular network system model includes One access point and Single-antenna user Shared by one access point An allocable spectrum, the access point to user channel gain includes large-scale fading and small-scale fading, large-scale fading includes path loss and shadowing fading, and small-scale fading follows a first-order Gaussian Markov process.

3. The method according to claim 1, characterized in that, Based on the aforementioned cellular network system model, the mixed-integer linear programming problem involving joint user scheduling, sub-band selection, and power control includes: At the start of each round, the user set for each access point is determined based on the distance from the user to the access point. The user set is denoted as , dimension ,exist At any given time, each access point schedules one user from its corresponding user set, selects a sub-frequency band, and determines its own transmit power using binary variables. and Indicates in time slot Access point Should users in its user set be scheduled? and access point In the time slot Whether to select sub-band ,use Indicates access point In the time slot The transmission power, using , and Let the sub-band selection vector, user scheduling vector, and power control vector be respectively. The mixed-integer linear programming problem is as follows:    (1) (1a) (1b) (1c) (1d) (1e) Wherein, formula (1a) represents the access point transmit power limit, (1d) represents that each access point schedules only one user per time slot, and (1e) indicates that each access point in time slot Select only one sub-band; Based on the proportional fairness method, according to the access point users in At any moment Whether it is scheduled or not, its weight is calculated. :    (2) in, This indicates the average window size used.

4. The method according to claim 1, characterized in that, In step S4, the deep Q-network is used to solve the joint user scheduling and sub-band selection problem, and the deep deterministic policy gradient network is used to determine the transmit power used by each access point. The deep Q-network includes a local Q-network and a target Q-network. The two networks have the same structure, each containing 5 fully connected layers. The output of the network is the Q-value corresponding to each action in the action space, and the dimension is equal to the dimension of the action space. The deep deterministic policy gradient network contains four neural networks: an action network, a target action network, an evaluation network, and a target evaluation network. The action network and the target action network have the same structure, each containing 5 fully connected layers. The action network is responsible for giving the corresponding action based on the current input state. The evaluation network and the target evaluation network have the same structure, each containing 5 fully connected layers, and they give the Q-value for performing the corresponding action in the current state.

5. The method according to claim 4, characterized in that, In step S5, the parameters for multi-agent reinforcement learning include: two experience pools that store the training experiences of the deep Q-network and the deep deterministic policy gradient network, respectively. and The corresponding learning rate, the number of samples sampled per network update, the discount factor, the total number of training rounds, the time slots included in each training round, and the parameters of the local deep Q-network, action network, and evaluation network at each access point and central processing unit.

6. The method according to claim 5, characterized in that, Step S6 includes: Step S601, in any time slot of each training round For each intelligent agent It obtains the current state from the environment. , where this state The form defined for step S302; the state Enter the local Q network and use The greedy strategy determines the action in the current state. Obtain access point Scheduled users and the selected sub-band Then obtain the current state in the selected sub-band. , to this state Inputting the data into the action network yields the access point in the current state. transmit power factor ; Step S602: After all agents determine the current action, execute the action and calculate the current reward according to formula (5). ; Step S603, for each access point To obtain the state in all sub-bands at the next moment. And the state at the next time step in the currently selected sub-band. and set the experience value as well as Store them into the experience pool in sequence. and middle.

7. The method according to claim 6, characterized in that, Step S7 includes: Step S701, from the experience pool and Randomly sampled samples of size 1 experience points The empirical value extracted from it is expressed as , The empirical value extracted from it is expressed as ; Step S702: Train a deep Q-network. The goal of training a local deep Q-network is to minimize the loss function. Then, the parameters of the deep Q-network are updated using stochastic gradient descent, and the loss function is... for:    (6)    (7) in, For the target Q value, For the Q function of DQN, It is a discount factor. and These represent the parameters for the local DQN and the target DQN, respectively. The parameters of the target depth Q-network are updated using the soft update method shown in formula (8):    (8) in, This is a soft update factor; Step S703, train the deep deterministic policy gradient network. Optimizing the parameters of the action network involves finding the parameters that maximize the Q-value of the action network's output action. Specifically: (9) in, and These are the parameters for the action network and the target action network, respectively. The parameters of the action network are updated by optimizing formula (9) using gradient descent. For evaluating the network, similar to training a deep Q-network, the loss function is minimized. The network is trained and evaluated, and its parameters are updated using stochastic gradient descent. The loss function is... for:    (10)    (11) in, Indicates the target value. As a discount factor, and These are the parameters for the evaluation network and the target evaluation network, respectively. The target action network and the target evaluation network are updated using a soft update method:    (12) (13)。