A1. max and argmax [2 points]
A. The maximum value is -2, attained by right.
Detailed Chinese explanation →Concise English answers for checking and exam phrasing. See the Chinese worked solutions for all intermediate steps and common mistakes.
A. The maximum value is -2, attained by right.
Detailed Chinese explanation →A. A delayed target network stabilizes learning by slowing changes in the bootstrap targets.
Detailed Chinese explanation →C. A transition model and a reward model support expected Bellman backups.
Detailed Chinese explanation →D. Dyna performs extra value updates using model-generated transitions.
Detailed Chinese explanation →C. A fixed positive exploration rate prevents the policy from becoming greedy in the limit.
Detailed Chinese explanation →D. The return is 7; only rewards after the first transition would be discounted.
Detailed Chinese explanation →B. With αₚ=0, P(i)=1/N.
Detailed Chinese explanation →B. Value iteration maximizes over actions while still averaging over stochastic outcomes.
Detailed Chinese explanation →C. Randomization can prevent exploitation of a predictable deterministic choice.
Detailed Chinese explanation →D. SARSA uses the value of the actually selected next action.
Detailed Chinese explanation →DP uses model-based expected bootstrapped backups. MC uses sampled complete returns without bootstrapping. TD uses sampled bootstrapped targets and can update before termination. MC commonly has higher variance; TD can have bias from its value estimates.
Detailed Chinese explanation →A greedy action attains at least the policy-weighted average qπ value. Repeated Bellman comparison yields vπ′≥vπ. Stability after exact evaluation implies optimality; an unchanged approximate sweep alone does not.
Detailed Chinese explanation →Q-learning learns a greedy target policy from data generated by a potentially exploratory behaviour policy. SARSA evaluates the actual behaviour, including exploration risk, while Q-learning bootstraps from a greedy next action.
Detailed Chinese explanation →Dueling separates a shared state-value stream from action advantages and combines them with mean subtraction. Double DQN instead separates action selection from evaluation in the target; the two ideas are compatible.
Detailed Chinese explanation →Function approximation compresses a large value table and generalizes through shared features. A linear approximator uses x(s)ᵀw; a semi-gradient update holds the target fixed while differentiating the current prediction. Shared parameters can cause approximation error or interference.
Detailed Chinese explanation →P rows: (0,.5,.5,0),(0,0,1,0),(0,0,0,1),(0,0,0,1). r=(1,0,4,0). G=(2,2,4). v=(2.5,2,4). V₁=(1,0,4), V₂=(2,2,4), V₃=(2.5,2,4).
Detailed Chinese explanation →vπ=(108/31,-4/31), qπ=(2,154/31;0,-8/31). First improvement: (bold,quit), v′=(5,0). It is not optimal: recover then has value 0.5>0.
Detailed Chinese explanation →V₁=(1,2), V₂=(1.75,2), V₃=(1.9375,2), actions (a,c). Exact optimal values are (2,2).
Detailed Chinese explanation →Returns: A:[3,2], B:[2]. MC=(2.5,2). Online TD: A→0.5, B→1, A→1.25. One frozen batch sweep gives (0.75,1).
Detailed Chinese explanation →Probabilities=(1/15,1/15,13/15). SARSA: y=-3,Qnew=-3. Q-learning: y=-2.5,Qnew=-2.9. DQN=-2.5 (a₂); Double=-3 (a₃). Terminal: y=-2,Qnew=-2.8.
Detailed Chinese explanation →vπ₀=(3,2), qπ₀=(3,3.4;2,2.4). π₁=(wait,join), v*=(5,4). V₁=(3,2), V₂=(3.4,2.4).
Detailed Chinese explanation →