1. Home
  2. Data Science
  3. Reinforcement Learning
  4. Why is Q-learning described as an off-policy algorithm?

Added 2 Nov 2026

Why is Q-learning described as an off-policy algorithm?

  1. It learns the greedy policy while following an exploratory one Correct answer
  2. It updates values only after an episode is fully finished
  3. It needs a complete model of the environment's dynamics
  4. It can only be used when rewards are always positive

Correct answer

A. It learns the greedy policy while following an exploratory one

16 views

MCQSEXAM

Explanation

Q-learning updates with the maximum next-state Q-value, the greedy target, even when the agent actually explores with ε-greedy actions. SARSA, by contrast, is on-policy.

Reference

Asked in: Data Science Interviews, GATE DA

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Reinforcement Learning MCQs

Practise all Reinforcement Learning MCQs

Similar MCQs