papers / qlearning1992
Next task →
Research Papers/Reinforcement learning foundations/Q-learning
Reinforcement learning foundations · #2 · foundational

Q-learning

Christopher J. C. H. Watkins, Peter Dayan · 1992 · Machine Learning

1. Research problem

How can an agent learn an optimal control policy from sampled transitions without knowing the environment model?

2. Motivation

The authors wanted a simple off-policy update that converges to optimal action values under mild conditions.

3. Previous approaches

TD learning predicted values but did not directly learn control; SARSA learned on-policy action values but depended on the behavior policy.

4. Core contribution

Formally analyzed Q-learning, showing its update uses the maximum next-state action value regardless of the action taken, making it off-policy and convergent in the tabular case.

5. Mathematical formulation

Q(s,a) <- Q(s,a) + alpha*[r + gamma*max_a' Q(s',a') - Q(s,a)], with conditions on learning rates and sufficient exploration for convergence.

6. Methodology

Convergence proof for finite MDPs via stochastic approximation, plus discussion of exploration requirements.

7. Architecture

Tabular action-value function; later extended with function approximation in DQN.

8. Experimental setup

No large benchmarks; theoretical analysis and small illustrative examples.

9. Datasets

Not applicable; finite Markov decision processes.

10. Results

Established convergence to the optimal Q-function under tabular assumptions, giving RL a widely used model-free control algorithm.

11. Limitations

Max operator overestimates noisy values; tabular convergence fails with off-policy function approximation, and exploration can be costly.

12. Critical analysis

The theoretical anchor of value-based RL, whose practical limitations later motivated double Q-learning, DQN, and distributional methods.

13. Implementation tasks

  • 1.Implement tabular Q-learning on a small gridworld and verify convergence to optimal values.
  • 2.Compare on-policy SARSA and off-policy Q-learning in a task with risky exploratory paths.
  • 3.Demonstrate overestimation with noisy Q values and implement a double-Q fix.

14. Follow-up work

  • 1.Playing Atari with Deep Reinforcement Learning (Mnih et al., 2013)
  • 2.Double Q-learning (van Hasselt, 2010)

15. Open research questions

  • 1.Why does Q-learning diverge with nonlinear function approximation?
  • 2.How should exploration be scheduled for sample-efficient control?
16. Reproduce it. Record the hypothesis, configuration, dataset, metrics and discrepancies in the Experiment Tracker. A reproduction is not complete until you have run the experiments, performed at least one ablation and documented the differences from the reported numbers.