具資訊之技能表示於元强化學習
Informative Skill Embeddings for Meta Reinforcement Learning
摘要
深度强化學習近年來在電腦對局和控制決策相關領域取得諸多成功,隨著該領域研究的不斷深入,一些挑戰性的新問題不斷湧現。其中一個十分重要的問題就是深度强化學習的一般化問題。深度强化學習通過與環境進行交互並最大化來自該環境的獎勵來學習一個能夠解決該環境中問題的智能體。通常情況下,一個環境中僅存在一個特定的問題,因此標準深度强化學習智能體僅能學會解決單一問題。但是隨著研究的深入,我們期望一個智能體能在一組問題中自主學習,並最終能夠解決另外一組從未見過的相似問題。這樣一組問題可以分享一樣的系統動態,區別僅在獎勵函數上,而不同的獎勵函數就代表著問題設定或者目標設定的不同。目前一般的深度强化學習算法無法有效地解決這類問題,而元强化學習目前普遍被認爲是解決這個問題的可能方法。
與標準的深度强化學習不同,元强化學習强調智能體不僅僅能學會解決問題,更重要的是學會共享的先驗知識,而這些先驗知識可以被用來解決類似的但是從未見過的新問題。在學習先驗知識的同時,元强化學習還要求智能體學會如何應用學到的先驗知識,因此元强化學習十分具有挑戰性。RL^2是一種基於循環神經網絡的元强化學習算法,通過對決策軌跡進行編碼來學習一種一般化的軌跡編碼方式,從而對於新問題的決策軌跡進行合理的編碼,再利用標準的强化學習算法進行決策。模型無關的元學習(MAML)是一種一般化的元學習算法,該算法通過在不同任務上進行嘗試性更新后的學習器的效能來更新元學習器的參數。以上兩種算法的樣本效率都不夠高。適用於演員評論家的機率模型(PEARL)是一種基於任務推理的高效率算法,該算法對不同任務的標識進行機率建模,從而先對任務標識進行推理后再進行決策,是目前爲止效果最好的元强化學習方法。
在本研究中,提出適用於元强化學習的具資訊技能表示算法,該算法對用於解決訓練任務和測試任務的通用技能進行機率建模,在訓練任務集合中學習到可以解決該類型問題的通用技能和對學習到技能的應用,從而在處理從未見過但是類似的問題時,可以有效地利用學習到的技能解決新任務。在本研究實驗中,對於所提出之適用於元强化學習的具資訊技能表示算法進行評估,使用元强化學習任務的基準環境,包含多個控制機器人完成多個任務的模擬物理環境。基準實驗與相關方法評比結果表明,所提出算法具有更快的收斂性和更好的最終效能。
與標準的深度强化學習不同,元强化學習强調智能體不僅僅能學會解決問題,更重要的是學會共享的先驗知識,而這些先驗知識可以被用來解決類似的但是從未見過的新問題。在學習先驗知識的同時,元强化學習還要求智能體學會如何應用學到的先驗知識,因此元强化學習十分具有挑戰性。RL^2是一種基於循環神經網絡的元强化學習算法,通過對決策軌跡進行編碼來學習一種一般化的軌跡編碼方式,從而對於新問題的決策軌跡進行合理的編碼,再利用標準的强化學習算法進行決策。模型無關的元學習(MAML)是一種一般化的元學習算法,該算法通過在不同任務上進行嘗試性更新后的學習器的效能來更新元學習器的參數。以上兩種算法的樣本效率都不夠高。適用於演員評論家的機率模型(PEARL)是一種基於任務推理的高效率算法,該算法對不同任務的標識進行機率建模,從而先對任務標識進行推理后再進行決策,是目前爲止效果最好的元强化學習方法。
在本研究中,提出適用於元强化學習的具資訊技能表示算法,該算法對用於解決訓練任務和測試任務的通用技能進行機率建模,在訓練任務集合中學習到可以解決該類型問題的通用技能和對學習到技能的應用,從而在處理從未見過但是類似的問題時,可以有效地利用學習到的技能解決新任務。在本研究實驗中,對於所提出之適用於元强化學習的具資訊技能表示算法進行評估,使用元强化學習任務的基準環境,包含多個控制機器人完成多個任務的模擬物理環境。基準實驗與相關方法評比結果表明,所提出算法具有更快的收斂性和更好的最終效能。
Deep reinforcement learning (RL) has been achieving great success in many real-world applications in recent years. With the rapidly growing researches and advances in RL, a number of challenging issues are continuing to emerge and impact. One of the most important issues is the generalization of RL. RL learns an agent to solve a task via interaction with the environment by maximizing the reward feedback from environment. In general, an environment only contains a specific task. Traditional agent is trained to handle a single task. However, a sophisticated agent should be able to handle a variety of tasks including the tasks which are unseen but similar in training procedure. To do so, both training and test sets can share the same system dynamics and only differ in reward functions. Different reward functions correspond to different tasks or goal settings. This study deals with the generalization issue in RL through meta reinforcement learning (meta-RL) where a new information-theoretic skill embedding is proposed.
Different from standard RL, meta-RL does not only cope with specific tasks but more importantly learn the transferable prior knowledge for target task. The learned prior knowledge is seen as the skill model which can be practically used to generalize to new tasks. It is crucial to develop meta RL by learning the prior knowledge. In the literature, RL^2 presented a recurrent neural network (RNN) for meta-RL where a general trajectory encoder was learned by maximizing the rewards in all training tasks. The agent handled the unseen tasks and decided the actions based on the latent code of encoder. Model-agnostic meta-learning (MAML) was proposed as a gradient-based meta learning algorithm where the parameters of meta learner were updated though task-specific learners for learning over various training tasks. Accordingly, meta learner is able to learn from a number of training tasks and has the potential to generalize for unseen test tasks. However, these meta-RL methods correspond to on-policy approach where data efficiency is degraded. The probabilistic embeddings for actor critic RL (PEARL) were implemented as an off-policy meta RL where unseen tasks were treated as the partially-observed Markov decision process (POMDP). PEARL learned the task embeddings via a probabilistic inference network and captured the states in POMDP via the learned embeddings. PEARL has achieved state-of-the-art performance with sample efficiency. This thesis works beyond PEARL by introducing an informative skill embedding where the shared skills in training tasks are learned and utilized for meta-RL. Unseen tasks in test phase are handled through the learned skills. The information-theoretic learning which enhances the generalization is introduced to carry out variational learning procedure for meta-RL. In the experiments, the proposed methods are evaluated under different meta-RL benchmarks which contain different simulations in robot manipulation tasks. The results demonstrate that the proposed skill-based meta RL outperforms PEARL and other methods in terms of end performance and sample efficiency.
Different from standard RL, meta-RL does not only cope with specific tasks but more importantly learn the transferable prior knowledge for target task. The learned prior knowledge is seen as the skill model which can be practically used to generalize to new tasks. It is crucial to develop meta RL by learning the prior knowledge. In the literature, RL^2 presented a recurrent neural network (RNN) for meta-RL where a general trajectory encoder was learned by maximizing the rewards in all training tasks. The agent handled the unseen tasks and decided the actions based on the latent code of encoder. Model-agnostic meta-learning (MAML) was proposed as a gradient-based meta learning algorithm where the parameters of meta learner were updated though task-specific learners for learning over various training tasks. Accordingly, meta learner is able to learn from a number of training tasks and has the potential to generalize for unseen test tasks. However, these meta-RL methods correspond to on-policy approach where data efficiency is degraded. The probabilistic embeddings for actor critic RL (PEARL) were implemented as an off-policy meta RL where unseen tasks were treated as the partially-observed Markov decision process (POMDP). PEARL learned the task embeddings via a probabilistic inference network and captured the states in POMDP via the learned embeddings. PEARL has achieved state-of-the-art performance with sample efficiency. This thesis works beyond PEARL by introducing an informative skill embedding where the shared skills in training tasks are learned and utilized for meta-RL. Unseen tasks in test phase are handled through the learned skills. The information-theoretic learning which enhances the generalization is introduced to carry out variational learning procedure for meta-RL. In the experiments, the proposed methods are evaluated under different meta-RL benchmarks which contain different simulations in robot manipulation tasks. The results demonstrate that the proposed skill-based meta RL outperforms PEARL and other methods in terms of end performance and sample efficiency.