2534 lecture 5: partially observable mdpscebly/2534/notes/csc2534_lecture5.pdf1 2534 lecture 5:...

45
1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially observable MDPs (POMDPs): the basic model and algorithms Announcements Asst.1 posted yesterday, due in two weeks (Oct.13) See web page for handout on course projects: email today with times for project discussion (20 minute time slots via Doodle) CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Upload: others

Post on 13-Jul-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

1

2534 Lecture 5: Partially Observable MDPs

Discuss algorithms for MDPS (from last time)Introduce partially observable MDPs (POMDPs): the

basic model and algorithmsAnnouncements

• Asst.1 posted yesterday, due in two weeks (Oct.13)• See web page for handout on course projects: email today with

times for project discussion (20 minute time slots via Doodle)

CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Page 2: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Partially Observable MDPs (POMDPs)

POMDPs offer a very general model for sequential decision making allowing:

• uncertainty in action effects• uncertainty in knowledge of system state, noisy observations• multiple (possibly conflicting) objectives• nonterminating, process-oriented problems

It is the uncertainty in system state that distinguishes them from MDPs

2CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Page 3: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Potential Applications

Because of generality, potential applications of POMDPs are numerous

• maintenance scheduling, quality control• medical diagnosis, treatment planning• finance, economics• robot navigation• assistive technologies• Web site control of information, interaction• and a host of others

But only tiny problems are solvable!• limited practical experience with general methods

3CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Page 4: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

4

COACH*POMDP for prompting Alzheimer’s patients

• solved using factored models, value-directed compression of belief space

Reward function (patient/caregiver preferences)• indirect assessment (observation, policy critique)

CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Page 5: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Example: Machine Maintenance (Sondik 73)

Machine makes 1 product/hr• machine has 2 components (each subj. to failure)• each failed component damages product independently (p=0.5)

Each hour you choose either:• let machine run (MF)• MF and examine (at a cost) output for defects (EX)• inspect machine components; replace faulty component(s) (IN)• simply replace both components (RP)

What is optimal course of action (given uncertainty about status of machine components)?

5CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Page 6: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Example: Robot Navigation (Hauskrecht 97)

Task: from uncertain start state, reach goalFour “basic” actions, two “sensing” actions

• Both types are stochasticWhat is optimal control policy for goal attainment?

Add you own favorite domain: medical, finance, IR, product recommendation, …

6CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Moves Sensor1 Sensor2

Page 7: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Common Ingredients

Actions change system state (stochastically)• MF produces (damaged?) part; component may fail

States/actions more or less rewarding/costly• prefer undamaged parts; few inspections, replacements

Uncertainty about true state of system• but some actions provide (noisy, partial) information about state• EX (examine product) gives some info about component status• IN (inspect machine) gives full info about component status

Policy must take into account this uncertainty• act differently if component likely/not likely failed

POMDPS a suitable model for such problems

7CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Page 8: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Partially-Observable MDPs

MDP model assumes system state is known• but this is unrealistic in many settings• policy not implementable if state unknown

• Would you ever makes sense to take the action EXAMINE/INSPECT in an MDP?

• Extend model to allow incomplete state information• Extend notion of policy to deal with such uncertainty

8CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

and best course of action instate of uncertainty can bevery different than π

??

?

AS →:π

Page 9: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

POMDPs: Basic Model

As in MDPs: S, A, , ,

Observation space: Z (or )

Observation probabilities: for

9CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

aijp a

irT

ir

aZaijzp aZz ∈

St

Zt

St+1

At

Zt+1

St+2

At+1

Zt+2

Page 10: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Machine Replacement Example

States S: 0, 1, 2 (number of failed components)Transitions for actions MN and EX given by:

• IN and RP fix any faulty components: go to state 0 with Pr=1.0

Observations: Null (N), Defective (D), Working (W)

Observation probs for action EX given by:

Observation probs for other actions:

10CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

aijp

0119011881 221211020100 .p;.p;.p;.p;.p;.p aaaaaa ======

aijzp

325.;675.;55.;45.;0.1 22110 ===== ajW

ajD

ajW

ajD

ajW ppppp

0.1=aijNp

Page 11: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Interpretation of Machine Replacement

State transitions reflect each component having a 0.1 chance of failing after MN (or EX)

Observation probabilities reflect the noisy nature of product examination and defects:

• probability of each damaged component causing product defect is 0.5 (noisy or, independent) if S=0, Pr(defect) = 0; S=1, Pr(defect)=0.5; S=2, Pr(defect) = 0.75

• if product is sound, will not detect a defect if EX (no false positive) Pr(obs=D|S=0) = 0

• if product is defective, detect it 90% of the time (10% false negatives) Pr(obs=D|S=1) = Pr(D|defect)Pr(defect|S=1) = 0.9*0.5 = 0.45 Pr(obs=D|S=2) = Pr(D|defect)Pr(defect|S=2) = 0.9*0.75 = 0.675

11CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Page 12: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

POMDPs: History-based PoliciesInformation available at time t:

• initial distribution (belief state)

• history of actions, observations: a1, z1, a2, z2,…, at-1, zt-1

Thus, we can view a policy as a mapping:

For given belief state b, it is a conditional plan

• notice distinction with MDPs: can’t map from state to actions

12CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

)(Sb ∆∈

AHS Tt →×∆ ≤)(:π

else:MN.....Def:RP;MN.if

;EXelse:MN;MN

MN...Def:IN;MN;ifMN;MN;EX;e.g.,

Page 13: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

POMDPs: Belief StatesHistory-based policy grows exponentially with horizon

• infinite horizon POMDPs problematicBelief state summarizes history sufficiently [Aoki

(1965), Astrom (1965)] Let b be belief state; suppose we take action a, get obs zLet T(b,a,z) be updated belief state (transition to new b)If we let bi denote Pr(S = i), we update:

13CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

)(Sb ∆∈

∑∑

=

=

=

jkajkz

ajkk

jajiz

ajij

i

ppb

ppb

)b,a|iPr()b,a,i|zPr(

)b,z,a|iPr()z,a,b(T

αij

az

j

j

b

Page 14: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Belief State MDPPOMDP now an MDP with state space

Reward:

Transitions: if b' = T(b,a,z); 0 o.w.

Optimality Equations:

14CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

)(S∆a

ii iaa

b rbrbr ∑=⋅=

),|Pr(', abzpabb =

))],,(([

)),,((

)'()(

1

1

1' ',

zabTVpprb

zabTVppbrb

bVprbbQ

kz

aijzj

aij

aii i

kj

aijz i ii

aii

kb

abb

aka

aijz

−+

−+

−+

∑∑∑=

∑∑ ∑∑=

∑⋅=

)(max)( bQbV kaa

k = )(maxarg)( bQb ka

a

k =π

Page 15: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Belief State MDP Graphically

15CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

b

b1=T(b,a,z1)

b2=T(b,a,z2)

b3=T(b,a,z3)

Pr(z1|a,b)

Pr(z2|a,b)

Pr(z3|a,b)

Belief State Transitions for Action a, Belief State b

Page 16: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Representation of Value Functions

This fully observable MDP still unmanageable• |S|-1-dimensional continuous space (|S|-dim. simplex)

Sondik (1973) proved useful structure of VF• Vk is piecewise linear and convex (pwlc)

Need only a finite set α(k) of linear functions of b such that:

16CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

ii

ik bbbV αα

αα ∑=⋅= maxmax)(

These are typically called α-vectors (n-vectors with one value per state).

Page 17: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

PWLC Value Function Graphically

17CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Belief Stateb(s1)=0 b(s1)=1

Value

Page 18: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Why is Value Function PWLC?

for k-step conditional plan p is constant

for belief state b is expected value

• this is a linear function of b• can be expressed as vector of coefficients

Best conditional plan for b is one with max value

Thus is PWLC• But can we construct it without computing this for all plans p ?

18CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

)(iVkp

∑= ikpi

kp iVbbV )()(

)(bVkp

kpV

)(max)( bVbV kpp

k =kV

Page 19: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Constructing PWLC VF (0)

Clearly is linear in bLet

19CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

TrbbV ⋅=)(0

}{)( Tr=0α

b(.3,.7)b(s1)=0 b(s1)=1

r0

r1

V(b)=.3r0+.7r1rT

Page 20: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Constructing PWLC VF (1)

is similar, since each Q-function is linear in b:

Note: observations play no role (no chance to “respond”)Thus

20CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

)(max)( bQbV aa11 =

)]([)( jVprbbQ jaij

aii ia

01 ∑∑= +

}:{)( AaQa ∈= 11α

)}(:max{)( 11 ααα ∈⋅= bbV

Page 21: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

V1 Graphically

21CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Belief State

Value

Qa

QdQe

Qc

Do(a) Do(d) Do(e)

Page 22: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Observation Strategies

Q-value of action a with 2 stages-to-go depends on course of action chosen subsequently

• This can vary with specific observation made

We define observation strategies to be mappings from Zinto α-vectors at subsequent stageOS(a,2) is the set of mappingsIntuitively, if z observed after doing a, we will execute

conditional plan corresponding to σ(z)• thus future value dictated by vector σ(z)

22CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

)1(: ασ →aZ

Page 23: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Value of Fixed Observation Strategy

Value of fixed OS is linear in b• specifically, constant for any state i

For any a, Q-value given by best

Thus representable by vector set

23CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

),( aOS 2∈σ

])}({[)( jzazijj

aij

aii i zpprbbQ σσ ∑∑∑= +

2

),( aOS 2∈σ

)},(:max{)( aOSbbQa 22 ∈⋅= σσ2aQ )(2aβ

Page 24: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Representation of Q-function

24CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

σ1

z1

z2

σ2 z1z2

σ3

σ4

z1,z2

z1,z2

PWLC Representation of Qa

σ1 corresponds to “Do(a); if z1, do(red);if z2, do(green)”

Page 25: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Constructing PWLC VF (General)

Since , we have PWLC

In general, we have

25CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

)(max)( bQbV aa22 = 2V

a

a )()( 22 βα =

)}(:{),( 1−→= kZakOS a ασ

)},(:{)( akOSQk ka ∈= σβ σ

a

a kk )()( βα =

Page 26: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

V2 Graphically

26CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Belief State

Value

QaQd

Do(a) Do(d) Do(d)

Page 27: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Interpretation as Policy Trees

Each corresponds to a k-step policy tree: do action a and act according to k-1-step tree dictated by σ(z)

To implement policy given by set of policy trees (or α−vectors)

• exploit dynamic programming principle

• find max vector for belief state b• execute action associated with vector• observe some z, update b, repeat

27CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

)(kαα ∈

z1 z2 z1 z2b c

a

z1 z2σ(k)

σ(k-1)

σ(k-2)

Page 28: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Monahan's Algorithm

Simple Exhaustive Enumeration algorithm• generate from α(k) using all OSs in OS(k,a) (for all a)

Difficulty: |A| |α(k-1)||Z| vectors in α(k)

But some elements of α(k-1) obviously useless• pruning dominated vectors keeps subsequent set of alpha-

vectors, α(k), smaller

Monahan's Algorithm:• Generate α(1); prune; generate α(2); prune; …

28CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Page 29: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Dominated Vectors

29CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Belief State

ValueFunction

α(k)

α1 α2

α3

α4

Page 30: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Dominated Vectors

30CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Belief State

ValueFunction

α(k)

α1 α2

α3

b

d

Page 31: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Dominated Vectors

31CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Belief State

ValueFunction

α(k)

α1 α2

Page 32: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

LP to Find Dominated VectorsCan prune α(k) using a series of linear programsTest vector α j as follows:

Variables

Minimize

Constraint

Constraint

If solution , α j is dominated

32CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

jii ibd α∑−

)(, Sibd i ∈

jmbd mii i ≠∀∑≥ ,α

10 =∑≥ i ibbi ;

0≥∑− jii ibd α

d represents value of belief bon upper surface of α-set excluding αj

Find point b where this value dhas min advantage over αj

If min advantage is negative, αjis useful; of advantage is positive, αj is pruned

Page 33: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Witness Algorithms

Enumeration algorithms seem wasteful:• generate vectors that are subsequently pruned

“Witness” methods only add (potentially) useful vectorsGiven current approximate version α(k):

• find b s.t. (b is a witness)• generate vector suitable for b, add to α(k)• Question: can you (easily) find “best” vector for a fixed belief b ?

Examples: Sondik's one-pass; Cheng's linear support; Cassandra, Littman, Kaelbling's witness

33CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

}{max)( α⋅> bbV k

Page 34: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Cheng’s Linear Support Algorithm

Largest error must occur at vertex of regions defined by these α(k)

• vertices uncovered by an interior point algorithm• can also find witnesses using an LP

Find true value at each vertex b;• the b with max error is our witness

Add α -vector for OS(b) to α(k) (b is witness with max. error)Continue until each vertex has error 0Several optimizations used to speed things up:

• only add corners of new vector to search list• don't investigate duplicated witnesses

34CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

}{max)( α⋅− bbV k

Page 35: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Linear Support Graphically

35CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Belief State

α1

α2

α3

w1 w2

αnew

Value at witness w1

Page 36: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Incremental Pruning

Much like Monahan, enumerates OSs and prunes vectorsBut builds up useful OSs incrementallyFocuses on OS “fragments”

• if fragment is dominated, no useful σ will use it• keeps down number of vectors investigated

Key: clever building of (rep'n of )• from this, build

• finally prune α(k)

36CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

)(kaβ kaQ

a

a kk )()( βα =

Page 37: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Incremental Pruning - Observation Value

37CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Page 38: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Incremental Pruning - Strategy Value

38CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Page 39: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Incremental Pruning

39CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Page 40: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

40CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Page 41: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Inc. Pruning Results (CLZ, UAI97)

41CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Problem Size Soln Time (sec)Problem S A Z Stg Mon Wit IP1DMaze 4 2 2 70 2.2 9.3 2.34x3 11 4 6 8 >28800 727.1 3464x3CO 11 4 11 367 216.7 3226 15574x4 16 4 2 364 >28800 351.8 215.7Cheese 11 4 7 373 1116.9 5608.4 4249.2Paint 4 4 2 371 >28800 6622.9 1066.6Network 7 4 2 14 >28800 417.0 234.1Shuttle 8 3 5 7 >28800 1676.7 200.8Aircraft 12 6 5 4 >28800 24.6 22.8

Page 42: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Sources of Intractability

Size of α –vectors• each is size of state space (exp. in number of vars)

Number of α –vectors• potentially grows exponentially with horizon

Belief state monitoring• must maintain belief state online in order to implement policy

using value function• belief state rep’n: size of state space

42CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Page 43: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Approximation Strategies

Sizes of problems solved exactly are tiny• various approximation methods developed• often deal with 1000 or so states, not much more

Grid-Based Approximations• compute value at small set of belief states• require method to ``interpolate'' value function• require grid-selection method (uniform, variable, etc.)

Finite Memory Approximations• e.g., policy as function of most recent actions, obs• can sometimes convert VF into finite-state controller

43CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Page 44: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Approximation Strategies

Learning Methods• assume specific value function representation• e.g., linear VF, smooth approximation, neural net• train representation through simulation

Heuristic Search Methods• search through belief space from initial state• requires good heuristic for leverage• heuristics could be generated by other methods

Structure-based Approximations• E.g., based on decomposability of problem

44CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier

Page 45: 2534 Lecture 5: Partially Observable MDPscebly/2534/Notes/CSC2534_Lecture5.pdf1 2534 Lecture 5: Partially Observable MDPs Discuss algorithms for MDPS (from last time) Introduce partially

Next time

Next time we’ll discuss one approximation

45CSC 2534 Lecture Slides (c) 2011-14, C. Boutilier