Machine learning models and devices

The DRL system addresses the simulation-to-reality gap by enabling client nodes to identify critical conditions and request updated policies, ensuring reliable actions and system adaptability in changing environments.

JP7541191B2Active Publication Date: 2024-08-27TELEFONAKTIEBOLAGET LM ERICSSON (PUBL)
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023528531
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-11-13
Publication Date
2024-08-27
Estimated Expiration
2040-11-13

AI Technical Summary

Technical Problem

The challenge of implementing reinforcement learning (RL) in safety-sensitive real-world applications is the simulation-to-reality gap, where the state distribution during training differs from that in production, leading to unreliable actions by client nodes.

Method used

A method and system for distributed reinforcement learning (DRL) that allows client nodes to identify critical conditions, request relearning from a server, and receive updated policies, using techniques like random network distillation and adaptive domain randomization to bridge the simulation and reality gap.

Benefits of technology

Ensures reliable actions by continuously updating policies on client nodes, adapting to changing environmental conditions, and maintaining system reliability and performance over time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007541191000002
    Figure 0007541191000002
  • Figure 0007541191000013
    Figure 0007541191000013
  • Figure 0007541191000011
    Figure 0007541191000011
Patent Text Reader

Abstract

A method and apparatus for implementing reinforcement learning are provided. The method in a client node for directing behavior in an environment according to a policy includes identifying one or more critical conditions in the environment where a current policy provides unreliable behavior. The method further includes initiating sending a relearning request to a server, the relearning request including information about the one or more critical conditions, receiving a new policy from the server, the new policy generated by the server using RL based on the information about the one or more critical conditions, and directing behavior in the environment according to the new policy.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] Embodiments described herein relate to methods and apparatus for implementing machine learning models, and in particular, to methods and apparatus for implementing machine learning models developed using reinforcement learning (RL). [Background technology]

[0002] Managing complex systems such as telecommunication networks, vehicle traffic management systems, etc. is becoming an increasingly big challenge. To address this challenge, reinforcement learning (RL) techniques can be implemented to achieve effectiveness and adaptability.

[0003] RL allows machine learning systems (MLS) to learn by attempting to maximize the expected cumulative reward for a sequence of actions using trial and error. RL agents (i.e., systems that use RL to improve their performance on a given task over time) are typically closely related to the system (environment) they are using to model / control, and learn through experience performing actions (actions) that change the state of the environment.

[0004] Figure 1 shows a schematic of a typical RL system. In the architecture shown in Figure 1, agents receive data from the environment they are using to model / control, and they send actions to the environment. For time t, an agent determines the current state of the environment, S t The agent receives information S t Process and execute action A t This action is then sent to the environment and executed. The result of the action is a change in the state of the environment over time, and the state of the environment at time t+1 is S t+1 Actions are also related to a (numerical, typically scalar) reward R t+1 This leads to the environmental state S t+1 Action A that brings about t is a measure of the impact of the changed environmental state S t+1 is the reward R t+1The reward R t is state S t The reward R is sent to the agent along with the t is state S t-1 Action A performed on t-1 The reward is given by the agent's state information S t+1 When you receive this, the next action A t+1 This information is used to determine the reward R t+1 An action is selected by the agent from the actions available to it with the objective of maximizing the cumulative reward.

[0005] In some complex systems, RL techniques can be effectively combined with distributed learning techniques to provide a distributed reinforcement learning (DRL) architecture. ML models can be trained at a centralized network node, such as a server, using a centralized dataset. The trained ML models can then be used to generate policies. The policies can map observations to actions (or action distributions) using parameterized functions, and can be deployed to client nodes for execution. In a DRL architecture, the centralized network node and the client nodes can collectively act as ML agents. The centralized network node and the client nodes cooperate to use RL to improve the performance of a given task.

[0006] The use of RL itself can cause problems in safety-sensitive real-world applications. In general, artificial agents can be trained by RL in a simulated environment to optimize some objective function or find a policy that puts the system into a given goal state. Although a simulator provides a safe learning environment in which the RL agent can explore and learn its behavior, there is no guarantee that the performance obtained in practice will be similar to that in the simulation. The main cause of such problems is that there is no guarantee that the state distribution observed during training (i.e., the environment state used to train the ML model) is equal to the state distribution observed during production (i.e., the environment state where the policy generated by the ML model is enforced), which can be called the simulation-to-reality gap.

[0007] If the training distribution used to train the ML model is different from the production distribution on which the policy from the ML model is executed, the actions taken by the client node based on the policy cannot be trusted. If the policy is applied to environmental states different from those used to train the ML model, it may suggest actions that do not positively affect the environmental states or may even have a negative effect. Using the example of a telecommunications network, the application of the policy to network states different from those used to train the ML model responsible for generating the policy may result in adverse effects such as increased network congestion, decreased reliability, etc.

[0008] By simply training RL agents directly in real systems, differences between training and production distributions can be avoided. However, in safety-sensitive applications, training in real systems is rarely a feasible option, as it is generally unsafe and / or infeasible. Thus, when DRL is used, it is an ongoing challenge to ensure that the policies executed by client nodes correspond to the environmental conditions they encounter.

[0009] Tobin, J et al., 2017 IEEE / RSJ International Conference on Intelligent Robots and Systems(IROS), Vancouver, BC, 2017, pp. 23-30, doi: 10.1109 / IROS.2017.8202133, "Domain Randomization for Moving Deep Neural Networks from Simulation to the Real World," proposes domain randomization as an option to address the generalization problem. Sampling simulator parameters from an appropriate distribution allows ML models to be trained using a greater variety of environmental situations, which can facilitate the creation of policies using trained ML models that can provide reliable behavior in a variety of environmental conditions in production. One type of domain randomization involves learning a posterior distribution of parameters from data extracted during training. Learning the posterior distribution allows for sample simulator parameters that induce a particular data distribution. Ideally, appropriate simulator parameters are sampled that more closely match the training and production data distributions. Summary of the Invention

[0010] It is an object of the present disclosure to provide a method, apparatus, and computer-readable medium that at least partially addresses one or more of the above-mentioned problems. In particular, it is an object of the present disclosure to facilitate implementation of RL that supports continuous updates of policies executed on client nodes after deployment of the client nodes.

[0011] The present disclosure provides a method of operation of a client node for implementing RL, where the client node directs behavior in an environment according to a policy. The method includes identifying one or more critical conditions in the environment for which a current policy provides untrusted behavior, and initiating sending a re-learning request to a server, where the re-learning request includes information about the one or more critical conditions. The method further includes receiving a new policy from the server, where the new policy is generated by the server using RL based on information about the one or more critical conditions, and directing behavior in the environment according to the new policy. By facilitating the identification of critical conditions by the client node, the method enables the client node to detect when a policy it relies on may no longer be trustworthy. The client node may also provide server information to the server that enables the server to update the policy. The updated policy may then be provided to the client node to ensure that trusted behavior is directed.

[0012] In some aspects of the embodiment, critical conditions of the environment may be identified based on observations of the environment, particularly through a comparison of the environment with the environmental conditions used to generate the current policy. In this manner, the client node may reliably identify critical conditions using knowledge of the conditions used to generate the current policy. Techniques such as random network distillation (RND) techniques may be particularly suitable for use in the comparison.

[0013] In some aspects of the embodiment, the client node may provide encrypted samples of the identified critical conditions or simulation parameters inferred based on the identified critical conditions to the server, either of which options may help provide privacy protection for sensitive data related to the critical conditions.

[0014] Some aspects of the embodiments provide a method of operation of a system having a client node and a server for implementing RL. As discussed herein, the server can receive a re-learning request from the client node and can re-learn the MLS responsible for the current policy based on information about one or more critical conditions in the re-learning request to generate a new policy. The server can then distribute the new policy generated by the MLS to the client node. Generating the new policy centrally at the server can reduce the computational resources required at the client node.

[0015] The present disclosure also provides a client node for implementing RL, the client node configured to direct behavior in an environment according to a policy. The client node has a processing circuit and a memory storing instructions executable by the processing circuit. The client node is operable to: identify one or more critical conditions of the environment in which a current policy provides untrusted behavior, and initiate sending a re-learning request to a server, the re-learning request having information about the one or more critical conditions; the client node is further operable to receive a new policy from the server, the new policy being generated by the server using RL based on information about the one or more critical conditions, and direct behavior in the environment according to the new policy. Some advantages provided by the client node may be those discussed above in the context of a method performed by a client node.

[0016] Some aspects of the embodiment provide a system having a client node and further having a server. The server has a processing circuit and a memory storing instructions executable by the processing circuit. The server is operable to receive a re-learning request from the client node and re-learn a machine learning system (MLS) responsible for the current policy based on information about one or more critical conditions in the re-learning request to generate a new policy. The server is further operable to distribute the new policy generated by the MLS to the client node. Some advantages provided by the server may be as described above in the context of the method performed by the server. [Brief description of the drawings]

[0017] The present disclosure is now described, by way of example only, with reference to the following figures: [Figure 1] Schematic diagram of the RL system. [Diagram 2] FIG. 1 is a schematic diagram of a DRL system. [Figure 3A] 11 is a flowchart of a method performed by a client node according to an aspect of an embodiment. [Figure 3B] 11 is a flowchart of a method performed by a server according to an aspect of an embodiment. [Figure 4A] FIG. 2 is a schematic diagram of a client node in accordance with aspects of an embodiment. [Figure 4B] FIG. 2 is a schematic diagram of a client node in accordance with aspects of an embodiment. [Figure 5A] FIG. 2 is a schematic diagram of a server according to an aspect of an embodiment. [Figure 5B] FIG. 2 is a schematic diagram of a server according to an aspect of an embodiment. [Figure 6A] FIG. 11 is a process diagram of an example policy update procedure in accordance with aspects of an embodiment. [Figure 6B] FIG. 11 is a process diagram of an example policy update procedure in accordance with aspects of an embodiment. [Figure 6C] FIG. 11 is a process diagram of an example policy update procedure in accordance with aspects of an embodiment. [Figure 7] 4 is a flow chart providing an overview of a policy update procedure in accordance with an aspect of an embodiment. [Figure 8] FIG. 2 is a schematic diagram of an iterative process update procedure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0018] For purposes of explanation, the following description sets forth specific details in order to provide a thorough understanding of the disclosed embodiments. However, it will be apparent to one skilled in the art that the embodiments may be practiced without these specific details or with equivalent configurations.

[0019] The use of adaptive domain randomization techniques can help bridge the gap between simulation and reality. Given real-world data samples, adaptive domain randomization techniques enable the training of ML agents in a safe simulated environment. The simulated environment has a data distribution close to the real-world data distribution target. However, several other challenges remain to more fully address the simulation-reality gap problem in distributed RL architectures with centralized learning. In some application scenarios, real-world data samples are not readily available. Different deployments of the same policy (at multiple client nodes) may observe different data distributions, and external factors may change the data distribution experienced by client nodes over time. Furthermore, in some systems, it may be infeasible to transfer the entire observed dataset to a centralized server, and even if such a transfer is possible, privacy constraints may apply when transferring the observed data to the centralized server.

[0020] Aspects of the embodiments relate to the use of distributed RL, where learning occurs at a server and the resulting policy deployment occurs at one or more independent client nodes, where policy inference defines the behavior of the client nodes. Aspects of the embodiments may enable the client nodes to adapt to production data distributions before activation, and also enable the client nodes to monitor the data distributions observed by them, thus facilitating continuous learning. Aspects of the embodiments may thus help address issues related to the gap between simulation and reality.

[0021] The embodiments of the present disclosure provide a method of operation of a client node for implementing RL, where the client node directs behavior in an environment according to a policy. The embodiments also provide a method of operation of a system having a client node and a server.

[0022] Figure 2 is a schematic overview of a DRL system 20 that may perform a method according to an aspect of an embodiment. The DRL system 20 of Figure 2 has a single server 21 and multiple client nodes 22a, 22b, 22c, 22d and 22e (collectively referred to with reference numeral 22). The DRL system 20 of Figure 2 shows five client nodes 22. Those skilled in the art will appreciate that a greater or lesser number of client nodes may be used. Some DRL systems may also include multiple servers, which may be particularly useful when modeling highly complex environments.

[0023] As indicated by the arrows in FIG. 2, each of the client nodes 22 may communicate with the server 21, but typically there is no direct line of communication between the client nodes 22. In some aspects of the embodiment, the server and the client nodes may be co-located, i.e., included in the same physical device. Typically, however, the server and the client nodes are located separately from each other and communicate with each other using appropriate communication means (e.g., wireless telecommunication system, wired telecommunication system, etc.). Whether the server and one or more client nodes may be co-located may depend on the trust model between the server and the respective client nodes. In the embodiment shown in FIG. 2, there is trust in the server to communicate directly with each client node, but there is no trust in the client nodes to communicate directly with each other. Privacy between the client nodes is maintained, but the server is trusted. When the server and one or more client nodes are co-located, the one or more co-located client nodes will have more privileges than the client nodes that are not co-located.

[0024] In some aspects of the embodiments, the DRL system 20 may form part of a wireless communication network, such as a 3rd Generation Partnership Project (3GPP) fourth generation (4G) or fifth generation (5G) network. When the DRL system 20 forms part of a wireless communication network, the server and client nodes may be co-located and / or located in any suitable component of the network. In some aspects of the embodiments, the server 21 may form part of a core network node (CNN) and the client nodes 22 may each form part of a base station (e.g., a fourth generation (4G) evolved Node B (eNB), or a fifth generation (5G) next generation Node B (gNB)).

[0025] A method according to an aspect of an embodiment is illustrated in Figure 3A. Figure 3A is a flow chart illustrating a method of operation of a client node to implement RL, where the client node directs behavior in an environment according to a policy. The nature of the client node, behavior, environment, and policy will depend on the particular system in which the method is used, and taking an example where the environment is a telecommunications network (or part thereof) as discussed above, the client node may be (or may be included in) a base station, and the policy may cause the client node to direct behavior such as rerouting traffic in the telecommunications network, increasing network capacity, etc. As a further example, the environment may be (or part of) a traffic management system, and the client may be a controller for one or more traffic lights, and the policy may determine the lighting sequence used for the lights to reduce congestion.

[0026] The method illustrated in Fig. 3A is performed by a client node. Any suitable client node may be used, for example, client node 22a, b, c, d or e of Fig. 2. Figs. 4A and 4B show further client nodes 401, 451 according to aspects of an embodiment. The client nodes 401, 451 may perform the method of Fig. 3A.

[0027] A method according to a further aspect of an embodiment is illustrated by Fig. 3B, which is a flow chart showing a method of operation of a server to implement RL. As with the client node described above with reference to Fig. 3A, the nature, behavior, environment and policies of the server will depend on the particular system in which the method is used; taking as an example the environment is a telecommunications network (or part thereof) as described above, the server may be (or may be included in) a core network node and the policies may direct the client nodes to take actions such as re-routing traffic in the telecommunications network, increasing network capacity, etc. As a further example, the environment may be (or part of) a traffic management system, the server may be a central control station for the traffic management system and the policies may determine the lighting sequences to be used on signals to reduce congestion.

[0028] The method shown in Fig. 3B is performed by a server. Any suitable server may be used, for example the server 21 of Fig. 2. Figs. 5A and 5B show further servers 501, 551 according to aspects of an embodiment. The servers 501, 551 may perform the method of Fig. 3B.

[0029] As shown in step S301 of FIG. 3A, the method includes identifying, at the client node 401, 451, one or more critical conditions of the environment for which the current policy used by the client node 401, 451 provides an untrusted behavior (the client node dictates the behavior). The environmental conditions may be identified as critical conditions that are substantially different from the environmental conditions used to generate the current policy used by the client node 401, 451. Substantial differences in this context may be defined as differences that affect the way the environment responds to the behavior. With substantial differences between the critical conditions and the environmental conditions used to generate the current policy, it is uncertain whether the behavior provided by the current policy will have a desired effect on the environment. Using an example where the environment is a telecommunications network, when the environment is in a critical state, the behavior proposed by the current policy that is intended to reduce packet loss will not have that effect and may even increase packet loss. Since the behavior proposed by the current policy when the environment is in a critical state may not have a desired effect on the environment, the behavior proposed by the current policy is considered to be an untrusted behavior. The step of identifying the one or more critical conditions may be performed according to a computer program stored in memory 402 executed by a processor 401 together with one or more interfaces 403, as shown by Figure 4A. Alternatively, the step of identifying the one or more critical conditions may be performed by an identifier 451, as shown by Figure 4B.

[0030] Critical conditions may be identified in any suitable manner. For example, they may be identified by observed environmental conditions, potentially in combination with a comparison of the observed environmental conditions to the environmental conditions used to generate the current policy. Any suitable technique may be used to perform the comparison of the observed environmental conditions to the environmental conditions used to generate the current policy. An example of a suitable technique is based on Random Network Distillation (RND). RND is discussed in more detail in "Exploration by Random Network Distillation" by Burda, Y. et al., available at https: / / arxiv.org / abs / 1810.12894 as of November 9, 2020.

[0031] The information used to train / retrain the MLS to generate policies (used by client nodes) to implement critical state identification techniques such as RND techniques can also be used to train / retrain the state classification model. In the training / retraining process, the state classification model can essentially store the training data. The trained / retrained state classification model can then be used to classify observed environmental conditions, which can include "critical" and "non-critical" and, in some aspects of the embodiment, can include further sub-classifications. The exact nature of the classification can depend on the environment (e.g., telecommunications network, traffic management system, etc.) in which the client node provides the behavior.

[0032] In some aspects of the embodiment, once the condition classification model has been trained / relearned, it may be distributed to one or more client nodes connected to the server 501, 551, potentially to all client nodes connected to the server 501, 551. If the condition classification model is distributed to one or more of the client nodes, those client nodes may thereafter use the model (at the client node) to identify critical conditions. Alternatively, for example, if the model is maintained on the server, client nodes that are not provided with a condition classification model may periodically send samples of observed environmental conditions to the server, which may use the condition classification model to tentatively identify critical conditions, and such tentative identification may be confirmed by the client node.

[0033] In addition to or instead of identifying critical conditions using observations of the environment and / or state classification models, aspects of the embodiment can utilize aggregate information provided by the server to identify critical conditions. Any useful aggregate information can be provided to the client node for use in identifying critical conditions. As an example of such information, the learned state of the environment in a particular implementation may be that a certain parameter has a value within a predetermined range. By providing this range of the certain parameter to the client node, critical conditions (conditions in which the certain parameter is outside the predetermined range) can be easily identified.

[0034] Initially, the client node may be provided with the policy by the server. Alternatively, the policy may be preloaded onto the client node before or during deployment, including before the client node is connected to the server. The exact manner in which the initial policy is provided to the client node may vary between nodes in the system and may be system dependent in any event. The policy may be applied by the client node until one or more critical conditions are identified.

[0035] Once one or more critical conditions are identified, the client node may initiate transmission of a re-learning request, as shown in step S302 of FIG. 3A. The step of triggering the transmission of the re-learning request may be performed according to a computer program stored in memory 402, executed by processor 401 together with one or more interfaces 403, as shown in FIG. 4A. Alternatively, the step of triggering the transmission of the re-learning request may be performed by transmitter 452, as shown in FIG. 4B. The client node may initiate the transmission by having another component (e.g., another node) perform the actual transmission, or the client node itself may initiate and perform the transmission. The re-learning request may be triggered by the identification of a single critical condition, or may be triggered when the number of observed critical conditions exceeds a threshold (which may be a pre-defined threshold, which may be set by the client node, which may be set by the server, etc.). The re-learning request carries information regarding one or more identified critical conditions, and when the re-learning request is received by the server, as shown in step S305 of FIG. 3B, the information may be used by the server in re-learning the MLS to generate a new policy (see step S306 of FIG. 3B). The step of receiving the re-learning request may be performed according to a computer program stored in memory 502, executed by processor 501 together with one or more interfaces 503, as shown by FIG. 5A. Alternatively, the step of receiving the re-learning request may be performed by receiver 551, as shown in FIG. 4B.

[0036] The server may initiate relearning of the MLS upon receiving a predetermined number of relearning requests from the client nodes, and may use information about one or more critical conditions from some or all of the received relearning requests for relearning. Alternatively, the server may initiate relearning upon receiving a single relearning request, using information from that request. The relearning step may be performed according to a computer program stored in memory 502, executed by a processor 501 together with one or more interfaces 503, as shown in FIG. 5A. Alternatively, the relearning step may be performed by a learner 552, as shown in FIG. 5B.

[0037] The nature of the information included in the retrain request varies depending on the respective capabilities of the client node and the server. In some aspects of the embodiment, the retrain request includes samples of identified critical conditions from the client node. The server may then generate BayesSim model β t A parameter generation model based on adaptive randomization techniques such as BayesSim can be used. The BayesSim model is detailed in "BayesSim: adaptive domain randomization via probabilistic inference for robotics simulators" by Ramos, F., Possas, R, & Fox, D., available as of November 9, 2020 at https: / / arxiv.org / abs / 1906.01728. The simulation parameter generation model can be trained (potentially using supervised learning) to output simulation parameters given a sample of observations that generated the simulation parameters. The trained model can then enable inference of simulator parameters given a sample of observations (in this case, observed critical conditions from client nodes). Thus, by using the simulation parameter generation model, the server can identify simulation parameters that cause environmental conditions close to those identified as critical by the client nodes.

[0038] In some aspects of the embodiment, as shown in the example illustrated in the process diagram of FIG. 6A, the server may provide one or more client nodes i with a policy π based on system parameters θ set during training at time t. t θ In addition to deploying the policy, the server also deploys the state classification model Φ t Typically, the policy t θ The policy and state classification model may also be deployed to one or more client nodes, each of which may be the same as the client node on which the policy and state classification model are deployed. The example of FIG. 6A shows the policy and state classification model being deployed to client 1 and client n (at time t). The client nodes that receive the state classification model may then use the model locally (at the client node) to identify one or more critical conditions as described above. When the client nodes subsequently send a re-learning request to the server, the re-learning request may include samples S of the identified critical conditions. In the example of FIG. 6A, client 1 includes samples S1 in its re-learning request to the server, and client n includes samples S in its re-learning request to the server. n The sample S may have one or more (possibly all) of the critical states identified by the client. In this example, when the server subsequently receives a re-training request (see step S305) including the sample, the sample may be used to generate simulation parameters (e.g., using a parameter generation model as described above) to re-train the MLS as shown in step S306. The re-trained MLS may then generate a new policy. The state classification model may also be re-trained. The server may then generate the new policy π t+1 θ and a new state classification model Φ t+1 can be deployed to the client node (see step S307).

[0039] In a further aspect of the embodiment, such as the example shown in the process diagram of FIG. 6B, the server again provides one or more client nodes i with a policy π based on system parameters θ at time t. t θ 6A. As in the example shown in FIG. 6A, the client nodes (Client 1 and Client n) may then use the state classification model to identify one or more critical states. Prior to sending samples of the identified critical states to the server, the client nodes may encrypt the samples before sending a retraining request to the server including the encrypted samples. Any suitable method may be used to encrypt the samples, and in the example shown in FIG. 6B, an encoding function ε is used to encrypt the samples at the client node before they are sent to the server (see step S302). The encryption may also include modifying the samples of the identified critical states in such a way that private information is obscured while maintaining the data distribution within the samples, for example using differential privacy techniques. Alternatively or additionally, the samples of the critical states may be encoded using a Bayesian network or a Generic Adversary Network (GAN), such that the server can obtain and use data representing the critical states but cannot obtain the original data. When the server receives the encrypted samples in the re-learning request as shown in step S305, the server decrypts the samples to obtain the critical state, and then uses the decrypted samples to generate a new policy (step S306), and then transmits the new policy to the client node. t+1 θ and a new state classification model Φ t+1 (Step S307) starts deployment of the sample. Encrypting the sample before sending in this manner can help meet privacy protection requirements that may be present in some systems, for example, telecommunication networks, where the state of the environment (network state) may be considered sensitive information.

[0040] Further aspects of the embodiment may employ other techniques to help meet privacy protection requirements. As shown in the example of FIG. 6C, the information in the re-learning request from the client node to the server may be information other than a sample of the critical state (as in the example shown in FIG. 6A and FIG. 6B). In the example of FIG. 6C, the server may send a policy π based on a system parameter θ to one or more client nodes i at time t. t+1 θ In addition to deploying the policy, the server also deploys the state classification model Φ t Typically, the policy t θ The server also deploys the BayesSim model,β,to one or more client nodes, each of which is the same as the client node on which,β,is deployed. t A parameter generation model such as t θ The server also deploys to one or more client nodes that are the same as the client node to which the server is deployed. Therefore, the client node receives three combinations (π t θ , Φ t , β t ) can then be received. Then, when the client node identifies one or more critical states, these critical states are fed into the parameter generation model β to infer the simulation parameters. t , and the inferred simulation parameters can be included in a re-learning request to the server. Deriving the simulation parameters at the client node satisfies privacy concerns about state information, since the identified critical state samples can be kept at the client node without being sent to the server. In this example, the server can use the new policy π t+1 θ , a new state classification model Φ t+1 , and a new parameter generation model β t+1 to the client node (see step S307).

[0041] An overview of the aspects of the embodiment described above with respect to Figures 6A-6C is provided by the flow chart of Figure 7. The flow chart shows, in step S701, the server t θ (and possibly a state classification model Φ t and / or the parameter generation model β t Then, in step S702, the client node transmits a state classification model Φ t β is used to identify one or more critical states. If an encoding function (such as the example shown in FIG. 6B) or another encryption method means as described above is used to encrypt the critical states, then the critical states may be encoded in step S703-true. On the other hand, if encryption is not used (S703-false), the method proceeds to step S704 with the unencrypted critical states. In step S704, the parameter generation model β t If the parameter generation model β is available at the client node (S704-true, as in the example shown in FIG. 6C), the simulation parameters can be inferred and the inferred simulation parameters can be sent to the server in a re-learning request. t+1 If the policy is not available at the client node (S704-false), the critical condition may be sent in the re-learning request encoded or unencoded, depending on whether S703 was true or false. Finally, in S705, the server receives the re-learning request and sends the policy t+1 θ (and possibly a state classification model Φ t+1 and / or the parameter generation model β t+1 ) and retrain the MLS to generate

[0042] Once the new policy (and possibly the new state classification model and / or the new parameter generation model) is generated by the server, the server executes the deployment. The distribution of the new policy (and possibly the new state classification model and / or the new parameter generation model) is shown in step S307 of FIG. 3B. The step of distributing the new policy may be performed according to a computer program stored in memory 502, executed by a processor 501 together with one or more interfaces 503, as shown in FIG. 5A. Alternatively, the step of distributing the new policy may be performed by a distributor 553, as shown in FIG. 5B. The nature of the deployment may vary between systems and also between client nodes within a system.

[0043] For some client nodes, the server may provide periodic updates of the policy. The period of the updates may also depend on the nature of the system. For systems with rapidly evolving environments, periodic updates may be provided on an hourly basis, while for systems that change over longer periods, policy updates may be provided on a weekly or even longer basis. If periodic updates are used, the update timing may be scheduled for periods when demand on the client nodes is generally relatively low. For example, in a telecommunications network where the client nodes are or form part of base stations, periodic updates may be performed at 3:00 a.m. local time, when communication traffic levels at the base stations are generally fairly low.

[0044] For some client nodes, the server may provide on-demand updates of policy, and the client node may receive the updated policy if it requests the policy from the server. The client node may request the policy when sending a re-learn request, for example, the client node may indicate an opportunity in the future that becomes available for the client node to receive an updated policy. Alternatively, the client node may send a separate communication to the server requesting a policy update.

[0045] For some client nodes, the server may provide policy updates opportunistically based on the current state of the server and the client nodes. These opportunistic updates may be provided whenever both the server node and the client node are in an appropriate state. As an example of this, the server may monitor or receive updates detailing the current workload of the client nodes. If the server (which has a policy update to provide and is in an appropriate state) determines that the client node has a low workload, the server may provide the policy update. If the server is connected to multiple client nodes, the policy updates may be provided to all client nodes simultaneously.

[0046] As shown in step S303 of FIG. 3A, one or more client nodes receive a new policy from the server. The step of receiving the new policy may be performed according to a computer program stored in memory 402 executed by processor 401 together with one or more interfaces 403 as shown in FIG. 4A. Alternatively, the step of receiving the new policy may be performed by receiver 453 as shown in FIG. 4B. Then, as shown in step S304, one or more client nodes instruct an action based on the received new policy. The step of supporting an action may be performed according to a computer program stored in memory 402 executed by processor 401 together with one or more interfaces 403 as shown in FIG. 4A. Alternatively, the step of supporting an action may be performed by indicator 454 as shown in FIG. 4B. As mentioned above, the nature of the action instructed depends on the environment in which the system operates.

[0047] Typically, following a policy update, the client node continues to monitor the environment to identify further critical conditions, i.e., critical conditions in which the behavior dictated by the new policy may not be trustworthy. If the client node identifies further critical conditions, further re-learning requests may then be sent and the method of Figures 3A and 3B may be repeated. The iterative nature of the method is illustrated by Figure 8. For simplicity, Figure 8 illustrates one aspect of an embodiment where there is a server and a single client node, and where re-learning occurs when the server receives a single re-learning request from the client node. Figure 8 begins at time t-1, where a re-learning request is sent to the server. The server performs an MLS re-learn and distributes the new policy π to clients i that implement the policy. t θ Provide policy t θ At some point after implementing policy π, client i identifies a critical condition and sends a further re-learning request to the server, which re-learns the MLS and creates a new policy π that enforces the policy. t+1 θ is provided to client i. t+1 θ At some point after performing i, client i identifies a critical condition and sends a further relearning request to the server, and the iterative process continues.

[0048] As an example of how aspects of the embodiment may be implemented, in an exemplary implementation, the client node may be a base station (or part of a base station) used in the environment of a telecommunication network, and the server may be all or part of a core network node. The client node may perform measurements that allow observation of the current state of the network (network throughput, round trip time (RTT), packet loss, etc.). The measurement results may constitute all or part of the observation of the network. Simulation parameters considered by the server when creating a policy for such a client node may include queue size, number of UEs competing for base station resources, any bottlenecks in the network, etc. The selection of such simulation parameters will be a factor of the state distribution observed by the agent during learning. Thus, the simulation parameters define the observation range for the agent to act upon after deployment. The server generates a policy that maps the observations (network throughput, round trip time (RTT), packet loss, etc.) to actions α that lead to good performance. The same observations will be used for training the parameter generation model and the state classification model. If the base station then observes an unexpected network condition, for example a much higher RTT than expected, it can recognize this as a critical condition and implement the procedures described above.

[0049] As a result of identifying critical environmental conditions and updating policies, systems according to aspects of the embodiments (including systems implemented in telecommunications networks) can adapt to evolving operating environments and provide reliable operation over long periods of time. Furthermore, because policies can be shared among multiple client nodes, a given client node may be able to respond to environmental conditions not previously observed by that client node (environmental conditions observed at another client node, in response to which a policy has been generated), improving the resilience of the system. Also, because policies are generated at a server and then distributed to client nodes, the client nodes themselves do not need to have the ability to generate policies, allowing for the use of client nodes with simple configurations.

[0050] It will be appreciated that examples of the present disclosure may be virtualized such that the methods and procedures described herein may be performed in a cloud environment.

[0051] The method of the present disclosure can be implemented in hardware or as a software module running on one or more processors.The method can also be executed according to the instructions of a computer program, and the present disclosure also provides a computer-readable medium storing a program for executing any of the methods described herein.The computer program embodying the present disclosure can be stored in a computer-readable medium, or can be in the form of a signal, such as, for example, a downloadable data signal provided from an Internet website, or in any other form.

[0052] In general, various exemplary embodiments may be implemented by hardware or dedicated circuits, software, logic, or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device, but the present disclosure is not limited thereto. Although various aspects of the exemplary embodiments of the present disclosure may be illustrated and described using block diagrams, flow charts, or some other visual representations, it is understood that these blocks, apparatus, systems, techniques, or methods described herein may be implemented, as non-limiting examples, in hardware, software, firmware, dedicated circuits or logic, general-purpose hardware or controllers or other computing devices, or any combination thereof.

[0053] It should therefore be understood that at least some aspects of the exemplary embodiments of the present disclosure may be implemented in a variety of components, such as integrated circuit chips and modules. It will therefore be understood that the exemplary embodiments of the present disclosure may be realized in an apparatus implemented as an integrated circuit, which may have circuitry (and possibly firmware) for implementing at least one of a data processor, a digital signal processor, a baseband circuit, and a radio frequency circuit that can be configured to operate in accordance with the exemplary embodiments of the present disclosure.

[0054] It should be understood that at least some aspects of the exemplary embodiments of the present disclosure may be implemented in computer-executable instructions, such as one or more program modules, executed by one or more computers or other devices. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform particular tasks or implement particular abstract data types when executed by a processor in a computer or other device. The computer-executable instructions may be stored on a computer-readable medium, such as a hard disk, an optical disk, a removable storage medium, a semiconductor memory, a RAM, etc. As will be appreciated by those skilled in the art, the functionality of the program modules may be combined or distributed as desired in various embodiments. Furthermore, the functionality may be implemented in whole or in part in firmware or hardware equivalents, such as integrated circuits, field programmable gate arrays (FPGAs), etc.

[0055] References in this disclosure to "one embodiment," "an embodiment," and the like indicate that the embodiment being described may include a particular feature, structure, or characteristic, but not all embodiments need to include the particular feature, structure, or characteristic. Moreover, such phrases do not necessarily refer to the same embodiment. Furthermore, when a particular feature, structure, or characteristic is described in connection with an embodiment, it is implied that it is within the knowledge of one of ordinary skill in the art to implement such feature, structure, or characteristic in connection with other embodiments, whether or not explicitly described.

[0056] Although terms such as "first", "second" and the like may be used herein to describe various elements, it should be understood that these elements should not be limited by these terms. These terms are used only to distinguish one element from another element. For example, within the scope of this disclosure, a first element can be referred to as a second element, and similarly, a second element can be referred to as a first element. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed terms. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure.

[0057] As used herein, the singular forms "a" and "an" are intended to include the plural forms unless the context clearly indicates otherwise. As used herein, the terms "comprises," "comprising," "has," "having," "includes," and / or "including" specify the presence of stated features, elements, and / or components but do not exclude the presence of one or more other features, elements, components, and / or combinations thereof. As used herein, the terms "connect," "connects," and / or "connected" encompass direct and / or indirect connections between two elements.

[0058] The present disclosure includes any novel feature or combination of features explicitly disclosed herein, or any generalized form thereof. Various modifications and adaptations to the above exemplary embodiments of the present disclosure will become apparent to those skilled in the relevant art in view of the above description, when read in conjunction with the accompanying drawings. However, any and all modifications will still fall within the scope of the non-limiting and exemplary embodiments of the present disclosure. For the avoidance of doubt, the scope of the present disclosure is defined by the claims.

Claims

1. 1. A method of operating a client node for implementing reinforcement learning (RL), the client node directing behavior in an environment according to a policy, the method comprising: identifying one or more critical conditions in the environment for which a current policy provides untrusted behavior; initiating sending a re-learn request to a server, the re-learn request having information regarding the one or more critical conditions; receiving a new policy from the server, where the new policy is generated by the server using a RL based on the information regarding the one or more critical conditions; and directing behavior in the environment in accordance with the new policy.

2. A method of operation of a system having the client node and the server for implementing RL, the method comprising the steps of the method of claim 1, and further comprising, by the server: receiving the relearning request from the client node; retraining a machine learning system (MLS) responsible for the current policy based on the information regarding the one or more critical conditions in the retrain request to generate the new policy; and distributing the new policy generated by the MLS to the client nodes.

3. A client node for implementing reinforcement learning (RL), the client node being configured to direct behavior in an environment according to a policy, the client node having processing circuitry and memory storing instructions executable by the processing circuitry, the instructions causing the client node to: identifying one or more critical conditions of the environment for which a current policy provides untrusted behavior; initiate sending a re-learn request to a server, the re-learn request having information regarding the one or more critical conditions; receiving a new policy from the server, where the new policy is generated by the server using a RL based on the information regarding the one or more critical conditions; A client node operable to direct behavior in said environment in accordance with said new policy.

4. 4. The client node of claim 3, wherein the critical state of the environment is substantially different from all of the states of the environment used to generate the current policy.

5. The client node of claim 4 , configured to identify the critical condition based on observations of the environment.

6. 6. The client node of claim 5, configured to identify the critical conditions through a comparison of the environment with environmental conditions used to generate the current policy.

7. The client node of claim 6 , configured to use a Random Network Distillation (RND) technique in the comparison.

8. 8. A client node according to claim 5, further configured to identify the critical condition based on aggregate information provided by the server.

9. 9. A client node according to claim 3, further configured to identify the one or more critical conditions of the environment using a condition classification model.

10. The client node of claim 9 , wherein the relearning request includes a sample of the one or more critical conditions.

11. The client node of claim 10 , configured to encrypt the samples before initiating transmission of the relearning request.

12. 10. A client node according to claim 3, configured to use the identified one or more critical conditions to infer simulation parameters and to include the inferred simulation parameters in the relearning request.

13. 13. A client node according to any one of claims 3 to 12, configured to receive the current policy from the server or to be loaded with the current policy before connecting to the server.

14. A client node according to any one of claims 3 to 13, wherein the environment is at least part of a telecommunications network.

15. A client node according to claim 14, comprised within a base station of the telecommunications network.

16. 16. A client node according to claim 14 or 15, configured to instruct actions including at least one of modifying a packet transmission rate and delaying packets.

17. 17. A system comprising a client node according to any one of claims 3 to 16 and further comprising a server, the server having a processing circuit and a memory storing instructions executable by the processing circuit, the server comprising: receiving the relearning request from the client node; retraining a machine learning system (MLS) responsible for the current policy based on the information regarding the one or more critical conditions in the retrain request to generate the new policy; The system is operable to distribute the new policy generated by the MLS to the client nodes.

18. 20. The system of claim 17, wherein the server is further configured to maintain a state classification model, update the state classification model when the MLS is relearned, and distribute the updated state classification model together with the new policy.

19. 20. The system of claim 18, wherein the information regarding the one or more critical conditions in the relearning request comprises inferred simulation parameters, and the server is further configured to relearn the MLS using the inferred simulation parameters.

20. 20. The system of claim 17, wherein distributing the new policy comprises: At a preset interval, if requested by said client node, and / or The system is executed based on the current state of the server and client nodes.

21. 21. The system of claim 17, wherein the system comprises a plurality of client nodes, and distributing the new policy comprises distributing the policy to all of the plurality of client nodes.

22. 22. The system of claim 21, wherein the server is configured to relearn the MLS upon receiving a predetermined number of relearning requests from the plurality of client nodes, and to use information regarding the one or more critical conditions from all of the received relearning requests in the relearning of the MLS.

Citation Information

Patent Citations

  • Reinforcement learning device, reinforcement learning program, and reinforcement learning method

    JP2019175058A

  • Prediction method, prediction program, and model learning method

    JP2020154785A

  • Method and apparatus for automated decision making

    US20190318254A1

  • Machine learning system

    US20200302322A1

  • Distributed training using off-policy actor-critic reinforcement learning

    WO2019149949A1