Decisions change the next example #
A robot choosing a route through a warehouse sees different aisles depending on its earlier turns. Its decisions influence which training experiences become available. A policy specifies how it chooses actions from the information it currently has. A reward supplies feedback, such as a small penalty for taking another step and a larger payoff for reaching the destination. The return combines rewards over time, often discounting rewards received farther in the future.
If the robot follows a familiar route on every trial, it may never encounter a shorter one. Trying unfamiliar actions can uncover better routes at a cost in immediate performance. This tension between exploration and exploitation helps explain why a policy that already collects positive reward can remain far from the best available policy.
Learning before the outcome arrives #
Suppose the robot expects a return of six on entering an aisle. A move costs one point and reveals a location currently valued at ten. With no discount for this single transition, the estimated return for that move is nine. The difference of three gives the learner a reason to revise its previous estimate upward. The information came from a better estimate of the next location, even though the robot has yet to finish the journey.
Richard Sutton studied this use of successive predictions under the name temporal-difference learning. Q-learning, analyzed by Christopher Watkins and Peter Dayan, estimates values for state-action pairs and uses the best estimated next action in its update. Its convergence result has conditions, including sufficient sampling. A finite run with a large neural network and selective experience has a different evidential status.
What changed with deep networks #
In 2015 the Deep Q-Network team studied a single algorithmic design on a suite of 49 Atari games. A neural network estimated action values from game inputs, allowing information learned in one visual situation to influence estimates in similar situations. Experience replay reused stored transitions during training. A separate target network reduced the frequency with which the targets themselves changed. The researchers trained agents for the individual games and reported substantial variation across them.
The investigator chooses the reward #
A warehouse reward for reaching a marked square gives an evaluator a specific fact to check. If management later decides the robot must also leave room for other carts, the original reward may have omitted a practical requirement. A useful report therefore identifies the environment, the accessible actions, the reward and the evaluation policy. It also distinguishes how much experience the learner consumed from the quality of the final decisions. Those details matter when a result in a simulator is used to motivate a claim about autonomous research. An example of reward hacking appeared in a traffic simulation. Keeping a highway moving quickly could earn the agent a high score while drivers waited at the entrance.
How a maximum can favor a lucky estimate #
Imagine two routes with the same expected return of zero. For each route a noisy measurement independently reports either +1 or −1 with equal probability. The best reported value is +1 three quarters of the time, because only two negative measurements leave −1 as the maximum. Its average is therefore +0.5. Neither route has improved. Selecting the largest number and using that same number to judge the choice produces the upward bias.
In Double Q-learning, Hado van Hasselt kept two estimates. One selects a promising action and the other evaluates the chosen action for the update. This separation addresses a source of overestimation in ordinary Q-learning. It can also underestimate values, so its benefit depends on the setting. The example explains a trap in interpreting learning curves. An increasing estimate of future reward can coexist with unchanged returns when the learned policy is actually run.
Sources
- Richard Sutton, Learning to Predict by the Methods of Temporal Differences (1988) doi.org
- Christopher Watkins and Peter Dayan, Q-learning (1992) gatsby.ucl.ac.uk
- Volodymyr Mnih and colleagues, Human-level control through deep reinforcement learning (2015) doi.org
- Alexander Pan, Kush Bhatia and Jacob Steinhardt · The Effects of Reward Misspecification (2022) arxiv.org
- Hado van Hasselt · Double Q-learning (2010) proceedings.neurips.cc