Reward-Free Exploration for Reinforcement Learning
Chi Jin, Akshay Krishnamurthy, Max Simchowitz, Tiancheng Yu
Introduction
In reinforcement learning (RL), an agent repeatedly interacts with an unknown environment with the goal of maximizing its cumulative reward. To do so, the agent must engage in exploration, learning to visit states in order to investigate whether they hold high reward.
Exploration is widely regarded as the most significant challenge in RL, because the agent may have to take precise sequences of actions to reach states with high reward. Here, simple randomized exploration strategies provably fail: for example, a random walk can take exponential time to reach the corner of the environment where the agent can accummulate high reward (Li, 2012). While reinforcement learning has seen a tremendous surge of recent research activity, essentially all of the standard algorithms deployed in practice employ simple randomization or its variants, and consequently incur extremely high sample complexity.
On the other hand, sophisticated exploration strategies which deliberately incentivize the agent to visit new states are provably sample-efficient (c.f., Kearns and Singh (2002); Brafman and Tennenholtz (2002); Azar et al. (2017); Dann et al. (2017); Jin et al. (2018)), with recent work providing a nearly-complete theoretical understanding for maximizing a single prespecified reward function Dann and Brunskill (2015); Azar et al. (2017); Zanette and Brunskill (2019); Simchowitz and Jamieson (2019). In practice, however, reward functions are often iteratively engineered to encourage desired behavior via trial and error (e.g. in constrained RL formulations (Altman, 1999; Achiam et al., 2017; Tessler et al., 2018; Miryoosefi et al., 2019)). In such cases, repeatedly invoking the same reinforcement learning algorithm with different reward functions can be quite sample inefficient.
One solution to avoid excessive data collection in such settings is to first collect a dataset with good coverage over all possible scenarios in the environment, and then apply a “Batch-RL” algorithm. Indeed many algorithms are known for computing near optimal policies from previously collect data, provided that the dataset has good coverage (Munos and Szepesvári, 2008; Antos et al., 2008; Chen and Jiang, 2019; Agarwal et al., 2019). However, prior work provides little guidance into how to obtain such good coverage.
In this paper, we aim to develop an end-to-end instantiation of this proposal. To this end we ask:
How can we efficiently explore an environment without using any reward information?
In particular, by exploring the environment, we aim to gather sufficient information so that we can compute the near-optimal policies for any reward function after-the-fact.
In this paper, we present the first near-optimal upper and lower bounds which characterize the sample complexity of achieving provably sufficient coverage for Batch-RL. We do so by adopting a novel “reward-free RL” paradigm: During an exploration phase, the agent collects trajectories from an MDP without a pre-specified reward function. Then, in a planning phase, it is tasked with computing near-optimal policies under the transitions of for a large collection of given reward functions.
Our exploration phase is conceptually simple, using an existing RL algorithm as a black-box (Zanette and Brunskill, 2019), and our planning phase accommodates arbitrary Batch-RL solvers. We instantiate our result with value iteration and natural policy gradient as special cases. By decoupling exploration and planning, our work sheds light on the algorithmic mechanisms required for sample efficient reinforcement learning. We hope that this insight will be useful in the design of provably efficient algorithms for more practically relevant RL settings, such as those where function approximation is required.
In addition to our algorithmic results, we establish a nearly-matching lower bound, demonstrating the near-optimality of our algorithm in this paradigm. Notably, this lower bound quantifies a price of “good-coverage” in the reward-free setting: while RL with a pre-specified reward has sample complexity of only (Dann and Brunskill, 2015), the reward-free sample complexity is a factor of larger.
The main technical challenge in our work involves handling environments with states that are difficult to reach. In such cases, we cannot learn the transition operator to high accuracy uniformly over the environment, simply because we cannot reach these states to collect enough data. With denoting the maximal probability of visiting state under any policy, our key observation is that we can partition the state space into two groups: the states with so small that they have negligible contribution to reward optimization, and the rest. We introduce a rigorous analysis which enables us to “ignores” the difficult-to-visit states altogether and only requires that we visit the remaining states with probability proportional . To achieve this latter guarantee, we conduct our exploration with the Euler algorithm (Zanette and Brunskill, 2019), which in our context yields refined sample complexity guarantees in terms of . We believe that this decomposition of states into their ease of being reached may be of broader interest. Our lower bound also adopts a novel and sophisticated construction, detailed in Section 4.
For reward-free exploration in the tabular setting, we are aware of only a few prior approaches. First, when one runs a PAC-RL algorithm like RMax with no reward function (Brafman and Tennenholtz, 2002), it does visit the entire state space and can be shown to provide a coverage guarantee. However, for RMax in particular the resulting sample complexity is quite poor, and significantly worse than our near-optimal guarantee (See Appendix A for a detailed calculation). We expect similar behavior from other PAC algorithms, because reward-dependent exploration is typically suboptimal for the reward-free setting.
Second, one can extract the exploration component of recent results for RL with function approximation (Du et al., 2019; Misra et al., 2019). Specifically, the former employs a model based approach where a model is iteratively refined by planning to visit unexplored states, while the latter uses model free dynamic programming to identify and reach all states. While these papers address a more difficult setting, it is relatively straightforward to specialize their results to the tabular setting. In this case, both methods guarantee coverage, but they have suboptimal sample complexity and require that all states can be visited with significant probability. In contrast, our approach requires no visitation probability assumptions and achieves the optimal sample complexity.
The last point of comparison is a recent result of Hazan et al. (2018), that gives an efficient algorithm for finding a certain exploratory policy. They use a Frank-Wolfe style algorithm to find a policy whose state occupancy measure has maximum entropy. One can show that an exact optimizer for their objective has a similar coverage property to our exploratory policy, but the Frank-Wolfe style algorithm can only guarantee an approximate optimizer. They do not analyze how the optimization error enters in the coverage guarantee, but we are able to show that setting the error to suffices (see Appendix B). Unfortunately, this implies that their sample complexity scales with , which is much worse than ours. More generally, their result is not end-to-end in that they do not show how to use their policy for planning, and they do not establish a final sample complexity bound, both of which we do here.
Finally, the main source of motivation for our work is recent and classical results on batch reinforcement learning (Munos and Szepesvári, 2008; Antos et al., 2008; Chen and Jiang, 2019; Agarwal et al., 2019), a setting where the goal is to find a near optimal policy, given an a priori dataset collected by some logging policy that satisfies certain coverage properties. In this paper, we show how to find such a logging policy for the tabular setting, which enables straightforward application of these batch RL results. As an example, we show how to apply both value iteration and natural policy gradient to optimize the policy given any reward function. More generally, these works typically also consider the function approximation setting, and we believe our modular approach will facilitate development of provably efficient algorithms for these challenging settings.
Preliminaries
where we define for any .
The RL objective is to find an -optimal policy , satisfying
In the reward-free setting, we would like to design algorithms that efficiently explore the state space without the guidance of reward information. Formally, the agent interacts with the environment through Protocol 1—a reward-free version of the MDP, where the agent can transit as usual but does not collect any rewards. Over the course of episodes following Protocol 1, the agent collects a dataset of visisted states, actions, and transitions , which is the outcome of the exploration phase.
The effectiveness of the exploration strategy is evaluated in the next phase—the planning phase—in which the agent is no longer allowed to interact with the MDP. In this phase, the agent is given a reward function that can be potentially adversarily designed, and the objective here is to compute a near optimal policy for this reward function using the dataset . Performance is measured in terms of how many episodes are required in the exploration phase so that the agent can reliably achieve the objective above. As notation, we use to emphasize that the value function depends on the reward .
We remark that providing the reward function after the exploration phase (as opposed to before) makes the setting more challenging, and so our algorithm applies to the easier setting. We also note that our results address the setting where the reward is observed through interaction with the environment, as learning the reward is typically not the statistical barrier to efficient RL. Indeed, a provably effective reward-free exploration strategy must visit all “significant” state-action pairs (see Definition 3.2) sufficiently many times anyway, and this experience is sufficient to learn the reward function.
Main Results
Ther exists an absolute constant and a reward-free exploration algorithm such that, for any , with probability at least , the algorithm outputs -optimal policies for an arbitrary number of adaptively chosen reward functions. The number of episodes collected in the exploration phase is bounded by
where .
We emphasize that the correctness guarantee here is quite strong: the dataset collected by the algorithm is such that any number of adaptively chosen reward functions can be optimized with no further data collection. In contrast, if we naïvely deployed a reward-sensitive RL algorithm, we would have to collect additional trajectories for each reward function, which could be quite sample inefficient. We emphasize that requiring near-optimal policies for many reward functions is quite common in applications, especially when we design reward functions by trial and error to elicit specific behaviors.
Our algorithm proceeds with following high level steps:
learn a set of policies which allow us to visit all “significant” states with reasonable probability.
collect a sufficient amount of data by executing policies in .
The first two steps are performed in the exploration phase, while the latter two steps are performed in the planning phase. In Section 3.1 and Section 3.2, we will present our formal algorithms and the corresponding theoretical guarantees for two phases separately. One important feature of our algorithm is that we can use existing approximate MDP solvers or batch-RL algorithms in the last step. We demonstrate with two examples, namely Value Iteration (VI) and Natural Policy Gradient (NPG), in Section 3.3.
1 Exploration Phase
The goal of exploration is to visit all possible states so that the agent can gather sufficient information in order to find the optimal policy eventually. However, rather different from the bandit setting where agent can select an arbitrary arm to pull, it is possible that certain state in the MDP is very difficult to reach no matter what policy the agent is taking. Therefore, we first introduce the concept of the state being “significant”. See Figure 1 for illustrations.
A state in step is -significant if there exists a policy , so that the probability to reach following policy is greater than . In symbol:
Intuitively, with limited budeget of samples and runtime, one can be only hopefully to visit all significant states. On the other hand, since insignificant states can be rarely visited no matter what policy is used, they will not significantly change the value from the initial states. Thus, for the sake of finding near-optimal policies, it is sufficient to visit all significant states with proper significance level . Indeed, Algorithm 2 is able to provide such a guarantee as follows.
There exists absolute constant such that for any and , if we set where , then with probability at least , that Algorithm 2 will returns a dataset consisting of trajectories , which are i.i.d sampled from a distribution satisfying:
Theorem 3.3 claims that using Algorithm 2, we can collect data from a underlying distribution , which ensures that for policy , the ratio will be upper bounded for any significant state and action. That is, all significant state and action will be visited by distribution with reasonable amount of probability. Notice as becomes smaller, there will be more significant states and the condition (4) becomes stronger. As a result we need to take larger . As we will see later, the we take eventually will be , where is the suboptimality of the policy we find in the planning phase.
Algorithm 2 can be decompose into two parts, where Line 3-7 learns a set of exploration policies and Line 8-11 simply collects data by uniformly executing policies in . Therefore, the key mechanism lies in how to learn the set of exploration policies . Our strategy is to first learn the best policies that maximize the probability to research each state at step individually, and then combine them.
There exists absolute constant such that for any and , with probability at least , if we run Euler algorithm for episodes, it will output a policy set with that satisfies:
where .
2 Planning Phase
There exists absolute constant , for any , , assume dataset has i.i.d. samples from distribution which satisfies Eq.(4) with , and , then with probability at least , for any reward function simultanouesly, the output policy of Algorithm 3 is -suboptimal. That is:
Under the preconditions of Theorem 3.5, with probability at least , for any reward function and any policy , we have:
where evaluation errors are bounded by by Lemma 3.6 and optimization error is bounded by by assumption. ∎
3 Approximate MDP Solvers
Another popular approach frequently used in practice is the Natural Policy Gradient (NPG) algorithm as shown in Algorithm 4. In each iteration, the algorithm first evaluates the value of policy using Bellman equation Eq.(1). Then it updates the policy by first scale it with the exponential of learning times value , and then performs a normalization. For completeness, we provides its guarantee here. Similar analysis also appears in Agarwal et al. (2019).
for any learning rate and iteration number , the output policy of Algorithm 4 satisfies the following:
Therefore, it is easy to verify, by choosing and , the policy returned by NPG is -optimal.
Lower Bound
In this section, we establish that trajectories are necessary to satisfy the guarantee from Theorem 3.1.
Let be a universal constant. Then for , , , and any , any reward-free exploration algorithm which statisfies the guarantee of Theorem 3.1 with and accuracy parameter must collect trajectories in expectation. This is true even if can return randomized or history-dependent (non-Markov) policies, and holds even if the rewards and transitions are identical across stages .
In particular, Theorem 4.1 shows that our upper bound (Theorem 3.1) is tight in , up to logarithmic factors and lower-order terms. Note that lower bound holds against querying an unlimited number of reward vectors. It is left as an open question whether such a lower bound holds when the algorithm is only required to ensure correctness over a smaller number of reward vectors pre-determined in advance. In what follows, we sketch a proof of Theorem 4.1; a formal proof is given in Appendix D.
The learner is then tasked with learning near optimal policies for reward vectors parametrized by , which assigns a state-dependent but action-independent reward to states , and no reward to . The blue (“left”) transitions or red (“right”) transition in Figure 2 mirror this construction, which we formalize in Definition D.1. We show that reward-free exploration essentially forces the learner to learn the probability vectors in total-variation distance for each , yielding an lower bound for this construction. A formal statement is of the following Lemma is given in Lemma D.2 in the appendix.
Suppose for a universal constant . Suppose , when faced with the instances described above (with satisfying Eq. (6)) successfully returns -suboptimal policies for exponentially many reward vectors with total failure probability . Then requires trajectories in expectation.
Unfortunately, we cannot show a direct reduction from estimating in total variation to learning near optimal-policies. Instead, by selecting appropriate reward vectors , the algorithm can decode a packing of transition vectors for each action . By a variant of Fano’s inequality, this leads to the same lower bound that would be obtained by a direct reduction. ∎
Lemma 4.2 differs from existing lower bounds in that the only quantities unknown to the learner are the transition probabilities associated with the single state . This is in contrast to most existing lower bounds where the learner needs to collect transition information at multiple states. In particular, here the factor of arises because the transition is to states, while in most constructions this factor arises because transitions from states must be estimated.
2 Lower Bound for Multiple States
The only part unknown to the learner are the transition vectors , where describes the probability of transitioning to leaf when taking action from state . We now index rewards by , where places action-independent reward on state , action-independent reward on states , and reward everywhere.
Assume that the transitions satisfy the near-uniformity condition of (6) for . Then, for reward , the high reward of at forces any near-optimal policy to visit and subsequently play near optimal actions at this state. However, playing optimally at under reward for all is equivalent to reward-free learning of a single instance of the construction from Lemma 4.2. By varying for the reward vectors , the learner is forced to learn such instances, yielding the lower bound. This can be improved to by using the absorbing states to create a chain of rewards.
Conclusion
In this paper, we propose a new “reward-free RL” framework, comprising of two phases. In the exploration phase, the learner first collects trajectories from an MDP without receiving any reward information. After the exploration phase, the learner is no longer allowed to interact with the MDP and she is instead tasked with computing near-optimal policies under for for a collection of given reward functions. This framework is particularly suitable when there are many reward functions of interest, or when we are interested in learning the transition operator directly.
Another interesting direction is to design reward-free RL algorithms for settings with function approximation. We believe our work highlights and introduces some mechanisms that may be useful in the function approximation setting, such as the concept of significant states (Definition 3.2) and the coverage guarantee (4). How do we generalize these concepts to the function approximation setting?
We hope to pursue these directions in future work.
References
Appendix A The ZeroRMax algorithm
RMax is a well-known PAC exploration algorithm Brafman and Tennenholtz . Here, we show that a modified version of RMax, which we call ZeroRMax, addresses the reward-free exploration setting. The difference between ZeroRMax and RMax is that we set the reward in “known” states to instead of the true reward, which explains the name. We briefly describe the algorithm and derive the PAC bound relying heavily on prior arguments. Details about RMax and its analysis can be found in prior work Brafman and Tennenholtz , Kakade .
Following the reward-free exploration framework proposed in Section 2, the ZeroRMax algorithm first collects samples without knowledge about reward (exploration) and then computes a policy for each configuration of reward function (planning). We define set of known states to be
where counts how many times has been visited and was taken in the -th step and is a parameter to be specified later. The set contains states that we have visited enough times to estimate the corresponding transition kernel, and is typically referred to as the “known set” in the literature. For not in , we call them “unknown.”
Now ZeroRMax explores as follows. In each episode , the agent has a known set and
builds an empirical MDP with parameters
computes on by value iteration.
samples a trajectory from the environment following .
constructs for the next episode
For the planning phase, we first sample an index uniformly and construct the MDP . Then given reward function, we can just perform value iteration on , which gives us a near optimal policy.
A central concept for analyzing the sample complexity of ZeroRMax is the escape probability, which is the probability of visiting the unknown states. Formally,
The above definition also depends on the corresponding MDP . Since we only care about the escape probability w.r.t the true MDP , we will omit this dependence. The key observation is that there cannot be too many episodes where the escape probability is large. The inuition is that, if the escape probability is big, then the agent will soon visit an unknown states. However, the agent can visit unknown states at most times in total.
Let be the policy followed in the episode and be corresponding set of known states. Then with probability , there can be at most episodes where .
As a result, we have the following corollary.
If we sample uniformly from to , then with probability , we have .
In what follows, we focus on a single “good” episode where . Since we focus on a single episode, let us denote by and by . There are three MDPs of interest, with important details presented in Table 1.
is the true MDP of interest, that we will use to measure the performance of the policy we find in the planning phase. is the MDP we use for computing policies in both exploration and planning phases. The final MDP, is an intermediate MDP which agrees with on the known set but follows self-loops in the unknown states. Our plan is to prove with high probability, the value of any policy on and are close, which implies the desired sample complexity result using the same argument as in Theorem 3.5.
The first step is to prove that for any policy , the values on and are similar.
With probability , for any policy and reward function ,
We apply Lemma C.1 to and , since the reward function is the same and the transition kernel is the same for unknown states,
The second step is to prove that for any policy , the values on and are similar, which is less straightforward.
With probability and is a ”good” episode, for any policy ,
Notice that for any policy , if we can upper bound the escape probability, then and must be similar for this policy. Fortunately, this is actually the case, due to our setting of the reward function in the exploration phase, following (7). Then by definition for any ,
However, since we are considering a good episode, we know that for the optimal policy on , , we have . Therefore,
Now notice and are only different on unknown states, which will not influence the agent unless the agent escapes from . Using Lemma C.1 on and we have
Finally we can put everything together. Again following the argument in Theorem 3.5, we have
With probability , given any reward function, the ZeroRMax algorithm can output a policy such that
This sample complexity is quite poor because it scales with and polynomially, rather than logarithmically, with .
Appendix B MaxEnt Exploration
At this point we can see that if then this expression is negative, so the mixture policy with large does not yield any improvement in objective. On the other hand, for any then this inner expression is . So if we set the overall improvement in objective is . This means that if we want establish the guarantee in Theorem 3.3, we must set , at which point the overall sample complexity scales with , which is quite poor.
Note that this calculation shows that samples is sufficient for the maximum entropy approach to find a suitable exploratory policy, but we do not claim that it is necessary for this method. A sharper analysis may be possible, but we are not aware of any such results.
Appendix C Proof for Main Results
In this section, we present proofs for results in Section 3.
We begin with the proof of Lemma 3.4, which is a simple modification of the Theorem 1 in Zanette and Brunskill .
We use an alternative upper-bound for equation (156) in Zanette and Brunskill , which gives:
where is the policy used in Euler in the -th episode. Step (i) is because using the reward function designed in Line 4 in Algorithm 2, we have all reward equal to zero except one state. Therefore, we have and . Therefore, we have replace the upper bound in (156) of Zanette and Brunskill by .
This allows us also replace the in Theorem 1 of Zanette and Brunskill by , which gives the regret of algorithm (note Zanette and Brunskill is for stationary MDP, while our paper is for non-stationary MDP, thus in Zanette and Brunskill need to be replaced by in our paper due to state augmentation, which creates new states as ):
Finally, plug in , we finish the proof. ∎
Now we can prove the main result in this section.
In the following we can fix a state and consider the corresponding policy given by Euler. Remember in our setting (Line 4 in Algorithm 2),
Therefore the regret guarantee Lemma 3.4 implies
for some absolute constant . Therefore, in order to make the following true
We simply need to choose large enough so that:
for a sufficient small absolute constant . Combining with the fact that for \text{~{}\delta-significant~{}}(s,h), , we know choosing is sufficient. As a result, we have
Since Algorithm 2 sets all policy in to choose action uniformly randomly at , this implies
Finally, we can apply the same argument for all -significant , and let which gives:
C.2 Planning Phase
The following lemma (E.15 in Dann et al. ) will be useful to characterize the difference between and .
With this decomposition in mind, we can prove Lemma 3.6.
Let be the set of -significant states in the -th step. We further have:
By definition of insignificant state, we have:
On the other hand, by Cauchy-Shwartz inequality, we have:
We note since only depends on at steps, it does not depends on . Therefore, we have:
where the last step is because the maximization over achieves at deterministic polices.
Recall that by preconditions, we have 4 holds for . That is, for any we always have
Therefore, for any pair, we can design a policy so that for all , and . This will give that
Therefore, combine all equations above, we have
Recall our choice and for sufficiently large absolute constant , which finishes the proof. ∎
To simplify the notation, when some property of holds for any , we just use the notation to describe a generic .
We first state some properties of the random variables , which are justified at the end of the proof.
(Empirical risk minimization)
We can simply choose and thus
Taking union bound w.r.t. , the claim holds for any with probability .
Finally we give the proofs for the claimed three properties of . We begin with the expectation property:
The emipirical risk minimization property is true because the evaluation rule is essentially minimizing the empirical Bellman error for each pair separately. Mathematically,
C.3 Proof of Theorem 3.1
Putting everything together we can prove the main theorem.
We only need to choose the parameter and . From the proof of Lemma 3.6 we can see, we need and thus . Since we need episodes for each , the total number episodes required for finding is , which gives the second term in (3). The proof is completed by combining Theorem 3.5, which gives the first term in (3). ∎
C.4 Approximate MDP Solvers
The convergence of NPG is well studied in Agarwal et al. (tabluar & infinite horizon) and Cai et al. (linear approximation). However, the episodic setting has some unique characters (For example, we not every state can be arrive at the first step and the corresponding analysis in Agarwal et al. does not apply). Therefore the guarantee given in Proposition 3.7 is different.
Since we only need to prove the guarantee on the true MDP, we will not distinguish true MDP and estimated MDP here. Remember the NPG is defined by
where is computed following the value iteration procedure. Similarly we define . The normalization constant can be written explicitly as
Notice the definition of the normalization constant is not unique. Here we choose the form that makes the following proof simpler but different choice will essentially gives exactly the same algorithm.
We begin with a lemma showing that the value function monotonically increases.
By performance difference lemma Kakade and Langford ,
because by definition. ∎
Equipped with the monotone property, we can simply prove an upper bound for the cumulative regret, which immediately implies the convergence rate for the last iteration.
Now we can upper bound the regret of by upper bound the cumulative regret using Lemma C.3
Therefore we only need to bound , where the technique in Agarwal et al. does not apply and we use a different approach. Notice for , . So as long as , and we have
Appendix D Proof of Lower Bound
In this section, we prove our lower bound, Theorem 4.1. First, we develop further notation in Section D.1 which will aid in distinguishing between multiple possible instances. Next, Section D.2 states Lemma D.2, the formal analogue of Lemma 4.2, which describes a lower bound for learning transitions at a single state. Then, Section D.3 embeds the construction to obtain an instance where the learner to learn transitions at states, yielding the lower bound Theorem 4.1. Finally, Section D.4 details the proof of the -state lower bound, Lemma 4.2.
For the lower bound, we allow the policies prescribed by to be arbitrary randomized mappings form observed histories, that is, selects a random seed from some distribution; that is the policy at stage is a map
D.2 Learning A Single Instance
In this section, we define a triple on -states which forces the learner to spend trajectories to learn the transition probabilities at a given state.
Due to its level of technical, the proof of Lemma D.2 is given in Section D.4.
D.3 Learning Transitions at n𝑛n states: Proof of Theorem 4.1
Suppose that a (possibly randomized, non-Markovian) policy satisfies, for and ,
Due to the structure of the transitions and rewards, the value of any policy is
To prove Theorem 4.1, we use the following lemma:
We directly construct the map . Observe that policies on the single state environment can be discred by a distribution over which actions they select at the initial state . Thus identifying policies as elements of , we set
We now conclude with the proof of our main theorem:
Since , for the above conditions to hold, it suffices that, for a sufficiently large constant , , , and . Moreover, , as needed. ∎
D.4 Proof of Lemma D.2
For a cardinality parameter to be chosen shortly, we consider a packing of vectors
Throughout, we shall consider packings which are uncorrelated in the following sense:
For , we say that is -uncorrelated if, for any pair with either or , it holds that .
The following lemma shows that the exist -uncorrelated packings of size :
Fix , and suppose that . Then, there exists a -uncorrelated packing .
Given a -uncorrelated packing , define transition vectors
As a consequence, we find that if and is -correct,
In particular, if and , then,
Take . For constants sufficiently large, we can ensure that if , then statisfies and . Thus, we can construct a -uncorrelated packing of cardinality ,
D.4.1 Proof of Lemma D.6
We begin with the following concentration inequality:
For any fixed and , we have
By permuting coordinates, we may assume that
where we set . Hence, if , we need
We now finish the proof of our intended lemma:
By a union bound over at most pairs , there exists a -uncorrelated packing for any satisfying
Taking logarithms, we require .
D.4.2 Proof of Lemma D.7
To begin, let us state a variant of Fano’s inequality, which replaces mutual-information with an arbitrary comparison measure:
This follows from the standard statement of Fano’s inequality, where we use that
For reference, see e.g. Equation (11) in Chen et al. . ∎
where uses and the identity , and uses the fact that and for . Thus, by Eq 11,
By taking an expectation over index tuples drawn uniformly from , we have
D.4.3 Proof of Lemma D.8
which can be checked to lie . We shall establish the following lemma, which says that for sufficciently uncorrelated packings, the vectors witness separations between and for different actions :
Fix and , and suppose the packing is -uncorrelated: Then, for any and , the following holds
where we use the fact that for all . If and , and the packing is -uncorrelated
On the other hand, if , but then a similar computation reveals that for ,
We can now conclude the proof of our reduction:
We conclude our proof by showing that, on the good event Eq. (12), the condition in Eq. (13) holds if and only if . To this end, define the short hand
so that on the good event of Eq. 12, we have