Smoothed reward system transfer for actor- critic reinforcement learning models
Abstract
Methods and systems for smoothening the transition of reward systems or datasets for actor-critic reinforcement learning models. A reinforcement model such as an actor-critic model is trained on a first dataset and a first reward system. The weights of the actor model and the critic model are frozen. While these weights are frozen, an affine transformation layer is attached to a final layer of the critic model, and the affine transformation layer is trained with a second dataset and a second reward system in order to adjust a weight of the final layer of the critic model. Then, the weights of the critic model are unfrozen which allows the adjusted weight of the final layer of the critic model to be implemented. The reinforcement learning model is retrained on the second dataset and second reward system, first with just the critic weights unfrozen, and then with both actor and critic weights unfrozen.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method of training a reinforcement learning model comprising: training a reinforcement learning model on a first dataset, wherein the reinforcement learning model utilizes a first reward system, an actor model, and a critic model; freezing weights of both the actor model and the critic model; while the actor model and critic model are frozen: (i) attaching an affine transformation (AT) layer to a final layer of the critic model, and (ii) training the AT layer with a second dataset and a second reward system in order to modify a weight of the final layer of the critic model; unfreezing the weights of the critic model to allow implementation of the modified weight of the final layer; retraining the reinforcement learning model on the second dataset and the second reward system while the weights of the critic model are unfrozen and the weights of the actor model are frozen; unfreezing the weights of the actor model; and retraining the reinforcement learning model on the second dataset and the second reward system while the weights of both the critic model and the actor model are unfrozen.
- Claim 2Depends on #1
The method of claim 1, wherein the first dataset is the same as the second dataset.
- Claim 3Depends on #1
The method of claim 1, wherein the first dataset is different than the second dataset.
- Claim 4Depends on #1
The method of claim 1, wherein the first reward system is the same as the second reward system.
- Claim 5Depends on #1
The method of claim 1, wherein the first reward system is different than the second reward system.
- Claim 6Depends on #1
The method of claim 1, wherein the training of the AT layer includes scaling or shifting Q-values output by the critic model.
- Claim 7Depends on #1
The method of claim 1, further comprising: utilizing one or more battery state sensors to determine the first and second datasets, wherein the one or more battery state sensors detect at least one of a voltage, current, and temperature of a battery.
- Claim 8Independent Claim
A system of training a reinforcement learning model, the system comprising: one or more processors; and memory storing instructions that, when executed by the one or more processors, cause the one or more processors to: train a reinforcement learning model on a first dataset, wherein the reinforcement learning model utilizes a first reward system, an actor model, and a critic model; freeze weights of both the actor model and the critic model; while the actor model and critic model are frozen: (i) attach an affine transformation (AT) layer to a final layer of the critic model, and (ii) train the AT layer with a second dataset and a second reward system in order to modify weights of the final layer of the critic model based; unfreeze the weights of the critic model; retrain the reinforcement learning model on the second dataset and the second reward system while the weights of the critic model are unfrozen and the weights of the actor model are frozen; unfreeze the weights of the actor model; and retrain the reinforcement learning model on the second dataset and the second reward system while the weights of both the critic model and the actor model are unfrozen.
- Claim 9Depends on #8
The system of claim 8, wherein the first dataset is the same as the second dataset.
- Claim 10Depends on #8
The system of claim 8, wherein the first dataset is different than the second dataset.
- Claim 11Depends on #8
The system of claim 8, wherein the first reward system is the same as the second reward system.
- Claim 12Depends on #8
The system of claim 8, wherein the first reward system is different than the second reward system.
- Claim 13Depends on #8
The system of claim 8, wherein the training of the AT layer includes scaling or shifting Q-values output by the critic model.
- Claim 14Depends on #8
The system of claim 8, further comprising: one or more battery state sensors configured to output the first and second datasets, wherein the one or more battery state sensors detect at least one of a voltage, current, and temperature of a battery.
- Claim 15Independent Claim
A method of training a reinforcement learning model comprising: providing a reinforcement learning model with an actor model and a critic model; training the reinforcement learning model with a first reward system; freezing weights of both the actor model and the critic model; while the actor model and critic model are frozen: (i) attaching an affine transformation (AT) layer to the critic model, and (ii) training the AT layer with a second reward system; unfreezing the weights of the critic model; while the weights of the critic model are unfrozen and the weights of the actor model are frozen, retraining the reinforcement learning model with the second reward system; unfreezing the weights of the actor model; and while the weights of both the critic model and the actor model are unfrozen, retraining the reinforcement learning model with the second reward system.
- Claim 16Depends on #15
The method of claim 15, wherein: the step of training the reinforcement learning model is performed on a first dataset, the step of training the AT layer is on a second dataset, the steps of retraining the reinforcement learning model are on the second dataset.
- Claim 17Depends on #16
The method of claim 16, wherein the first dataset is different than the second dataset.
- Claim 18Depends on #15
The method of claim 15, wherein the first reward system is different than the second reward system.
- Claim 19Depends on #15
The method of claim 15, further comprising: utilizing one or more battery state sensors to determine the first and second datasets, wherein the one or more battery state sensors detect at least one of a voltage, current, and temperature of a battery.
- Claim 20Depends on #15
The method of claim 15, further comprising: outputting a trained reinforcement learning model configured to optimizing charging of a vehicle battery, wherein the first and second datasets are associated with at least one of a battery voltage, battery current, or battery temperature.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS The present disclosure is related to the following applications which are filed on the same day as this application, and which are incorporated by reference herein in their entirety: U.S. patent application Ser. No. 17/979,047, titled REINFORCEMENT LEARNING FOR CONTINUED LEARNING OF OPTIMAL BATTERY CHARGING, U.S. patent application Ser. No. 17/979,054, titled NEURAL NETWORK FEATURE EXTRACTOR FOR ACTOR-CRITIC REINFORCEMENT LEARNING MODELS, TECHNICAL FIELD The present disclosure relates to a smoothed transfer of reward systems for actor-critic reinforcement models. In particular, the present disclosure provides methods and systems for smoothening the transfer between one reward system to another reward system in an actor-critic model context. BACKGROUND Reinforcement learning is an area of machine learning concerned with how intelligent agents ought to take actions in an environment in order to maximize the notion of cumulative reward. Typically, reinforcement learning is modeled as a Markov decision process (MDP). An actor-critic model is a type of reinforcement learning in which an actor model commands or provides an action on an environment, and a critic model determines a state of the environment as influenced by the action. The critic model also determines a reward based on the action, wherein a good outcome is rewarded, and a bad outcome is rewarded less, not rewarded, or penalized. This process is repeated with a goal of maximizing the reward. The reward system for the actor-critic model can be transferred. For example, the system may remove a first reward system, and input a second reward system to alter the training. Reinforcement learning can be used in large environments in situations, for example, where a model of the environment is known but an analytic solution is not available, or where the only way to collect information about the environment is to interact with it. SUMMARY In an embodiment, a method of training
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (25)
Non-Patent Literature (10)
- Nicolas Heess et al.,
- “
- Memory-based control with recurrent neural networks.
- ”
- arXiv:1512.04455v1 [cs.LG] Dec. 14, 2015, 11 Pages.
- Peter M. Attia et al.
- “
- Closed-loop optimization of fast-charging protocols for batteries with machine learning.
- ”
- Nature Feb. 20, 2020, vol. 578, pp. 397-418.