Reinforcement Learning, Bit by Bit

Xiuyuan Lu, Benjamin Van Roy, Vikranth Dwaracherla, Morteza Ibrahimi, Ian Osband, Zheng Wen

TL;DR

This paper introduces an information-theoretic framework for reinforcement learning (RL) that treats data efficiency as a communication problem. By measuring the "price per bit" of information through a metric called the Information Ratio, the authors provide a principled way to design agents that know exactly what information to seek, how to seek it, and what to retain.

What Problem Does This Paper Address?

While RL has seen massive success in simulated environments (like games), these successes often rely on millions—or billions—of interactions. In the real world, data is expensive, and "data efficiency" is the primary bottleneck.

Most RL research follows a "computation first" maxim, scaling up neural networks and hardware while treating information acquisition heuristically (e.g., just adding random noise for exploration). This paper argues we should follow Claude Shannon’s "information first" approach. The authors tackle the fundamental challenge of balancing exploration (gathering information) and exploitation (maximizing reward) by quantifying exactly how much "knowledge" an agent needs to solve a task and the regret it must incur to gain that knowledge.

Methods

The authors propose a unified framework for agent design based on three components of "Agent State":

  1. Situational State ($S_t$): A summary of the current environment context.
  2. Epistemic State ($P_t$): The agent’s current knowledge (and uncertainty) about the environment.
  3. Algorithmic State ($Z_t$): Internal data used for computation (like random seeds).

The core of their method is the Information Ratio ($\Gamma$), which is the ratio of (Expected Regret)² to Information Gain. A low ratio means the agent is learning about the environment "cheaply."

To make this practical for deep learning, they introduce:

  • Value-IDS (Information-Directed Sampling): An algorithm that selects actions to minimize the Information Ratio.
  • Epistemic Neural Networks (ENNs): A specialized architecture that allows deep learning models to represent and update their uncertainty as they receive new data.
  • Pseudo-observations: A technique to estimate how much information a future action might reveal without actually taking it yet.

Datasets

The paper uses "didactic experiments"—stylized environments designed to isolate specific RL challenges:

  • Multi-armed Bandits: For basic exploration trade-offs.
  • DeepSea (from the bsuite benchmark): A classic "deep exploration" problem where an agent must move perfectly across a grid to find a single distant reward.
  • Sparse/Informative Bandits: Environments where some actions give no reward but provide "hints" (information) about where the reward is.
  • Logistic Bandits with GVFs: Testing how auxiliary observations (General Value Functions) help an agent learn faster.

Key Insights and Ideas

  • The Curse of Curiosity: Indiscriminately seeking information (pure curiosity) is a trap. In complex worlds (like a "noisy TV"), an agent can spend forever learning irrelevant details. The authors argue for a Learning Target ($\chi$)—the agent should only seek information that helps it achieve its specific goal.
  • The Curse of Knowledge: A bounded agent cannot remember everything. It must use an Environment Proxy to prioritize which "bits" of history are worth keeping in its memory.
  • Price per Bit: By framing exploration as a cost-benefit analysis, the authors show that "Deep Exploration" (sacrificing short-term reward for long-term knowledge) is just a mathematical consequence of minimizing the Information Ratio over a longer time horizon.
  • Pessimism can be Good: In a surprising twist, the authors show that adding a "pessimistic" adjustment to the Information Ratio helps agents avoid "blind spots" where they think they know the optimal action but are actually missing a crucial piece of information.

Key Results

  • Scaling: In the "DeepSea" environment, traditional "dithering" agents (like $\epsilon$-greedy) take $2^N$ episodes to learn. The proposed Value-IDS scales gracefully, matching the efficiency of Thompson Sampling but with better performance in complex cases.
  • Information Seeking: In environments with "revealing" actions (actions that give info but no reward), Thompson Sampling fails completely because it only tries actions that might be optimal. IDS succeeds because it recognizes the high informational value of the revealing action.
  • Auxiliary Learning: Using General Value Functions (GVFs) to predict observations other than reward significantly speeds up learning. The framework quantifies this: more auxiliary bits reduce the Information Ratio, leading to lower total regret.

Limitations and Future Work

  • One-Step Myopia: The basic version of IDS looks only one step ahead. While the authors suggest a "horizon $\tau$" version, calculating information gain over many future steps is computationally expensive.
  • Computational Overhead: Calculating the Information Ratio requires sampling from an ensemble of neural networks, which increases the per-step computational cost compared to simple methods like $\epsilon$-greedy.
  • Fixed Targets: The current theory assumes a fixed learning target. In the real world, an agent might need to adapt its target as it learns (e.g., a robot learning to walk before it learns to run). The authors point to "automated architecture design" as a future path to solve this.

Summary updated

BibTeX
@article{lu2023reinforcement,
  author = {Xiuyuan Lu and Benjamin Van Roy and Vikranth Dwaracherla and Morteza Ibrahimi and Ian Osband and Zheng Wen},
  title = {{Reinforcement Learning, Bit by Bit}},
  journal = {Found. Trends Mach. Learn.},
  year = {2023},
  doi = {10.1561/2200000097},
}
Figure