ML 5
ML 5
/
120 ° c
L
3 n . 0
O ~ ~c i n-to-r a
n>c n t kc:..,, n i11:.9<J · \ '\
\
I • ex.CLrnp e r I-' ~·~ca f tn ~c fl~~ ence and a 11 ·
I
I~, CL CoJt.e pa.~t ot
·1'1 t ( I
• (9-Vll lue U_! J 1:-- 15 mo ;s !:-~ S irn; la"' -tD H-e va k.ie , b~ -f 1 t
· ~a 1':"e.s oritc add1--1-iorw.l pm1_QrYJe k, a5 a cu,,Ln-l ac+ion {a).
fcie j ~-a i1Jye5 ~.f?ein~cernen-l lea'l<0111J :-
• ln Q L, +he a:5en-l r ~ no ~ in 5 ~ u.c b_.l a bou ~ ~he env~ onrncni ,
· and c.oha -l adilfl s oced -hi be- -b kt<o-
• \t IS based on the hd: and hta I proc<'.-55
I
, 1he agent -6 ~5 the r\tcYl ac tton arx=J clu,n<Je.5 5 k t:'..s
D.cco,dirij -hi tfie --ftced b'.1.cls o.f' -lhe p,cviau.s ac h"m -
• 1he Q3e nt mo~ :ielctd e [qrd ,Zwo.5td~ /
• 1he cnvi'71o n f'fll' n t lo 8t'oc has li c /ord the Q ~r f){ flc ~J-e-
1
~d~
--lo r
c·v IO':'\ e i l -1.o '1tt ac h-lo 9ecL 1he IYla )Id r()U m po.s i ti Ve_ ;
\ ~
1
\ ~e WQ9'.ci5· \ \
\
~~s ~~t ~ t l ~:-
1.he':lte. 0.9\e l'rtoin\.'.1 -tl-i.sv,e woQs +o lrff le<Ylen{ tein.ffircetfle
-n \'- - leo910l~ 1n HLJ tuh\c h o'.lie : ·
----------bQsc::d
\· \Jalue ..-bQsed t
1h e vatue·- opp~'OQch 1'5 a 60(.( t -6 ~nd The. cpbmal
voJu~ --tnc6~on) wh,ch ,5 the rna1lrnttrn v~fcte al Q3ttlte
u.nd~ an~ po\lc~. ihe,ie hl9le, ihe a3en t etpecb The
tong - ~er~ rr lu-rr) G ~ Onj 5ta_ bee5) uI)de_~ pohc~ rf1?) Ti-
2,. ~ - -ba.5ed - ~ ·
Polic~ ~bused app:,roach ts-6 ~nd 1t)e optin)al polrcj
-I;, r the, rn a.,. Imum -\'u. ~ '1 e.. 91 et1l a"1 els i.,,! H-iod "-'Sf cJ the
vatl.Le -funcbiuo. r() -rhi5 app:nOQC.h) ~e aaen ~ hte:.5-toafP_:,
fo_c ~ Cl. pol fC_'j -fha hfhe a_dim r~')l ~1N1cd \n <-'QC ~ 5 ~p h, lp-s
"to ('(lQ 1/_i m I ze -fhe futu'<e 9Lt CJ.Ju"1d · Tue po\tcj ~ txls!d OfPOQCf)
ha5 roam~ bo-t.'.Jpe5 °r polic:r
• De~r~15Hc__: 't~e some actions i5 p~CtiQced b~ 1he
poh c':J (-n) a!:- ari'j sl:c,Je ·
• s 6chas I:! c ln i1');5 po II c':J , (l,m6a b',l; ~ cl e-kv Nl inCCJ
---------
¼a p"-ocluceJ act-ion.
-- ---------
I
I
6· th)(~{!\
' -
ft)Or~ ('
'- _.. • \f)
"' bo~~·
I \i) ('.111"(}
·\f )(! ~
(Y H) r t!
I
4·
,'.i ·
Hocle f o.f +he
i) l?euJQ.'}td v! crw~o/1onrnen-l
of 91eln~rcemcn-l lea:,tf I
1he 300.I
15 cle~neJ bcJ -the '1\ewa:nd S~nal •Ab-- ea.ch sk te,
I --\-l,e erw):'Jlonrne.n-L Sencf.s Q rrnN'le ]1a le .srar.al -lo -liie. Lear() t I
- ~ a.ae n-1:. anJ the S~na I 15 l"na-.o() as a. 97Ma91.d tnJ. '
lhe.se '1('wc61d0 o.91'\jiven acw1clic) tu -lhe aood and I
bad a.c-h'ons --6 lren bo tl,e ~en f.. The 08enb Ma·,n i
o~ e c -H ve ;5 -!-o rn oXiN'l 1-z.e +he --fo k / n u.rnb e. r of re ward .5
---fur cf oocl a ctl"On 5. 1/i e o/leiffi'}i J .0~f\a / Ca. n cf.w.1f -Hie
pdr ca 'Su.c~ as i-f an a.c +ion 5ele C ~eel ~ 'the llf}mt
\eo.J5 ·--1-o (oC.O ')'le ~d, -Hien 11,e pol Jco /'f)Q~ C ha.ir -io 5.,: { t <e
~
r _1·on ·, 1he vu lu.e =-Rinction Jaivt-5 f~r~
~ tfO(
/
'
~bout h; ~ood H,e sik -lion ·and action Q91e onr;./ ·
how much ~1ewaS'td an c~ent Co() e1tpec./:.. ,-fl .'Jlewa9ld
inclica be 5 -the frnlY)edio. ~e S1·3na I ~'1 each aood and. bQd
ad1onJ loh<'..'.:)te o.s a_ value ...funcl"lon 5peci~•c..s inc c/ood
sla 1-e onJ adlon ..-Iii, -the. ~-1:u.~c' · The vo..k~e f{..nc tl'or) J
d c:pe~5 Or) +he ~ ewo.91-d 0- 5) t0f t-hout )i<?LU0.91.d) ther~ I
J
Co~ Id De: f\o vat u.e The 8ocil of es l:!ma li(j va l<..1e5 i's hi
QC he"-e IYl o'.}Je o/le Wtt9tcfa. /
O'omond /
51 52. 53
e::. _,
S-5 sG
/
51 5g
f;·~e
V
eobot
5q sJO sl/ 51 l I
~091e rn r~.su rn
ln the above fma8e, -f-heaaen-!. {~ o-l {-1,q Ve3lj --l?i,-sl:
b\oc k of +he ma 'Z.~ - --rh e maze i5 cons; s tinCJ o ~ on 5 6
block, wh;ch fs Q waif, S~ a -h'9le p·, ~ -'aflc-4 5; Q d(ornond 1
bloc.k• '
1he aaenf COnf"\o!:- c31o5S +he Ss 6ioclS,a5 rt- (5 0. 5ol I J
wa fl • 1-f --Hie o.aen-l '1 eache.s +he 5y brO Ck, t-hen 8(' f the
-ti "1 e wo.,i cl; i .f i-l: :n ea c he-5 +he -1;,::n e pi i , fl.en 8t' L5 -I
~eLiJO'.nd pain-!., I~ can -lake --fuu91 ac/.-ron5: rnoveo(=>, move
clown, move lefl, anci fY1ove "'13hl •
-~---=--~
v~, I
h' 91C
'-S sG 51 Sl
\;
V=I
I sq Sto SIi
I ~ll
I
-
Wow, +he Qge..ni has S~rLce55n.t
u Pf[
J 5 Jm~c/ -¾e 91 .
I as:'\J" ins, the I vuJ,e hi ca ~ . • p ev,o<.J6 s4'p5
I , \J C p.9-?evtoC1o broc~- B~-l.
wdl -the Q gent do {f' he s/u ! whu-1.
V ,i 5 rnov't)q Ruf'() 1-h 6l I
whtc h has / vcdLte bfod~ on b L , V, I e oc ~}
~
d la...J'(afYl: i----,----i-----Ci(? s?· ( Olr) BI . I
the
I
6e..tvw O() 5ictc-,
eObot ;) 'v =- I
I
'v ::: I
1 I
~
5
5~ -
\J: \
55 56 -R~~
s&
-1
s1!__
' - --p-:--~~~ I
V:I
I
59
i-=--c-- 510
-t-=---t~ --1-~~,2. )- SIi I
L--- - - - - --- -~ I
,
II ~ . . ,ti\ ht c( ,~;(l rr( ,ll rrJ,,,Jrf1,"1 f11, lf,r 11 ;f'' ' 111
1., lu""
)I_..
, I
d t)01/
f I
, ... \
,,f) Lt r;' Y, r I,,,. /I Ir
11(1 1Ii , ( fit iJr I rJ I
I' r11 I/ ,1 1 I
1
If
' Vql,.,. :irl, 111(' ,,1~1v, ''/lf''l/'I' ht.,,,,,/ :,,,:J,),/,, t,,, It,,. 'Ir(,
,l) 'll"rll h 1(, ,-, lr()fl t,rJ()• (l.,,t ,. I,, '1111 111 ,,_,., (n'1')'UO/
t [ .J
1
11"'
c._, i \ r u tJ ,r-- I •n ,- [J
, J,.- 11 • <1, H l
r"'/' II.,.n I /I f1, , 'J ,JI IJ I', f'1,,,. , tI I (, r,, / lfl./
-:>I~ 10 u. wuc] v f {c, h IrJ -IJ, 'J Ih,. ' 1(1 [ ,,. '",, ,, I;,,,, ,; '. , -~ 0
-rnlc, p9wwomrr,)c) n·:n Pr,,))1,,rw,,,r,-l ·11,o-l !Mr!:,,.,, ,,.,.,In,
~ Ac lion pn,-Ki, rn eel b'j -!~,,,. u3enf I', 11rfr'i,.-,.,,,l .!1J 1: ',/'
1
-'I<' 1 he 9Jewa,icl /.Fadk/<i 06 ioin,..) -~, "1/' ~ Qr;,;,,/ r:,,, ,' ~,,."
ac Hon , s 11
Q ''.
ho fYl -the bloc_~, whl c. h 1-,, r:>ex { -lu '/he --Ir, , e .f bfock,
tin 1:st bfock ~
8
' - ,
1
(}O -41rf--hey 5 b t~ --f-o fY)DVf'.
V(s ::,") = rnax. [R Cs, a)] =-> VCs 3) :c rncix [, J::::, V{s 3) =-I.
1
.___. ----
-fin 2nd block:
V(s1)= YYJ,ar[ecs,ei)t f V{s')],he_'}ie -l=o.9 {Ids\
) 'J(5') =I) and r:2Cs)a)::o) hccause rhe~c ;s no -r~taJycl
a\so-
\J(s l ) ' ll"lo. Y [ o-9 ( o.9 )j =>'\/Cs 3) =- ma.'{ [o -31] =->V(.s 1)=0.81
-tu,_____
½~ block : _::___
~
\I ( 5 5) :- PY"\O. 1,{ e.{s) a)1 v( 51 ) ] , he'}Je "{ =0-9 Cle! s), vcs'J=O· 8 I,
arid Q(s,a) := o, b<'.cau.se the91e 1.s no ~e{J'.}a'1d a.+ +his s!aJc
a\ so.
VC s 5) = ma\( [ o.9 ( o,\l 1) J">\J ( .s 5) = m all [ o-8 1J =>\JC s5) o.13 ~
-fu-, 5H, bfod~ '.
----__:,.._-~-->
r
V(5 °I)= IYlO.Y 12Cs,a }t .; vc 5 1) ] I he'.ll e 1-= 0-"l Cleb-5\ vc s~=0-13
o.0cl ec :'>iO.) -:oO, because --lhe9J£? 15 no '.}lecDGl9id al- {h;5 s+a l:.e
also . ,
\J Cs q) , rfla t [ c, -9 ( o-1.3)J,,> Vt SY) ::o!YlC!. Y.. [o .'31J=N:S~) = 0·6b
Vol~
s .56
V:.066
5Cf ~,o 5/l
t--.low, -!lie °z}e()-l has ¾9tee opl-bn.s -fo ~ve ; if he movt5 ·fo
' the ti.ue box'., +hen ~e wilt -feel o. bump J.f he movc5 -b ·\ he
l ~'9le p,· I,then he w;ll 5e { +he -1 )eWo.."-d. Gu l- he9'.e c,,c a ~ e
1
l
V.:. Q•'8f V=0-9 V:- I Oiotflof"\cl
~ 51 55 .C. <;
V=o-1 o ~
f'-fo 91l1ov -~
---- · n 1 C<scd +u 10,rn o. I e
Dcrbloo ~,occss o':lt f 10 ,, , 0
,z 1
l n\-1'., o.c k, <u I j-h {he en vi~ onMe n-l. ar, d Pe, "hi, rn a qc Hons_;
a~ eac~ ac\-!on, -I-he rnvi~onlY)~n-t o/tespr,Js onJ ~fcn<,a-k.s ·
Q netu s k-le · ·
I
MDP.
~ .J!.:.o.:~,n ind: -
i ~
[ro•'11Wb rs nr_) ,off poIre~ /1 t , 1\J °' i Ih,,,, , 1, / ,rr h r~ ," ,,.,,.(
-fu\ -If,~- -Ir- ,-, lp (YI{ d rl 1'.r·f'( ql(i',I)( t ' Ien ')(()/~i( 'rh,. I(f'() {XII (( I(11( fn,nrc
ln,~n,,~ "1\ 1•\ho.~.5 ct'>1c '.'or tADa~ o~ Cvropmir(} -lrmpo,ol~
Stt ({ CbSfv \.. p-=-itl·<~fctilJn~.
~k~c~
5l 0. .\ e ./\ C4~O(') (2 <' u,a ~)l J '5 10 l C a c-l I on ( 5 .n e SA) '
--
...__ - -.._.. ..__ -
• S f'.H~5.(\ s L:1rH~$ r;) ' )J ;) lr. l e /\ ( ltun t2(" u..Y,(9L(_~ \.3 l c1lcoctfonJ
h i ~ on on . r o\ 1Clj ~\C'fY- ~Jui o,I C'I, .f-' f< ">1 ~ (} ce {c O. ~ ()1 () j
t,._')\ )\ C
"J\C c0ai:ll J -¼, -the n e\l -l S 6 le f "' I') o { '7ce<f-' i ~ eel --fov upd Q k'\'.j
the CSLvc,.\ 4-e \r, ~e -to61e .
• In ' ne LU o.clio () and ~e Cu o.'rtd a9te Se l~c -kJ usna
;)A(2S+\
the Sarn12 polr c.Cj, C>Jh,c_h has de k,fY1inecl +he O'\:Jif) a._l
ac.tion-
• ihe SA Q ';I A, 15 narne.d bffoU5e i~ use..s th::: 1..linh.ple
9
~C s)a,'"", s')a'). whe':h~,
5 ~ 0 Y1 9, n ci. I 5 6 le?
Cl ! Qyf j,na( a.c Hon
"' . .., e (J.'.)Q__,t_ d obs:_-rve.d wh ae i-o
(II l ,
1)LL) J(lJ 1-J
TT) e s-b-k.s
5 1 ~ a nd ot ~ - Ne_w s~ctlc-, Qc kon pui~-
Oeep q _Neu-r a__ f N e ti.DoYC Co ~NJ t -
• A.sI ihe'- ()Q N) C? s'-'-Clrje..s is J O&)N f5 Q ~-\ '
._J 4' cav() 1n9 u '51 ()y {\fr: tn al
rie --rw on:. . s. U __J
e ~(
1
Q 6ra S~u.-L~ spo.ce C:Ov)~onrnerrl 1d
'
6 e acno
t
J lld)j,nq
'\ \
c..o,
'
anci Ct,(Y)plex ta5lc-m cic?fi·ne 1
an~ llpcia le ()._ ~- table.
-1
.lo ,so\11e, 'Sue h o() fssu e, we (a f) use a O~ N al ml thm
3
rJJY\e91.e 1 tns a k d o~ cle~ninoJ a r0 tabl 4 -
1
e; neu. lYO ( nt iwo.9ik ,I
I ks -\h e ~ -va Im ~ r
app,ovirno.. -'
e11u1 ,, on a0 cl s 6. k
ac 1:1' /
1~ .9iffcunc~CTO) :- ,
h ~ Wfe~~nce
lernpmcd . I.'5 an i' I . . .
~ ent ea91nid f?..omenvironment
-H,
r
\ h 15
:o~ episodes wlff.
me an 5 -k_ mpora j 1, op
no p,io-r
C11++r~ence I Ir
[oowlec{qe of
-tar-.c!o
1he envivCMen t.
a.V ('()()Jel-h'ee o3i .
U<J'::lUOr f'Y vl 5 e:d fc: o91n •,n{J aprroa_c nL · v.ro u Ca·n Cons :d<'.91 lb (I'. a,n•,r:'I '
\?-ro ff') tvi Ct I o.nc.J e'l '1 o'n , ' . , ' '
. '
V
we' 11 d1:it Lt."iS 3 c.i\Qm i +hrns I TOLo) , roe i) o;d 10 ( ~). , .'
wl Ih ClfJ l" s I imo le f5 .-lo 8ive o() In l11,1a / . wrl h,n wh!c t-i
P I t0
1
(J.0 1 ·Ih th e
1hr hue v'Q fu.e 1s e \(pee k<-l -lo -+a I, a '\'j
r91 oho bil; h.J wH I, c,'.)h tc h I~ Is e )( pec-k cl -lo f O 11 In iu this
\n~-e wo \. :) "- ch es Hrna -ks a ~ e Co Ik J Gn-fi c.J t/JU in +c,v\,Q I
!
I
The 12e:n fo-.c e rri en -1. l.eo.'1 ()jflj a. n d Supei vl .,e d lw.')1 ll f cJ
borh a:}tc2 -+he po.~J O e mach1ne leo.9t()A{)3 bu l- bo+h ½1J~5 I
10
pl'rt of tna~hine le(1'1!)ln~ , bui -tl1e -lta of /eomln<f are fo. Jrl1t,
--lo ea.~h olhtv •'The RL a~<nt inierMt 1A1rth -lhL environn1ent, e~p1ore \•!,tat<
o.J!'TTon ond Cje-1 re.r,uovde.d. WhL" O! supe,vl1rd lea,nl"'3 o\ o,t~hrris
\eo1'1l ·hor/'I ➔he la~\ed cbl,& o~d , on -lhe bruls of ,the. -l r.Jnlij
_JJi
'-· \ \ l:i!
1hi- ~L o.\io~lhrn \A.IOYtq
• ., ,.,.. \Iv hlA"'\
0
~ h-urria.n 'oY0--1 n lN u
--~ eq,UU\H~
k',J n /nvet rv1eT> t- ~ea,nln i ~
~~
a Is 'l.l9ed ; n l<obo+ m.virt1on , rc,bO ·S • w v, \,\) o!l<.ln~ ,j "18'1
e-lc . ..
RL ro1"\ ~e 'l.tqrd I 01 ll(}opfotl'. ('.'\onho\ ~uch Oi fal'tov~ proc.ti,
R l L"(Jn be. 'ltl!d in Gorn~ plo~, 1 SVC.h OJ --tfc.-la c.- to,e I lrie.JS,
,etc .. ...
5. BtU'tntU :
RL ;,-, now 'lmd .fo t 6\J.'1'1n'-l1 s11ate~~ pannlnf
~· Ma~du~n.~ ~
Tn v1ov10 '\..IJi O '1ttON10b1 ,~ '(Y)Of"l'\laclur,n3 cofflrar) I a I +~ Y() bo~ VJt
ct<!ep rel nlo~ce r>')e.nt lea,nl '"a -to ptd:: 1oocli and puf --\h~Nl 11,
sorn~ conbJniv~ .
ri .,· '-l=1 rot\t{' sector:
,__ . ._
the cuvrerrll'l'JlJ ~ed in 1hL -fl~l"\Ce. sectth' fo , .eva.l'1Jtt11'rij
1:
-lvodin~ sbo-1:e.iiQJ ·