<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Future-Dependent Value-Based Off-Policy Evaluation in POMDPs</title></titleStmt>
			<publicationStmt>
				<publisher>Neural Information Processing Systems (NeurIPS 2023)</publisher>
				<date>12/08/2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10547278</idno>
					<idno type="doi"></idno>
					
					<author>Masatoshi Uehara</author><author>Haruka Kiyohara</author><author>Andrew Bennett</author><author>Victor Chernozhukov</author><author>Nan Jiang</author><author>Nathan Kallus</author><author>Chengchun Shi</author><author>Wen Sun</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[We study off-policy evaluation (OPE) for partially observable MDPs (POMDPs) with general function approximation. Existing methods such as sequential im- portance sampling estimators suffer from the curse of horizon in POMDPs. To circumvent this problem, we develop a novel model-free OPE method by introduc- ing future-dependent value functions that take future proxies as inputs and perform a similar role to that of classical value functions in fully-observable MDPs. We derive a new off-policy Bellman equation for future-dependent value functions as conditional moment equations that use history proxies as instrumental variables. We further propose a minimax learning method to learn future-dependent value functions using the new Bellman equation. We obtain the PAC result, which implies our OPE estimator is close to the true policy value under Bellman completeness, as long as futures and histories contain sufficient information about latent states.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>Reinforcement learning (RL) has demonstrated success when it is possible to interact with the environment and collect data in an adaptive manner. However, for domains such as healthcare, education, robotics, and social sciences, online learning can be risky and unethical [e.g., KHS + 15, KL19, TDHL19, SRRH21]. To address this issue, a variety of offline RL methods have recently been developed for policy learning and evaluation using historical data in these domains [see LKTF20, for an overview]. In this paper, we focus on the off-policy evaluation (OPE) problem, which concerns estimating the value of a new policy (called the evaluation policy) using offline log data that was generated under a different policy (called the behavior policy) <ref type="bibr">[TB16,</ref><ref type="bibr">JL16,</ref><ref type="bibr">TDHL19,</ref><ref type="bibr">CQ22]</ref>. OPE is especially useful in the aforementioned high-stakes domains.</p><p>We focus on off-policy evaluation (OPE) in partially observable Markov decision processes (POMDPs). Partial observability is a common phenomenon in practical applications <ref type="bibr">[Cas98,</ref><ref type="bibr">KLC98,</ref><ref type="bibr">XLSS20]</ref>, and it poses a serious challenge for sample-efficient learning. Most existing OPE methods are developed for MDPs and their statistical learning guarantees rely crucially on the Markov assumption. To extend these methods to POMDPs, one may use the entire history of observations as a state to satisfy Markovanity. This allows us to apply sequential importance sampling [SIS, Pre00, JSLZ19, HW21] or its variant [e.g., sequential doubly robust (SDR) methods RRS98, MvdLRG01, JL16, TB16, FCG18, BMVVDL19] to the transformed data for valid policy evaluation. An alternative approach is to employ value-based methods by constructing a history-dependent Q-function that takes the entire history as input. These value functions can be estimated via fitted-Q evaluation [FQE, EGW05, MS08, LVY19] or minimax methods [ASM08, CJ19, FLL19, NCDL19, UHJ20, UIJ + 21, ZW22]. However, all aforementioned estimators suffer from the curse of horizon, as their estimation errors grow exponentially with respect to the (effective) horizon and become prohibitively large in long-horizon settings [LLTZ18, <ref type="bibr">KU20,</ref><ref type="bibr">KU22]</ref>.</p><p>The goal of this paper is to devise practical and efficient OPE methods in large partially observable environments, while breaking the curse of horizon. As a first step, we restrict our attention to the evaluation of short memory-based policies that take several recent observations instead of the entire history as inputs. Short memory-based policies are widely used in practice, since maintaining the whole previous observation leads to a well-known computational challenge dubbed as the curse of history <ref type="bibr">[PGT06,</ref><ref type="bibr">GMR22]</ref>. For example, in the deep Q-network (DQN) algorithm, four game frames are stacked together to train the optimal policy in Atari [MKS + 13], while Open AI Five uses a window of length 16 [BBC + 19]. Even when considering the evaluation of policies with shortmemory or memory-less characteristics (i.e., policies that depend solely on current observations), na&#239;ve methods such as SIS, SDR, and FQE still suffer from the curse of horizon<ref type="foot">foot_0</ref> .</p><p>Our proposal takes a model-free perspective and introduces a new concept called "future-dependent value functions". The proposed value function does not involve latent states which are unobservable in POMDPs. Nor does it relies on the entire data history. It performs the role of standard value functions by incorporating future observations as proxies for latent states. We demonstrate that these future-dependent value functions satisfy a new off-policy Bellman equation for POMDPs, which involves past observations to approximate latent states. To estimate these future-dependent value functions from offline data using the new Bellman equation, we propose minimax learning methods that accommodate various function approximation, including deep neural networks, RKHS, and linear models. Notably, our method extends the classical LSTD <ref type="bibr">[LP03]</ref> developed in MDPs to the POMDP setting when using linear models. To summarize, our contributions are as follows:</p><p>&#8226; We propose a novel model-free method for OPE that leverages future-dependent value functions.</p><p>Our key idea is to utilize future and historical observations as proxies for latent states.</p><p>&#8226; We derive a new Bellman equation for learning future-dependent value functions. The proposed estimator can accommodate various types of function approximations. &#8226; We provide PAC guarantees to demonstrate that our method can address the curse of horizon, and conduct numerical experiments to showcase its superiority over existing methods. Note that similar concepts of future-dependent value functions have recently been introduced in the context of OPE in confounded POMDPs [SUHJ22] and online RL in POMDPs [USL + 22]. However, we focus on OPE in non-confounded POMDPs. Further detailed discussions can be found in Section 1.1. 1.1 Related Literature OPE in confounded POMDPs.</p><p>OPE with unmeasured confounders has been actively studied [ZB16, NKYB20, TSM20, WYW20, KZ20, LFY + 21, NJ21, GCZ + 22, SZY + 22, XZS + 22, LMWY22, CWWY23, BSZ23]. Among them, [TSM20] adopted the POMDP model to formulate the OPE problem in the presence of unmeasured confounders. They borrowed ideas from the causal inference literature on double negative control adjustment [MGT18, MST18, CPS + 20, KMU21, SMNTT20] to derive consistent value estimators in tabular settings. Later, <ref type="bibr">[BKLM21]</ref> and <ref type="bibr">[SUHJ22]</ref> extend their proposal by incorporating confounding bridge functions, thereby enabling general function approximation. (see the difference between these bridge functions and the proposed future-dependent value function in Section B). However, these methods do not apply to our unconfounded POMDP setting. This is because these methods require the behavior policy to only depend on the latent state to ensure certain conditional independence assumptions. These assumptions are violated in our setting, where the behavior policy may depend on the observation -a common scenario in practical applications. In addition, we show that in the unconfounded setting, it is feasible to leverage multi-step future observations to relax specific rank conditions in their proposal, which is found to be difficult in the confounded setting <ref type="bibr">[NJ21]</ref>. Refer to Example 1. Online learning in POMDPs. In the literature, statistically efficient online learning algorithms with polynomial sample complexity have been proposed in tabular POMDPs [GDB16, ALA16, JKKL20, LCSJ22], linear quadratic Gaussian setting (LQG) [LAHA21, SSH20], latent POMDPs [KECM21] and reactive POMDPs/PSRs [KAL16, JKA + 17]. All the methods above require certain model assumptions. To provide a more unified framework, researchers have actively investigated online learning in POMDPs with general function approximation, as evidenced by a vast body of work [ZUSL22, LNSJ22, CBM22, ZXZ + 22]. As the most relevant work, by leveraging future-dependent value functions, [USL + 22] propose an efficient PAC RL algorithm in the online setting. They require the existence of future-dependent value functions and a low-rank property of the Bellman loss.</p><p>Instead, in our approach, while we similarly require the existence of future-dependent value functions, we do not require the low-rank property of Bellman loss. Instead, we use the invertibility condition in Theorem 1, i.e., we have informative history proxies as instrumental variables. As a result, the strategies to ensure efficient PAC RL in POMDPs are quite different in the offline and online settings. Learning dynamical systems via spectral learning. There is a rich literature on POMDPs by representing them as predictive state representations (PSRs) [Jae00, LS01, RGT04, SJR04]. PSRs are models of dynamical systems that represent the state as a vector of predictions about future observable events. They are appealing because they can be defined directly from observable data without inferring hidden variables and are more expressive than Hidden Markov Models (HMMs) and POMDPs <ref type="bibr">[SJR04]</ref>. Several spectral learning algorithms have been proposed for PSRs [BSG11, HKZ12, BGG13], utilizing conditional mean embeddings or Hilbert space embeddings. These approaches provide closed-form learning solutions, which simplifies computation compared to EM-type approaches prone to local optima and non-singularity issues. While these methods have demonstrated success in real-world applications <ref type="bibr">[BSG11]</ref> and have seen subsequent improvements [KJS15, HDG15, VSH + 16, DHB + 17], it is still unclear how to incorporate more flexible function approximations such as neural networks in a model-free end-to-end manner with a valid PAC guarantee. Our proposed approach not only offers a new model-free method for OPE, but it also incorporates these model-based spectral learning methods when specialized to dynamical system learning with linear models (see Section F).</p><p>Planning in POMDPs. There is a large amount of literature on planning in POMDPs. Even if the models are known, exact (or nearly optimal) planning in POMDPs is known to be NP-hard in the sense that it requires exponential time complexity with respect to the horizon <ref type="bibr">[PT87,</ref><ref type="bibr">BDRS96]</ref>. This computational challenge is often referred to as the curse of history <ref type="bibr">[PGT06]</ref>. A natural idea to mitigate this issue is to restrict our attention to short-memory policies [AYA18, MY20, KY22, GMR22]. Practically, a short-memory policy can achieve good empirical performance, as mentioned earlier. This motivates us to focus on evaluating short-memory policies in this paper.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Preliminaries</head><p>In this section, we introduce the model setup, describe the offline data and present some notations.</p><p>Model setup. We consider an infinite-horizon discounted POMDP M = hS, A, O, r, , O, Ti where S denotes the state space, A denotes the action space, O denotes the observation space, O : S ! (O) denotes the emission kernel (i.e., the conditional distribution of the observation given the state), T : S &#8677; A ! (S) denotes the state transition kernel (i.e., the conditional distribution of the next state given the current state-action pair), r : S &#8677; A ! R denotes the reward function, and 2 [0, 1) is the discount factor. All the three functions T, r, O are unknown to the learner.</p><p>For simplicity, we consider the evaluation of memory-less policies &#8673; : O ! (A) that solely depend on the current observation O in the main text. The extension to policies with short-memory is discussed in Section C.</p><p>The extension to memory-based policy is discussed in Section C.</p><p>Next, given a memory-less evaluation policy &#8673; e , we define the parameter of interest, i.e., the policy value. Following a policy &#8673; e , the data generating process can be described as follows.</p><p>First, S 0 is generated according to some initial distribution &#9003; S 2 (S). Next, the agent observes</p><p>, receives a reward r(S 0 , A 0 ), the environment transits to the next state S 1 &#8672; T(&#8226; | S 0 , A 0 ), and this process repeats. Our objective is to estimate</p><p>where the expectation E &#8673; e is taken by assuming the data trajectory follows the evaluation policy &#8673; e .</p><p>Offline data. We convert the trajectory data generated by a behavior policy &#8673; b : O ! (A), into a set of history-observation-action-reward-future transition tuples (denoted by D tra ) and a set of initial observations (denoted by D ini ). The first data subset enables us to learn the reward, emission and transition kernels whereas the second data subset allows us to learn the initial observation distribution.</p><p>Specifically, the dataset</p><p>We use (H, O, A, R, F 0 ) to denote a generic history-observation-action-reward-future tuple where H denotes the M H -step historical observations obtained prior to the observation O and F 0 denotes the M F -step future observations after (O, A) for some integers M H , M F 1. Specifically, at a given time step t in the data trajectory, we use (O, A, R) to denote (O t , A t , R t ), and set</p><p>We additionally set F = (O t:t+M F 1 , A t:t+M F 2 ). Note we use the prime symbol ' to represent the next time step. See Figure <ref type="figure">1</ref> for details when we set t = 0.</p><p>Throughout this paper, we use uppercase letters such as (H, S, O, A, R, S 0 , F 0 ) to denote random variables in the offline data, and lowercase letters such as (h, s, o, a, r, s 0 , f 0 ) to denote their realizations, unless stated otherwise. To simplify the presentation, we assume the stationarity of the environment, i.e., the marginal distributions of (H, S, F ) and (H 0 , S 0 , F 0 ) are identical.</p><p>The dataset D ini consists of N 0 data tuples {O</p><p>i=1 which is generated as follows:</p><p>Remark 1 (Standard MDPs). Consider the setting where S = O and M H = 0, M F = 1. In that case, we set H to S instead of histories. Then, D tra = {O (i) , A (i) , R (i) , O 0(i) }. We often assume &#9003; O (&#9003; F in our setting) is known. This yields the standard OPE setting in MDPs [CJ19, UHJ20].</p><p>Notation. We streamline the notation as follows. We define a state value function under &#8673; e :</p><p>&#8226;) be the marginal distribution of S t under the policy &#8673; e . Then, we define the discounted occupancy distribution d &#8673; e (&#8226;) := ( <ref type="formula">1</ref>)</p><p>The notations E, E D (without any subscripts) represent the population or sample average over the offline data D = D tra [ D ini , respectively. We denote the distribution of offline data by P &#8673; b (&#8226;). We define the marginal density ratio w &#8673; e (S) := d &#8673; e (S)/P &#8673; b (S). Given a matrix C, we denote its Moore-Penrose inverse by C + and its smallest singular value by min (C). For a given integer m &gt; 0, let I m denote an m &#8677; m identity matrix. Let &#8998; denote outer product and</p><p>can possibly circumvent the curse of horizon. It serves as a building block to motivate the proposed estimation methods in Section 4.</p><p>In fully observable MDPs, estimating a policy's value is straightforward using the value functionbased method J(&#8673; e ) = E s&#8672;&#9003; S [V &#8673; e (s)]. However, in partial observable environments where the latent state is inaccessible, the state value function V &#8673; e (s) is unidentifiable. To address this challenge, we propose the use of future-dependent value functions that are defined based on observed variables and serve a similar purpose to state value functions in MDPs. Definition 1 (Future-dependent value functions). Future-dependent value functions g V 2 [F ! R] are defined such that the following holds almost surely,</p><p>Recall that the expectation is taken with respect to the offline data generated by &#8673; b .</p><p>Crucially, the future-dependent value functions mentioned above may not always exist, and they need not be unique. Existence is a vital assumption in our framework, although we don't insist on uniqueness. We will return to the topics of existence and uniqueness after demonstrating their relevance in offline policy evaluation.</p><p>Hereafter, we explain the usefulness of future-dependent value functions. Future-dependent value functions are defined as embeddings of value functions on latent states onto multi-step futures. Notice that</p><p>. These future-dependent value functions are useful in the context of OPE as they enable us to accurately estimate the final policy value. However, the future-dependent value function itself cannot be identified since its definition relies on unobserved states. To overcome this challenge, we introduce a learnable counterpart called the learnable futuredependent value function. This learnable version is defined based on observed quantities and thus can be identified. Definition 2 (Learnable future-dependent value functions). Define &#181;(O, A)</p><p>are defined such that the following holds almost surely,</p><p>Recall that the expectation is taken with respect to the offline data generated by &#8673; b . We denote the set of solutions by B V .</p><p>To motivate this definition, we recall that the off-policy Bellman equation in MDPs [DNP + 14] can be expressed as follows:</p><p>Then, by the definition of future-dependent value functions and certain conditional independence relations (F 0 ? (O, A) | S 0 ), we obtain that</p><p>Since H ? (O, A, F 0 ) | S, taking another conditional expectation given H on both sides yields that</p><p>Therefore, (4) can be seen as an off-policy Bellman equation for future-dependent value functions, analogous to the Bellman equation (2) in MDPs. Based on the above discussion, we present the following lemma. Lemma 1. Future-dependent value functions are learnable future-dependent value functions.</p><p>Remark 2 (Non-stationary case). When the offline data is non-stationary, i.e, the pdfs of (H, S) and (H 0 , S 0 ) are different, we need to additionally require</p><p>) in the definition.</p><p>Remark 3 (Comparisons with related works). Similar concepts have been recently proposed in the context of confounded POMDPs [see e.g., SUHJ22, BK21]. However, our proposal significantly differs from theirs. First, their confounded setting does not cover our unconfounded setting because their behavior policies &#8673; b is not allowed to depend on current observations as mentioned in Section 1.1. Secondly, their proposal heir proposal overlooks the significant aspect of incorporating multi-step future observations, which plays a pivotal role in facilitating the existence of future-dependent value functions, as will be discussed in Example 1. For a detailed discussion, refer to Section B.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Algorithm 1 Minimax OPE on POMDPs</head><p>Require:</p><p>Finally, we present a theorem to identify the policy value.</p><p>Theorem 1 (Identification). Suppose (1a) the existence of learnable future-dependent value functions (need not be unique); (1b) the invertiblity condition, i.e., any g : S ! R that satisfies E[g(S) | H] = 0 must also satisfy g(S) = 0 ( i.e., g(s) = 0 for almost every s that belongs to the support of S), (1c) the overlap condition w &#8673; e (S) :</p><p>We assume three key conditions: the observability condition (i.e., B V 6 = ;), the invertibility condition, and the overlap condition. We call Condition (1a) the observability condition since it is reduced to the well-known concept of observability in the LQG control theory, as we will see in Section D. While Condition (1a) itself is concerned with learnable future-dependent value functions, it is implied by the existence of unlearnable future-dependent value functions according to Lemma 1 which can be verified using Picard's theorem in functional analysis <ref type="bibr">[CFR07]</ref>. In general, the observability condition requires the future proxy F to contain sufficient information about S and is likely to hold when F consists of enough future observations. We will see more interpretable conditions in the tabular POMDPs (Example 1) and POMDPs with Hilbert space embeddings (HSE-POMDPs) where the underlying dynamical systems have linear conditional mean embeddings (Example 5 in Section D).</p><p>The invertibility condition is imposed to ensure that a learnable future-dependent value function b V satisfies (3) (note that right hand side of Eq. 3 is a function of Z, S instead of H). Again, we will present more interpretable conditions in the tabular and linear settings below and in Section D. Roughly speaking, it requires H to retain sufficient information about S. In that sense, the history proxy serves as an instrumental variable (IV), which is widely used in economics [Hor11, New13]<ref type="foot">foot_2</ref> .</p><p>Finally, the overlap condition is a standard assumption in OPE [UIJ + 21].</p><p>Example 1 (Tabular Setting). In the tabular case, abstract assumptions in Theorem 1 are reduced to certain rank assumptions. We first define S b = {s 2 S : P &#8673; b (s) &gt; 0}. We define a matrix</p><p>) where x i is the ith element in F, and x 0 j is the jth element in S b . We similarly define another matrix Pr &#8673; b (S b , H) whose (i, j)-th element is Pr &#8673; b (S = x 0 i , H = x 00 j ) where x 00 j denotes the jth element in H. Lemma 2 (Sufficient conditions for observability and invertibility ). The first two conditions require that the cardinalities of F and H must be greater than or equal to S b , respectively. The proof of Lemma 2 is straightforward, as integral equations reduce to matrix algebra in the tabular setting. We note that similar conditions have been assumed in the literature on HMMs and POMDPs [SBS </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Estimation with General Function Approximation</head><p>In this section, we demonstrate how to estimate the value of a policy based on the results presented in Section 3. We begin by outlining the proposed approach for estimating b V (&#8226;). The key observation is that it satisfies E[L(b V , &#8672;)] = 0 for any &#8672; : H ! R where L(q, &#8672;) is defined as L(q, &#8672;) := {&#181;(A, O){R + q(F 0 )} q(F )}&#8672;(H) for q : F ! R and &#8672; : H ! R. Given some constrained function classes Q &#8674; [F ! R] and &#8965; &#8674; [H ! R] and a hyperparameter 0, the estimator is computed according to Line 1 of Algorithm 1. When the realizability B V \ Q 6 = ; holds and &#8965; is unconstrained, we can easily show that the population-level minimizers argmin q2Q max &#8672;2&#8965; E[L(q, &#8672;) 0.5 &#8672; 2 (H)] are all learnable future-dependent value functions. This is later formalized in Theorem 2.</p><p>We can use any function classes such as neural networks, RKHS, and random forests to parameterize Q and &#8965;. Here, the function class &#8965; plays a critical role in measuring how q deviates from the ground truth b V . The hyperparameter is introduced to obtain a fast convergence rate. We call it a stabilizer instead of a regularizer since does not need to shrink to zero as n approaches infinity. Note that regularizers are needed when we penalize the norms of q and &#8672;, i.e., bV = argmin</p><p>In the remainder of this section, we present three concrete examples using linear models, RKHSs and neural networks. Let k &#8226; k Q and k &#8226; k &#8965; denote L 2 -norms when we use linear models and RKHS norms when using RKHSs.</p><p>Example 2 (Linear models). Suppose Q, &#8965; are linear, i.e.,</p><p>The above estimators are closely related to the LSTD estimators in MDPs <ref type="bibr">[LP03]</ref>. Specifically, the off-policy LSTD estimator for state-value functions [DNP + 14, UHJ20] is given by</p><p>Our new proposed estimator &#308;VM is</p><p>which is very similar to (6). The critical difference lies in that we use futures (including current observations) and histories as proxies to infer the latent state S under partial observability. Example 3 (RKHSs). Let Q, &#8965; be RKHSs with kernels k F (&#8226;, &#8226;) :</p><p>). Example 4 (Neural Networks). We set Q to a class of neural networks and recommend to set &#8965; to a linear or RKHS class so that the minimax optimization is reduced to single-stage optimization. The resulting optimization problem can be solved by off-the-shelf stochastic gradient descent (SGD) methods. Specifically, when we set &#8965; to a linear model, bV is reduced to bV = argmin</p><p>When we set &#8965; to be an RKHS, bV is reduced to bV = argmin</p><p>Remark 4 (Comparison with minimax methods for MDPs). Our proposed methods are closely related to the minimax learning approach (a.k.a. Bellman residual minimization) for RL <ref type="bibr">[ASM08]</ref>. More specifically, in MDPs where the evaluation policy is memory-less, [UIJ + 21, TFL + 20] proposed minimax learning methods based on the following equations,</p><p>These methods are no longer applicable in POMDPs since we are unable to directly observe the latent state. Although substituting the latent state with the entire history can still provide statistical guarantees, it is susceptible to the curse of horizon.</p><p>Remark 5 (Modeling of system dynamics). Our minimax estimators can be extended to learning system dynamics. In particular, for tabular POMDPs, these results are closely related to the literature on spectral learning in HMMs and POMDPs [SBS + 10, BSG11, BGG13]. Refer to Section F,G.</p><p>Remark 6 (Finite horizon setting). The extension to the finite horizon setting is discussed in Section E</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Finite Sample Results</head><p>We study the finite sample convergence rate of the proposed estimators in this section. To simplify the technical analysis, we impose three assumptions. First, we assume the function classes are bounded, i.e., kQk</p><p>Second, we assume that the offline data are i.i.d. 6 Third, we assume Q, &#8965; are finite hypothesis classes. Meanwhile, our results can be extended to infinite hypothesis classes using the global/local Rademacher complexity theory; see e.g., [UIJ + 21]. To simplify the presentation, following standard convention in OPE, we suppose the initial distribution is known, i.e., |D ini | = 1.</p><p>Accuracy of bV . We first demonstrate that bV consistently estimates the learnable future-dependent value bridge functions. To formalize this, we introduce the following Bellman operators.</p><p>Definition 3 (Bellman operators). The Bellman residual operator onto the history is defined as</p><p>and the Bellman residual error onto the history is defined as E[(T q) 2 (H)]. Similarly, the Bellman residual operator onto the latent state, T S is defined as</p><p>and the Bellman residual error onto the latent state is defined as E[{T S (q)} 2 (S)]. The conditional expectations equal to zero when h and s lie outside the support of H and S, respectively.</p><p>The Bellman residual error onto the history is zero for any learnable future-dependent value function, i.e., E[(T b V ) 2 (H)] = 0. Thus, this is a suitable measure to assess how well value function-based estimators approximate the true learnable future-dependent value functions.</p><p>Theorem 2 (Finite sample property of bV ). Set &gt; 0. Suppose (2a)</p><p>where c is some universal constant.</p><p>Note (2a) and (2b) are commonly assumed in the literature on MDPs [CJ19, UIJ + 21] as well. In particular, Bellman completeness means that the function class &#8965; is sufficiently rich to capture the Bellman update of functions in Q. For instance, these assumptions are naturally met in HSE-POMDPs. We require &gt; 0 in the statement of Theorem 2 to obtain a parametric convergence rate. When = 0, although we can obtain a rate of O p (n 1/4 ), it is unclear whether we can achieve O p (n 1/2 ).</p><p>Accuracy of &#308;VM . We derive the finite sample guarantee for &#308;VM .</p><p>6 Without the independence assumption, similar results can be similarly established by imposing certain mixing conditions; see e.g., <ref type="bibr">[SZLS20,</ref><ref type="bibr">LQM20,</ref><ref type="bibr">KU22]</ref>.</p><p>Theorem 3 (Finite sample property of &#308;VM ). Set &gt; 0. Suppose (2a), (2b), (2c) any element in q 2 Q that satisfies E[{T S (q)}(S) | H] = 0 also satisfies T S (q)(S) = 0. (2d) the overlap &#181;(O, A) &lt; 1 and any element in q 2 Q that satisfies T S (q)(S) = 0 also satisfies T S (q)(S &#8679; ) = 0 where S &#8679; &#8672; d &#8673; e (s). With probability 1 , we have</p><p>where</p><p>On top of (2a) and (2b) that are assumed in Theorem 2, when</p><p>2c) and (2d) hold, we have the non-vacuous PAC guarantee. The condition Dr Q (d &#8673; e , P &#8673; b ) &lt; 1 and (2d) are the overlap conditions, which are adaptive to the function class Q and are weaker than (1c). These are also used in MDPs [XCJ + 21]. Here, Dr Q (d &#8673; e , P &#8673; b ) is a refined version of the density ratio and satisfies Dr Q (d &#8673; e , P &#8673; b ) &#63743; w &#8673; e (S). The condition IV 1 (Q) &lt; 1 and (2c) are characteristic conditions in POMDPs that quantify how much errors are properly translated from on H to on S. Similar assumptions are frequently imposed in IV literature [DLMS20, CP12].</p><p>The upper error bound in (7) does not have explicit exponential dependence on the effective horizon 1/(1 ). In particular, as shown in Section D, for tabular POMDPs and HSE-POMDPs, the terms Dr Q (d &#8673; e , P &#8673; b ) and &#63743;(Q) can be reduced to certain condition numbers associated with covariance matrices spanned by feature vectors; see (15) and ( <ref type="formula">16</ref>) in Appendix D. Hence, unlike SIS-based methods, we are able to break the curse of horizon.</p><p>The numbers of future and history proxies included in F and H represents a tradeoff. Specifically, if F contains enough observations, it is likely that (2a) will hold. Meanwhile, if H contains enough observations, it is more likely that (2b) will hold. These facts demonstrate the benefits of including a sufficient number of observations in F and H. However, the statistical complexities ln(|Q||&#8965;|) will increase with the number of observations in F and H.</p><p>Lastly, it's worth noting that while our methods effectively address the curse of horizon, they may incur exponential growth concerning the number of future proxies used. This also applies to history proxies, which should be longer than the length of short memory policies. Here, we focus on the explanation of future proxies. For instance, in the tabular case, log |&#8998;| might scale with |O| M F when considering &#8998; as the set of all functions on O M F . However, this situation differs significantly from the curse of horizon, a challenge that naive methods like replacing states with the entire history encounter. These methods would necessitate the entire history to achieve Markovianity, whereas we only require a shorter length of future observations to establish the conditions outlined in Theorem 1 (existence), which can be much shorter. Specific examples are provided throughout the paper, including Example 1, which discusses the tabular setting and demonstrates that we essentially need as many future proxies as states, as long as there is sufficient statistical dependence between them.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">Experiment</head><p>This section empirically evaluates the performance of the proposed method on a synthetic dataset.<ref type="foot">foot_3</ref> .</p><p>We use the CartPole environment provided by OpenAI Gym [BCP + 16], which is commonly employed in other OPE studies <ref type="bibr">[SUHJ22,</ref><ref type="bibr">FCG18]</ref>. By default, this non-tabular environment consists of 4dimensional states, which are fully observable. Following <ref type="bibr">[SUHJ22]</ref>, we create partial observability by adding independent Gaussian noises to each dimension of the state as O (j) = S (j) (1 + N (1 + 0.3 2 )), 1 &#63743; j &#63743; 4. To define behavior and evaluation policies, we first train an expert policy using DDQN <ref type="bibr">[VHGS16]</ref> on latent states S. Subsequently, we apply Behavior Cloning (BC) on two datasets, one containing pairs of latent state and action (S, A) and the other containing pairs of observation and action (O, A), respectively. Then, we use the base policy obtained by BC on the state-action pairs (S, A) to define an &#9999;-greedy behavior policy, where we set &#9999; = 0.3.<ref type="foot">foot_4</ref> Similarly, the evaluation policy is also an &#9999;-greedy policy, based on the base policy obtained by BC on the observation-action pairs (O, A), with different values of &#9999; 2 [0.1, 0.3, 0.5, 0.7]. We conduct the experiment with 100 random seeds, and for each simulation, we collect logged data consisting of 1000 trajectories, each containing 100 steps.</p><p>We compare our proposal with Sequential Importance Sampling (SIS) <ref type="bibr">[Pre00]</ref> and the naive minimax OPE [UHJ20], which is designed for fully-observable MDPs and does not account for partial observability. The naive minimax estimator is defined as if the environment was fully observable, replacing H and F in Algorithm 1 with the current observation O. In contrast, our proposed method uses a 3-step history as H and a one-step future as F to address partial observability. Both our proposed method and the naive approach use two-layer neural networks for the function Q and RKHSs for &#8965;, as detailed in Example 4.</p><p>We present the results in Figure <ref type="figure">2</ref>, which demonstrate the superior accuracy of our proposed estimator compared to the baselines (SIS and naive minimax estimator) in terms of mean square errors (MSEs). Additional experimental details and ablation results, including the variations in the length of H, F , and the choice of RKHSs, can be found in Appendix H.3.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7">Conclusion</head><p>We present a novel approach for OPE of short-memory policies in POMDPs. Our method involves introducing future-dependent value functions and the associated off-policy Bellman equations, followed by proposing a minimax estimator based on these equations. This is the first model-free method that allows for general function approximation and mitigates the curse of horizon. Our proposal is grounded in three interpretable key assumptions: observability, which asserts the presence of (short) future observations retaining adequate information about latent states, invertibility, which posits the existence of (short) histories preserving ample information about latent states; and the overlap between evaluation policies and behavior policies.</p><p>We have several avenues for enhancing our proposals. Firstly, automatically determining the appropriate lengths of futures and histories holds practical significance. Additionally, exploring recent attention mechanisms that extend beyond selecting the most recent history proxies or the nearest future proxies shows promise. Secondly, while we establish Bellman equations for POMDPs and use a simple minimax approach akin to [DLMS20], we may benefit from leveraging more refined methods introduced in recent research for solving conditional moment equations [BKM + 23c, BKM + 23a, BKM + 23b].</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_0"><p>Notice that even when restricting to short-memory policies, it is necessary to use the entire history instead of the short memory as the state to meet the Markov property.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_1"><p>Identification via Future-dependent Value FunctionsIn this section, we present our proposal to identify policy values under partial observability by introducing future-dependent value functions. We remark that the target policy's value is identifiable from the observed data via SIS or SDR. Nonetheless, as commented earlier in Section 1, these methods suffer from the curse of horizon. Here, we propose an alternative identification approach that</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="5" xml:id="foot_2"><p>The observation that history can serve as an instrumental variable in POMDPs is mentioned in [HDG15, VSH + 16]. However, these works aim to learn the system dynamics instead of policy evaluation or learning. Hence, concepts like future-dependent value functions do not appear in these works.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="7" xml:id="foot_3"><p>Our code is available at https://github.com/aiueola/neurips2023-future-dependent-ope</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="8" xml:id="foot_4"><p>When collecting offline data from the behavior policy, the behavior policy takes the observation O as input, noting that the dimension of S and O is the same in our experimental setting.</p></note>
		</body>
		</text>
</TEI>
