MLCrack

    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:

    1. ε-greedy: with probability ε take random action, else take best known. Simple but undirected.

    2. UCB (Upper Confidence Bound): select action maximizing Q(a) + c√(ln(t)/N(a)). Optimistic in the face of uncertainty.

    3. Thompson Sampling: maintain posterior over rewards, sample and act greedily. Bayesian approach, often best in practice.

    4. Intrinsic motivation: add exploration bonuses based on novelty (count-based, prediction error).

    5. Entropy regularization: encourage diverse action distributions. In deep RL: noisy networks, curiosity-driven exploration.