Abstract
We study a modest but identifiable abstraction problem for partially observed control: under one fixed data-collection policy, which bounded observation contexts have the same finite-horizon continuation law? We define the episode-position predictive quotient, an explicitly policy- and position-dependent estimand. Our estimator first selects contexts on one half of independently reset trajectories, then takes at most one prespecified continuation block from each trajectory in the other half. It compares fixed- alphabet histograms by empirical total variation and abstains whenever a pair lacks the samples required by its own concentration bound. Under an ε-gap, a per-context visitation floor, and a selection threshold no larger than the inference threshold, we prove exact recovery with probability 1 − δ from O((d + log (K/δ))/(μ_(min)ε²)) trajectories, where d is the continuation-alphabet size and K the selected context count. A two-point construction shows the dependence on μ_(min) and ε is unavoidable; the dependence on d is not matched and is known to be improvable by optimal closeness testers. The guarantee is non-asymptotic: it does not treat overlapping windows as independent, does not rely on chi-square calibration, and conditions each context only on its own count, so nested candidate contexts are covered. Implementation checks on three analytically solvable environments—each with ε set below its known gap—recover the exact quotients on all of 20 seeds, including an environment whose quotient requires merging; a budget sweep shows the power gate degrading through abstention with no incorrect merge at any budget; and a position-nonstationary chain shows the overlapping-window mode systematically merging contexts the episode-position quotient separates.
Editorial notes
Points the editor recorded on accepting the paper. They are published with the article; the authors were not required to address them before publication.
- Related work and Section 5: fix the duplicated cross-reference rendering "TheoremsTheorem 1–Theorem 2" to read "Theorems 1–2".
- Section 4 and Limitations: remove the stray hyphen-spaces left by line breaking ("fixed- alphabet", "suffix- tree", "safety- relevant", "action- aware").
- Appendices A–B: replace the stray "0◻" proof terminators with a single end-of-proof mark.
- Appendix E, Proposition 10(1): consider stating explicitly that Q_m = P_m holds there because maximal contexts have no proper extension in the eligible universe, linking case 1 to the extension-free clause of the proposition.
Introduction
A partially observed agent must often compress its interaction history. One data-accessible compression merges histories that predict the same future observations. Related ideas underlie probabilistic suffix automata (Ron et al. 1996), causal-state reconstruction (Shalizi and Shalizi 2004), predictive state representations (Boots et al. 2010), and spectral HMM learning (Hsu et al. 2012). In controlled systems, however, a continuation distribution also depends on the behavior policy, reset law, time within an episode, and sampling protocol. Ignoring any of these turns a plausible clustering method into an estimator of a different, well-defined estimand than the one intended — it answers a different question.
This paper isolates a finite-sample problem for which those choices are explicit. We receive independently reset trajectories generated by a fixed policy. Before examining their values, we fix one context endpoint and a continuation horizon . A context is represented by the conditional law of the observations following . Equal laws define a predictive quotient. This is not claimed to be a policy-independent POMDP state, a PSR rank, or the full infinite-future causal-state partition.
The statistical difficulty is not the histogram alone. Contexts are data-dependent, rare contexts have low power, and all sliding windows from an episode are dependent. Our construction handles the first two directly and removes the third by restriction:
-
candidate contexts are selected on trajectories disjoint from those used for inference;
-
each inference trajectory contributes at most one prespecified block — fixing the endpoint before data collection makes this restriction well-defined, at the price of discarding the rest of each trajectory;
-
an empirical-TV test has an explicit finite-sample error bound that conditions each context only on its own count, so nested contexts sharing blocks are covered; and
-
low-count pairs are returned as UNDETERMINED, never merged.
We do not claim to solve dependent-window inference; we identify the restricted estimand for which elementary tools suffice and then certify that estimand end to end. The contribution is threefold: (i) an explicitly policy- and position-conditional estimand stated with all of its conditioning and with a precise downstream currency — merged contexts are exchangeable for any window-measurable return (Proposition 9), (ii) an abstaining finite-sample certificate whose failure mode under the stated gap model is refusal rather than silent merging — outside the gap model, SAME verdicts carry no certificate, a regime Section 5 exhibits directly — and (iii) an implementation whose procedure, constants, and main-table numbers are mechanically checked against the theorems, including a budget sweep that exercises the abstention regime, a misspecification probe that realizes the uncertified-merge regime, and a head-to-head in which the position-pooling scan returns a systematically wrong merge relative to the episode-position estimand. Under a fixed policy with identically reset internal state, the closed-loop observation process is a hidden-Markov process over the latent state, policy state, and episode position; the theorems are process-level statements about that reduction, and the control-specific content enters through the estimand’s scope (Appendix E). Full proofs, edge cases, and the exact implementation contract appear in the appendices.
Related work
Predictive partitions of histories.
Prediction suffix trees learn variable-memory processes by splitting suffixes whose next-symbol laws differ (Ron et al. 1996); consistent context-tree and variable-length Markov chain estimators sharpen that line for stationary sequences (Bühlmann and Wyner 1999; Csiszár and Talata 2006). Causal states group histories with identical conditional futures (Crutchfield and Young 1989; Shalizi and Crutchfield 2001), and CSSR reconstructs them for stationary discrete processes (Shalizi and Shalizi 2004); our quotient is the bounded-context, fixed-position, finite-horizon analogue of that construction for the closed-loop process; because a bounded context carries a mixture over the histories it abbreviates, the quotient neither refines nor is refined by the causal-state partition in general. The closest algorithmic ancestor under control is McCallum’s utile-distinction and U-Tree line (McCallum 1995; McCallum 1996), which splits a suffix tree of action–observation histories in a POMDP using statistical tests on future quantities; U-Tree’s splits are uncalibrated Kolmogorov–Smirnov decisions on overlapping experience, and later looping suffix-tree variants inherit the same uncertificated testing (Holmes and Isbell 2006), whereas our test carries a finite-sample certificate and abstains. Our target is deliberately narrower than all of these: bounded contexts and bounded futures at one episode position under a fixed policy. In exchange, our statement is finite-sample, admits controlled trajectories, and includes context selection and abstention in the theorem.
Distinguishability-based automaton learning.
The closest guarantee shape appears in PDFA learning by state merging: ALERGIA merges states whose empirical futures agree (Carrasco and Oncina 1994), and PAC analyses recover the automaton exactly under a state-distinguishability gap — in (Clark and Thollard 2004) or, sharpest for comparison, variation distance (Palmer and Goldberg 2007); Balle et al. (2013) organize this line. We do not claim a new test statistic or a new proof technique: the ingredients (an deviation bound, a union bound, a gap assumption) are standard, and where the data are generated by a PDFA those algorithms recover the whole automaton, which our position-by-position partition does not. The differences are of target, not of technique, and we state them as such. (i) Realizability. The PDFA results assume the sample is drawn from a (probabilistic) deterministic automaton, so each history determines its state. A POMDP or HMM observed through bounded contexts is generally not such an automaton: a context carries a mixture over the histories it abbreviates (Tiger’s listen contexts are an example, and Section 5 uses a random three-state HMM), and the PDFA guarantees say nothing about such data, whereas our estimand, the continuation law of a bounded context at one position, is well defined for any finite-alphabet closed-loop process. CSSR is likewise analyzed for stationary processes with finitely many causal states and is asymptotic (Shalizi and Shalizi 2004); ours is a finite-sample statement about a non-stationary, reset, position-indexed target. (ii) Closed loop. The sample is generated under a stated behavior policy with actions and early termination, and the estimand conditions on reaching (Appendix E gives the reduction); that conditioning, and the policy dependence it induces, are part of the object being certified, not an afterthought. (iii) What is inside the theorem. Context selection, the sample-splitting that makes it legitimate, an explicit executable gate with constants, and abstention are all inside Theorems 1–2 (with nested contexts handled by the one-count conditioning of Lemma 7, which has no analogue when automaton states are disjoint events), and a two-point lower bound (Proposition 4) shows the and dependence cannot be removed. We have not checked that every published PDFA result lacks some of these features, and make no claim of dominance: the delta over that line is the estimand and the executable certificate, and its practical value for downstream use is argued only through Proposition 9.
State abstraction and equivalence relations.
Bisimulation quotients and their metrics are the standard equivalence notions for fully observed MDPs (Givan et al. 2003; Ferns et al. 2004), organized into an abstraction taxonomy by Li et al. (2006); Castro et al. (2009) study the corresponding belief and trace equivalences for POMDPs, fixed-policy (-)bisimulation (Castro 2020) fixes the behavior policy as we do, and learned bisimulation metrics carry these equivalences into representation learning (Zhang et al. 2021; Castro et al. 2021). In that taxonomy our estimand is a fixed-policy, observation-only trace equivalence at one position: in general incomparable with belief bisimulation — it can merge belief-distinct histories with equal -step futures, and under a history-dependent policy it can split belief-equal ones (Appendix E) — and preserving conditional return distributions only for window-measurable rewards (Proposition 9) — unlike (approximate) information states (Subramanian et al. 2022), which compress history subject to planning-loss bounds. We certify recovery of the partition and its window-return exchangeability, not planning utility. The nearest recent construction by name is the agent-bounded-indistinguishability (probe-exact) quotient of Nixon (2026). As described in its abstract and main text, it is defined for a known finite POMDP: histories are merged when no controller in a fixed probe family of finite-state controllers separates their conditional suffix laws under a closed-loop Wasserstein pseudometric over a finite horizon, and the paper proves the resulting quotient canonical, minimal and unique (a bounded-interaction analogue of Myhill–Nerode), exactly sufficient for observation–action objectives under clock-aware probes, and approximately sufficient for latent-state rewards. Its theory is exact and model-based; as far as we can tell from the text we read, it gives no finite-sample guarantee for learning the quotient from trajectories, and its sampled experiments are described as exploratory. Ours is complementary rather than a refinement of it: we take a single behavior policy (a one-element probe family, in that language) and total variation on a finite alphabet rather than a controller family and Wasserstein distance, we are indexed by an episode position and condition on reaching , and our contribution is a finite-sample certificate for estimating that quotient from independently reset trajectories, which that work does not claim. We do not prove a formal refinement or coarsening relation between the two quotients for a given policy; in particular its canonicity and decision-sufficiency results are not inherited by ours, and ours does not inherit its probe-family universality.
Latent-state decoding and PAC POMDP learning.
Block-MDP and rich-observation methods recover latent state partitions from trajectories with finite-sample guarantees (Krishnamurthy et al. 2016; Du et al. 2019; Misra et al. 2020), and short-term-memory POMDPs formalize when a bounded suffix window suffices (Efroni et al. 2022); recent work settles broader learnability questions for POMDPs and PSRs (Liu et al. 2022; Golowich et al. 2022; Jin et al. 2020; Guo et al. 2016). Those results target model, decoder, or policy learning under reachability or observability assumptions and typically drive exploration; we estimate a fixed-policy finite-window partition under a visitation floor and make no control claim. PSRs and observable-operator methods represent predictions of action-conditioned tests through a low-rank linear state (Littman et al. 2001; Singh et al. 2004; Jaeger 2000; Boots et al. 2010; Hsu et al. 2012). Their rank and our number of equal closed-loop continuation laws need not order one another; we therefore make no “smaller than PSR” claim. Neural causal-state representations learn predictive summaries of action–observation histories (Zhang et al. 2019); their focus is representation and downstream control, whereas ours is an exact finite-alphabet partition with an abstaining finite-sample certificate. Model-based lossless history clustering has been used to accelerate Dec-POMDP planning (Oliehoek et al. 2009); our setting instead learns a policy-specific predictive partition from sampled trajectories.
Testing and calibration.
Each pairwise decision is an instance of two-sample closeness testing on a -element alphabet (Batu et al. 2000). Our plug-in TV test pays samples per pair; optimal closeness testers achieve (Chan et al. 2014). Corollary 5 makes the substitution precise: any closeness tester replaces the plug-in test inside the same union bound on every pair of non-nested contexts, while nested pairs genuinely require the one-count conditioning of Lemma 7; and because published optimal testers state their complexity only up to unspecified constants, the substituted gate is no longer a closed-form function of its own bound (Appendix D). We retain the linear-in- plug-in test on all pairs as the price of an executable gate; the -dependence of our upper bound is a design choice, not a proven necessity (Section 4). Classical likelihood-ratio tests use an asymptotic chi-square calibration. Our software retains such a G-test for exploratory analysis, but the theorem-facing path instead uses the finite-alphabet deviation inequality of Weissman et al. (2003). Sample splitting is classical for making selection compatible with inference (Cox 1975; Wasserman and Roeder 2009) and is what makes the random context set compatible with a direct union bound here; abstention has a corresponding tradition in selective classification (Chow 1970; El-Yaniv and Wiener 2010), though our gate refuses on a precomputed count threshold, never on the realized statistic — a power gate, not a data-adaptive rejector.
Estimand and data contract
Let , , be independent trajectories. Each trajectory is generated by the same reset distribution and the same fixed policy , whose internal state (if any) is reset identically. The policy may depend on within-episode history. Fix a context endpoint , maximum context length , and future horizon before seeing trajectory values. Only lengths are eligible. The empty root is excluded throughout.
For define the continuation . A trajectory that terminates before contributes no block. Let
The conditioning event and its probability are part of the estimand.
Definition 1 (Episode-position predictive quotient). For a finite candidate set , define iff . The quotient is . Its visitation mass is .
Because eligible lengths overlap, a realized history at endpoint matches up to nested contexts, which the quotient treats as distinct elements of ; the induced map from histories to states assigns each history the class of its longest eligible context, in the manner of suffix- tree leaf semantics (Appendix E). Merged contexts are exchangeable for evaluating any return that is measurable in the continuation window (Proposition 9).
This equivalence is policy dependent in general: two contexts inducing the same latent belief can still have different joint action–observation futures under a history-dependent policy. If actions are included, the continuation alphabet is and has size , not . Appendix E states both facts formally. For continuous observations, binning defines a new discrete estimand; it does not automatically recover the unbinned quotient.
Gap model.
Exact partition recovery is impossible without separation. We assume that for every , either or
The visitation assumption is per context, ; class mass alone is insufficient to ensure samples for every representative.
Estimator
Partition trajectory identifiers before collection and split whole trajectories into a selection half and an inference half (the implementation uses collection order, fixed independently of trajectory values). At endpoint , retain contexts observed at least times in the selection half, with for the complexity statement below. On the inference half, take at most one block at the same fixed endpoint from each trajectory. Let and be its count and empirical law.
For alphabet size and pairwise budgets , define
For each pair, return UNDETERMINED if either count is below . Otherwise return SAME when and DIFFERENT otherwise. Union–find transmits only SAME edges. Thus an abstention can over-split the reported graph but can never be silently interpreted as evidence of equality. Boundary flags are operational: a pair of reported classes is flagged iff at least one context pair straddling the two classes returned UNDETERMINED, so the reported separation rests in part on an abstention; per-run flag counts appear in every certified results row (the head-to-head’s compact verdict table, whose certified arm reports zero abstentions, records verdicts only). Every selected context is retained through inference: a context whose count is too small abstains on all of its pairs; it is never dropped. (The implementation additionally enforces a floor of samples per histogram; since in every configuration reported here, the effective gate is .)
Theorem 1 (Finite-sample pair test). *Fix a pair and any , and let
If , then . If , the probability of obeys the same bound. Consequently, with , the two error-with-verdict events have probability at most and , respectively.*
The proof bounds, for each context separately, the joint event that its count reaches and its empirical law deviates; conditional on a context’s own count—a symmetric function of the per-trajectory “contributes to ” indicators alone—its contributing blocks are iid draws from . No conditioning on the other context’s count is ever used. This matters because different context lengths at one endpoint are nested: every trajectory matching a longer context also feeds its shorter suffixes, so conditioning on both counts jointly would bias the contributing sample. See Appendix A.
Theorem 2 (Exact recovery on a selected set). Condition on any candidate set chosen using only the selection half, with . Set and suppose the gap condition Eq. (2) holds. With probability at least , every pair whose two counts reach receives its correct verdict; in particular, on the event that every inference count is at least , union–find returns exactly and returns no abstentions.
Corollary 3 (Trajectory complexity). *Let the two halves each contain trajectories. Suppose a deterministic universe of eligible contexts containing every context that selection can return satisfies and the gap condition. If
where uses , then all eligible contexts are selected, no pair abstains, and the exact quotient is returned with probability at least . Since may be assumed, it follows that .*
The count terms follow from multiplicative Chernoff bounds for the selection and inference halves. Notice what is absent from Eq. (5): trajectory length does not create extra iid samples because the certified procedure uses one block per trajectory.
The allocation is deliberately conservative: the proof of Theorem 2 spends only across per-context deviation events, so setting the pairwise budget to that actual total spend — a relaxation by a factor of — shrinks by roughly ten percent in the configurations reported here ( on the 8-cycle sweep). We keep the allocation because it certifies each pairwise verdict at level individually, which post-hoc inspection of any single pair can rely on.
Proposition 4 (Lower bound). For and , there are two finite-alphabet, independently reset trajectory models satisfying the data contract, one with one predictive class and one with two classes separated by , such that any estimator has worst-case partition error at least whenever . Thus the dependence on in Corollary 3 is unavoidable.
The construction has , so it says nothing about the linear dependence on in Eq. (3); that factor is a cost of the plug-in test and is improvable in principle by optimal closeness testers (Chan et al. 2014). The factor is likewise not matched.
The construction changes a Bernoulli continuation only after a context of mass and applies Le Cam’s two-point method (Tsybakov 2009, Theorem 2.2); the complete calculation is in Appendix C.
Two extensions come at no cost to the architecture. First, the pairwise test is a module:
Corollary 5 (Tester substitution on non-nested pairs). Let be any two-sample closeness tester that, given iid samples from each of two laws on elements, reports SAME under equality and DIFFERENT under , each with error probability at most whenever . Replace the plug-in test by , and the gate by , on every pair of contexts neither of which is a suffix of the other, retaining the plug-in test and the gate on nested pairs. Theorem 2 holds unchanged. With the tester of Chan et al. (2014) amplified by majority vote, ; when no nested pairs exist and the substitution is total.
The non-nested restriction is genuine, not cosmetic: nested contexts share their contributing blocks verbatim, so a black-box two-sample tester’s independence requirement fails for exactly the pairs whose analysis motivated Lemma 7; and the unspecified constants in optimal testers leave the substituted gate non-executable as a closed-form abstention rule (Appendix D).
Second, the single endpoint generalizes by one union-bound level:
Corollary 6 (Multi-endpoint families). Fix endpoints and horizon before data collection, and run selection and inference at every endpoint on the same two halves with per-endpoint failure budget (so at endpoint , and the count conditions of Corollary 3 hold with in place of ). With probability at least , every endpoint’s quotient is recovered exactly, simultaneously. Each trajectory contributes at most one block per endpoint, no independence across endpoints is used, and the gate grows additively in : .
Proofs are in Appendix D.
Implementation checks
The repository contains two modes. The certified mode implements the data split, fixed endpoint, one block per inference trajectory, fixed alphabet, TV threshold, Bonferroni budget, and gate above. A separate exploratory mode scans overlapping windows and offers chi-square G-tests or kernel tests; it is not covered by Theorems 1–2.
Table 1 reports regression checks over 20 seeds per environment, each with set below the environment’s known analytic gap. Tiger (Cassandra et al. 1994) uses an always-listen, history-independent policy, , , 20,000 episodes, selection threshold , and ; its two context laws are separated by exactly at listen accuracy . The 8-cycle uses its single action, , , 8,000 episodes, , and against an analytic gap of . The noisy depth-2 chain exercises the merge path: at and its three length-one contexts induce exactly two continuation laws (two contexts share one row of the transition table verbatim), so correct recovery requires a SAME verdict; it uses 16,000 episodes, , and against a gap of . All runs use a 50/50 split and . Recovery is exact on all runs with no abstention; the harness fails if any environment’s exceeds its recorded analytic gap.
| environment | episodes | seeds | expected | recovered | Und. |
|---|---|---|---|---|---|
| Tiger (always listen) | 20,000 | 20 | 2 | 2 | 0.00 |
| noisy 8-cycle | 8,000 | 20 | 8 | 8 | 0.00 |
| noisy depth-2 (merge) | 16,000 | 20 | 2 | 2 | 0.00 |
Implementation checks for the certified path, 20 seeds per row. “recovered” is the class count, identical across seeds (the checker fails otherwise); “Und.” is the maximum abstaining pair fraction over seeds. Class counts alone do not show that the partitions are right; Appendix G lists the full transition and observation specification of every environment and reports, for every seed, the recovered partition and its pair-level error against the exact truth (Table 2).

The power gate binding on the noisy 8-cycle (10 seeds per budget). With contexts, , and , the gate requires inference samples per context; per-context counts at budget concentrate near , so abstention collapses from total to zero across . At every budget and seed the estimator reports all 8 classes—degradation is pure abstention, never an incorrect merge. The main-table budget sits just above this transition.
Figure 1 exercises the regime the abstention machinery exists for: a budget sweep on the 8-cycle in which the gate binds sharply. Across all 80 sweep runs no class pair is ever merged incorrectly; refusal is the only failure mode observed, as designed.

The same budget sweep on the noisy depth-2 chain at , whose quotient genuinely merges two of its three contexts (10 seeds per budget, against gap , ). Below the gate transition the required SAME verdict abstains and the report over-splits to three classes; above it the correct two classes are reported. The transition is bracketed in , matching the prediction from the gate and the per-context masses. Across all 80 runs no pair is merged incorrectly.
The 8-cycle’s quotient has no equal pair, so its sweep cannot show what starvation does to a merge. Figure 2 repeats the sweep on the noisy depth-2 chain, where correct recovery requires a SAME verdict: an abstaining gate withholds exactly that verdict, so degradation appears as over-splitting — three reported classes instead of two — and never as an incorrect merge. The two sweeps together exhibit both directions of the refusal semantics.
Nested contexts at .
Every row of Table 1 has , where no context is a suffix of another and the one-count conditioning of Lemma 7 is never stressed. A separate check runs the noisy depth-2 chain at endpoint with : twelve eligible contexts (three of length one, each the suffix of three length-two extensions), an analytic quotient of five classes, and minimal between-class TV — attained by the nested pair vs. , so the binding decision is one a black-box two-sample tester could not certify (Corollary 5). With , , , and , the rarest context (mass ) needs the bulk of the budget: episodes yield roughly inference blocks for it. Recovery of the five-class nested partition is exact on all 20 seeds with zero abstention.
Head-to-head: pooling positions changes the estimand.
A binary chain whose transition kernel flips with the parity of the episode position makes the motivating failure concrete. At its two length-one contexts have continuation laws and — distinct classes at TV — while every observation is marginally uniform at every position, so the position-pooled continuation law after either context is exactly . The certified arm uses 4,000 trajectories per seed, selection threshold , and against the analytic gap ; the exploratory arm scans overlapping windows on 400 trajectories of length up to 40, giving it several times more raw windows than the certified arm has blocks — an imbalance favoring the exploratory arm. On 10 seeds each, the certified path at recovers the two classes with no abstentions in 10/10 runs, while the exploratory overlapping-window mode merges the pair in 10/10 runs; because the pooled law is exactly , that merge is budget-independent. The exploratory merge is not a calibration accident and does not vanish with more data: the scan consistently estimates the pooled law, a different estimand under which the merge is correct. This is precisely the sense in which an unstated sampling protocol turns a plausible clustering into an estimator of a different estimand than the one intended (Section 1). The exploratory arm is our own implementation of representative overlapping-window practice, labeled as such: we are not aware of a published implementation that instantiates the episode-position estimand (fixed endpoint, termination conditioning, one block per trajectory), so the comparison available on this target is against practice, not against a published system.
Two endpoints at once.
The position-flip chain also instantiates Corollary 6 at : its parity-flipped kernel gives two endpoints with analytic gap at each. One shared pool of trajectories per seed is processed at both endpoints on the same two halves, with the family budget split as per endpoint (, ). Both endpoint quotients are recovered exactly and simultaneously on 10/10 seeds with zero abstention — long trajectories reused across endpoints at union-bound cost, no mixing argument.
A nondegenerate stochastic policy.
Every row above fixes a degenerate policy (Tiger’s always-listen, the cycles’ single action). Rerunning Tiger at , under the memoryless stochastic policy (listen , open either door each) exercises the closed-loop framing. The timeline matters. The reset emits an uninformative ; action emits , the context; action emits , the continuation. A door opening ends the episode, but the uniform terminal draw it emits is recorded as that step’s observation. Hence the trajectory reaches if and only if (probability ); if opens a door, is recorded but no exists and the trajectory contributes no block. is unrestricted: with probability it is a listen and is the accuracy- draw (), with probability it is a door opening and the recorded is uniform. Since the tiger state is fixed within the episode and is uninformative, conditioning on multiplies the prior by for tiger-left and for tiger-right, so
and the survival factor from cancels, because it multiplies numerator and normalizer alike (each context has mass ). The gap is therefore : the always-listen gap shrunk by the probability that the second action is informative, not by the reaching event. Three computations agree on these numbers: this closed form, an exhaustive enumeration of the latent chain, and a -episode Monte Carlo through the collection code (reach fraction ; and for the two conditional laws; ; check_tiger_stochastic.py). With (checked at runtime against the enumerated gap) and episodes, recovery against the enumerated ground truth is exact on 20/20 seeds with zero abstention, with – inference blocks in the rarer context (per seed) against . (Writing this check exposed a seeding defect in the collection routine: the policy generator shared its seed with the environment’s, coupling action draws to Tiger’s noise, so that the sampled stochastic-policy process had conditional laws and rather than the enumerated ones. The generators are now independent, a unit test pins the conditional law, and this check and its artifacts were regenerated after the fix; the other rows use a single action or a constant policy, whose actions cannot interact with the environment’s noise.)
A data-driven : a diagnostic, not a certificate.
Every configuration so far sets below a gap known by construction. This last positive check leaves that regime, but it carries no certificate, and we do not count it as evidence for Theorem 2. The environment is a randomly parameterized three-state HMM whose instance was selected by a rule fixed before any estimator output (first Dirichlet draw with brute-force minimum pairwise TV at least ; the draw used has true minimum TV , computed only post hoc from the drawn matrices), and is not supplied analytically: on the selection half only, the pairwise empirical-TV spectrum is sorted with prepended, and is the midpoint of the largest gap whose lower edge lies below , with an abstain-on-all-pairs fallback if that gap is smaller than . Because and the candidate set depend on the selection half alone, the inference half is independent of them, so conditionally on the selection half the pair test is exactly the fixed- test of Theorem 1 run at . The theorem’s conclusion, however, needs to satisfy the gap model Eq. (2), that is, the true minimum TV (and distinct classes at least apart), and nothing in the paper bounds the probability that the recipe overshoots: the spectrum rule is a heuristic, and a certification argument would need a selection-half lower confidence bound on the minimum gap, which we do not provide. The check that uses the true minimum TV, which a user would not have; it is a post hoc diagnostic of this one instance, not something the procedure can verify. What the run shows is limited accordingly: over 20 seeds at episodes no fallback fired, (all below the post hoc , so none violated the gap model here), and the three-class truth was recovered exactly on 20/20 seeds with zero abstention. We make no claim about how often the recipe is valid on other instances.
Misspecification probe: the regime outside the gap model.
The gap model is an assumption, and Section 4’s refusal semantics do not survive its failure; one check realizes that failure deliberately rather than leaving it hypothetical. A three-context chain is engineered with one pair at true TV and the others at , and the certified machinery is run verbatim with — above the sub-gap pair’s true distance, violating Eq. (2). On 10/10 seeds the sub-gap pair is silently merged under a confident SAME verdict: no abstention (the gate is comfortably passed), and no near-threshold flag (the per-pair artifact records every SAME edge’s TV margin to the threshold; the rule margin never fires, mean margin ). The separated pairs are all classified correctly; the report deletes one class. The honest price of resolving the engineered pair is stated by the theory itself: requires blocks per context, roughly episodes at this layout versus the used. The probe’s artifacts are marked uncertified and are excluded from every certified table; what they exhibit is the boundary of the guarantee, not a result inside it.
All code, results, and the paper source are in the public repository https://github.com/npow/quotient-learning-papers, directory oql/; every path below is relative to that directory, and the version cited here is the release tagged v1, which points to commit 83f9f42d8533c62fd05fcef2192559e0f80be3d9 of the public repository (tags can be retargeted, so the hash is the immutable reference; the commit field inside each JSON sidecar records the hash of the development repository at generation time and need not resolve in the public one). The exact commands, CSV rows, JSON sidecars, seeds, and package versions are under experiments/main_table/results_independent_smoke, experiments/main_table/results_abstention_sweep, experiments/main_table/results_headtohead, and one experiments/main_table/results_* directory per additional check above (results_sweep_depth2, results_nested, results_multiendpoint, results_nondegenerate, results_posthoc, results_misspec); the per-seed recovered partitions are in experiments/main_table/results_partitions/partitions_per_seed.csv. A SHA-256 manifest of these artifacts, the runners, the environments, the package, the paper source, and the lockfile is at experiments/ARTIFACTS_MANIFEST.json, and python scripts/gen_manifest.py --check verifies it. Tests check the TV calculation, sample bound, split disjointness, one-block invariant, Bonferroni level, action-aware alignment and stride, root exclusion, policy and environment generator independence, and sidecar validation. No external datasets, GPUs, or human data are used.
Limitations and broader impact
The target is intentionally narrow. It depends on the behavior policy, reset law, endpoint , continuation horizon , and termination conditioning. Equality for one need not imply equality for longer futures; rewards measurable in the -step window are preserved across merged contexts (Proposition 9), but no claim is made for rewards depending on the latent state or on longer horizons. The method does not learn a POMDP model or an optimal policy, nor do we demonstrate a downstream consumer: quantifying the benefit of the recovered partition to a planner or policy evaluator is out of scope here; the partition’s certified currency is the exchangeability of Proposition 9. Rare contexts incur the explicit cost; large action- aware alphabets incur exponential dependence on through ; and exact recovery requires the gap model. When the visitation floor fails, abstention is the intended output. A gap-model failure is different in kind: a pair at passes the gate and is merged under a confident but uncertified SAME verdict — refusal semantics do not survive misspecification of . The misspecification probe in Section 5 realizes exactly this regime, and its artifacts carry a per-SAME-edge TV margin so that near-threshold merges are visible rather than silent. A gap-free alternative deliverable would be per-pair confidence intervals for from the same deviation inequality Eq. (6): they degrade continuously and cannot silently overclaim. We retain the partition output because downstream consumers of a state abstraction need equivalence classes, which intervals produce only through exactly the thresholding analyzed here; reporting both is natural in practice. Binning continuous observations changes the estimand, and no unbinned recovery claim is made.
Independent resets and one block per trajectory can be statistically expensive. Mixing-based reuse of long trajectories is valuable future work — the single-trajectory Markov-chain testing literature gives the relevant rates (Daskalakis et al. 2018; Wolfer and Kontorovich 2019) — but requires correct block geometry: for history length , horizon , and start spacing , the unsampled gap is , not . Merely choosing non-overlapping blocks supplies no mixing gap. A cheaper intermediate — a family of endpoints with one more union-bound level — is delivered as Corollary 6: it reuses long trajectories at gate cost without any mixing argument, and Section 5 exercises it at .
This is foundational methodology with no direct deployment or personal data. A positive impact is more honest uncertainty reporting in learned state abstractions. A misuse risk is treating an estimated class as a safety- relevant state despite policy shift or many abstentions. We mitigate that risk by exposing the estimand and boundary flags and by refusing low-power merges.
Conclusion
Predictive history clustering becomes a well-posed finite-sample problem only after the target and sampling unit are fixed. Splitting trajectories, sampling one prespecified block per inference episode, and using a non-asymptotic TV test yields an estimator whose implementation matches its proof. The result is less data-efficient than overlapping-window heuristics, but its guarantees do not depend on an unearned iid approximation.
Proof of the pair test
For a distribution on an alphabet of size and its empirical law from iid draws, Weissman et al. (2003, Theorem 2.1) imply the convenient relaxation
Lemma 7 (Per-context deviation with count). For a context and any , define the event . Then .
Proof. Trajectory contributes to iff the indicator equals one, and conditional on its block has law by Eq. (1), independently across the iid trajectories. The count is a function of the indicators alone, so conditional on —for any —the contributing blocks are iid draws from . Hence, using and Eq. (6) with ,
◻
The lemma conditions on one count at a time. This is what makes nested contexts harmless: conditioning jointly on the counts of a context and one of its refinements would bias the contributing sample (in the extreme, all of ’s blocks could be forced to coincide with ’s), but no such joint conditioning ever occurs.
Proof of Theorem 1.
Suppose first that . On the event we have , so by the triangle inequality at least one of and is at least ; the event is therefore contained in . Lemma 7 and a union bound give Eq. (4).
Now suppose . If the test returns SAME,
so the two empirical errors sum to more than , one is at least , and the event is again contained in . Finally, substitution of Eq. (3) makes Eq. (4) no larger than . 0◻
Recovery and coverage proofs
Proof of Theorem 2.
Conditioning on the selection half makes fixed relative to inference, and the inference half is independent of that choice. For each consider the event of Lemma 7. With , definition Eq. (3) gives , so . On the complement, every context whose count reaches has empirical deviation below ; hence, exactly as in the proof of Theorem 1, every pair whose two counts reach receives its correct verdict: within-class pairs get SAME edges and between-class pairs get DIFFERENT edges. If in addition every count is at least , no pair abstains and union–find returns exactly the equivalence classes. 0◻
Proof of Corollary 3.
For context , its count in either half is binomial with mean at least . The multiplicative Chernoff inequality gives
The first two terms of Eq. (5) make half the mean at least on the selection half and at least on the inference half. Union bounding Eq. (7) over contexts and both halves yields at most by the third term. On the complementary count event, all contexts are selected and all pairs are tested. Theorem 2 contributes at most the remaining . Expanding Eq. (3) proves the order statement. 0◻
Lower bound
Let a context label equal with probability , with probability , and otherwise, where denotes a trajectory that terminates before and therefore contributes no block (explicitly permitted by the data contract). The candidate universe is thus exactly with for both contexts, so the per-context visitation floor and the gap condition of Corollary 3 hold for every . Under model , let the binary continuation be Bernoulli for both non-null contexts. Under , keep the law after unchanged and use Bernoulli after . Thus has one class on and has two classes at TV separation .
For , using ,
For iid trajectories, tensorization and Pinsker’s inequality give
If , this is at most . Le Cam’s inequality then makes the sum of the two testing errors at least , so their maximum is at least . Any exact partition estimator induces such a test, proving Proposition 4.
Tester substitution and multi-endpoint proofs
Proof of Corollary 5.
Fix non-nested contexts at the shared endpoint. Contexts of equal length are distinct strings, and for lengths a trajectory matching the longer context matches the shorter one iff the shorter is its suffix, which non-nestedness excludes; hence each trajectory contributes a block to at most one of , and the per-trajectory type is well defined. Conditional on the type vector , the blocks contributing to are iid , those contributing to are iid , and the two groups are independent, coming from disjoint sets of independent trajectories. The count pair is a function of the type vector alone, so the same description holds conditional on ; discarding blocks beyond the first of each group (a deterministic function of the type vector) hands the tester exactly the sample its guarantee assumes. With , each error-with-verdict event has probability at most ; union-bounding over the at most pairs keeps the total test-error probability within the the recovery proof has to spare, and nested pairs keep the plug-in bound of Theorem 1; the recovery argument is otherwise unchanged.
For the amplification, run the tester at constant error on disjoint batches of its constant-error sample size and take the majority verdict; by Hoeffding’s inequality the majority errs with probability at most , at total cost .
The nested exclusion is forced, not chosen: if is a suffix of , every trajectory contributing to contributes to , and the block depends only on the endpoint, so ’s sample is verbatim a subset of ’s. A two-sample tester’s guarantee presumes independent samples from the two laws; here the samples overlap, and conditioning on both counts jointly biases the contributing blocks (Appendix A). Lemma 7 conditions on one count at a time, which is exactly the property a black-box tester does not offer. Separately, because is available only up to unspecified constants, the substituted gate cannot be evaluated as a closed-form abstention rule; this, not any union-bound obstacle, is why the implementation retains the plug-in test.
Proof of Corollary 6.
Fix endpoint . The selection half, inference half, candidate set, counts, and verdicts at are exactly the objects of Theorem 2 and Corollary 3 applied at that endpoint; no step of those proofs refers to any other endpoint, and within one endpoint the per-trajectory contribution indicators remain iid across trajectories. Instantiating Corollary 3 with failure budget bounds the probability that endpoint fails to return its exact quotient by ; a union bound over the endpoints bounds the probability that any endpoint fails by . Dependence between blocks of one trajectory at different endpoints is never used — the union bound needs no independence. Substituting into Eq. (3) gives the stated gate. 0◻
Scope, actions, and discretization
Proposition 8 (Policy dependence). Equality of latent posteriors at two histories does not by itself imply equal closed-loop future laws under a history-dependent policy. Equality does follow if the two histories have the same latent posterior and the policy’s future action kernels agree after every paired future observation sequence.
Proof. For the counterexample, use one latent state, two histories, and a policy that chooses different deterministic actions after them; let the next observation copy the action. The posterior is identical but the next-observation laws are disjoint. Under equality of future action kernels, expand the joint future law as the common posterior times identical alternating policy and POMDP kernels and marginalize the latent path. ◻
For action-aware continuations , the full discrete alphabet is and therefore has elements. Structural zeros may reduce the known support, but the support must be supplied independently of the tested counts.
Proposition 9 (Window-measurable return preservation). Let be any function of the -step continuation and define the window return — for instance any discounted sum of per-step rewards that are functions of the observation. If , then the conditional law of given reaches equals its conditional law given reaches ; hence every functional of that law (mean, variance, quantiles, conditional value at risk) is identical across merged contexts. For action-aware continuations the same statement holds with defined on .
Proof. is the pushforward of under , and equal laws have equal pushforwards; the action-aware case is identical with . ◻
The proposition is exactly as strong as the estimand and no stronger: no preservation is claimed for rewards that depend on the latent state, on observations beyond position , or on the policy’s internal state except through recorded actions. It gives the recovered quotient a downstream currency — merged contexts are exchangeable for evaluating any window-measurable return under the behavior policy — while planning-loss guarantees in the sense of approximate information states (Subramanian et al. 2022) remain out of scope.
Induced state map for nested contexts.
The quotient is an equivalence over context strings; a realized history at endpoint matches every eligible suffix length simultaneously. Following prediction-suffix-tree leaf semantics (Ron et al. 1996), define the induced state of a history to be the class of its longest eligible context in . The map is well defined: the longest matching suffix is unique, and its class under the recovered partition is a function of the history alone. A history none of whose eligible suffixes lies in the selected receives no assignment — the map abstains, consistent with the estimator’s refusal semantics. (Under the count event of Corollary 3, is the full eligible universe and the map is total.) Distinct nested contexts may land in different classes; the induced map then simply prefers the most specific one, exactly as a suffix tree routes a sequence to a leaf. No claim is made that the induced map is measurable with respect to a coarser context set than itself.
What continuation law the routed class carries.
The partition equates the laws of Eq. (1), which condition on the event that the length- suffix equals , whatever the longer suffix is. Routing by the longest context restricts that event: receives only the histories in , where is the set of contexts having as a proper suffix. So the law of the continuation given “routed to and reaching ”, call it , need not equal . What is guaranteed is the exact decomposition below.
Proposition 10 (Routed laws). *Write . Convention: is defined only when , and terms with are omitted from every sum and mixture below. Then, whenever ,
and for every with that has no proper extension in . Consequently:*
-
If is the full eligible universe (the event of Corollary 3), every history routes to a context of the maximal eligible length . Hence a class all of whose members are non-maximal contexts has : it receives no routed histories and has no routed law (for example the singleton class in the nested example of Appendix G). For every class with positive routed mass , the continuation law of the histories routed to , given reaching , is the mixture of over the members with , and equals the common law of its members. The induced state map is total, but only classes with positive routed mass are ever the image of a history.
-
If is a strict subset, then for a class containing a non-maximal member whose extensions in include contexts with , is the residual law determined by the display, and it differs from whenever the extensions’ laws do not average to . It equals if every has , for instance if all of is maximal and lies in the class of . No claim is made beyond this: the certificate covers the equalities , not the residual laws .
Proof. Every history in either routes to or matches some and then routes to a longest match , which is longer than and so also has as a suffix, i.e. (histories routed to a context with carry no mass and are omitted by the convention). Thus , and the display is the law of total probability for . A context with no extension in has , so when . In case 1 all routing is to maximal contexts, so for non-maximal ; each member of with satisfies , and if the routed law is a mixture of equal laws, which is that law. For the last statement of case 2, if all () equal , the display forces when . ◻
No experiment in this paper exercises case 2: every check either has or runs the nested check with the full eligible universe (twelve contexts).
Let be a measurable binning map for continuous observations. Data processing gives . Hence binning may merge distinct unbinned laws. Recovery of the original quotient requires an extra identifiability condition, such as all relevant likelihood ratios being measurable with respect to the bin sigma-algebra. The implementation and all theorems in the paper concern the binned law itself.
Algorithmic and reproducibility details
The estimator uses a deterministic 50/50 split of independently generated trajectory identifiers. Determinism is for reproducibility; because ordering is fixed before values are generated, the halves remain independent. The candidate universe comprises suffixes of lengths through observed at the fixed endpoint. The root is omitted before both the proposed estimator and the same-target baseline are counted.
Pairwise work is with direct histograms, plus collection cost. Memory is if all verdicts are retained. All runs are CPU-only in the audited environment: a few seconds per seed for the main-table checks (about three minutes for all runs), under a minute for each 80-run abstention sweep, and a few minutes for the remaining Section 5 checks combined (the nested run, at episodes 20 seeds, dominates); no GPU was used. Artifact locations: repository https://github.com/npow/quotient-learning-papers, directory oql/, release tag v1 (commit 83f9f42d8533c62fd05fcef2192559e0f80be3d9); result directories, the per-seed partition CSV and the SHA-256 manifest (experiments/ARTIFACTS_MANIFEST.json) are listed at the end of Section 5, and the environment specifications are in Appendix G. The project is released under the MIT license and the submission uses only synthetic environments implemented in the repository.
Environment specifications and per-seed outputs
This appendix gives the complete generative specification of every environment in Section 5, so that the analytic gaps used to set can be re-derived by hand, and the per-seed recovered partitions. In all environments an episode is : the reset emits and each action emits the next observation. Every run below uses the 50/50 split, , and one block per inference trajectory. Contexts are written by their observation word; a continuation law is a distribution over the next symbol(s). Exact values below are computed by the code (environments/); all environments except Tiger have a single action, so the policy is immaterial there.
Tiger (always listen; Table 1).
The tiger state is uniform at reset and fixed within the episode; is uniform and independent of . Listening emits the matching side with probability (hear-left iff tiger-left) and the other side with probability . A door opening ends the episode and emits a uniform terminal observation. With always-listen, , , the context is and the continuation ; with a uniform prior, and versus after , so . Episodes are truncated at 15 steps. The stochastic-policy variant is specified in Section 5.
Noisy 8-cycle.
Hidden state ; uniform; the single action is deterministic, . Each step emits with probability and otherwise a uniform symbol on , so and every other symbol has probability . At , , the posterior of given is , whence and for every : eight singleton classes. Episodes are truncated at 20 steps.
Noisy depth-2 chain (, , ).
Alphabet ; the observation process is second-order Markov and the hidden state is the last two symbols with identity emission of the later one. The next-symbol law given is whenever (“”); uniform for ; for ; and for (that is, with , ). The reset draws from the stationary pair distribution, so the process is stationary from ; the stationary symbol masses are . At , the three length-one contexts have laws and , so the quotient has two classes with . At with (nested check) there are twelve positive-mass contexts: , , , are singleton classes and the other eight (including , , , , , , , ) share the law, giving five classes with minimal between-class TV , attained by versus . Episodes are truncated at 60 steps (3 in the nested check).
Position-flip chain.
Binary alphabet; uniform; one step from at position emits with probability if or , and with probability otherwise. By induction every is marginally uniform. At : , , ; at the two laws swap. The position-pooled continuation law after either symbol is . Episodes are truncated at 40 steps (8 in the two-endpoint check).
Misspecification chain.
First-order Markov on , uniform, next-symbol rows after ; after ( with ); and after . The continuation law of a context is the row of its last symbol at every position, so at , : (the engineered sub-gap pair) and for the other two pairs; the true quotient has three classes. Episodes are truncated at 3 steps.
Random three-state HMM (data-driven check).
, , , one action, episodes truncated at 2 steps. All rows were drawn from with instance seed (the first instance in the pre-fixed scan with minimum pairwise TV at least ); rounded to four decimals, ,
(the entries shown as are and ; unrounded values are in results_posthoc/ground_truth.json). At , the context masses are , the laws are , , , and the pairwise TVs are for ; for ; for : three singleton classes.
Per-seed partitions.
Class counts do not show that the recovered partition is correct, so every reported configuration was re-run with its original seeds and the recovered partition recorded against the exact truth (experiments/main_table/run_partitions.py; one row per experiment, endpoint and seed in experiments/main_table/results_partitions/partitions_per_seed.csv, which also records the number of context pairs whose same/different label disagrees with the truth). The re-run class counts equal those in the original CSVs on every row that has a committed counterpart. Table 2 summarizes it; “pairs wrong” is the maximum over seeds of the number of context pairs on which the recovered and true partitions disagree, out of all pairs.
| experiment | seeds | exact | pairs wrong | recovered partition | |
|---|---|---|---|---|---|
| Tiger (always listen) | 1 | 20 | 20/20 | 0/1 | 0 1 |
| noisy 8-cycle | 0 | 20 | 20/20 | 0/28 | 0 1 2 3 4 5 6 7 |
| noisy depth-2 (merge) | 0 | 20 | 20/20 | 0/3 | 0 1,2 |
| position-flip chain | 0 | 10 | 10/10 | 0/1 | 0 1 |
| position-flip, two endpoints | 0 | 10 | 10/10 | 0/1 | 0 1 |
| position-flip, two endpoints | 1 | 10 | 10/10 | 0/1 | 0 1 |
| noisy depth-2, nested | 1 | 20 | 20/20 | 0/66 | 0 0-0 0-1,0-2,1,1-1,1-2,2,2-1,2-2 1-0 2-0 |
| Tiger, stochastic policy | 1 | 20 | 20/20 | 0/1 | 0 1 |
| random HMM (data-driven ) | 0 | 20 | 20/20 | 0/3 | 0 1 2 |
| misspecification probe | 0 | 10 | 0/10 | 1/3 | 0,1 2 |
Per-seed partition recovery. A context of length two is written ; classes are separated by . The last column is the recovered partition when it is identical across seeds (it was, in every row). Rows marked are the misspecification probe, outside the gap model, where the sub-gap pair is merged by design.
References
- Balle, Borja, Jorge Castro, and Ricard Gavaldà. 2013. “Learning Probabilistic Automata: A Study in State Distinguishability.” Theoretical Computer Science 473: 46–60.
- Batu, Tuğkan, Lance Fortnow, Ronitt Rubinfeld, Warren D. Smith, and Patrick White. 2000. “Testing That Distributions Are Close.” Proceedings of the 41st Annual Symposium on Foundations of Computer Science, 259–69. https://doi.org/10.1109/SFCS.2000.892113.
- Boots, Byron, Sajid M. Siddiqi, and Geoffrey J. Gordon. 2010. “Closing the Learning–Planning Loop with Predictive State Representations.” Proceedings of Robotics: Science and Systems VI. https://doi.org/10.15607/RSS.2010.VI.036.
- Bühlmann, Peter, and Abraham J. Wyner. 1999. “Variable Length Markov Chains.” Annals of Statistics 27 (2): 480–513.
- Carrasco, Rafael C., and Jose Oncina. 1994. “Learning Stochastic Regular Grammars by Means of a State Merging Method.” Grammatical Inference and Applications (ICGI), Lecture notes in computer science, vol. 862: 139–52.
- Cassandra, Anthony R., Leslie Pack Kaelbling, and Michael L. Littman. 1994. “Acting Optimally in Partially Observable Stochastic Domains.” Proceedings of the 12th National Conference on Artificial Intelligence, 1023–28.
- Castro, Pablo Samuel. 2020. “Scalable Methods for Computing State Similarity in Deterministic Markov Decision Processes.” Proceedings of the AAAI Conference on Artificial Intelligence, 10069–76.
- Castro, Pablo Samuel, Tyler Kastner, Prakash Panangaden, and Mark Rowland. 2021. “MICo: Improved Representations via Sampling-Based State Similarity for Markov Decision Processes.” Advances in Neural Information Processing Systems 34.
- Castro, Pablo Samuel, Prakash Panangaden, and Doina Precup. 2009. “Equivalence Relations in Fully and Partially Observable Markov Decision Processes.” Proceedings of the 21st International Joint Conference on Artificial Intelligence, 1653–58.
- Chan, Siu-On, Ilias Diakonikolas, Gregory Valiant, and Paul Valiant. 2014. “Optimal Algorithms for Testing Closeness of Discrete Distributions.” Proceedings of the 25th Annual ACM-SIAM Symposium on Discrete Algorithms, 1193–203. https://doi.org/10.1137/1.9781611973402.88.
- Chow, C. K. 1970. “On Optimum Recognition Error and Reject Tradeoff.” IEEE Transactions on Information Theory 16 (1): 41–46. https://doi.org/10.1109/TIT.1970.1054406.
- Clark, Alexander, and Franck Thollard. 2004. “PAC-Learnability of Probabilistic Deterministic Finite State Automata.” Journal of Machine Learning Research 5: 473–97.
- Cox, D. R. 1975. “A Note on Data-Splitting for the Evaluation of Significance Levels.” Biometrika 62 (2): 441–44. https://doi.org/10.1093/biomet/62.2.441.
- Crutchfield, James P., and Karl Young. 1989. “Inferring Statistical Complexity.” Physical Review Letters 63 (2): 105–8. https://doi.org/10.1103/PhysRevLett.63.105.
- Csiszár, Imre, and Zsolt Talata. 2006. “Context Tree Estimation for Not Necessarily Finite Memory Processes, via BIC and MDL.” IEEE Transactions on Information Theory 52 (3): 1007–16.
- Daskalakis, Constantinos, Nishanth Dikkala, and Nick Gravin. 2018. “Testing Symmetric Markov Chains from a Single Trajectory.” Proceedings of the 31st Conference on Learning Theory, Proceedings of machine learning research, vol. 75: 385–409.
- Du, Simon S., Akshay Krishnamurthy, Nan Jiang, Alekh Agarwal, Miroslav Dudík, and John Langford. 2019. “Provably Efficient RL with Rich Observations via Latent State Decoding.” Proceedings of the 36th International Conference on Machine Learning, Proceedings of machine learning research, vol. 97: 1665–74.
- Efroni, Yonathan, Chi Jin, Akshay Krishnamurthy, and Ayush Sekhari. 2022. “Provable Reinforcement Learning with a Short-Term Memory.” Proceedings of the 39th International Conference on Machine Learning, Proceedings of machine learning research, vol. 162: 5832–50.
- El-Yaniv, Ran, and Yair Wiener. 2010. “On the Foundations of Noise-Free Selective Classification.” Journal of Machine Learning Research 11: 1605–41.
- Ferns, Norm, Prakash Panangaden, and Doina Precup. 2004. “Metrics for Finite Markov Decision Processes.” Proceedings of the 20th Conference on Uncertainty in Artificial Intelligence, 162–69.
- Givan, Robert, Thomas Dean, and Matthew Greig. 2003. “Equivalence Notions and Model Minimization in Markov Decision Processes.” Artificial Intelligence 147 (1–2): 163–223. https://doi.org/10.1016/S0004-3702(02)00376-4.
- Golowich, Noah, Ankur Moitra, and Dhruv Rohatgi. 2022. “Learning in Observable POMDPs, Without Computationally Intractable Oracles.” Advances in Neural Information Processing Systems 35: 1458–73.
- Guo, Zhaohan Daniel, Shayan Doroudi, and Emma Brunskill. 2016. “A PAC RL Algorithm for Episodic POMDPs.” Proceedings of the 19th International Conference on Artificial Intelligence and Statistics, Proceedings of machine learning research, vol. 51: 510–18. https://proceedings.mlr.press/v51/guo16b.html.
- Holmes, Michael P., and Charles Lee Isbell. 2006. “Looping Suffix Tree-Based Inference of Partially Observable Hidden State.” Proceedings of the 23rd International Conference on Machine Learning, 409–16.
- Hsu, Daniel, Sham M. Kakade, and Tong Zhang. 2012. “A Spectral Algorithm for Learning Hidden Markov Models.” Journal of Computer and System Sciences 78 (5): 1460–80. https://doi.org/10.1016/j.jcss.2011.12.025.
- Jaeger, Herbert. 2000. “Observable Operator Models for Discrete Stochastic Time Series.” Neural Computation 12 (6): 1371–98. https://doi.org/10.1162/089976600300015411.
- Jin, Chi, Sham M. Kakade, Akshay Krishnamurthy, and Qinghua Liu. 2020. “Sample-Efficient Reinforcement Learning of Undercomplete POMDPs.” Advances in Neural Information Processing Systems 33: 18530–39.
- Krishnamurthy, Akshay, Alekh Agarwal, and John Langford. 2016. “PAC Reinforcement Learning with Rich Observations.” Advances in Neural Information Processing Systems 29.
- Li, Lihong, Thomas J. Walsh, and Michael L. Littman. 2006. “Towards a Unified Theory of State Abstraction for MDPs.” Proceedings of the 9th International Symposium on Artificial Intelligence and Mathematics.
- Littman, Michael L., Richard S. Sutton, and Satinder Singh. 2001. “Predictive Representations of State.” Advances in Neural Information Processing Systems 14.
- Liu, Qinghua, Alan Chung, Csaba Szepesvári, and Chi Jin. 2022. “When Is Partially Observable Reinforcement Learning Not Scary?” Proceedings of the 35th Conference on Learning Theory, Proceedings of machine learning research, vol. 178: 5175–220.
- McCallum, Andrew Kachites. 1996. “Reinforcement Learning with Selective Perception and Hidden State.” PhD thesis, University of Rochester.
- McCallum, R. Andrew. 1995. “Instance-Based Utile Distinctions for Reinforcement Learning with Hidden State.” Proceedings of the 12th International Conference on Machine Learning, 387–95. https://doi.org/10.1016/B978-1-55860-377-6.50055-4.
- Misra, Dipendra, Mikael Henaff, Akshay Krishnamurthy, and John Langford. 2020. “Kinematic State Abstraction and Provably Efficient Rich-Observation Reinforcement Learning.” Proceedings of the 37th International Conference on Machine Learning, Proceedings of machine learning research, vol. 119: 6961–71.
- Nixon, Anthony T. 2026. The Myhill–Nerode Theorem for Bounded Interaction: Canonical Abstractions via Agent-Bounded Indistinguishability. https://arxiv.org/abs/2603.21399.
- Oliehoek, Frans A., Shimon Whiteson, and Matthijs T. J. Spaan. 2009. “Lossless Clustering of Histories in Decentralized POMDPs.” Proceedings of the 8th International Conference on Autonomous Agents and Multiagent Systems, 577–84. https://www.ifaamas.org/Proceedings/aamas2009/pdf/01_Full%20Papers/09_49_FP_0366.pdf.
- Palmer, Nick, and Paul W. Goldberg. 2007. “PAC-Learnability of Probabilistic Deterministic Finite State Automata in Terms of Variation Distance.” Theoretical Computer Science 387 (1): 18–31.
- Ron, Dana, Yoram Singer, and Naftali Tishby. 1996. “The Power of Amnesia: Learning Probabilistic Automata with Variable Memory Length.” Machine Learning 25 (2–3): 117–49. https://doi.org/10.1007/BF00114008.
- Shalizi, Cosma Rohilla, and James P. Crutchfield. 2001. “Computational Mechanics: Pattern and Prediction, Structure and Simplicity.” Journal of Statistical Physics 104 (3–4): 817–79. https://doi.org/10.1023/A:1010388907793.
- Shalizi, Cosma Rohilla, and Kristina Lisa Shalizi. 2004. “Blind Construction of Optimal Nonlinear Recursive Predictors for Discrete Sequences.” Proceedings of the 20th Conference on Uncertainty in Artificial Intelligence, 504–11. https://arxiv.org/abs/cs/0406011.
- Singh, Satinder, Michael R. James, and Matthew R. Rudary. 2004. “Predictive State Representations: A New Theory for Modeling Dynamical Systems.” Proceedings of the 20th Conference on Uncertainty in Artificial Intelligence, 512–19.
- Subramanian, Jayakumar, Amit Sinha, Raihan Seraj, and Aditya Mahajan. 2022. “Approximate Information State for Approximate Planning and Reinforcement Learning in Partially Observed Systems.” Journal of Machine Learning Research 23 (12): 1–83.
- Tsybakov, Alexandre B. 2009. Introduction to Nonparametric Estimation. Springer Series in Statistics. Springer. https://doi.org/10.1007/b13794.
- Wasserman, Larry, and Kathryn Roeder. 2009. “High-Dimensional Variable Selection.” Annals of Statistics 37 (5A): 2178–201. https://doi.org/10.1214/08-AOS646.
- Weissman, Tsachy, Erik Ordentlich, Gadiel Seroussi, Sergio Verdú, and Marcelo J. Weinberger. 2003. Inequalities for the Deviation of the Empirical Distribution. HPL-2003-97R1. Hewlett-Packard Laboratories.
- Wolfer, Geoffrey, and Aryeh Kontorovich. 2019. “Minimax Learning of Ergodic Markov Chains.” Proceedings of the 30th International Conference on Algorithmic Learning Theory, Proceedings of machine learning research, vol. 98: 904–30.
- Zhang, Amy, Zachary C. Lipton, Luis Pineda, et al. 2019. Learning Causal State Representations of Partially Observable Environments. https://arxiv.org/abs/1906.10437.
- Zhang, Amy, Rowan McAllister, Roberto Calandra, Yarin Gal, and Sergey Levine. 2021. “Learning Invariant Representations for Reinforcement Learning Without Reconstruction.” International Conference on Learning Representations.
Disclosure of AI use
Claude (Anthropic; Claude Code with Sonnet and Opus-class models) was used throughout this work: writing and debugging the code in the linked repository, running and checking experiments, drafting and revising the manuscript, and simulated peer review. The human author directed the research, reviewed the results, and is responsible for the content. All reported numbers are produced by committed scripts.