Online Sub-Sampling for Reinforcement Learning with General Function Approximation

Dingwen Kong, Ruslan Salakhutdinov, Ruosong Wang, Lin F. YangarXiv 2021

Abstract

Modern Reinforcement Learning (RL) algorithms utilizing general function approximation often suffer from high computational overhead due to frequent policy updates. This paper introduces a novel online sub-sampling framework designed to reduce the switching cost of these algorithms. By employing a new "online sensitivity score" to quantify information gain, the proposed framework allows agents to achieve near-optimal regret while updating their policies only a logarithmic number of times. This approach effectively decouples statistical efficiency from computational frequency, providing a robust theoretical foundation for efficient RL in complex state spaces.

Introduction

In the pursuit of scaling Reinforcement Learning (RL) to real-world applications, Function Approximation (FA) has become indispensable. By using models such as deep neural networks to estimate value functions, agents can navigate massive or continuous state spaces. However, while the statistical efficiency of these methods—the amount of data required to learn—is increasingly well-understood, their computational efficiency remains a significant barrier.

Most state-of-the-art RL algorithms with general FA are categorized as "high-switching-cost" algorithms. These methods typically re-solve a complex optimization problem to update the agent's policy after every single episode. In a training regime of $K$ episodes, this necessitates $K$ expensive optimization calls. Such frequency is not only computationally prohibitive but also impractical in domains like medical treatments or industrial control, where frequent policy shifts can be risky or logistically difficult. This research addresses a fundamental question: Can we design an RL algorithm that maintains low regret while minimizing the frequency of policy updates?

The Online Sub-Sampling Framework

The core contribution of this work is an Online Sub-Sampling Procedure that acts as an intelligent filter for data collection. Instead of retraining on the entire history of collected transitions, the algorithm maintains a small, representative "sub-sampled" dataset that captures the essential information needed for policy improvement.

1. Online Sensitivity Score

The framework introduces an "online sensitivity score" calculated for every new data point (state-action pair). This score serves as a proxy for information gain, measuring how much a new observation contributes to the model's understanding relative to the existing sub-sampled set.

2. Selective Updates and the Planner

Data points are added to a sub-sampled buffer with a probability proportional to their sensitivity score. The "Planner"—the computationally intensive optimization step—is only triggered when the sub-sampled buffer is modified. This ensures that the agent only spends computational resources when it encounters truly novel information.

3. Generalization via Regression Oracles

To ensure the framework is applicable across various function classes (from linear models to neural networks), the authors utilize a "Regression Oracle." This is a black-box abstraction that solves a weighted least-squares problem. By measuring complexity in terms of calls to this oracle, the framework remains agnostic to the specific architecture of the function approximator.

Unlike prior "doubling tricks" used in linear RL, which rely on the determinant of a covariance matrix, this sensitivity-based approach generalizes to non-linear function classes where linear algebraic properties do not hold.

Theoretical Analysis

As a theoretical study, the paper's findings are supported by rigorous mathematical proofs rather than empirical benchmarks. The analysis focuses on the interplay between regret bounds and computational complexity.

Logarithmic Switching Costs

The most significant finding is that near-optimal performance does not require $\Omega(K)$ updates. The authors prove that updating the policy $\text{poly log}(K)$ times is sufficient. This represents a drastic reduction in the number of times the expensive Planner must be invoked.

Regret and Buffer Bounds

Despite the infrequent updates, the algorithm achieves a regret bound of $\tilde{O}(\text{poly}(dH)\sqrt{K})$, matching the statistical performance of high-frequency update algorithms. Furthermore, the authors demonstrate that for function classes with a bounded "eluder dimension"—a metric for the complexity of a function class—the sub-sampled dataset remains small, typically proportional to $\text{poly log}(K)$.

Discussion and Limitations

While the framework offers a significant leap in computational efficiency, its guarantees are tied to the structural assumption of a bounded eluder dimension. While this covers many common models, its applicability to every possible deep neural network architecture remains an open question. Additionally, the framework assumes access to an efficient optimization oracle; in practice, solving these problems for non-convex functions remains a non-trivial task.

Conclusion

This paper provides a principled way to reduce the computational burden of RL with general function approximation. By treating data collection as an information-filtering process, the online sub-sampling framework demonstrates that logarithmic policy updates are sufficient for near-optimal learning. This work paves the way for more sustainable and deployable RL systems by drastically improving the time complexity of policy optimization without sacrificing statistical rigor.

Summary updated

BibTeX
@misc{kong2021online,
  author = {Dingwen Kong and Ruslan Salakhutdinov and Ruosong Wang and Lin F. Yang},
  title = {{Online Sub-Sampling for Reinforcement Learning with General Function Approximation}},
  year = {2021},
  eprint = {2106.07203},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.07203},
}
Figure