REINFORCEMENT LEARNING · INTERVIEW QUESTION
Explain the exploration-exploitation tradeoff. What strategies address it?
🟡 intermediate · Fundamentals & MDPs
Hint: Think about ε-greedy, UCB, Thompson Sampling, and intrinsic motivation.
Answer
Exploration: trying new actions to discover potentially better rewards. Exploitation: using current knowledge to maximize reward. Too much exploration wastes time; too much exploitation misses better strategies.
Strategies:
-
ε-greedy: with probability ε take random action, else take best known. Simple but undirected.
-
UCB (Upper Confidence Bound): select action maximizing Q(a) + c√(ln(t)/N(a)). Optimistic in the face of uncertainty.
-
Thompson Sampling: maintain posterior over rewards, sample and act greedily. Bayesian approach, often best in practice.
-
Intrinsic motivation: add exploration bonuses based on novelty (count-based, prediction error).
-
Entropy regularization: encourage diverse action distributions. In deep RL: noisy networks, curiosity-driven exploration.
Related questions
- Explain the Bellman equation. How is it used in Q-learning?
- What is reinforcement learning, and how does it differ from supervised and unsupervised learning?
- Define the terms: agent, environment, state, action, and reward in the context of reinforcement learning.
- Can you explain the concept of the Markov Decision Process (MDP) in reinforcement learning?
- What is the role of a policy in reinforcement learning?