Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Reinforcement Learning Second edition - Notes o...
Search
Etsuji Nakai
November 18, 2019
Technology
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Reinforcement Learning Second edition - Notes on Chapter 4
Etsuji Nakai
November 18, 2019
More Decks by Etsuji Nakai
See All by Etsuji Nakai
強化学習「理論」入門
enakai00
5
4.3k
生成 AI の基礎 〜 サンプル実装で学ぶ基本原理
enakai00
7
4.8k
機械学習理論入門
enakai00
1
82
ディープラーニング入門
enakai00
0
51
ハミルトン・ヤコビ方程式の解の性質と物理的意味
enakai00
0
960
Agent Development Kit によるエージェント開発入門
enakai00
23
9.4k
GDG Tokyo 生成 AI 論文をわいわい読む会
enakai00
1
720
量子コンピューティングの開発課題と実用化へのロードマップ
enakai00
1
85
Lecture course on Microservices : Part 1
enakai00
1
3.9k
Other Decks in Technology
See All in Technology
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
1
190
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
100
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
940
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
200
Running Kotlin + Quarkus with Lambda
nealle
1
3.7k
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
170
夫婦で子育てするための育児標準化
codmoninc
PRO
0
340
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
220
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
590
Claude の新機能を、 出た日に触って社内に届けるまで
rfdnxbro
1
180
Claude Code本は、どのように執筆チームで書かれたか
oikon48
1
380
Featured
See All Featured
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
930
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
460
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
990
Building AI with AI
inesmontani
PRO
1
1.3k
How to make the Groovebox
asonas
2
2.5k
Chasing Engaging Ingredients in Design
codingconduct
0
360
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
Transcript
Reinforcement Learning Second edition - Notes on Chapter 4 Etsuji
Nakai (@enakai00)
Policy Iteration (ポリシーの改善ステップ) 2 ※ ここでは、 は既知とする。 ・任意のポリシー を1つ選択する ・Value function
を(何らかの方法で)計算する ・Action-Value function が決まる ・Greedy ポリシー ( が最大の a を確率 1 で選択する) この時、任意の s について が成り立つ。 つまり、π' は、π よりも優れたポリシーと言える。この改善処理を繰り返す。 この方法は 次ページで説明
Bellman Equation の右辺を用いて、左辺を漸化的にアップデートしていくと、最終的に両辺が等しくなる。 Policy Evaluation 3
Policy Iteration の課題:計算が長い! 4 全状態についての ループを・・・ 収束するまで 何度も繰り返す ポリシーの更新も 状態数×アクション数
回のループが必要
改善案 5 • Value Function を真面目に収束するまで計算しても、次のステップで Policy が更新される と、そこからまた再更新が必要。収束する手前で、早めに打ち切ってもよくない? •
Policy 更新のために全状態をループするのと、Value Function の計算のために全状態をルー プするの、別々にやるのってもったいなくない? Value Function の計算ループの中に、Policy の更新も埋め込んでしまえ! ⇨ Value Iteration
Value Iteration 6 実質的に Greedy Policy を更新・適用している
Value Iteration 7 更新済みの Policy を適用 https://github.com/enakai00/rl_book_solutions/blob/master/Chapter04/Exercise_4_7_(Value_Iteration)_part1.ipynb
Generalized Policy Iteration (GPI) 8