The following disclosure(s) arc submitted under 35 U.S.C. 102(b)(1)(A):
“Decentralized Bilevel Optimization for Personalized Client Learning,” Songtao Lu, Xiaodong Cui, Mark S. Squillante, Brian Kingsbury, Lior Horesh, ICASSP 2022-2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), 23-27 May 2022 (5 pages) (publicly available on 27 Apr. 2022).
The present invention relates to distributed machine learning, and more particularly, to decentralized bilevel optimization for personalized learning over a heterogenous network.
Deep learning is applied for a variety of different applications. One such application is automatic speech recognition where spoken language is translated into text, which enables a user to interact with a computing device without the user having to input text.
Deep learning neural networks trained in a supervised manner on large datasets can make remarkably accurate predictions. However, when data samples are limited or there are multiple training tasks, data heterogeneity becomes one of the major barriers that prevents an increase in testing and validation accuracy.
As such, there is a need for learning algorithms that can balance the personalized data structure of each task and the permutation-invariant latent space/features among all of the tasks. Some approaches leverage the similarities among tasks over heterogenous datasets, for example, by building two levels of learners, i.e., a meta-learner and a task-specific learner, which respectively minimize the task-averaged loss and individual loss of each task.
However, these bilevel approaches are centralized. Thus, when multiple computing resources/clients are connected through communication channels, existing decentralized optimization algorithms are not equipped to solve bilevel programming problems over a network, especially when the programming problems are different amongst the clients.
Accordingly, decentralized bilevel optimization techniques over heterogeneous networks that take into account local client data structures for personalized client learning would be desirable.
The present invention provides decentralized bilevel optimization techniques for personalized learning over a heterogenous network. In one aspect of the invention, a decentralized learning system is provided. The decentralized learning system includes: a distributed machine learning network with multiple nodes, and datasets associated with the nodes; and a bilevel learning structure at each of the nodes for optimizing one or more features from each of the datasets using a decentralized bilevel optimization solver, while maintaining distinct features from each of the datasets.
In another aspect of the invention, a method for decentralized learning is provided. The method includes: accessing datasets associated with nodes in a distributed machine learning network; optimizing one or more features from each of the datasets using a decentralized bilevel optimization solver, where distinct features from each of the datasets are maintained during the optimizing; and training a distributed machine learning model using each of the datasets which includes the one or more features that have been optimized.
A more complete understanding of the present invention, as well as further features and advantages of the present invention, will be obtained by reference to the following detailed description and drawings.
Decentralized optimization has advanced machine learning significantly over the past few years. With decentralized optimization, data is distributed to multiple networked computing resources (also referred to herein as “clients” or “agents”). Each agent has access only to the data related to their particular computing task. However, the agents are connected through communication channels, and thus work collectively at solving a finite-sum problem. By comparison with centralized optimization schemes, decentralized optimization does not employ a central server to collect results from the agents.
However, as highlighted above, heterogeneous data distributions at different nodes/locations provide a major obstacle for decentralized optimization. See, for example,
In this example, each node has a data distribution (probability density function) that is different, i.e., heterogeneous, from its neighboring nodes. For instance, as shown in
Advantageously, provided herein is a stochastic primal-dual algorithm for solving decentralized bilevel optimization problems and building a general decentralized training framework for personalized client learning. Bilevel optimization is a problem-solving framework in which two (upper and lower) levels of optimization problems need to be solved with coupled variables in both the upper and lower levels. For instance, an objective in the upper level is minimized using a constraint provided by another optimization problem in the lower level. As an application of decentralized bilevel optimization, personalized client learning aims to separate the shared feature space and the private space so that the training process can be accelerated by leveraging the data over the network without loss of personalized local features (e.g., local client data structures are taken into account).
For instance, as shown in
The present personalized client learning scheme for training over heterogeneous networks can be formulated as follows. Similar to the distributed machine learning network 10 of
The goal of the networked agents/learners is to jointly minimize the following (possibly nonconvex) optimization problem:
where I(⋅) denotes a general loss function, wi is the model weight parameter at each node, denotes the neighboring learners of node i, and the transform function:
*(wi;ξ)=arg l(wi,(ξ)),ξ˜
extracts and processes the distinct features (relative to the rest of the nodes) to canonicalize data heterogeneity as highlighted above. Namely, a feature is distinct if it is unique to the dataset at a particular node, as compared to the other nodes. In practice, mapping (⋅) is parameterized either in a linear or nonlinear way. Thus, as will be described in detail below, the n agents/learners are collectively learning a distributed machine learning model (decentralized optimization) which involves two levels of learning at each node (bilevel optimization), i.e., an upper-level learning system and a lower-level learning system. The upper-level learning system (e.g., a global consensus model implemented at each node) extracts a permutation invariant latent space y thereby reducing variance of data through the aggregation process, such that all data samples in the network can be utilized (for personalized client learning). The lower-level learning system (e.g., an individual learning model implemented at each node) adapts the individual data distributions to the permutation invariant latent space. The advantages of such a framework are that this structure canonicalizes the local data structure, so that the heterogeneity of the network is removed for the consensus process and the generalization performance of the full model is improved.
As shown in
Given the above overview,
According to an exemplary embodiment, the steps of methodology 300 are performed in conjunction with a distributed machine learning network such as distributed machine learning network 10 of
Namely, in step 304, features from each of the datasets accessed in step 302 are optimized using a decentralized bilevel optimization problem. Generally, these features can be the variables or some other attributes in the datasets. For instance, a common practice is to pick a subset of variable that can be used as a good predictor for a machine learning model. Advantageously, the distinct features from each of the datasets are maintained during this optimization process. According to an exemplary embodiment, the optimization in step 304 is performed using the following linearly constrained bilevel optimization problem:
is a smooth loss function (possibly nonconvex), i(u), and i(l) denote the local data distributions at the upper and lower levels of this optimization problem, respectively, gi(⋅) denotes the lower-level loss function at node i,
and A∈ represents an incidence matrix. Without loss of generality, it is being assumed that the problem dimension is 1 in order to simplify the notation.
For instance, referring briefly to methodology 400 in
Referring back to methodology 300 of
Also provided herein is a stochastic primal-dual framework that can be implemented in the present system to ensure that the distributed machine learning model is obtained efficiently and with theoretical guarantees. A primal-dual method is used in designing algorithms for combinatorial optimization problems.
Towards this end, an augmented Lagrangian is first introduced:
λ∈n denotes the dual variable that enforces the consensus of the primal variables, i.e., Ax, and ρ>0 is the penalty parameter of the augmented term.
For the stochastic primal-dual structure, one can define
∀i and define
The proposed stochastic primal-dual algorithm for solving Equation 1 is:
where r indexes iterations,
hgr and hƒr are stochastic estimates of ∇yg(xr,yr) and n1
As the objective function in the x sub-problem is quadratic, a closed-form expression for the x update can be obtained as:
Then, subtracting Equation 4 with the same from its previous iteration, the following update of x can be obtained after using Equation 3b:
where WI−ρATA/α. Therefore, the above primal and dual updates can be merged into a single step.
A detailed implementation of the present stochastic primal-dual decentralized algorithm for bilevel optimization (SPDB) 500 from a local view is shown in
It is notable that, when there is no lower-level optimization problem, the present stochastic primal-dual decentralized algorithm for bilevel optimization 500 reduces to a stochastic primal-dual decentralized (SPD) algorithm, however with a different ordering of the local update and weights aggregation from neighbors. When full gradient is used, the stochastic primal-dual decentralized (SPD) algorithm reduces to a deterministic gradient primal-dual algorithm. It is also notable that the present stochastic primal-dual decentralized algorithm for bilevel optimization 500 (like SPD) only needs one communication round per iteration, which is half that of gradient tracking technique algorithms.
As provided above, the present stochastic primal-dual decentralized algorithm for bilevel optimization ensures that the distributed machine learning model is obtained efficiently and with theoretical guarantees. A discussion of theoretical convergence results follows. The theoretical results provided herein are based on the following assumptions (A1-A4) on the properties of the loss functions in both the upper and lower-level optimization problems, which are mainly related to the continuity of the objective function and stochasticity of the gradient estimates:
A1. (Lipschitz continuity): assume that functions ƒi(⋅), ∇ƒi(⋅), ∇gi(⋅), ∇2g(⋅), ∀i are Lipschitz continuous with constants Lƒ,0, Lƒ,1, Lg,1, Lg,2 for both x and y.
A2. (Strong convexity of g (⋅) w.r.t. y): function g(⋅) is μ-strongly convex w.r.t. y.
A3. (Connectivity of graph): the communication graph is well connected, i.e., 1T L=0 where L=ATA, and the second smallest eigenvalue of L is strictly positive, i.e., {tilde over (σ)}min (ATA)>0.
A4. (Stochasticity of gradient estimate): the stochastic estimates ∀x
Regarding convergence analysis of the present stochastic primal-dual decentralized algorithm for bilevel optimization, it can be first shown that the difference between two successive x—iterates is upper bounded in the order of 1/α2 by the following lemma:
Lemma 1: under assumptions A1, A3, A4, suppose that iterates {xr,∀r} are generated by Equation 5, above. Then, there exists a constant C such that ∥xr+1−xr∥2≤C2/α2,∀r, where C only depends on the constants defined in A1, A3, A4.
One can define r σ{y0, x0, . . . , xr, yr+1} to be the filtration of the random variables up to iteration r where σ{⋅} denotes the σ-algebra generated by the random variables. Then, the changes of the Lagrangian (x, λ)=n−11Tƒ (x,y*(x))+λ, Ax can be quantified from point (xr,λr) to (xr+1,λr+1) after one round of variable updates in the following lemma:
Lemma 2: under assumptions A1-A4, when ∥[hƒr|xr,yr+1]−
where σmax(ATA) denotes the maximum eigenvalue of ATA.
Next, the successive difference of the primal variables and the distance from yr to the minimizer of the lower-level optimization problem at point xr are used to quantify the successive difference of the dual variables in the ascent part of the Lagrangian:
Lemma 3: under assumptions A1-A4, define DαI−ρATA. Suppose that the sequence {xr,yr,λr} is generated by the present stochastic primal-dual decentralized algorithm for bilevel optimization. Then, the following is obtained:
Now, the ascent part measured by the successive difference of the dual variables is partially transferred to the term ∥[ωr+1]∥2. Using Equation 4 above, the following recursion can be constructed which establishes descent w.r.t. ∥[ωr+1]∥2:
Lemma 4: under assumptions A1-A4, suppose that the sequence is generated by the present stochastic primal-dual decentralized algorithm for bilevel optimization. Then, there exists a constant ∂>0 such that
Combining the contraction property of the lower-level optimization update w.r.t. y shown in Lemma 3, the following descent lemma is obtained by applying Lemma 1-Lemma 4:
Lemma 5: under assumptions A1-A4, suppose that sequence {xr,yr,λr,∀r} is generated by the present stochastic primal-dual decentralized algorithm for bilevel optimization. When
and the step-sizes satisfy α>{tilde over (C)}′Lƒ,1 and {tilde over (C)}″/α<β≤2/(μ+Lg,1), then there exist constants C1,C2,C3,C4,C5>0 such that:
where the potential/Lyapunov-like function is defined as:
and the constants {tilde over (C)}′, {tilde over (C)}″ only depend on the parameters defined in A1-A4.
Regarding the theoretical convergence rate of the present stochastic primal-dual decentralized algorithm for bilevel optimization, from the above analysis it is known that the potential function r is monotonically decreasing up to some error. Combining the facts that br,∀r shrinks exponentially w.r.t. the mini-batch size of hƒr under a certain sampling scheme and that ′ is lower bounded will immediately yield the following theoretical convergence rate guarantees.
Theorem 1: suppose that assumptions A1-A4 hold. When step-sizes are chosen as α˜(√{square root over (T/n)}), β˜(√{square root over (n/T)}), the mini-batch size of hƒr is (log (T)), ρ/α˜(1), and T≥(n4), then the iterates {xir,λr,yir,∀i,r} generated by the present stochastic primal-dual decentralized algorithm for bilevel optimization satisfy:
with T−1Σr=1T[∥yr−y*(xr)∥2]˜(1/√{square root over (nT)}), where T denotes the total number of iterations.
It is notable that passing the limit of the sequence, one can get that the limit point (x*, y*, λ*) is an exact Karush-Kuhn-Tucker point of problem (1). It is also notable that Theorem 1 quantifies the number of iterations required to achieve the e-approximate Karush-Kuhn-Tucker points of (1) (including both the first-order stationarity of the solutions and the constraints violation) in an order of 1/(n∈2). Therefore, it follows that a linear speedup w.r.t. the number of learners can be achieved by the present stochastic primal-dual decentralized algorithm for bilevel optimization. Note that the present stochastic primal-dual decentralized algorithm for bilevel optimization is a single timescale algorithm as the learning rates satisfy 1/α-˜β˜(√{square root over (n/T)}).
The present techniques are now described by way of reference to the following non-limiting examples. In a first example, performance of the present stochastic primal-dual decentralized algorithm for bilevel optimization (SPDB) is compared to that of state-of-the-art decentralized training methods, i.e., decentralized parallel stochastic gradient descent (DSGD), gradient-tracking based nonconvex stochastic algorithm for decentralized optimization (GNSD), and a decentralized parallel stochastic gradient descent with variance reduction (SPD/D2) on a decentralized classification learning problem using a dataset of images. The neural network for each agent has only one hidden layer with 32 neurons followed by sigmoid activation functions, where the weights at the last layer are used for adaptation and the rest of the weights must agree across the learners, and where there are 10 learners connected over a random Erdos-Renyi graph. The whole dataset was split such that in the ith agent 95% of the data samples have label i and the remaining samples are drawn randomly from the full dataset. The initial learning rate of all of the algorithms is 0:02, the mini-batch sizes for both hƒr and hgr are 16, and the ratio ρ/α in SPDB is 0:2.
As shown in
In another example, experiments were also conducted on decentralized training of acoustic models for automatic speech recognition (ASR). There were 50 hours of wideband speech data from five different sources, with each source contributing 10 hours of speech. In these experiments, there were five learners, each with access to only one data source, which gave rise to heterogeneous data distributions across learners. In addition to the 10 hours of training data, each learner also had about 2 hours of speech used as a heldout set.
The acoustic model used was a bi-directional Long Short-Term Memory (BLSTM) based deep neural network-hidden Markov model (DNN-HMM) containing 5 bidirectional LSTM layers with 256 cells per layer per direction. There was a linear projection layer of 256 hidden units between the topmost BLSTM layer and the softmax output layer. There were 9,300 output units in the softmax output layer corresponding to context-dependent HMM states. The LSTM was unrolled over 21 frames and trained with non-overlapping feature subsequences of that length. The dimensionality of the input features was 120 which was a 40-dim logmel and its A and Δ2 coefficients. Therefore, a batch of size M consisted of M 21-frame subsequences and the corresponding tensor was of size M×120×21. A learner-specific 121×120 affine transform layer was used to transform the input features prior to the first layer of the LSTM. It was initialized to an identity matrix and zero bias vector. The decoding vocabulary included 260K words and the language model (LM) was a 4-gram LM with 200 M n-grams and modified Kneser-Ney smoothing built using publicly available training data from a broad variety of sources.
Training minimized cross-entropy loss on 5 K80 GPUs using stochastic gradient descent (SGD) without momentum. The communication graph among learners was a ring. In each iteration, every learner only communicated with its left and right neighbors. The initial learning rate was 1.0, it was annealed by 1/√{square root over (2)} after the 20th epoch, and training finished in 30 epochs. The batch size was 256 21-frame subsequences.
In personalized client learning, the affine transform layer was optimized locally. In each iteration, the local transform was first optimized by one-step SGD. Then, the remaining model parameters were averaged between left and right neighbors and updated by one-step SGD. For optimization of the local transform (i.e., the bottom layer of the model), the initial learning rate was 0:02 and it was annealed by 1/√{square root over (2)} after the 20th epoch, same as the model learning rate schedule. No momentum was used. For illustrative purposes only, plots of the training and heldout losses for two of the learners, arbitrarily learner 1 and learner 4, are shown in
As will be described below, the present techniques can optionally be provided as a service in a cloud environment. For instance, by way of example only, one or more steps of methodology 300 of
Various aspects of the present disclosure are described by narrative text, flowcharts, block diagrams of computer systems and/or block diagrams of the machine logic included in computer program product (CPP) embodiments. With respect to any flowcharts, depending upon the technology involved, the operations can be performed in a different order than what is shown in a given flowchart. For example, again depending upon the technology involved, two operations shown in successive flowchart blocks may be performed in reverse order, as a single integrated step, concurrently, or in a manner at least partially overlapping in time.
A computer program product embodiment (“CPP embodiment” or “CPP”) is a term used in the present disclosure to describe any set of one, or more, storage media (also called “mediums”) collectively included in a set of one, or more, storage devices that collectively include machine readable code corresponding to instructions and/or data for performing computer operations specified in a given CPP claim. A “storage device” is any tangible device that can retain and store instructions for use by a computer processor. Without limitation, the computer readable storage medium may be an electronic storage medium, a magnetic storage medium, an optical storage medium, an electromagnetic storage medium, a semiconductor storage medium, a mechanical storage medium, or any suitable combination of the foregoing. Some known types of storage devices that include these mediums include: diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), static random access memory (SRAM), compact disc read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanically encoded device (such as punch cards or pits/lands formed in a major surface of a disc) or any suitable combination of the foregoing. A computer readable storage medium, as that term is used in the present disclosure, is not to be construed as storage in the form of transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide, light pulses passing through a fiber optic cable, electrical signals communicated through a wire, and/or other transmission media. As will be understood by those of skill in the art, data is typically moved at some occasional points in time during normal operations of a storage device, such as during access, de-fragmentation or garbage collection, but this does not render the storage device as transitory because the data is not transitory while it is stored.
Referring to
COMPUTER 101 may take the form of a desktop computer, laptop computer, tablet computer, smart phone, smart watch or other wearable computer, mainframe computer, quantum computer or any other form of computer or mobile device now known or to be developed in the future that is capable of running a program, accessing a network or querying a database, such as remote database 130. As is well understood in the art of computer technology, and depending upon the technology, performance of a computer-implemented method may be distributed among multiple computers and/or between multiple locations. On the other hand, in this presentation of computing environment 100, detailed discussion is focused on a single computer, specifically computer 101, to keep the presentation as simple as possible. Computer 101 may be located in a cloud, even though it is not shown in a cloud in
PROCESSOR SET 110 includes one, or more, computer processors of any type now known or to be developed in the future. Processing circuitry 120 may be distributed over multiple packages, for example, multiple, coordinated integrated circuit chips. Processing circuitry 120 may implement multiple processor threads and/or multiple processor cores. Cache 121 is memory that is located in the processor chip package(s) and is typically used for data or code that should be available for rapid access by the threads or cores running on processor set 110. Cache memories are typically organized into multiple levels depending upon relative proximity to the processing circuitry. Alternatively, some, or all, of the cache for the processor set may be located “off chip.” In some computing environments, processor set 110 may be designed for working with qubits and performing quantum computing.
Computer readable program instructions are typically loaded onto computer 101 to cause a series of operational steps to be performed by processor set 110 of computer 101 and thereby effect a computer-implemented method, such that the instructions thus executed will instantiate the methods specified in flowcharts and/or narrative descriptions of computer-implemented methods included in this document (collectively referred to as “the inventive methods”). These computer readable program instructions are stored in various types of computer readable storage media, such as cache 121 and the other storage media discussed below. The program instructions, and associated data, are accessed by processor set 110 to control and direct performance of the inventive methods. In computing environment 100, at least some of the instructions for performing the inventive methods may be stored in block 200 in persistent storage 113.
COMMUNICATION FABRIC 111 is the signal conduction paths that allow the various components of computer 101 to communicate with each other. Typically, this fabric is made of switches and electrically conductive paths, such as the switches and electrically conductive paths that make up busses, bridges, physical input/output ports and the like. Other types of signal communication paths may be used, such as fiber optic communication paths and/or wireless communication paths.
VOLATILE MEMORY 112 is any type of volatile memory now known or to be developed in the future. Examples include dynamic type random access memory (RAM) or static type RAM. Typically, the volatile memory is characterized by random access, but this is not required unless affirmatively indicated. In computer 101, the volatile memory 112 is located in a single package and is internal to computer 101, but, alternatively or additionally, the volatile memory may be distributed over multiple packages and/or located externally with respect to computer 101.
PERSISTENT STORAGE 113 is any form of non-volatile storage for computers that is now known or to be developed in the future. The non-volatility of this storage means that the stored data is maintained regardless of whether power is being supplied to computer 101 and/or directly to persistent storage 113. Persistent storage 113 may be a read only memory (ROM), but typically at least a portion of the persistent storage allows writing of data, deletion of data and re-writing of data. Some familiar forms of persistent storage include magnetic disks and solid state storage devices. Operating system 122 may take several forms, such as various known proprietary operating systems or open source Portable Operating System Interface type operating systems that employ a kernel. The code included in block 200 typically includes at least some of the computer code involved in performing the inventive methods.
PERIPHERAL DEVICE SET 114 includes the set of peripheral devices of computer 101. Data communication connections between the peripheral devices and the other components of computer 101 may be implemented in various ways, such as Bluetooth connections, Near-Field Communication (NFC) connections, connections made by cables (such as universal serial bus (USB) type cables), insertion type connections (for example, secure digital (SD) card), connections made though local area communication networks and even connections made through wide area networks such as the internet. In various embodiments, UI device set 123 may include components such as a display screen, speaker, microphone, wearable devices (such as goggles and smart watches), keyboard, mouse, printer, touchpad, game controllers, and haptic devices. Storage 124 is external storage, such as an external hard drive, or insertable storage, such as an SD card. Storage 124 may be persistent and/or volatile. In some embodiments, storage 124 may take the form of a quantum computing storage device for storing data in the form of qubits. In embodiments where computer 101 is required to have a large amount of storage (for example, where computer 101 locally stores and manages a large database) then this storage may be provided by peripheral storage devices designed for storing very large amounts of data, such as a storage area network (SAN) that is shared by multiple, geographically distributed computers. IoT sensor set 125 is made up of sensors that can be used in Internet of Things applications. For example, one sensor may be a thermometer and another sensor may be a motion detector.
NETWORK MODULE 115 is the collection of computer software, hardware, and firmware that allows computer 101 to communicate with other computers through WAN 102. Network module 115 may include hardware, such as modems or Wi-Fi signal transceivers, software for packetizing and/or de-packetizing data for communication network transmission, and/or web browser software for communicating data over the internet. In some embodiments, network control functions and network forwarding functions of network module 115 are performed on the same physical hardware device. In other embodiments (for example, embodiments that utilize software-defined networking (SDN)), the control functions and the forwarding functions of network module 115 are performed on physically separate devices, such that the control functions manage several different network hardware devices. Computer readable program instructions for performing the inventive methods can typically be downloaded to computer 101 from an external computer or external storage device through a network adapter card or network interface included in network module 115.
WAN 102 is any wide area network (for example, the internet) capable of communicating computer data over non-local distances by any technology for communicating computer data, now known or to be developed in the future. In some embodiments, the WAN may be replaced and/or supplemented by local area networks (LANs) designed to communicate data between devices located in a local area, such as a Wi-Fi network. The WAN and/or LANs typically include computer hardware such as copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and edge servers.
END USER DEVICE (EUD) 103 is any computer system that is used and controlled by an end user (for example, a customer of an enterprise that operates computer 101), and may take any of the forms discussed above in connection with computer 101. EUD 103 typically receives helpful and useful data from the operations of computer 101. For example, in a hypothetical case where computer 101 is designed to provide a recommendation to an end user, this recommendation would typically be communicated from network module 115 of computer 101 through WAN 102 to EUD 103. In this way, EUD 103 can display, or otherwise present, the recommendation to an end user. In some embodiments, EUD 103 may be a client device, such as thin client, heavy client, mainframe computer, desktop computer and so on.
REMOTE SERVER 104 is any computer system that serves at least some data and/or functionality to computer 101. Remote server 104 may be controlled and used by the same entity that operates computer 101. Remote server 104 represents the machine(s) that collect and store helpful and useful data for use by other computers, such as computer 101. For example, in a hypothetical case where computer 101 is designed and programmed to provide a recommendation based on historical data, then this historical data may be provided to computer 101 from remote database 130 of remote server 104.
PUBLIC CLOUD 105 is any computer system available for use by multiple entities that provides on-demand availability of computer system resources and/or other computer capabilities, especially data storage (cloud storage) and computing power, without direct active management by the user. Cloud computing typically leverages sharing of resources to achieve coherence and economies of scale. The direct and active management of the computing resources of public cloud 105 is performed by the computer hardware and/or software of cloud orchestration module 141. The computing resources provided by public cloud 105 are typically implemented by virtual computing environments that run on various computers making up the computers of host physical machine set 142, which is the universe of physical computers in and/or available to public cloud 105. The virtual computing environments (VCEs) typically take the form of virtual machines from virtual machine set 143 and/or containers from container set 144. It is understood that these VCEs may be stored as images and may be transferred among and between the various physical machine hosts, either as images or after instantiation of the VCE. Cloud orchestration module 141 manages the transfer and storage of images, deploys new instantiations of VCEs and manages active instantiations of VCE deployments. Gateway 140 is the collection of computer software, hardware, and firmware that allows public cloud 105 to communicate through WAN 102.
Some further explanation of virtualized computing environments (VCEs) will now be provided. VCEs can be stored as “images.” A new active instance of the VCE can be instantiated from the image. Two familiar types of VCEs are virtual machines and containers. A container is a VCE that uses operating-system-level virtualization. This refers to an operating system feature in which the kernel allows the existence of multiple isolated user-space instances, called containers. These isolated user-space instances typically behave as real computers from the point of view of programs running in them. A computer program running on an ordinary operating system can utilize all resources of that computer, such as connected devices, files and folders, network shares, CPU power, and quantifiable hardware capabilities. However, programs running inside a container can only use the contents of the container and devices assigned to the container, a feature which is known as containerization.
PRIVATE CLOUD 106 is similar to public cloud 105, except that the computing resources are only available for use by a single enterprise. While private cloud 106 is depicted as being in communication with WAN 102, in other embodiments a private cloud may be disconnected from the internet entirely and only accessible through a local/private network. A hybrid cloud is a composition of multiple clouds of different types (for example, private, community or public cloud types), often respectively implemented by different vendors. Each of the multiple clouds remains a separate and discrete entity, but the larger hybrid cloud architecture is bound together by standardized or proprietary technology that enables orchestration, management, and/or data/application portability between the multiple constituent clouds. In this embodiment, public cloud 105 and private cloud 106 are both part of a larger hybrid cloud.
Although illustrative embodiments of the present invention have been described herein, it is to be understood that the invention is not limited to those precise embodiments, and that various other changes and modifications may be made by one skilled in the art without departing from the scope of the invention.