プリンキピア

第17章強化学習

17. Reinforcement Learning17 強化学習

Pratik Chaudhari (University of Pennsylvania and Amazon), Rasool Fakoor (Amazon), and Kavosh Asadi (Amazon)
英語のヒント
Pratik Chaudhari(ペンシルベニア大学、Amazon)、Rasool Fakoor(Amazon)、Kavosh Asadi(Amazon)
Reinforcement Learning (RL) is a suite of techniques that allows us to build machine learning systems that take decisions sequentially. For example, a package containing new clothes that you purchased from an online retailer arrives at your doorstep after a sequence of decisions, e.g., the retailer finding the clothes in the warehouse closest to your house, putting the clothes in a box, transporting the box via land or by air, and delivering it to your house within the city. There are many variables that affect the delivery of the package along the way, e.g., whether or not the clothes were available in the warehouse, how long it took to transport the box, whether it arrived in your city before the daily delivery truck left, etc. The key idea is that at each stage these variables that we do not often control affect the entire sequence of events in the future, e.g., if there were delays in packing the box in the warehouse the retailer may need to send the package via air instead of ground to ensure a timely delivery. Reinforcement Learning methods allow us to take the appropriate action at each stage of a sequential decision making problem in order to maximize some utility eventually, e.g., the timely delivery of the package to you.
英語のヒント
強化学習(RL)は、意思決定を逐次的に行う機械学習のシステムを作れるようにする技法の一式である。たとえば、オンラインの小売業者から買った新しい服の入った荷物は、一連の意思決定を経てあなたの家の玄関先に届く。たとえば、小売業者があなたの家にいちばん近い倉庫で服を見つけ、服を箱に詰め、箱を陸路や空路で運び、市内のあなたの家に配達する。途中には、荷物の配達に影響する変数がたくさんある。たとえば、服が倉庫にあったかどうか、箱を運ぶのにどれだけ時間がかかったか、毎日の配達トラックが出る前にあなたの市に届いたかどうか、などである。鍵となる考え方は、各段階で、ふだん制御できないこうした変数が、その後の出来事の系列全体に影響するということである。たとえば、倉庫で箱を詰めるのに遅れが出たら、小売業者は、期限どおりに配達するために、荷物を陸路ではなく空路で送る必要があるかもしれない。強化学習の方法を使えば、逐次的な意思決定の問題の各段階で適切な行動をとって、最終的に何らかの効用、たとえばあなたへの荷物の期限どおりの配達を最大化できる。
Such sequential decision making problems are seen in numerous other places, e.g., while playing Go your current move determines the next moves and the opponent’s moves are the variables that you cannot control… a sequence of moves eventually determines whether or not you win; the movies that Netflix recommends to you now determine what you watch, whether you like the movie or not is unknown to Netflix, eventually a sequence of movie recommendations determines how satisfied you are with Netflix. Reinforcement learning is being used today to develop effective solutions to these problems (Mnih et al., 2013, Silver et al., 2016). The key distinction between reinforcement learning and standard deep learning is that in standard deep learning the prediction of a trained model on one test datum does not affect the predictions on a future test datum; in reinforcement learning decisions at future instants (in RL, decisions are also called actions) are affected by what decisions were made in the past.
英語のヒント
そうした逐次的な意思決定の問題は、ほかの多くの場所でも見られる。たとえば、囲碁を打つとき、現在の手は次の手を決め、相手の手は自分では制御できない変数であり……一連の手が最終的に勝つかどうかを決める。また、Netflixがいまあなたに薦める映画は、あなたが何を見るかを決めるが、あなたがその映画を気に入るかどうかはNetflixにはわからず、最終的に一連の映画の推薦が、あなたがNetflixにどれだけ満足するかを決める。今日、強化学習は、こうした問題への効果的な解決策を開発するのに使われている(Mnih et al., 2013、Silver et al., 2016)。強化学習と標準的な深層学習の鍵となる違いは、標準的な深層学習では、あるテストデータに対する訓練したモデルの予測が将来のテストデータに対する予測に影響しないのに対して、強化学習では、将来の時点での意思決定(RLでは、意思決定は行動とも呼ばれる)が、過去にどんな意思決定がなされたかに影響されることである。
In this chapter, we will develop the fundamentals of reinforcement learning and obtain hands-on experience in implementing some popular reinforcement learning methods. We will first develop a concept called a Markov Decision Process (MDP) which allows us to think of such sequential decision making problems. An algorithm called Value Iteration will be our first insight into solving reinforcement learning problems under the assumption that we know how the uncontrolled variables in an MDP (in RL, these controlled variables are called the environment) typically behave. Using the more general version of Value Iteration, an algorithm called Q-Learning, we will be able to take appropriate actions even when we do not necessarily have full knowledge of the environment. We will then study how to use deep networks for reinforcement learning problems by imitating the actions of an expert. And finally, we will develop a reinforcement learning method that uses a deep network to take actions in unknown environments. These techniques form the basis of more advanced RL algorithms that are used today in a variety of real-world applications, some of which we will point to in the chapter.
英語のヒント
この章では、強化学習の基礎を固め、よく使われる強化学習の方法をいくつか実装して実地の経験を積む。まず、そうした逐次的な意思決定の問題を考えられるようにする、マルコフ決定過程(MDP)と呼ばれる概念を組み立てる。価値反復と呼ばれるアルゴリズムが、MDPの中の制御されない変数(RLでは、これらの制御された変数は環境と呼ばれる)がふつうどう振る舞うかを知っているという仮定のもとで、強化学習の問題を解くための最初の手がかりになる。価値反復をもっと一般化した版であるQ学習と呼ばれるアルゴリズムを使えば、環境について必ずしも完全な知識がなくても、適切な行動をとれるようになる。それから、専門家の行動をまねることで、強化学習の問題に深層ネットワークをどう使うかを学ぶ。そして最後に、深層ネットワークを使って未知の環境で行動をとる強化学習の方法を組み立てる。これらの技法は、今日さまざまな現実の応用で使われている、もっと高度なRLのアルゴリズムの基礎をなしている。その応用のいくつかは、この章の中で示す。
Fig. 17.1図17.1
Reinforcement Learning Structure
英語のヒント
強化学習の構造