c23 · E2

Derive: Learning by Acting

c23.E2.1E2 · expression

A deterministic task has two states, A and B. In state A the only action pays reward 1 and moves to B. In state B the only action pays reward 0 and moves to A. Take . Starting from the return recursion of section 23.2, derive the Bellman equations for and , solve them, and check against the infinite discounted sum of rewards along the path from A.

This tier asks for a derivation, so there is no automatic checker. Write your answer, then open the worked solution and compare.

c23.E2.2E2 · expression

Section 23.2 says that with the infinite sum has a finite value as long as the rewards are bounded. Drop the boundedness. Let the reward at step be for , and keep . Show that the return is a geometric series in , find the set of discount rates for which it converges, and give the return at . State what happens at .

This tier asks for a derivation, so there is no automatic checker. Write your answer, then open the worked solution and compare.

c23.E2.3E2 · numeric

A two-action policy uses scores and , with Derive and . Then show that one REINFORCE update after taking action A with return changes the log-odds by , and explain why the shift equals when the two actions are equally likely. Use the result to compute the new when the old value is , , and . Give three decimal places.

Other tiers

E1 Practise · E3 Open

Every hint opened, solution viewed and answer checked is recorded in this browser only. See Progress to export or delete it.