Presented at NeurIPS 2022, this paper provides the first theoretical guarantees for a popular class of reinforcement learning (RL) algorithms when multiple agents learn collaboratively. By demonstrating a "linear speedup" in learning, the authors prove that when $n$ agents interact with the same environment simultaneously and share their data, Thompson Sampling-based algorithms effectively reduce the time needed to find optimal policies. Specifically, the per-agent regret decreases at a rate of $1/\sqrt{n}$.
The Challenge of Concurrent Exploration
In Concurrent Reinforcement Learning, multiple agents—such as a fleet of autonomous vehicles or a distributed network of recommendation servers—interact with the same environment simultaneously. To accelerate learning, these agents share their experiences.
The primary bottleneck in this setting is exploration. Traditional algorithms, such as Upper Confidence Reinforcement Learning (UCRL), rely on the principle of "optimism in the face of uncertainty." However, in a concurrent setting, if all agents use the same aggregated dataset to construct a single optimistic model, they will all adopt the exact same policy. This leads to highly redundant exploration: every agent investigates the same potentially rewarding path, wasting the parallel compute advantage.
Thompson Sampling (TS), or Posterior Sampling, naturally resolves this redundancy. Instead of a single optimistic model, each agent samples a different possible version of the environment from a shared belief distribution. This induces inherent diversity; one agent might explore path A while another explores path B. While TS is empirically successful, this paper addresses a critical gap: the lack of theoretical regret bounds (a measure of lost reward during learning) for TS in concurrent settings.
Methodology: Concurrent Thompson Sampling
The authors analyze the regret bounds of concurrent TS across two primary RL settings:
- Finite-Horizon Episodic RL: Agents interact with the environment for a fixed number of steps ($H$), share their collected data, and then begin a new episode. The proposed algorithm, Concurrent PSRL, requires each agent to independently sample a Markov Decision Process (MDP) from the current joint posterior at the start of every episode.
- Infinite-Horizon Average-Reward RL: In continuous settings without natural episodic breaks, the authors adapt a "doubling-horizon" schedule. An epoch concludes—and agents resample their models—only when the number of visits to any specific state-action pair doubles. This mechanism prevents agents from switching policies too frequently, which could otherwise degrade long-term performance.
The core theoretical contribution relies on decomposing the regret into two components: the optimism error (the divergence between the sampled model and the true environment) and the concentration error (how accurately the aggregated data represents the true environment).
Theoretical Results and Regret Bounds
The paper formalizes why Thompson Sampling outperforms UCB-style algorithms for concurrent learning. By sampling independently from the posterior, agents naturally coordinate their exploration without requiring complex, explicit communication protocols.
The most significant insight is the $1/\sqrt{n}$ speedup. The per-agent regret scales inversely with the square root of the number of agents. Consequently, quadrupling the number of agents halves each agent's individual regret, proving that a "society of agents" yields predictable, tangible benefits.
The authors establish several new regret bounds for per-agent performance:
- Finite-Horizon (General Prior): $\tilde{O}(HS\sqrt{AT/n})$, where $H$ is the horizon, $S$ is the number of states, $A$ is the number of actions, and $T$ is the number of episodes.
- Finite-Horizon (Dirichlet Prior): $\tilde{O}(H\sqrt{SAT/n})$. Assuming a Dirichlet prior for transition probabilities tightens the bound by reducing the dependency on the state space $S$.
- Infinite-Horizon (General Prior): $\tilde{O}(DS\sqrt{AT/n})$, where $D$ is the "diameter" of the MDP (a measure of the ease of transitioning between states).
- Infinite-Horizon (Dirichlet Prior): $\tilde{O}(D\sqrt{SAT/n})$.
In all evaluated cases, the total team regret matches the minimax optimal rate for a single agent learning for $nT$ steps. This proves that concurrent learning is just as data-efficient as sequential learning.
Simulated Evaluation
Because the paper focuses on theoretical bounds, it does not rely on standard external datasets. Instead, the authors validate their findings using simulated Markov Decision Processes. Transition probabilities are generated using a Dirichlet prior, and rewards are drawn from a Gaussian distribution. By measuring cumulative regret across varying numbers of agents ($n$), the empirical results successfully verify the theoretical $1/\sqrt{n}$ relationship.
Limitations and Future Directions
While the theoretical guarantees are robust, the framework has several limitations that present opportunities for future research:
- Communication Costs: The model assumes agents can share data instantaneously and without cost at the end of every episode or epoch. In real-world applications like robotics, bandwidth and latency are significant constraints.
- Function Approximation: The current bounds apply to "tabular" RL, where states and actions are discrete and finite. Extending these guarantees to Deep RL, which uses neural networks for function approximation, remains an open challenge.
- Heterogeneity: The analysis assumes all agents face the exact same MDP. Future work could investigate "multi-task" concurrent RL, where agents operate in slightly different but related environments.
- Model Mis-specification: The proofs assume the true environment belongs to the family of distributions used for the prior. Developing "model-free" concurrent algorithms could provide robustness against such mis-specifications.
Summary updated