A1. Double DQN action selection [2 points]
A. Select action 2 online and evaluate it as 2 with the target network.
Detailed Chinese explanation →Concise English answers for checking and exam phrasing. See the Chinese worked solutions for all intermediate steps and common mistakes.
A. Select action 2 online and evaluate it as 2 with the target network.
Detailed Chinese explanation →C. Average stochastic outcomes within each action, then maximize over actions.
Detailed Chinese explanation →B. GLIE provides no finite-time guarantee of knowing an exact optimal policy.
Detailed Chinese explanation →A. Gₜ=Rₜ₊₁.
Detailed Chinese explanation →D. The outputs are estimated action values, not necessarily action probabilities.
Detailed Chinese explanation →A. Total nongreedy probability is 4×0.1/5=0.08.
Detailed Chinese explanation →B. The critic estimates values or related signals to guide the actor.
Detailed Chinese explanation →D. First-visit MC uses the return 4 for this episode.
Detailed Chinese explanation →B. Including velocity can make the state representation sufficient for prediction.
Detailed Chinese explanation →C. v̂=1.
Detailed Chinese explanation →Reward is immediate; return accumulates future rewards. V averages over the policy’s first action; Q fixes it. max returns a value, argmax an optimizer. k indexes sweeps, t indexes transitions. α controls update size; ε controls exploration.
Detailed Chinese explanation →Visit conventions determine which returns are used; step-size conventions determine how those returns are averaged. Online TD reads the current table after earlier updates, so transition order matters.
Detailed Chinese explanation →Replay: reuse and decorrelation. Target network: slower targets. Double: separate selection and evaluation. PER: nonuniform experience sampling with correction. Dueling: value/advantage decomposition.
Detailed Chinese explanation →π(a₁)=0.5, score gradient=0.5, θnew=0.1. The probability of a₁ increases to about 0.525. The action-independent baseline centers the return without changing the expected gradient.
Detailed Chinese explanation →Model-free updates use real experience directly; planning uses a model. Dyna learns from real transitions, updates its model, and performs additional model-generated updates. Model bias can be amplified by excessive planning.
Detailed Chinese explanation →v=(-4,-2), sample returns=(-3,-2,-1). Expected remaining steps are 4 and 2. Finite expected termination time makes the undiscounted values finite.
Detailed Chinese explanation →vπ=(8/3,4/3). qπ=(8/3,1;4/3,3). Improved policy=(a,d), with optimal values (3.5,3).
Detailed Chinese explanation →V₁=(0.5,0.5), V₂=(0.75,0.625); W₁=(1,2),W₂=(2,2). Action values from V₂: (0.375,1.3125;2,-0.625), so choose (b,c).
Detailed Chinese explanation →G=(2.75,3.5,3). First-visit MC=(2.375,2). Every-visit constant-step MC=(2.9375,2). TD updates: A→2,A→2.25,B→2. Constant-step averaging retains unequal weights and an initial-value contribution.
Detailed Chinese explanation →Probabilities=(0.1,0.9). SARSA: y=1.8,Qnew=2.88. Q-learning: y=5.4,Qnew=3.24. DQN=6.3; Double=3.6. Terminal: y=0,Qnew=2.7.
Detailed Chinese explanation →vπ₀=(2,1), qπ₀=(4,0.5,2;6,1). π₁=(short,collect), v*=(4,6). V₁=V₂=(4,6).
Detailed Chinese explanation →