Q-MMR: Moment-Matched Reweighting
- Q-MMR is a reweighting framework that applies moment-matched constraints to estimate expected returns from off-policy data using learned scalar weights.
- It employs an inductive top‐down moment matching against value-function discriminators, shifting estimation from density ratios to local compatibility constraints.
- The finite-sample guarantee is dimension‐free and data‐dependent, recovering established estimators like Monte Carlo, step-wise importance sampling, and linear FQE.
Q-MMR, or Q-function based Moment-Matched Reweighting, is a theoretical framework for off-policy evaluation in finite-horizon Markov decision processes. Introduced by Xiang Li and Nan Jiang, it learns one scalar weight for each data point so that reweighted rewards approximate the expected return of a target policy. Its defining mechanism is an inductive, top-down moment-matching procedure against a value-function discriminator class, and its main theoretical result is a data-dependent finite-sample guarantee under only the realizability of , with a dimension-free leading term that does not depend on the statistical complexity of the function class (Li et al., 7 May 2026).
1. Formal setting and estimation target
Q-MMR is formulated for a finite-horizon MDP with disjoint state layers , action set , transition kernel supported on the next layer, and reward distribution with . The setup includes a fixed initial dummy pair and reward . For a target policy , trajectories have the form
with occupancy
0
and return
1
The available data are 2 i.i.d. trajectories collected under a behavior policy 3, written as
4
with empirical marginal 5 and expectation 6. The off-policy evaluation objective is to estimate 7 using the behavior data and a function class 8 under the standard realizability assumption that, for each 9, the true action-value function
0
lies in 1 (Li et al., 7 May 2026).
The estimator used by Q-MMR has the form
2
where the 3 are learned scalar weights. The intuitive comparison point is the marginalized importance ratio 4, which would yield unbiased reweighting if known. Q-MMR replaces explicit density-ratio estimation by a recursive empirical moment-matching construction (Li et al., 7 May 2026).
2. Recursive moment-matched reweighting
For each level 5, given the previous weights 6, Q-MMR defines the empirical matching loss
7
where
8
Q-MMR chooses 9 to approximately minimize 0, and among minimizers selects the one with smallest 1-norm 2. Because 3 is convex, for example in the linear case, this is a convex-concave minimax problem in 4 (Li et al., 7 May 2026).
The recursion is initialized with 5 for all 6. For 7, the algorithm solves
8
optionally subject to 9, and then forms the final estimate 0 by summing the reweighted rewards across levels. Although the procedure never explicitly computes 1, the analysis shows that each matching step controls the Bellman-error term
2
through the requirement that, for all 3,
4
This induces a top-down propagation of Bellman corrections from one level to the next (Li et al., 7 May 2026).
A plausible implication is that Q-MMR shifts the main estimation burden from explicit transition or occupancy modeling to a sequence of local compatibility constraints with the discriminator classes 5. In the terminology of the paper, the method learns weights inductively in a top-down manner via moment matching against a value-function discriminator class (Li et al., 7 May 2026).
3. Finite-sample theory and dimension-free control
The central finite-sample result states that, with probability at least 6, for any choice of weights 7 such that each depends only on the first 8 levels of data,
9
where
0
The leading term depends on the empirical matching losses 1, not on the covering number, dimension, or other standard complexity measure of 2. This is the sense in which the guarantee is dimension-free (Li et al., 7 May 2026).
The proof sketch in the paper proceeds by a Bellman-residual telescoping argument. First, 3 is replaced by the Bellman difference 4, with the resulting empirical-variance error bounded by 5. Second, the matching loss 6 is used to replace 7 by 8. Third, the resulting expression telescopes exactly to 9. The final error is therefore the sum of the moment-matching losses and the higher-order 0-norm penalties (Li et al., 7 May 2026).
The paper emphasizes three consequences of this result. First, the guarantee requires only realizability of 1, not full Bellman completeness. Second, the bound is data-dependent: the quantities 2 can be computed on hold-out data, yielding what the authors describe as a “WYSIWYG” uncertainty measure. Third, the complexity of the function class enters only through the higher-order norm terms rather than the leading approximation term (Li et al., 7 May 2026).
4. Relation to importance sampling, FQE, and tabular OPE
Q-MMR is explicitly positioned as a unifying reweighting framework with connections to several established off-policy evaluation methods. In the on-policy case, when 3 and one chooses 4, the matching losses satisfy 5, and 6 reduces to the Monte Carlo estimator with a dimension-free Hoeffding bound. For step-wise importance sampling, if the second term of 7 is modified to use 8, then the choice
9
makes 0, but with exponentially large variance. In this comparison, Q-MMR trades variance against exact matching by constraining the moments only through the discriminator classes 1 (Li et al., 7 May 2026).
When 2 is linear,
3
the paper states that Q-MMR with exact matching and minimum-4 weights exactly reproduces linear FQE. In the tabular case, Q-MMR coincides with computing empirical occupancy-ratio weights
5
and therefore with certainty-equivalence model-based evaluation (Li et al., 7 May 2026).
| Method | Q-MMR specialization | Consequence |
|---|---|---|
| On-policy Monte Carlo | 6, 7 | 8, recovers MC |
| Step-wise Importance Sampling | Product ratios 9 | 0, exponentially large variance |
| Linear FQE | Linear 1, exact matching, min-2 weights | Exactly reproduces linear FQE |
| Tabular OPE | Empirical occupancy-ratio weights | Coincides with certainty-equivalence model-based evaluation |
This structure suggests that Q-MMR is best understood not as a competitor to a single baseline, but as a reweighting template whose limiting cases recover several familiar estimators. The paper also notes a conceptual link to joint multi-level reweighting methods such as DualDICE and MWL, but frames simultaneous multi-level minimax optimization as difficult in the non-parametric regime because of double-sampling issues (Li et al., 7 May 2026).
5. Coverage, population weights, and projected feature geometry
A substantial part of the theory concerns the nature of coverage. The population weight functions 3 are defined as minimizers of the population matching loss
4
When 5 is a reproducing-kernel or linear class, the paper gives the representation
6
with
7
The associated coverage parameter is
8
Under Bellman completeness, 9 (Li et al., 7 May 2026).
The interpretation given in the paper is that 0 measures how well the dataset covers the “projected next-step features” needed to evaluate the target policy. This reformulates coverage away from raw occupancy overlap and toward a feature-space quantity determined by the discriminator classes. The same parameter controls higher-order terms in the random-design bound and the sample size required for 1 with high probability (Li et al., 7 May 2026).
A plausible implication is that Q-MMR distinguishes between two kinds of mismatch: lack of support in the raw state-action space, and lack of support only after projection through 2. The framework treats the latter as the operative obstruction for estimation error, which is consistent with its reliance on moment constraints rather than full density-ratio recovery.
6. Advantages, limitations, and open problems
The advantages emphasized for Q-MMR are tightly tied to its theorem. The leading term in the finite-sample bound is dimension-free; the uncertainty decomposition is data-dependent and can be monitored on hold-out data; the framework recovers Monte Carlo, importance sampling, linear FQE, and tabular certainty-equivalence as special cases; and the main guarantee requires only realizability of 3, not Bellman completeness (Li et al., 7 May 2026).
The limitations are equally explicit. The current analysis assumes i.i.d. trajectories; adaptive or online data collection violates the conditional-independence structure used in the concentration arguments. Extending the framework to Markov-chain samplers or infinite-horizon discounted MDPs is identified as open. The algorithm is also greedy and local in the sense that each 4 optimizes only the level-5 matching objective without directly accounting for downstream effects. Finally, for general function classes 6, Q-MMR requires a minimax optimization, and the paper notes that practical implementations rely on no-regret oracles together with best responses over 7, making efficient realization for large neural classes or RKHSs an implementation challenge (Li et al., 7 May 2026).
Within offline reinforcement learning, these points place Q-MMR at the intersection of theory-driven reweighting, value-function realizability, and coverage analysis. Its contribution is less a new heuristic estimator than a framework for understanding off-policy evaluation through recursive moment matching, with error terms that are explicitly decomposed across time, approximation, and reweighting variance (Li et al., 7 May 2026).