Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model 2: The Conservative Model-Based Policy Is ε-Optimal w.p. 1−δ at the Sample Size of Theorem 1Research Paper
Motivation
Reinforcement learning with a generative model (a simulator that returns an independent next state for any queried state–action pair) is the standard setting for measuring how many samples are needed to plan in an unknown Markov decision process. The simplest algorithm is model-based planning: query each pair times, build the empirical transition kernel, and plan in the resulting empirical MDP. Azar, Munos and Kappen (2013) showed that total samples suffice and are necessary, but only for . Agarwal, Kakade and Yang (2020) extended the range to . A sample size barrier remained: for larger , no algorithm was known to be minimax optimal with fewer than samples.
Li, Wei, Chi and Chen (arXiv:2005.12900v8, Operations Research, 2024) remove the barrier: the sample size is minimax optimal over the full range . They give two planners. The first (Theorem 1) perturbs the rewards slightly at random. The second, the subject of this mission, leaves the rewards unchanged and instead chooses among near-optimal actions by a randomized but structured rule.
Timeline:
- 2013: Azar–Munos–Kappen, minimax sample complexity of model-based planning for .
- 2018: Sidford, Wang, Wu, Yang and Ye, a model-free variance-reduced method, minimax for .
- 2020: Agarwal–Kakade–Yang, model-based planning minimax for , via absorbing MDPs.
- 2020 (v1) – 2024: Li–Wei–Chi–Chen, the full range (this paper).
Setting
A finite discounted MDP has states , actions , a transition kernel , rewards and a discount factor . A deterministic policy has value , the expected discounted sum of rewards from , and Q-function . The optimal value is and .
The data are independent next states for every pair, and the empirical kernel is . The empirical MDP has optimal functions and .
The conservative planner (Algorithm 2) draws a threshold independently of the data and plays
the smallest-indexed action whose empirical Q-value is within of optimal.
Formalization targets
Goal: Theorem 2
There are universal constants such that, for every MDP as above, every and , with and
with probability at least over the data and ,
The constants are left unspecified, as in the paper.
Milestones
The paper's own steps, in the order of §6.4:
- Lemma 7: .
- Lemma 3 and (88): the -absorbing MDPs reproduce at the right reward and depend Lipschitz-continuously on it.
- (56): a point of a finite net gives an absorbing MDP within of .
- Lemma 8: with probability over , the near-optimal action sets are unchanged by any perturbation of size .
- (57): consequently coincides with the conservative policy of every nearby absorbing MDP.
- Lemmas 2 and 1: the policy-evaluation bounds used for the remaining terms of (53).
Significance
Theorem 2 shows that the minimax sample size is reachable over the whole range of without altering the reward function: a planner can keep the model it estimated and only change how it breaks near-ties. The guarantee covers both value and Q-function suboptimality, and with a sample size proportional to rather than in the large- regime it allows a coarse but correct policy to be computed from very few samples.
None of these results is formalized. The mission produces a machine-checked account of the decoupling argument for data-dependent policies (absorbing MDPs, nets, stability of the tie-breaking rule), which the companion missions on Theorems 1 and 3 share. The paper omits the last step of the proof of Theorem 2 ("follows from an identical argument as in the proof of Theorem 1"); a formal proof has to supply it, including the analogue of Lemma 5 for , which the paper does not state.
Difficulty
The policy depends on all the data, so the standard concentration argument for a fixed policy (Lemma 1) does not apply to . A union bound over all deterministic policies costs a factor in the sample size, which is exactly the barrier. The leave-one-out construction removes the samples of one pair from the policy; it works only if the policy is stable under the small change of that this causes. The greedy policy is not stable when two actions nearly tie. The conservative rule is stable with high probability over (Lemma 8), but only because it takes the smallest near-optimal action: the set is stable, and a rule that picked an arbitrary member of it would not be.
Formalization scope
All declarations live in the namespace BreakingSample.Conservative. The MDP layer reuses the platform's FoundationsML.ReinforcementLearning definitions (IsTransitionKernel, PolicyValue, QFunction); deterministic policies enter as point-mass stochastic policies, and is the maximum over the finite set of maps . Norms are sup norms on finite function types. The order on is an arbitrary linear order on a finite type.
Probability: a data set is a map with the product law, so probabilities of data events are finite sums. The threshold has the uniform law on ; joint probabilities are , with the outer measure for non-measurable sections. "With probability at least " is stated as an upper bound on the probability of the failure event. Because the policy defined by (10) is a predicate on policies, the conclusion is stated for every policy satisfying (10). The universal constants are quantified before all types and parameters. The goal adds , the standing assumption of (3); "the same assumptions of Theorem 1" is formalized with the goal's own constants .
A trivializing formalization is ruled out: is the smallest-index rule of (10), not an arbitrary policy within of optimal, and is random, not fixed.
Infrastructure that a complete development needs and that is reusable: Bellman optimality for finite MDPs with deterministic policies and real rewards, the resolvent identities, Bernstein's inequality for the empirical kernel, the absorbing-MDP construction, and the analogue of Lemma 5 for the conservative policy. Proofs of any milestone, and of the policy-evaluation lemmas, are welcome.
Selected references
- G. Li, Y. Wei, Y. Chi, Y. Chen, Breaking the Sample Size Barrier in Model-Based Reinforcement Learning with a Generative Model, Operations Research, 2024; arXiv:2005.12900v8. https://arxiv.org/abs/2005.12900
- M. G. Azar, R. Munos, H. J. Kappen, Minimax PAC bounds on the sample complexity of reinforcement learning with a generative model, Machine Learning 91, 2013. https://doi.org/10.1007/s10994-013-5368-1
- A. Agarwal, S. Kakade, L. F. Yang, Model-Based Reinforcement Learning with a Generative Model is Minimax Optimal, COLT 2020. https://arxiv.org/abs/1906.03804
- A. Sidford, M. Wang, X. Wu, L. F. Yang, Y. Ye, Near-Optimal Time and Sample Complexities for Solving Markov Decision Processes with a Generative Model, NeurIPS 2018. https://arxiv.org/abs/1806.01492