원시데이터 수집 시스템
선정목록으로

Meta-Learning via Weighted Gradient Update

관련 산업용 섬유 · (8) HDPE 섬유(FORPE)

기본 정보

저자
  1. Zhixiong Xu — College of Command and Control Engineering, Army Engineering University, Nanjing, China|||College of Command and Control Engineering, Army Engineering University, Nanjing 210007, China
  2. Lei Cao — College of Command and Control Engineering, Army Engineering University, Nanjing, China|||College of Command and Control Engineering, Army Engineering University, Nanjing 210007, China
  3. Xiliang Chen — College of Command and Control Engineering, Army Engineering University, Nanjing, China|||College of Command and Control Engineering, Army Engineering University, Nanjing 210007, China
DOI
10.1109/access.2019.2933988
저널
IEEE Access
발행년도
2019
발행기관
Institute of Electrical and Electronics Engineers
피인용수
12
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/access.2019.2933988
토픽
Fuel Cells and Related Materials
OpenAlex ID
W2967645217

평가 내용

관련도
관련
사업분야
산업용 섬유 · (8) HDPE 섬유(FORPE)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > HDPE 섬유(FORPE)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Despite deep reinforcement learning has attained performance beyond human beings in many domains, including games, dialogue systems and robotics, sample inefficient is still a limitation in the application of deep reinforcement learning. This paper develops a novel and simple gradient-based meta learning method suitable for improving learning efficiency of deep reinforcement learning methods. Rather than designing complex network or adding excessive fine tuning parameters, the proposed method is simple and does not introduce any learned parameters for meta learning. Specifically, according to the characteristic of different trajectories, this paper proposes to weight every trajectory in model-agnostic meta-learning for meta updating gradient effectively. The key idea underlying this method is to take advantage of the relationship between different trajectories and the direction of parameter update. Additionally, an end-to-end training approach is also introduced so that the proposed model can attain good results with a small amount of training data on new tasks. The statistical results of the experiments indicate that the proposed algorithm delivers state-of-the-art performance on both discrete and continuous control tasks.

본문 42,967자

본문 펼치기
Received July 14, 2019, accepted July 26, 2019, date of publication August 8, 2019, date of current version August 22, 2019. _Digital Object Identifier 10.1109/ACCESS.2019.2933988_ # Meta-Learning via Weighted Gradient Update ZHIXIONG XU, LEI CAO, AND XILIANG CHEN College of Command and Control Engineering, Army Engineering University, Nanjing 210007, China Corresponding author: Lei Cao (caolei.nj@foxmail.com) This work was supported by the Equipment Development Fund Project under Grant 6141B08010101. ABSTRACT Despite deep reinforcement learning has attained performance beyond human beings in many domains, including games, dialogue systems and robotics, sample inefficient is still a limitation in the application of deep reinforcement learning. This paper develops a novel and simple gradient-based meta learning method suitable for improving learning efficiency of deep reinforcement learning methods. Rather than designing complex network or adding excessive fine tuning parameters, the proposed method is simple and does not introduce any learned parameters for meta learning. Specifically, according to the characteristic of different trajectories, this paper proposes to weight every trajectory in model-agnostic meta-learning for meta updating gradient effectively. The key idea underlying this method is to take advantage of the relationship between different trajectories and the direction of parameter update. Additionally, an end-toend training approach is also introduced so that the proposed model can attain good results with a small amount of training data on new tasks. The statistical results of the experiments indicate that the proposed algorithm delivers state-of-the-art performance on both discrete and continuous control tasks. INDEX TERMS Deep reinforcement learning, gradient update, meta learning, model-agnostic, weight. I. INTRODUCTION While deep reinforcement learning agents have delivered much better performance than human from games [1], to dialogue systems [2], to robotics [3], they are known to be sample inefficient, and require huge amount of trial and error and long training time. Sample inefficient has always been a thorn in the side of deep reinforcement learning research, including supervised learning and unsupervised learning, while recently emerging meta-learning [4] method has been proved to be effective in solving sample inefficient. The goal of meta-learning is to help agents improve average performance on a number of new and different tasks through taking advantage of experience in past tasks. From the perspective of utilization, the current meta learning methods are mainly divided into three categories: the first one is the gradient-based meta learning method that learns parameter initialization from past experience on the distribution of related tasks [5]–[8], the second one is meta learning method based on memory-enabled network that takes advantage of the characteristics of network structure to memorize past experience [9]–[15], and the third one is hierarchical meta The associate editor coordinating the review of this article and approving it for publication was Li He. learning method, which generally divides the network into two layers so as to learn different levels of task knowledge: High-level network provides low-level network with subgoals and rewards, and decides which low-level network to choose, while low-level network decide which primitive action to select [16]–[21]. In this paper, the authors propose a gradient-based meta learning method that is versatile and model-agnostic, in the sense that it can be combined with any gradient-based reinforcement learning algorithms for sample efficient. The proposed method aims to provide a general initialization of neural network parameters for reinforcement learning algorithms. The reinforcement learning algorithms with initialized networks are able to quickly adapt to a new task in a very small number of trials. The core idea of the proposed method is to find a set of the parameters of model that is sensitive enough to adapt efficiently to a number of new tasks after the parameters of model have been updated within a few gradient steps. The framework of the proposed method is built on the Model-Agnostic Meta-Learning (MAML) algorithm [5] in meta-learning, but is combined with weighted gradient update mechanism. Besides, the authors design an end-toend training approach for the proposed method that allows for effectively initializing the parameters of model. In general, the contributions of this paper are listed below. - The authors propose a gradient-based meta learning method that trains the parameters of model so that a very small number of trials on a new task are able to help the model deliver good performance. - The authors present a novel end-to-end training approach to consider learning parameters initialization from multiple past trajectories. - The empirical evaluation results demonstrate that the proposed method brings a significant improvement on performance of pure deep reinforcement learning algorithms, and surpasses other state-of-the-art meta learning algorithms while solving new tasks The organization of the rest of paper is as follows. Related work about meta learning methods are introduced in Section II. In Section III, the authors formulate an optimization problem of meta learning and present the details of the proposed method. In Section IV, the authors evaluate the proposed algorithm with other state-of-the-art learning algorithms on both discrete and continuous control tasks, and discuss the effect of different measurement methods of weight on the proposed algorithm. Concluding remarks with a discussion of the promising work in the future are described in Section V. II. RELATED WORK Research on meta learning has been around for a long time, and meta learning has recently become a prominent field, because many people have always advocated it as the key to realizing universal artificial intelligence in the future. The key idea of meta learning is to learn a versatile model that is capable of solving any new task with very few training samples through training on a number of different tasks belonging to the same distribution. The current research of meta learning methods is mainly divided into three categories: the first one is utilizing gradients in past training tasks to help initialize the networks for a new task. Finn _et al._ [5] present a generic meta algorithm called Model-Agnostic Meta-Learning (MAML) method, in which the parameters of networks are explicitly trained so that a small number of gradient steps with very few training samples from a new task will bring significant improvement on performance of the task. Al-Shedivat _et_ _al._ [6] extend MAML method to non-stationary environments for continuous adaptation of DRL agents. Specifically, the improved method is able to learn to predict the dynamics of the environment and adjust policy accordingly in advance. Xu _et_ _al._ [7] focus on learning and optimizing discount factor of a return function in reinforcement learning online, and prove that adjusting discount factor of a return function dynamically could lead to much better performance on Atari games [8]. The second one is making use of memory-augmented neural network for remembering meta information between a variety of tasks. The typical methods are RNN-based meta-learning methods that can also be divided into two categories: One is treating RNN as the meta-learner, which directly takes a number of different tasks as training samples, then, during the test experiment the RNN model outputs the estimated value according to the new test input. Wang _et al._ [9] extend recurrent networks to the reinforcement learning setting, and take the action and reward in the previous time interval as additional input for recurrent network. Santoro _et al._ [10] prove that a memory-augmented neural network (MANN) is capable of effectively assimilating training samples, and predicting new data accurately with the help of memory network. Mishra _et_ _al._ [11] propose a generic architecture that combines soft attention with temporal convolutions. The temporal convolutions are capable of aggregating message from past trajectory, while the soft attention is able to locate specific information accurately. Duan _et_ _al._ [12] propose to learn the algorithm end-toend using standard reinforcement learning techniques rather than acting as the designers themselves. The other one is treating RNN as the meta learner for network parameters of basic learner, which directly outputs the network parameters for basic learner, then, during the test experiment the test input is fed into basic learner to estimate output. Andrychowicz _et al._ [13] propose to learn recurrent neural network optimizers by gradient descent, and show that the learned optimizers are capable of effectively optimizing a broad range of derivative-free black-box functions. Ravi and Larochelle [14] introduce an LSTM-based network model that is trained to optimize another neural network classifier. Bertinetto _et_ _al._ [15] propose to train a meta-learner for leveraging the training samples to the network parameters of RNN, so as to predict new samples. The third one is the hierarchical meta learning methods aim to break down complex problems into multiple small problems, and solve the original problems by solving small problems separately. Options-based method is one of the representative hierarchical reinforcement learning methods. The previous research on Options-based methods mainly assume that options are artificially designed in advance, recently more research focus on designing options by meta learning methods [16], [17]. Vezhnevets _et al._ [18] propose an architecture in which a manager module and a worker module. The manager module sets goal for the work module, which outputs primitive actions at every timestep. Florensa _et al._ [19] present a novel and simple framework, which is able to master reasonable skills from training tasks in advance and transfer the learned skills to new tasks efficiently. Bacon _et_ _al._ [20] develop a general, gradient-based approach called OptionCritic for learning the internal options and the external policies at the same time. Levy _et_ _al._ [21] propose Hierarchical Actor-Critic (HAC) algorithm, which has the potential for faster learning as agents learn short policies at each level of the hierarchy. The above contents briefly present recent work about meta learning. This paper proposes a novel and generic gradientbased meta learning method called WGU-MAML (Weighted Gradient Update based Model-Agnostic Meta-Learning), which considers parameters initialization from the perspective of gradient update, and builds upon state-of-the-art meta learning method—MAML, where the distribution of related tasks are sampled and the gradient update is performed for each task with respect to the initial set of parameters, and meta update is conducted where a gradient steps is taken on the initial parameters in the direction, which would have maximally benefited the average return over all of the subupdates. III. METHODOLOGY In this section, the authors firstly formulate reinforcement learning and meta learning problems. Then, the objective of model-agnostic meta-learning is described. At last, the proposed weighted gradient update method is detailed. _A._ _PROBLEM FORMULATION_ Assume _M_ = { _S, A, P, r, γ, H_ } is a finite-horizon Markov decision process (MDP). The definition of elements in _M_ is as follows: _S_ represents the set of states, _A_ is the set of actions, _P_ : _S_ × _A_ × _S_ → R represents a transitions probability distribution, _r_ : _S_ × _A_ → R is a reward function, the discount factor is _γ_ ∈ (0 _,_ 1], and _H_ is the horizon. In traditional reinforcement learning, the policy _πθ_ : _S_ × _A_ → R tells the agent which action to choose according to the current state. The goal of reinforcement learning is to optimize to obtain a set of parameters _θ_ of the policy _πθ_, which maximizes the expected discounted reward: value. In general, the authors use the negative cumulative reward _LT_ ( _τ_ ) := − - _H_ _t_ =1 <sup>_rt_</sup> (4) of a trajectory _τ_ instead of the single reward, _PT_ ( _s_ ) and _PT_ ( _st_ +1| _st_ _, at_ ) represent the dynamics of the environment in task _T_ . _H_ is the horizon. The goal of MAML is to find a policy _πφ_, after learning from _K_ trajectories from the distribution _D_ ( _T_ ) under policy _πθ_, denoted _τθ_ <sup>1:</sup> <sup>_K_</sup>, which minimizes the expected loss on a new task from _D_ ( _T_ ). Specifically, MAML optimizes parameters _φ_ of policy _πφ_ by using gradient of _LT_ ( _τθ_ <sup>1:</sup> <sup>_K_</sup> ) w.r.t. _θ_ : _φ_ := _θ_ - _β_ ∇ _θ_ _LT_ ( _τθ_ <sup>1:</sup> <sup>_K_</sup> ) (5) _θ_ <sup>1:</sup> <sup>_K_</sup> ) := <sup><u>1</u></sup> _LT_ ( _τθ_ <sup>1:</sup> <sup>_K_</sup> _K_ _θ_ <sup>_k_</sup> <sup>∼</sup> <sup>_PT_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>|</sup> <sup>_θ_</sup> <sup>)</sup> (6) _K_ _k_ =1 _LT_ ( _τθ_ <sup>_k_</sup> _θ_ <sup>_k_</sup> <sup>)</sup> <sup>_,_</sup> _τθ_ <sup>_k_</sup> _H_ _LT_ ( _τθ_ ) = - _Est_ _,at_ ∼ _πθ_ _,pT_ ( _s_ )[� _r_ ( _st_ _, at_ )] (7) _t_ =1 where _β_ is meta learning rate. The algorithm of MAML for reinforcement learning is detailed in Algorithm 1. TABLE 1. Training process for Maml algorithm. _C._ _WEIGHTED GRADIENT UPDATE METHOD_ The proposed method draws inspiration from prioritized experience replay [22] mechanism and builds on MAML algorithm. When re-sampling _K_ trajectories _τθi_ ′ <sup>under the pol-</sup> icy _πθi_ and using trajectories to meta update, the authors score every trajectory and give the bad trajectory a greater weight, rather than average all trajectories for gradient update. Then, meta update the gradient by weighting and summing all trajectories. _R_ ( _πθ_ ) = _Eπθ_ [ - _H_ _t_ =0 <sup>_γ t_</sup> <sup>_r_</sup> <sup>(</sup> <sup>_st_</sup> <sup>)]</sup> (1) where _at_ ∼ _πθ_ ( _at_ | _st_ ) and _st_ +1 ∼ _P_ ( _st_ +1| _st_ _, at_ ). In meta learning, the authors focus on multiple MDPs _M_ = { _Mi_ } <sup>_N_</sup> _i_ =1 <sup>that</sup> <sup>consist</sup> <sup>of</sup> <sup>a</sup> <sup>distribution</sup> <sup>of</sup> <sup>related</sup> <sup>tasks.</sup> The goal of meta learning is to find a set of parameters _θ_ and paired update method _U_ so as to have _πU_ ( _θ_ ) learns _Mi_ efficiently, given _Mi_ ∼ _M_ . In other words, a well-designed meta learning algorithm would solves a new task with a very small number of trials, while traditional reinforcement learning algorithms might require massive training. The objective of meta learning can be classified as: min _θ_ _Mi_ _E_ ( _πU_ ( _θ_ ))[ _LMi_ ] (2) where _LMi_ represents the loss function for _Mi_ . The authors will discuss the specific meaning of objective under the proposed method further below. _B._ _THE MODEL-AGNOSTIC META-LEARNING OBJECTIVE_ This paper focuses on the objective of meta learning with a view of Model-Agnostic Meta-Learning (MAML). Assume there is a given distribution of related tasks, _D_ ( _T_ ), and _T_ is one of tasks with tuple _T_ := ( _LT, PT_ ( _s_ ) _, PT_ ( _st_ +1| _st_ _, at_ ) _, H_ ) (3) In MAML, the loss function _LT_ : _T_ → R maps a trajectory _τ_ := ( _s_ 0 _, a_ 1 _, s_ 1 _, r_ 1 _, . . ., aH_ _, sH_ _, rH_ ) ∈ _T_ to a scalar loss The authors assume the loss of a trajectory can be used as an important criterion for measuring the quality of a trajectory. Consider the definition of the loss of a trajectory in meta learning, it’s true that the greater the loss value, the worse the quality of the trajectory. As a result, the authors weight every trajectory according to the magnitude of their own losses. Specifically, the authors define the weights of sampled trajectories _D_ <sup>′</sup> _i_ <sup>as:</sup> <sup>′</sup> _i_ <sup>) =</sup> <u>�</u> _w_ <sup>_α_</sup> _<u>i</u>_ _W_ ( _D_ <sup>′</sup> _i_ _<u>i</u>_ <u>�</u> _k_ <sup>_w_</sup> _k_ <sup>_<u>α</u>_</sup> (8) The algorithm of WGU-MAML for reinforcement learning is detailed in Algorithm 2. TABLE 2. Training process for Wgu-Maml algorithm. By evaluating the importance of every trajectory, the authors try to make the initial network parameters meta update in a better direction. Compare to the average way in MAML, the authors make the initial network parameters gradient update in a weighted way. To ensure that the trained model is robust and can adapt efficiently to a number of new tasks, the authors still keep the trajectory with low weight in order to prevent parameters from falling into a locally optimal space. Furthermore, in proposed method the authors rely on the original trajectory produced during learning process, and don’t introduce additional fine tuning hyper-parameters into MAML algorithm, which ensures that the proposed method is able to adjust the learning direction based on the past trajectories instead of human experience. Maximizing useful knowledge from past trajectories is an important aspect of meta learning. IV. EXPERIMENTS The authors perform experiments to find the answers for the following questions: - Can WGU-MAML learn a new task faster than traditional deep reinforcement learning algorithms? - Can WGU-MAML achieve better performance than MAML while learning the same new task? _k_ where _wi_ = _rank_ ( _i_ ) and _rank_ ( _i_ ) is the rank of sampled trajectory _i_ when the collection of sampling trajectories is sorted in ascending order according to _LTi_ ( _fθi_ ′ <sup>).</sup> sorted in ascending order according to _LTi_ ( _fθi_ ′ <sup>).</sup> The measurement method designed is indirect, rank-based, and is monotonic in _LTi_ ( _fθi_ ′ <sup>).</sup> <sup>By</sup> <sup>weighting</sup> <sup>every</sup> <sup>trajectory,</sup> and is monotonic in _LTi_ ( _fθi_ ′ <sup>).</sup> <sup>By</sup> <sup>weighting</sup> <sup>every</sup> <sup>trajectory,</sup> the authors rewrite the formula () as: _LT_ ( _τθ_ <sup>1:</sup> <sup>_K_</sup> ) := _K_ _k_ =1 _W_ ( _D_ <sup>′</sup> _k_ _θ_ <sup>_k_</sup> <sup>)</sup> <sup>_, τ_</sup> _θ_ <sup>_k_</sup> <sup>′</sup> _k_ <sup>)</sup> <sup>_LT_</sup> <sup>(</sup> <sup>_τ_</sup> _θ_ <sup>_k_</sup> _θ_ <sup>_k_</sup> <sup>∼</sup> <sup>_PT_</sup> <sup>(</sup> <sup>_τ_</sup> <sup>|</sup> <sup>_θ_</sup> <sup>)</sup> (9) <sup>′</sup> _i_ <sup>) =</sup> <u>�</u> _<u>wk</u>_ <sup>_α_</sup> _<u>i</u>_ <sup>_~~α~~_</sup> _k_ <sup>. As shown in Figure 1 below.</sup> where _W_ ( _D_ <sup>′</sup> _i_ _<u>i</u>_ <u>�</u> _k_ <sup>_w_</sup> <sup>_~~α~~_</sup> _k_ FIGURE 1. Diagram comparing MAML and WGU-MAML. A biased implementation of MAML is illustrated in gray. WGU-MAML is illustrated in brown. Meta-learning steps are shown using solid lines while adaptation is shown in dashed lines. _wi_ refers to weights for different trajectories. In contrast to MAML, WGU-MAML provides unbiased initial model parameters to efficiently adapt to new tasks. The problem with MAML is that the initial model can be trained biased towards some tasks, and such a biased initial model may not be well generalizable to an unseen task that has a large deviation from meta-training tasks, especially when very few examples are available on the new task, while WGU-MAML is capable of meta learning an unbiased initial model by prevent it from overperforming on some tasks. Specifically, compared to MAML update, the WGUMAML update minimizes the inequality of performances across different training tasks through giving different trajectories different update weights according to their losses, in a hope to make it more generalizable to unseen tasks. - Can a model learned with WGU-MAML is superior to existing algorithms that have been proposed in meta learning literature? - Which measurement method of weight is more effective for the proposed algorithm? For the first three questions, the authors evaluate WGU-MAML method with Trust-Region Policy Optimization (TRPO) [23], MAML and Meta Learning Shared Hierarchies (MLSH) [24] on both discrete and continuous control tasks. When TRPO learns a new task as a deep reinforcement learning method, it starts from scratch with randomly initialized parameters of the model. MLSH is a recent proposed meta learning method, which aims to improve the performance of a new task from the perspective of hierarchical reinforcement learning. For the final question, the authors design another measurement method for weight, and evaluate two types of WGU-MAML methods: magnitude-based and rank-based measurement methods, with pure MAML on 2D Navigation task, which also has been defined and studied in prior meta-RL work [5], to explore which measurement method of weight is more effective for the proposed algorithm. _A._ _EXPERIMENTAL SETUP_ The proposed WGU-MAML algorithm was evaluated on both discrete and continuous control tasks, including Dependent Multi-Armed Bandits (MAB), Tabular Markov Decision Process (MDPs) and a number of high-dimensional locomotion tasks: half-cheetah task and ant task. 1) DEPENDENT MULTI-ARM BANDIT (MAB) Dependent Multi-Arm Bandit (MAB) task is a benchmark task that has been extensively studied in meta learning literature. In dependent MAB task, there are _k_ arms, if the agents pull one of _k_ arms, it will gets a reward, which is sampled from an unknown distribution at every time step. The authors assume each arm to be a Bernoulli distribution with parameter _bi_, and the goal of the agent is to maximize the cumulative reward received over a certain number of time steps. The key difficulty exits in MAB task is how to balance exploration and exploitation. ‘‘Exploration’’ means pulling each arms enough times to presume the distribution with parameter _bi_ behind, while ‘‘exploitation’’ means selecting the best arms the agent has mastered. 2) TABULAR MARKOV DECISION PROCESS (TABULAR MDPS) The distribution of MDPs is designed as the number of state and action is 10, 5 respectively. The rewards follow a Gaussian distribution with unit variance. The transitions are sampled independently from a flat Dirichlet distribution. The horizon for each episode is set _H_ = 10. The more details can be found in the literature [12]. FIGURE 2. The half-cheetah (left) and ant (right) tasks. 3) LOCOMOTION The locomotion tasks contain two kinds of robots: a planar cheetah and a 3D quadruped called ‘‘ant’’. Both two simulated robots run in a certain direction or at a certain velocity. As shown in the Figure 2. In the goal velocity experiments, the reward is set as the negative absolute value between the current velocity of the agent and a goal, which is chosen randomly: [0 _._ 0 _,_ 2 _._ 0] for the cheetah and [0 _._ 0 _,_ 3 _._ 0] for the ant. The horizon is set as _H_ = 200. See the literature [5] for more details about the task procedures. 4) 2D NAVIGATION TASK A point agent aims to move to goal position in 2D space. The position of goal is randomly chosen for every task. The state of 2D-navigation contains the x and y coordinates of the current position of the point agent. Actions are clipped to be in the range [−0.1, 0.1], which correspond to velocity commands. The reward is design as the negative squared distance to the goal. When the distance between the point agent and the goal position is within 0.01 or the horizon of _H_ exceeds 100, the current episode automatically terminates. The more details can be found in the literature [5]. In terms of parameter settings of the proposed algorithm, the WGU-MAML model trained is a four layers neural network policy, which has two hidden layers of size 100, and Rectified Linear Unit (ReLU) is selected as the activation function. The authors use vanilla policy gradient (REINFORCE) [25] to compute gradient updates, and take TRPO as the meta-optimizer. The authors utilize finite differences to compute the Hessian-vector products for TRPO so as to free the model from computing third derivatives. The value of hyper-parameters are shown in Table III. TABLE 3. Value of hyper-parameters. FIGURE 3. The comparison of four algorithms on tabular MDPs (left), half-cheetah (middle) and ant tasks (right). TABLE 4. Comparison of several meta learning methods in MAB task. Besides, the hyper-parameter settings for TRPO, MAML and MLSH are same as the original paper, which can be found in literature [23], [5] and [24] respectively for more details. All of the designed experiments were conducted using Pytorch [26], which is able to differentiate automatically in the gradient update way during meta learning. _B._ _DEPENDENT MULTI-ARMED BANDITS_ The authors prepared the experiments for 2-arm, 4-arm, and 6-arm bandits, and generated 300 tasks with ample samples for each multi-armed bandit experiment. During testing stage, the authors generated a number of new tasks along with different parameter _bi_ sampled from the uniform distribution on [0, 1] and only a few trials were allowed per task. The authors conducted each experiment 10times so as to reduce the shock of rewards. The authors consider _k_ ∈ {2 _,_ 4 _,_ 6} bandits and _n_ ∈ {5 _,_ 10 _,_ 15 _,_ 20 _,_ 25} trials allowed per task. The test results are summarized in Table IV, where each grid cell records the average reward and standard deviations over multiple different instances of the bandit problems. The authors highlight the highest average score and the lowest standard deviations algorithms in each setup according to the computed mean. The average reward together with standard deviations demonstrates that the proposed method delivers better performance than other meta learning methods at any given test. _C._ _TABULAR MARKOV DECISION PROCESS_ The multi-armed bandit problems focus on whether the policy learns to maintain balance between exploration and exploitation in a natural and simple setting. However, the bandit task itself isn’t a sequence decision making problem, and doesn’t fully characterize the difficulties in solving MDPs. Thus, the authors design further experiments utilizing randomly generated tabular MDPs, which have a small enough number of states and actions so that the transition probability distribution can be stored in a table. The authors generated 300 different tasks with ample samples for training TRPO, MLSH, MAML and WGU-MAML algorithms, and 20 instances per task. During testing stage, the authors generated 20 new tasks along with different transitions sampled from a flat Dirichlet distribution and only few environmental interactions were allowed per task. The authors conducted each experiment 10 times so as to reduce the shock of rewards, and tested the performance of learning algorithms every 100 training episodes. The average scores and standard deviations are summarized in Table V, and the learning curves are demonstrated in Figure 3. Compared with the TRPO, MLSH and MAML algorithms, WGU-MAML improves the average scores by 15.2%, 9.3% and 6.6%, In terms of stability, the standard deviation is reduced by 68.7%, 47.3% and 30.0%. Since TRPO learns every new task from scratch and has to adjust parameters constantly, the performance of TRPO is the worst and unstable. By weighting every trajectory for meta updating the initial parameters, WGU-MAML method leads to an obvious improvement on the original MAML method, and surprisingly outperforms existing meta learning methods by a large margin. Besides, the authors designed multiple hypothesis tests to further compare the performance of the four learning algorithms on MDPs tasks. The significance level was set to 0.05 in the hypothesis test. The score of TRPO algorithm is marked as _STRPO_, the score of MAML algorithm is marked as _SMAML_, the score of MLSH algorithm is marked as _SMLSH_ and the score of WGU-MAML algorithm is marked as TABLE 5. The average score and standard deviation on tabular MDPs, half-cheetah and ant tasks. TABLE 6. The hypothesis test of tabular MDPs, half-cheetah and ant tasks. _SWGU_ - _MAML_ . The hypothesis test results in Table VI demonstrate that the tests for WGU-MAML all rejects original hypothesis and accepts alternative hypothesis. The hypothesis test results further prove that WGU-MAML algorithm is superior to other learning algorithms on control tasks with discrete action spaces. _D._ _LOCOMOTION_ In order to test whether the proposed algorithm can scale to more complicated control tasks with high-dimensional state and action space, the authors study the adaptation on locomotion tasks with the MuJoCo simulator [27]. The authors generated 1000 different tasks with ample samples for training TRPO, MLSH, MAML and WGUMAML algorithms, and 5 instances per task. During testing stage, the authors generated 10 new tasks and only few environmental interactions were allowed per task. The authors conducted each experiment 5 times so as to reduce the shock of rewards, and tested the performance of learning algorithms every 100 training episodes. The learning curves are shown in Figure 3, and the average scores and standard deviations are summarized in Table V. The analyzed results demonstrate that compared to other learning algorithms, the proposed method can learn a model that adapt its velocity and direction more quickly. The experimental results also prove that not only can WGU-MAML method achieve significant performance on the tasks with low-dimensional discrete action spaces but also on the tasks with high-dimensional continuous action spaces. Besides, the authors designed multiple hypothesis tests to further compare the performance of the four learning algorithms on half-cheetah and ant tasks. The significance level was set to 0.05 in the hypothesis test. The score of TRPO algorithm is marked as _STRPO_, the score of MAML algorithm is marked as _SMAML_, the score of MLSH algorithm is marked as _SMLSH_ and the score of WGU-MAML algorithm is marked as _SWGU_ - _MAML_ . The hypothesis test results in Table VI demonstrate that the tests for WGUMAML all rejects original hypothesis and accepts alternative hypothesis. The hypothesis test results further verify that WGU-MAML algorithm is still more advanced than other learning algorithms on control tasks with continuous action space. To understand why the proposed method can not only solve distributions of different tasks, but also is superior to other state-of-the-art meta learning methods, the way weights are designed is the key point. The goal of WGU-MAML is find a set of parameters in parameter space allows the model to adapt to a variety of problems efficiently, while the weighted gradient update method helps optimize a set of parameters so that when performing gradient steps on a number of new tasks, from the distribution of all tasks, the parameters approach the optimal parameters of all tasks. _E._ _SENSITIVITY TO HYPER-PARAMETERS_ In this section, the authors conduct a series of training experiments to study the effect of hyper-parameters on the performance of the proposed method. Specifically, the different value of meta batch size and learning rate _α_ in the proposed method are tested on both tabular MDPs and locomotion tasks. Figure 4, 5 and 6 show this grid search for tuning the meta batch size and learning rate hyper-parameters. It can be seen that the performance of proposed method is significantly improved with the increase of the value of meta batch size, while the proposed method is less sensitive to the choice of learning rate _α_ . The authors attribute the experiment results to the fact that as the value of meta batch size increases, more training trajectories are sampled, weight calculations are more accurate, the direction of parameters update is also more accurate, and therefore the performance of the proposed method is improved. FIGURE 4. Different value of hyper-parameters for tabular MDPs. FIGURE 5. Different value of hyper-parameters for the half-cheetah task. FIGURE 6. Different value of hyper-parameters for the ant task. _F._ _DISCUSSIONS_ The proofs in section B, C and D have verified that the effectiveness of the proposed method. In this section, the authors will study the effect of the measurement method of weight on the proposed method. The authors designed another measurement method based on magnitude, which defines an direct, FIGURE 7. The comparison of three algorithms on 2D-navigation tasks. TABLE 7. The average score and standard deviation on 2D-navigation tasks. proportional weight _wi_ = _LTi_ ( _fθi_ ′ <sup>)</sup> <sup>+</sup> <sup>_ε_</sup> <sup>,</sup> <sup>where</sup> <sup>is</sup> <sup>_ε_</sup> <sup>a</sup> <sup>small</sup> positive constant that prevents the loss of trajectories is zero. The authors tested original MAML, magnitude-based WGU-MAML and rank-based WGU-MAML methods on a series of 2D-navigation tasks. The authors generated 500 different tasks for training MAML, Magnitude-based WGU-MAML and Rank-based WGU-MAML algorithms, and 10 instances per task. During testing stage, the authors generated a number of new tasks along with the position of goal is randomly chosen for every task. The authors conducted each experiment 5 times so as to reduce the shock of rewards, and tested the performance of learning algorithms every 100 training episodes. The learning curves are demonstrated in Figure 7, and the average scores and standard deviations are summarized in Table VII. Compared with MAML, magnitude-based and rank-based WGU-MAML improve the average scores by 17.4% and 13.4% respectively, In terms of stability, the standard deviation are reduced by 48.9% and 42.2% respectively. The experimental results demonstrate that both two measurement methods show significant improvement on original MAML method. Furthermore, rank-based WGU-MAML delivers better performance than magnitude-based WGUMAML method. The authors think that rank-based measurement method is much more robust, because it isn’t affected by outliers or by absolute magnitude of losses. The property of the ranks make the algorithm blind to the relative loss scales, which could lead to a performance drop in sparse reward scenarios. TABLE 8. The hypothesis test of 2D-navigation tasks. Besides, the authors designed multiple hypothesis tests to further compare the performance of different measurement methods on 2D-navigation tasks. The significance level was set to 0.05 in the hypothesis test. The score of WGU-MAML algorithm is marked as _SWGU_ - _MAML_, the score of magnitude-based MAML algorithm is marked as _Smagnitude_ - _basedWGU_ - _MAML_ and the score of rank-based WGU-MAML algorithm is marked as _Srank_ - _basedWGU_ - _MAML_ . The hypothesis test results in Table VIII demonstrate that the tests for WGU-MAML all rejects original hypothesis and accepts alternative hypothesis. The hypothesis test results further demonstrate that the measurement method of weight plays a key role in the performance of the proposed algorithm, and the rank-based measurement method has a more stable improvement effect on WGU-MAML algorithm. V. CONCLUSION AND FUTURE WORK The authors propose a novel meta learning method that can meta update gradient effectively by weighting every trajectory. The proposed method in this paper has a number of merits. It doesn’t introduce additional manually set parameters and learn to update gradient through the characteristic of past trajectories. Besides, the proposed method is simple and versatile, which can be applied on any model representation that is amenable to training based on gradient. Last but not least, since the goal of the proposed method is to initiate the parameters of model, adaptation can be executed with any amount of data, including any number of gradient steps. In the end, the authors demonstrate the proposed method can achieve state-of-the-art performance on a number of classic reinforcement learning problems. The work in this paper is inspired by the research about meta reinforcement learning [28], which seeks to create a meta-learning structure in deep reinforcement learning methods. One of future research is to extend the proposed algorithm to supervised learning domain, even unsupervised learning, besides, how to reduce the computation and memory required is also a promising research direction. REFERENCES [1] V. Mnih, K. Kavukcuoglu, D. Silver, A. A. Rusu, J. Veness, M. G. Bellemare, A. Graves, M. Riedmiller, A. K. Fidjeland, G. Ostrovski, S. Petersen, C. Beattie, A. Sadik, I. Antonoglou, H. King, D. Kumaran, D. Wierstra, S. Legg, and D. Hassabis, ‘‘Human-level control through deep reinforcement learning,’’ _Nature_, vol. 518, pp. 529–533, 2015. [2] J. Li, W. Monroe, A. Ritter, M. Galley, J. Gao, and D. Jurafsky, ‘‘Deep reinforcement learning for dialogue generation,’’ 2016, _arXiv:1606.01541_ . [Online]. Available: https://arxiv.org/abs/1606.01541 [3] S. Levine, C. Finn, T. Darrell, and P. Abbeel, ‘‘End-to-end training of deep visuomotor policies,’’ _J. Mach. Learn. Res._, vol. 17, no. 39, pp. 1–40, 2016. [4] S. Thrun and L. Pratt, ‘‘Learning to learn: Introduction and overview,’’ in _Learning to Learn_ . Boston, MA, USA: Springer, 1998, pp. 3–17. [5] C. Finn, P. Abbeel, and S. Levine, ‘‘Model-agnostic meta-learning for fast adaptation of deep networks,’’ in _Proc. 34th Int. Conf. Mach. Learn.,_ _(ICML)_, vol. 70, Aug. 2017, pp. 1126–1135. [6] M. Al-Shedivat, T. Bansal, and Y. Burda, ‘‘Continuous adaptation via meta-learning in nonstationary and competitive environments,’’ 2017, _arXiv:1710.03641_ . [Online]. Available: https://arxiv.org/abs/1710.03641 [7] Z. Xu, H. P. van Hasselt, and D. Silver, ‘‘Meta-gradient reinforce ment learning,’’ in _Proc._ _Adv._ _Neural_ _Inf._ _Process._ _Syst._ _(NIPS)_, 2018, pp. 2402–2413. [8] R. Adamski, T. Grel, M. Klimek, and H. Michalewski, ‘‘Atari games and intel processors,’’ in _Workshop on Computer Games_ . Cham, Switzerland: Springer, 2017, pp. 1–18. [9] J. X. Wang, Z. Kurth-Nelson, and D. Tirumala, H. Soyer, J. Z. Leibo, R. Munos, C. Blundell, D. Kumaran, and M. Botvinick, ‘‘Learning to reinforcement learn,’’ 2016, _arXiv:1611.05763_ . [Online]. Available: https://arxiv.org/abs/1611.05763 [10] A. Santoro, S. Bartunov, M. Botvinick, D. Wierstra, and T. Lillicrap, ‘‘Meta-learning with memory-augmented neural networks,’’ in _Proc._ _Int._ _Conf. Mach. Learn. (ICML)_, Jun. 2016, pp. 1842–1850. [11] N. Mishra, M. Rohaninejad, and X. Chen, ‘‘A simple neural attentive meta-learner,’’ 2017, _arXiv:1707.03141_ . [Online]. Available: https://arxiv.org/abs/1707.03141 [12] Y. Duan, J. Schulman, and X. Chen, ‘‘RL <sup>2</sup> : Fast reinforcement learning via slow reinforcement learning,’’ 2016, _arXiv:1611.02779_ . [Online]. Available: https://arxiv.org/abs/1611.02779 [13] M. Andrychowicz, M. Denil, S. Gómez, M. W. Hoffman, D. Pfau, T. Schaul, B. Shillingford, and N. de Freitas, ‘‘Learning to learn by gradient descent by gradient descent,’’ in _Proc._ _Adv._ _Neural_ _Inf._ _Process._ _Syst._ _(NIPS)_, 2016, pp. 3981–3989. [14] S. Ravi and H. Larochelle, ‘‘Optimization as a model for few-shot learn ing,’’ in _Proc._ _Int._ _Conf._ _Learn._ _Representations_ _(ICML)_, Jan. 2017, pp. 458–589. [15] L. Bertinetto, J. F. Henriques, and J. Valmadre, P. Torr, and A. Vedaldi, ‘‘Learning feed-forward one-shot learners,’’ in _Proc._ _Adv._ _Neural_ _Inf._ _Process. Syst. (NIPS)_, 2016, pp. 523–531. [16] C. Daniel, H. V. Hoof, J. Peters, and G. Neumann, ‘‘Probabilistic infer ence for determining options in reinforcement learning,’’ _Mach._ _Learn._, vol. 104, nos. 2–3, pp. 337–357, Sep. 2016. [17] A. Vezhnevets, V. Mnih, S. Osindero, A. Graves, O. Vinyals, J. Agapiou, and k. kavukcuoglu, ‘‘Strategic attentive writer for learning macroactions,’’ in _Proc._ _Adv._ _Neural_ _Inf._ _Process._ _Syst._ _(NIPS)_, 2016, pp. 3486–3494. [18] A. S. Vezhnevets, S. Osindero, T. Schaul, N. Heess, M. Jaderberg, D. Silver, and K. Kavukcuoglu, ‘‘Feudal networks for hierarchical reinforcement learning,’’ in _Proc._ _34th_ _Int._ _Conf._ _Mach._ _Learn.,_ _(ICML)_, vol. 70, Aug. 2017, pp. 3540–3549. [19] C. Florensa, Y. Duan, and P. Abbeel, ‘‘Stochastic neural networks for hierarchical reinforcement learning,’’ 2017, _arXiv:1704.03012_ . [Online]. Available: https://arxiv.org/abs/1704.03012 [20] P.-L. Bacon, J. Harb, and D. Precup, ‘‘The option-critic architecture,’’ in _Proc. 31th AAAI Conf. Artif. Intell._, Feb. 2017, pp. 456–489. [21] A. Levy, G. Konidaris, R. Platt, and K. Saenko, ‘‘Learning multi-level hierarchies with hindsight,’’ 2017, _arXiv:1712.00948_ . [Online]. Available: https://arxiv.org/abs/1712.00948 [22] T. Schaul, J. Quan, I. Antonoglou, and D. Silver, ‘‘Prioritized expe rience replay,’’ 2015, _arXiv:1511.05952_ . [Online]. Available: https:// arxiv.org/abs/1511.05952 [23] J. Schulman, S. Levine, P. Abbeel, M. Jordan, and P. Moritz, ‘‘Trust region policy optimization,’’ in _Proc. Int. Conf. Mach. Learn. (ICML)_, Jun. 2015, pp. 1889–1897. [24] K. Frans, J. Ho, X. Chen, P. Abbeel, and J. Schulman, ‘‘Meta learn ing shared hierarchies,’’ 2017, _arXiv:1710.09767_ . [Online]. Available: https://arxiv.org/abs/1710.09767 [25] R. J. Williams, ‘‘Simple statistical gradient-following algorithms for connectionist reinforcement learning,’’ _Mach._ _Learn._, vol. 8, nos. 3–4, pp. 229–256, 1992. [26] N. Ketkar, ‘‘Introduction to pytorch,’’ in _Deep_ _Learning_ _With_ _Python_ . Berkeley, CA, USA: Apress, 2017, pp. 195–208. [27] E. Todorov, T. Erez, and Y. Tassa, ‘‘Mujoco: A physics engine for model based control,’’ in _Proc. IEEE/RSJ Int. Conf. Intell. Robots Syst._, Oct. 2012, pp. 5026–5033. [28] J. X. Wang, Z. Kurth-Nelson, D. Kumaran, D. Tirumala, H. Soyer, J. Z. Leibo, D. Hassabis, and M. Botvinick, ‘‘Prefrontal cortex as a meta-reinforcement learning system,’’ _Nature_ _Neurosci._, vol. 21, no. 6, pp. 123–156, 2018. ZHIXIONG XU received the B.E. and M.S. degrees from the PLA University of Science and Technology, in 2015 and 2018, respectively. He is currently pursuing the Ph.D. degree with Army Engineering University. His research interests include machine learning and intelligent decision making. LEI CAO received the B.S. degree from the China University of Science and Technology, in 1987, and the M.S. degree from the PLA University of Science and Technology, in 1990. He is currently a Professor with Army Engineering University. His research interests include machine learning, command information systems, and intelligent decision making. XILIANG CHEN received the B.S., M.S., and Ph.D. degrees from the PLA University of Science and Technology, in 2007, 2009, and 2019, respectively. He is currently an Associate Professor with Army Engineering University. His research interests include reinforcement learning and intelligent decision making.

섹션 본문

섹션 본문이 없습니다.

참고문헌 36건

  1. Learning to Learn: Introduction and Overview Springer eBooks · Springer Nature · 1998 10.1007/978-1-4615-5529-2_1
  2. Trust Region Policy Optimization International Conference on Machine Learning · 2015
  3. Simple statistical gradient-following algorithms for connectionist reinforcement learning Machine Learning · Springer Science+Business Media · 1992 10.1007/bf00992696
  4. Human-level control through deep reinforcement learning Nature · Nature Portfolio · 2015 10.1038/nature14236
  5. End-to-End Training of Deep Visuomotor Policies arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1504.00702
  6. MuJoCo: A physics engine for model-based control 2012 10.1109/iros.2012.6386109
  7. Prioritized Experience Replay arXiv (Cornell University) · Cornell University · 2015
  8. Learning feed-forward one-shot learners arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1606.05233
  9. Strategic Attentive Writer for Learning Macro-Actions arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1606.04695
  10. Meta-learning with memory-augmented neural networks International Conference on Machine Learning · 2016
  11. Probabilistic inference for determining options in reinforcement learning Machine Learning · Springer Science+Business Media · 2016 10.1007/s10994-016-5580-x
  12. Quercetin attenuates domoic acid-induced cognitive deficits in mice Nutritional Neuroscience · Taylor & Francis · 2016 10.1080/1028415x.2016.1231438
  13. Learning to reinforcement learn arXiv (Cornell University) · Cornell University · 2016
  14. RL$^2$: Fast Reinforcement Learning via Slow Reinforcement Learning arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1611.02779
  15. FeUdal Networks for Hierarchical Reinforcement Learning International Conference on Machine Learning · 2017
  16. Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1703.03400
  17. Stochastic Neural Networks for Hierarchical Reinforcement Learning arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1704.03012
  18. Optimization as a Model for Few-Shot Learning International Conference on Learning Representations · 2017
  19. Introduction to PyTorch Apress eBooks · Apress · 2017 10.1007/978-1-4842-2766-4_12
  20. Continuous Adaptation via Meta-Learning in Nonstationary and Competitive Environments arXiv (Cornell University) · Cornell University · 2017
  21. Meta Learning Shared Hierarchies arXiv (Cornell University) · Cornell University · 2017
  22. A Simple Neural Attentive Meta-Learner arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1707.03141
  23. Meta-Gradient Reinforcement Learning arXiv (Cornell University) · Cornell University · 2018 10.48550/arxiv.1805.09801
  24. FeUdal Networks for Hierarchical Reinforcement Learning arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1703.01161
  25. Learning Multi-Level Hierarchies with Hindsight 2017
  26. Learning feed-forward one-shot learners Neural Information Processing Systems · 2016
  27. Meta Learning Shared Hierarchies arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1710.09767
  28. Deep Reinforcement Learning for Dialogue Generation 2016 10.18653/v1/d16-1127
  29. Prioritized Experience Replay arXiv (Cornell University) · Cornell University · 2015 10.48550/arxiv.1511.05952
  30. Learning to learn by gradient descent by gradient descent arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1606.04474
  31. Continuous Adaptation via Meta-Learning in Nonstationary and Competitive\n Environments arXiv (Cornell University) · Cornell University · 2017 10.48550/arxiv.1710.03641
  32. End-to-end training of deep visuomotor policies Journal of Machine Learning Research · The MIT Press · 2016
  33. The Option-Critic Architecture Proceedings of the AAAI Conference on Artificial Intelligence · Association for the Advancement of Artificial Intelligence · 2017 10.1609/aaai.v31i1.10916
  34. Meta-gradient reinforcement learning arXiv (Cornell University) · Cornell University · 2018
  35. Atari Games and Intel Processors Communications in computer and information science · Springer Science+Business Media · 2018 10.1007/978-3-319-75931-9_1
  36. Learning to reinforcement learn arXiv (Cornell University) · Cornell University · 2016 10.48550/arxiv.1611.05763