Machine Learning HW5
Links
Outline
Knight and Pawn
Task Description
Catch the pawn with your knight as soon as possible
Task Description
Rule
Task Description
Reinforcement Learning formulation
(Default : 1 if the knight catches the pawn; -0.001 otherwise)
(But the evaluation is related to how early you catch the pawn.)
Prerequisites
Recap
How about V𝛑(s)?
Please express V𝛑(s) in terms of V𝛑 in your report.
Soft Update
In practice, assume your agent took action a in state s and get into state s’,
the updated value is directly updated into
V𝛑(s) ← r(s, a) + 𝛾V𝛑(s’),
which is called the hard update. On the other hand, soft update is a technique used to gradually update the parameters of a target (to be updated) network or value function towards the parameters of a source (computed) network or value function. It ensures smoother learning and avoids instability, particularly in environments with high variance or stochasticity. That is
V𝛑(s) ← 𝛕 · (r(s, a) + 𝛾V𝛑(s’)) + (1-𝛕) · V𝛑(s).
ε-greedy algorithm
The epsilon-greedy algorithm balances exploration and exploitation by choosing a random action with probability 𝜖 and the action with the highest estimated value with probability 1−𝜖. That is,
where r ~ Uniform(0,1) and S' is reached from S by a.
Upper Confidence Bound (UCB)
Regulations & Grading
Grading Policy - Deadline
Grading Criteria
Evaluation
Grading Criteria
Cool Submissions
在Cool上分別繳交以下檔案:
Grading Policy - Others
學術倫理