CONTROL DEVICE, VIRTUAL NETWORK ALLOCATION METHOD, AND PROGRAM
Cooperative multi-agent reinforcement learning optimizes VN allocation by dividing demand into groups and adjusting action value functions, addressing conflicts and enhancing accuracy and efficiency in dynamic network allocation.
Patent Information
- Application Number
- JP2022571008
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-12-25
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-12-25
AI Technical Summary
Existing dynamic virtual network (VN) allocation methods face challenges in simultaneously achieving optimal and immediate allocation due to conflicts between agents in multi-agent reinforcement learning, leading to decreased allocation accuracy and inefficiency.
A control device employing cooperative multi-agent reinforcement learning (Coop-MARL) divides VN demand into groups, assigns agents to each group, and adjusts individual action value functions to maximize the overall action value function, optimizing VN allocation by learning cooperative behaviors.
This approach enhances allocation accuracy by avoiding conflicts between agents and improves the efficiency of VN allocation, achieving both optimality and immediacy in dynamic network adjustments.
Smart Images

Figure 0007544150000014 
Figure 0007544150000012 
Figure 0007544150000010
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for allocating a virtual network to a physical network. [Background technology]
[0002] With the development of NFV (Network Function Virtualization), it has become possible to run Virtual Network Functions (VNFs) on general-purpose physical resources. NFV is expected to improve resource utilization efficiency by sharing physical resources among multiple VNFs.
[0003] Examples of physical resources include network resources such as link bandwidth, and server resources such as CPU and HDD capacity. In order to provide high-quality network services at low cost, it is necessary to allocate optimal virtual networks (VNs) to physical resources.
[0004] VN allocation refers to the allocation of VNs, which consist of virtual links and virtual nodes, to physical resources. Virtual links represent network resource demands, such as the required bandwidth and delay between VNFs, and the connection relationships between VNFs and users. Virtual nodes represent server resource demands, such as the number of CPUs and memory required to run VNFs. Additionally, optimal allocation refers to allocation that maximizes the value of an objective function, such as resource utilization efficiency, while satisfying constraints such as service requirements and resource capacity.
[0005] In recent years, fluctuations in traffic and server resource demand have become more severe due to high-definition video distribution, OS updates, etc. Static VN allocation, which estimates demand based on the maximum value within a certain period and does not change allocation over time, reduces resource utilization efficiency, so there is a demand for dynamic VN allocation methods that can track fluctuations in resource demand.
[0006] A dynamic VN allocation method is a method for finding optimal VN allocation for time-varying VN demand. In a dynamic VN allocation method, it is necessary to simultaneously satisfy optimality and immediacy of allocation. However, there is a trade-off between the two, and there is a problem in that it is difficult to simultaneously satisfy optimality and immediacy of allocation. In order to increase the accuracy of the allocation result, it is necessary to increase the calculation time. However, an increase in calculation time directly leads to an increase in the allocation cycle, which results in a decrease in the immediacy of allocation. Similarly, in order to respond immediately to demand fluctuations, it is necessary to reduce the allocation cycle. However, a reduction in the allocation cycle directly leads to a reduction in calculation time, which results in a decrease in optimality of allocation. From the above, it is difficult to simultaneously satisfy optimality and immediacy of allocation.
[0007] As a means of solving the problems of dynamic VN allocation methods, a dynamic VN allocation method using reinforcement learning has been proposed (Non-Patent Documents 1 and 2). Reinforcement learning (RL) is a method for learning the behavior that will maximize the sum of rewards (accumulated rewards) that will be obtained in the future. In the existing methods disclosed in Non-Patent Documents 1 and 2, the relationship between the network state and the optimal allocation is learned in advance by RL, and optimization calculations at each time are not required, thereby simultaneously achieving optimality and immediacy of allocation.
[0008] The problem of finding the optimal VN allocation is a combinatorial optimization problem, and the number of candidate solutions for VN allocation (i.e., the number of actions) increases exponentially with the number of servers and VNs. In order to find the optimal VN allocation using RL, pre-learning according to the number of actions is necessary. In the technology of Non-Patent Document 1, the cost of pre-learning increases exponentially with an increase in the number of servers and VNs, so a mechanism for increasing scalability is necessary. For this reason, the technology of Non-Patent Document 2 introduces a mechanism for improving scalability with respect to the number of VNs by using multi-agents to the technology of Non-Patent Document 1. In the technology of Non-Patent Document 2, VN demand is grouped, an RL agent is prepared for each group, and the learning cost of each agent is reduced, thereby improving scalability with respect to the number of VNs. [Prior art documents] [Non-patent literature]
[0009] [Non-Patent Document 1] Akihito Suzuki, Yu Abiko, and Shigeaki Harada, "Dynamic Virtual Network Allocation Method Using Deep Reinforcement Learning," IEICE General Conference, B-7-48, 2019. [Non-Patent Document 2] Akihito Suzuki, Shigeaki Harada, "Dynamic Virtual Resource Allocation Method Using Multi-Agent Deep Reinforcement Learning," IEICE Technical Report, vol.119, no. 195, IN2019-29, pp. 35-40, September 2019. Summary of the Invention [Problem to be solved by the invention]
[0010] In the technology disclosed in Non-Patent Document 2, the number of agents that can act at each time is limited to one in order to prevent a decrease in allocation accuracy caused by multiple agents acting simultaneously and causing allocation conflicts between the agents. An example of allocation conflicts between agents is when multiple agents simultaneously try to move a virtual machine (VM) to a server with low resource utilization, causing the server to become overloaded. While limiting actions at each time in this way can prevent allocation conflicts, it also leads to a decrease in the accuracy of VN allocation.
[0011] The present invention has been made in consideration of the above points, and aims to provide a technology for allocating virtual networks to physical networks using multi-agent reinforcement learning, which improves allocation accuracy by avoiding a decrease in allocation accuracy due to allocation competition between agents. [Means for solving the problem]
[0012] According to the disclosed technology, there is provided a control device for allocating a virtual network to a physical network having links and servers by cooperative multi-agent reinforcement learning, the control device comprising: a pre-learning unit that divides the demand of the virtual network into a plurality of groups, assigns agents to each group, and learns an individual action value function that is an action value function for each agent so as to maximize a total action value function that is an action value function for all agents; an allocation unit that allocates a virtual network to the physical network by using the individual action value function for each agent learned by the pre-learning unit, The allocation unit selects an action for allocating a virtual network to the physical network so as to maximize a learned individual action value function for each agent. A controller is provided. Effect of the Invention
[0013] According to the disclosed technology, in a technology for allocating a virtual network to a physical network using multi-agent reinforcement learning, a technology is provided for improving the allocation accuracy by avoiding a decrease in allocation accuracy due to allocation competition between agents. [Brief description of the drawings]
[0014] [Figure 1] 1 is a system configuration diagram according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a functional configuration diagram of a control device. [Diagram 3] FIG. 2 is a diagram illustrating the hardware configuration of a control device. [Figure 4] FIG. 13 is a diagram illustrating the definition of variables. [Diagram 5] FIG. 13 is a diagram illustrating the definition of variables. [Figure 6] 4 is a flowchart showing the overall operation of the control device. [Figure 7] FIG. 13 is a diagram showing a reward calculation procedure. [Figure 8] FIG. 13 is a diagram showing a pre-learning procedure. [Figure 9] 5 is a flowchart showing a pre-learning operation of the control device. [Figure 10] FIG. 13 illustrates an allocation procedure. [Figure 11]13 is a flowchart showing an allocation operation of a control device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Hereinafter, an embodiment of the present invention (the present embodiment) will be described with reference to the drawings. The embodiment described below is merely an example, and the embodiment to which the present invention is applied is not limited to the following embodiment. References referred to in the following description of the embodiment are indicated as "[1]" or the like. The names of the references are listed at the end of the specification.
[0016] (Outline of the embodiment) In this embodiment, in order to solve the above-mentioned problems, a dynamic VN allocation method using cooperative multi-agent reinforcement learning (Coop-MARL) is used. In this method, a mechanism in which multiple agents cooperate to learn optimal VN allocation is introduced into the dynamic VN allocation method using multi-agent reinforcement learning (MARL) in reference [2]. This solves the problem of reduced allocation accuracy due to allocation competition between agents, and can improve allocation accuracy.
[0017] More specifically, in the technology according to this embodiment, similar to references [1, 2], the VN demand and the usage of the physical network at each time are defined as states, and changes in network paths and VN allocations are defined as actions. The optimal VN allocation method is learned by designing rewards according to objective functions and constraints.
[0018] In addition, in the technology according to the present embodiment, as in Reference [2], the VN allocation problem for the entire network is divided into multiple sub-problems by multi-agentization. That is, VN demand is divided into multiple groups, and an agent is prepared for each group, thereby improving scalability with respect to the number of VNs. Each agent learns the optimal VN allocation for the VNs included in each group in advance, and during actual control, the agent immediately determines the optimal VN allocation based on the learning results, thereby simultaneously achieving optimality and immediacy. In Reference [2], each agent independently learns the optimal behavior for each agent, whereas in the technology according to the present embodiment, each agent learns the optimal cooperative behavior for all agents.
[0019] (System Configuration) FIG. 1 shows an example of the configuration of a system according to this embodiment. As shown in FIG. 1, this system includes a control device 100 and a physical network 200. The control device 100 is a device that executes dynamic VN allocation using cooperative multi-agent reinforcement learning. The physical network 200 is a network that has physical resources to which VNs are allocated. The control device 100 is connected to the physical network 200 via a control network or the like, and can obtain status information from devices that constitute the physical network 200 and transmit setting commands to the devices that constitute the physical network 200. The control device 100 can also receive a user's VN demand from a user's management terminal or the like.
[0020] The physical network 200 has a plurality of physical nodes 300 and a plurality of physical links 400 connecting the physical nodes 300 together. A physical server is connected to the physical node 300. In addition, a user (user terminal, user network, etc.) is connected to the physical node 300. In other words, the physical server exists in the physical node 300, and the user exists in the physical node 300.
[0021] For example, when allocating a VN for communication between a user and a VM present on a certain physical node 300 to a physical resource, the physical server to which the VM is to be allocated and the route (a set of physical links) between the user (physical node) and the allocated physical server are determined, and settings are made in the physical network 200 based on the determined configuration. Note that a physical server may simply be called a "server," and a physical link may simply be called a "link."
[0022] Fig. 2 shows an example of the functional configuration of the control device 100. As shown in Fig. 2, the control device 100 has a pre-learning unit 110, a reward calculation unit 120, an allocation unit 130, and a data storage unit 140. The reward calculation unit 120 may be included in the pre-learning unit 110. Also, the "pre-learning unit 110, reward calculation unit 120" and the "allocation unit 130" may be provided in separate devices (such as a computer operated by a program). The functions of each unit are outlined below.
[0023] The pre-learning unit 110 calculates the action value function (Q of each agent, as described later) using the reward calculated by the reward calculation unit 120. k and Q of all agents tot The reward calculation unit 120 calculates the reward. The allocation unit 130 assigns the action value function Q k The allocation of VNs to physical resources is performed using the above. The data storage unit 140 has the function of a replay memory and stores parameters and the like required for calculations. The pre-learning unit 110 includes an agent in a learning model of reinforcement learning. "Learning an agent" corresponds to the pre-learning unit 110 learning an action value function. The detailed operation of each unit will be described later.
[0024] <Hardware configuration example> The control device 100 can be realized, for example, by causing a computer to execute a program. This computer may be a physical computer or a virtual machine.
[0025] That is, the control device 100 can be realized by executing a program corresponding to the processing performed by the control device 100 using hardware resources such as a CPU and memory built into a computer. The program can be recorded on a computer-readable recording medium (such as a portable memory) and stored or distributed. The program can also be provided via a network such as the Internet or email.
[0026] Fig. 3 is a diagram showing an example of the hardware configuration of the computer. The computer in Fig. 3 includes a drive device 1000, an auxiliary storage device 1002, a memory device 1003, a CPU 1004, an interface device 1005, a display device 1006, and an input device 1007, which are all connected to each other via a bus B.
[0027] The program for realizing the processing on the computer is provided by a recording medium 1001 such as a CD-ROM or a memory card. When the recording medium 1001 storing the program is set in the drive device 1000, the program is installed from the recording medium 1001 to the auxiliary storage device 1002 via the drive device 1000. However, the program does not necessarily have to be installed from the recording medium 1001, but may be downloaded from another computer via a network. The auxiliary storage device 1002 stores the installed program as well as necessary files, data, etc.
[0028] The memory device 1003 reads out and stores the program from the auxiliary storage device 1002 when an instruction to start the program is received. The CPU 1004 realizes functions related to the control device 100 in accordance with the program stored in the memory device 1003. The interface device 1005 is used as an interface for connecting to a network, and functions as an input means and an output means via the network. The display device 1006 displays a GUI (Graphical User Interface) or the like according to a program. The input device 157 is composed of a keyboard and mouse, buttons, a touch panel, or the like, and is used to input various operation instructions.
[0029] (Variable definition) The definitions of variables used in the following explanation are shown in Figure 4 and Figure 5. First, Figure 4 shows the variable definitions related to VN allocation. As shown in Figure 4, the variables are defined as follows.
[0030] t∈T: time step (T: total number of time steps) N: Number of VNs G(N,L): Network graph (N: set of nodes, L: set of links) n∈N, z∈Z: node, server c Z i :Server capacity c L ij :Link capacity P:={p i}: User placement D t :={d i t}: Traffic demand V t :={v i t}:VM demand u L ij,t :Link utilization u Z i,t :Server utilization rate U L t =max ij (uL ij,t ): Maximum link utilization U Z t =max i (u Z i,t ): Maximum server utilization R L t :={r L ij,t}: remaining link capacity R Z t :={r Z i,t}: Remaining server capacity Y t :={y ij,t}: A set of VM allocations in t (e.g., VMi is assigned to physical server j). P(Y t ,Y t+1 ): Penalty function In the above definition, the link utilization rate u L ij,t is "1-remaining link capacity / total capacity" for link ij. Also, the server utilization rate u Z i,t is "1-remaining server capacity / total capacity" for server i.
[0031] Figure 5 shows the definition of variables for Coop-MADRL. As shown in Figure 5, the variables are defined as follows. Note that the action value function Q k is called the individual action value function, and the action value function Q of all agents is tot This number can be called the overall action value function.
[0032] e∈E: episode (E: total number of episodes) G:={g k}: agent set (1≦k≦N) s t ∈S: state (S: set of states) O:={O k}: The set of observations of all agents o k t ∈O k: Observations of each agent o t :={o k t}: Observations of all agents A:={A k}: The set of all agent actions (A k :Action set) a k t ∈A k : Behavior of each agent a t :={a k t}: Actions of all agents r t :Reward Q k (o k t ,a k t ): Action value function of each agent Q tot (o t ,a t ): Action value function of all agents M: Replay memory (Dynamic VN Allocation Problem) The dynamic VN allocation problem in this embodiment, which is the premise of pre-learning and actual control, will be described.
[0033] In this embodiment, each VN demand is assumed to be composed of traffic demand as a virtual link and VM demand (virtual machine demand) as a virtual node. As shown in FIG. 1, it is assumed that a physical network G(N,L) is composed of physical links L and physical nodes N, and each physical node N is connected to each physical server Z. In other words, it is assumed that G(N,L)=G(Z,L). In addition, each server and each link has a server capacity c, which means an upper limit of the resource amount allocated. Z i and link capacitance c L ij Set.
[0034] Here, we consider N VN demands. Assume that each user requests one VN demand. The VN demand is a set of traffic demands D t , VM size V t Here, the VM size indicates the processing capacity of the VM requested by the user, and when the server is allocated, the server capacity is consumed by the VM size. When the VN demand is allocated to the physical network, D t and V t It is assumed that network resources and server resources are consumed for this amount.
[0035] The control device 100 of this embodiment allocates VNs to the physical network by solving a dynamic VN allocation problem for the above physical network and VN demand. The dynamic VN allocation problem has as its objective function the maximum link utilization rate U L t and maximum server utilization rate U Z t The task is to minimize the sum of the following equation:
[0036]
number
[0037] Fig. 6 is a flowchart showing the overall operation of the control device 100. As shown in the flowchart in Fig. 6, in this embodiment, first, the pre-learning unit 110 performs pre-learning for each agent and for all agents (S100). After that, the allocation unit 130 performs actual control based on the action value function of the learned agent, that is, settings for allocating virtual networks to physical networks, etc. (S200).
[0038] In this embodiment, we assume discrete time steps and assume that the VN demand changes at each time step. In actual control, at each time step t, the VN demand is first observed. Next, based on the observed value, the learned agent calculates the optimal VN allocation at the next time step t+1. Finally, based on the calculation result, the route and VM placement are changed.
[0039] (About the Coop-MARL algorithm) Next, we explain the Coop-MARL algorithm. The definitions of variables related to the Coop-MARL algorithm are shown in Figure 5.
[0040] Let the number of VNs be N and the number of agents be M. Divide the VN demand into groups with the same number of agents. The allocation of the kth VN group is made by agent g k When the number of VNs is N, the number of servers is |Z|, and the number of candidate routes is limited to one, the number of actions is |Z| N become.
[0041] In this embodiment, similar to the technology in reference [2], the VN demand is divided into M (1≦M≦N) parts, and the number of actions of each agent is |Z| N / M By reducing the number of VNs to 4, the number of servers is 2, and the number of agents is 1, the number of candidates for VN allocation (i.e., the number of actions) is 2. 4 = 16. When the number of agents is 4, the number of candidates for VN allocation for each agent is 2 4 / 4 =2 1 = 2. For simplicity, let us assume that N = M, that is, we prepare the same number of agents as the number of VNs.
[0042] In the pre-learning, the pre-learning unit 110 calculates an action value function Q(s t ,a t ) is learned. The action value function Q(s t ,a t ) is the state s t Action a trepresents an estimate of the cumulative reward obtained when choosing s. In a multi-agent environment, each agent is in state s t Assume that only a portion of is observable, and let each agent's observations be k In this case, the action value function of the kth agent is Q k (o k ,a k )
[0043] In this embodiment, the action value function of the kth agent is Q k Let the overall action value function be Q tot Let us assume that. Q k represents the action value for each agent, and Q tot represents the action value for all agents. In the technique described in [2], the kth agent has Q k In contrast, in this embodiment, all agents learn actions that maximize Q tot The pre-learning unit 110 learns the action that maximizes Q tot Q k Calculation is based on Q tot Q k The method of calculating based on is not limited to a specific method, but can be calculated, for example, by the following formula (2) (Reference [4]). In other words, in formula (2), Q k (o k ,a k ) for all agents, Q tot It states that:
[0044]
number
[0045] To explain in more detail, pre-learning is t :={o kt}, action a t :={a k t}, reward r t A phase of collecting training sample data consists of Q k In the phase of collecting training sample data, at step t, each agent k t Each agent observes its own Q k Based on Q k The action that maximizes
[0046]
number
[0047] In the learning phase, the collected sample data (o j ,a j ,r j ,o j+1 ) based on Q k Update. First, Q k Based on Q tot Then, based on the reinforcement learning algorithm, we calculate Q tot Q so that k That is, Q k In the existing method, each Q k Each Q k In this embodiment, Q tot Each Q k By updating, we can select the optimal action for all agents.
[0048] In this embodiment, the learning algorithm of the reinforcement learning is not limited, and any learning algorithm can be applied. For example, the technology disclosed in reference [3] can be used as the learning algorithm of the reinforcement learning. An example of the learning algorithm when the technology of reference [3] is used will be described.
[0049] As shown below, Q k Consider approximating using a neural network.
[0050]
number
[0051]
number
[0052] During actual control, similar to the phase of collecting learning sample data for pre-learning, each Q k Select the action that maximizes Q k Q tot Q k Therefore, it is possible to select coordinated actions that take into account other agents.
[0053] (modeling) Next, a learning model of reinforcement learning in this embodiment will be described. In the learning model of reinforcement learning, state s t , action a t , reward r t As mentioned before, we assume that each agent can only observe a part of the state. t s t =[D t ,V t ,R L t ,R Z t ]. Also, agent g at time t k Observations of k t O k t =[d k t ,v k t ,R L t ,R Z t ] where D t and V t is the traffic demand and VM size, and R L t and R Z t is the remaining bandwidth of each link and the remaining capacity of each server. The remaining bandwidth of each link is r L ij、t =1-c L ij u L ij、t Calculate with r Z i,t The same calculation is performed for |Z| candidate VN allocations. k At each time, A k Action from a k t In this model, we assume that the route to the assigned server is uniquely determined, and the VN allocation is determined by the combination of the VM and the assigned server.
[0054] g kThe reward calculation procedure is shown in Fig. 7. This procedure is executed by the reward calculation unit 120 of the control device 100. Eff(x) in the first line represents an efficiency function, which is a function defined as follows such that Eff(x) decreases as x increases.
[0055]
number
[0056] In the second to fourth lines of the reward calculation procedure shown in FIG. 7, a penalty is given according to the reallocation of VNs in order to prevent unnecessary VN reallocation. In the second line, the reward calculation unit 120 gives a penalty according to the reallocation of VNs (Y t and Y t+1 are different), proceed to the third line and t -P(Y t ,Y t+1 ) to r t Let P(Y t ,Y t+1 ) is a penalty function for suppressing VN rearrangement. When suppressing rearrangement, the P value is set to be large, and when allowing rearrangement, the P value is set to be small. Here, Y t represents the allocation state of the VM.
[0057] The operations of pre-learning and actual control will be described in detail below.
[0058] (Pre-learning operation) FIG. 8 shows a pre-learning procedure (pre-learning algorithm) of Cooperative Multi-Agent Reinforcement Learning (Coop-MARL) executed by pre-learning unit 110.
[0059] A series of actions in time step E is called an episode, and the episode is repeated until learning is completed. At the beginning of each episode (lines 2 to 18), pre-learning unit 110 generates candidates for learning traffic demand and VM demand for step number E for all VNs.
[0060] After that, the pre-learning unit 110 repeatedly executes a series of steps (lines 5 to 16).
[0061] Lines 6 to 11 are used to calculate the learning sample for each agent (state o k t , action a k t ,reward r t ,Next state o k t+1 (pair of ) and store them in the Replay Memory M. In generating the training samples, the current observation o k t and Q k Action selection according to action a k t Update the state based on the updated observations (rearrangement of VN) k t Reward in r t The calculation is performed for each agent.
[0062] Lines 12 to 14 indicate the episode termination condition. In this model, r t =-1 is the termination condition. In line 17, the learning samples of episodes 0 to E are stored in Replay Memory M. In line 18, a learning sample is randomly taken from Replay Memory M and the agent is trained. In agent training, as mentioned above, Q tot Each Q k Learn about the following:
[0063] As described above, the present embodiment is not limited to a specific learning algorithm for reinforcement learning, and can be applied to any learning algorithm. For example, [3] can be used as the learning algorithm for reinforcement learning.
[0064] An example of the operation of the pre-learning unit 110 based on the above-mentioned reward calculation procedure will be described with reference to the flowchart of FIG.
[0065] Note that the observation of the state and the actions (allocation of VNs to physical resources) in the pre-learning may be performed on the actual physical network 200, or may be performed on a model equivalent to the actual physical network 200.
[0066] In S101 , the pre-learning unit 110 generates candidates for learning traffic demands and VM demands for the E number of steps, and stores them in the data storage unit 140 .
[0067] S101 to S106 are executed while t is smaller than T. Furthermore, S103 to S105 are repeatedly executed for each of episodes 0 to E.
[0068] In S102, the pre-learning unit 110 (each agent) k t Each agent observes his / her own Q k Based on Q k Action a that maximizes k t In other words, each agent selects the value of the action value function (Q k ) is maximized by selecting the server to which the VN assigned to it is assigned.
[0069] In S103, the pre-learning unit 110 (each agent) sets the selected action (VN allocation) in the physical network 200 and performs the observation t Update it to o t+1 In addition, in S104, the reward calculation unit 120 calculates the reward rt The following calculation is performed.
[0070] In S105, the pre-learning unit 110 performs pre-learning on the collected learning sample data (o j ,a j ,r j ) in the Replay Memory M (data storage unit 140). In S106, the pre-training unit 110 randomly selects a training sample from the Replay Memory M (data storage unit 140) and stores Q tot Each agent is trained so that the action value function Q k Learn about the following:
[0071] (Actual control operation) FIG. 10 shows a dynamic VN allocation procedure using Cooperative Multi-Agent Reinforcement Learning (Coop-MADRL) executed by the allocation unit 130 of the control device 100.
[0072] The first line of Figure 10 is g k This represents the pre-learning of , as explained above. After that, lines 2 to 8 are repeated at each time. At a certain time, in line 4, the state o k t In line 5, the state o k t Based on Q k (o k t ,a´) is maximized by the action a k t Lines 4 and 5 are executed for each agent. Line 7 updates the VN allocation.
[0073] An example of the operation of the allocation unit 130 based on the above-mentioned actual control procedure will be described with reference to the flowchart of Fig. 11. S201 to S203 are executed at each time step.
[0074] In S201, the allocation unit 130 calculates the state o of each agent at time t. k t(VM demand, traffic demand, remaining link capacity, remaining server capacity) are observed (acquired). Specifically, for example, VM demand and traffic demand are received from each user (user terminal, etc.), and the remaining link capacity and remaining server capacity are acquired from physical network 200 (or from an operation system monitoring physical network 200). Note that the VM demand and traffic demand may be values obtained by demand forecasting.
[0075] In S202, the allocation unit 130 assigns Q k (o k t ,a´) is maximized by the action a k t That is, the allocation unit 130 selects Q k (o k t The server to which the VM in each agent's VN is assigned is selected so that a´ is maximized.
[0076] In S203, the allocation unit 130 updates the state. Specifically, the allocation unit 130 performs settings for allocating VMs to each allocation destination server in the physical network 200 for the VN of each agent, and performs route settings in the physical network 200 so that traffic according to demand flows through a correct route (a set of links).
[0077] (Effects of the embodiment) As described above, in this embodiment, the action value Q tot The system is equipped with a mechanism for learning the behavior of each agent that maximizes the allocation accuracy, and by learning cooperative control between agents, it is possible to solve the problem of reduced allocation accuracy due to allocation competition between agents and improve allocation accuracy.
[0078] (Summary of the embodiment) This specification discloses at least the following control device, virtual network allocation method, and program. (Section 1) A control device for allocating a virtual network to a physical network having links and servers by cooperative multi-agent reinforcement learning, comprising: a pre-learning unit that divides the demand of the virtual network into a plurality of groups, assigns agents to each group, and learns an individual action value function that is an action value function for each agent so as to maximize a total action value function that is an action value function for all agents; an allocation unit that allocates a virtual network to the physical network using the individual action value function for each agent learned by the pre-learning unit; A control device comprising: (Section 2) The pre-learning unit uses the sum of the individual action value functions for the agents as the overall action value function. 2. The control device according to claim 1. (Section 3) The allocation unit selects an action for allocating a virtual network to the physical network so as to maximize a learned individual action value function for each agent. 3. The control device according to claim 1 or 2. (Section 4) A virtual network allocation method executed by a controller for allocating a virtual network to a physical network having links and servers by cooperative multi-agent reinforcement learning, comprising: a pre-learning step of dividing the demand of the virtual network into a plurality of groups, allocating agents to each group, and learning an individual action value function, which is an action value function for each agent, so as to maximize a total action value function, which is an action value function for all agents; an allocation step of allocating a virtual network to the physical network using the individual action value function for each agent learned in the pre-learning step; A virtual network allocation method comprising: (Section 5) A program for causing a computer to function as each part of the control device described in any one of claims 1 to 3.
[0079] Although the present embodiment has been described above, the present invention is not limited to such a specific embodiment, and various modifications and variations are possible within the scope of the gist of the present invention described in the claims.
[0080] [References] [1] Akihito Suzuki, Yu Abiko, and Shigeaki Harada, "A Study on Dynamic Virtual Network Allocation Method Using Deep Reinforcement Learning," IEICE General Conference, B-7-48, 2019. (Corresponding to Non-Patent Document 1) [2] Akihito Suzuki, Shigeaki Harada, "Dynamic Virtual Resource Allocation Method Using Multi-Agent Deep Reinforcement Learning," IEICE Technical Report, vol.119, no. 195, IN2019-29, pp. 35-40, September 2019. (Corresponding to Non-Patent Document 2) [3] V. Mnihet al., "Human-level control through deep reinforcement learning," Nature, vol. 518, no. 7540, p. 529, 2015. [4] P. Sunehag al., "Value-decomposition networks for cooperative multi-agent learning based on team rewar," in Proc. AAMAS, 2018, pp. 2085-2087. [Explanation of symbols]
[0081] 100 Control device 110 Pre-Learning Section 120 Remuneration Calculation Department 130 Allocation Section 140 Data Storage Unit 200 Physical Network 300 physical nodes 400 physical links 1000 Drive Device 1001 Recording media 1002 Auxiliary storage 1003 Memory device 1004 CPU 1005 Interface device 1006 Display device 1007 Input Device
Claims
1. A control device for allocating a virtual network to a physical network having links and servers by cooperative multi-agent reinforcement learning, comprising: a pre-learning unit that divides the demand of the virtual network into a plurality of groups, assigns agents to each group, and learns an individual action value function that is an action value function for each agent so as to maximize a total action value function that is an action value function for all agents; an allocation unit that allocates a virtual network to the physical network by using the individual action value function for each agent learned by the pre-learning unit, The allocation unit selects an action for allocating a virtual network to the physical network so as to maximize a learned individual action value function for each agent. Control device.
2. The pre-learning unit uses the sum of the individual action value functions for the agents as the overall action value function. The control device according to claim 1 .
3. A virtual network allocation method executed by a controller for allocating a virtual network to a physical network having links and servers by cooperative multi-agent reinforcement learning, comprising: a pre-learning step of dividing the demand of the virtual network into a plurality of groups, allocating agents to each group, and learning an individual action value function, which is an action value function for each agent, so as to maximize a total action value function, which is an action value function for all agents; an allocation step of allocating a virtual network to the physical network by using the individual action value function for each agent learned in the pre-learning step, In the allocation step, an action of allocating a virtual network to the physical network is selected so that a learned individual action value function for each agent is maximized. Virtual network allocation method.
4. A program for causing a computer to function as each unit in the control device according to claim 1 or 2.
