Exact Distinguishability in Non-Markovian Decision Processes
Organizations: Nirma University Ahmedabad, India · Google Mountain View, CA
Abstract
Non-Markovian environments are often modeled as Regular Decision Processes (RDPs), where dynamics depend on the interaction history through a finite automaton. Existing offline guarantees for RDPs rely on a distinguishability assumption on the behaviour policy but provide no means of verifying it. When the assumption is violated, distinct models may explain the data equally well. We study when data collected under a fixed behaviour policy can distinguish two candidate RDPs. We prove that the posterior odds between observationally equivalent candidates remain equal to the prior odds at every sample size, even when the policy visits every automaton state, and verify both results formally in Lean 4. We then characterize this equivalence exactly and derive PEC, an algorithm that decides it in time linear in the size of the product automaton. The distinguishability assumption of prior work fails on three of our four test environments, and the experiment identified by PEC restores it in each case.
Figures & tables
| separating mass | |||||||
|---|---|---|---|---|---|---|---|
| Environment | under | under | under | under | Assumption 2 | Pec | |
| T-maze | 2 | fails | equivalent | ||||
| Rotating MAB | 3 | fails | equivalent | ||||
| Cheat MAB | 3 | fails | equivalent | ||||
| Rotating Maze | 4 | – | holds (trivially) | equivalent | |||
| greedy | ||||
|---|---|---|---|---|
| Environment | order | reversed | exhaustive | |
| T-maze | 2 | |||
| Rotating MAB | 2 | |||
| Cheat MAB | 3 | |||
| Rotating Maze | 4 | |||
| budget 5 | budget 25 | |||||
|---|---|---|---|---|---|---|
| depth | rand. | des. | ratio | rand. | des. | ratio |
| 2 | ||||||
| 4 | ||||||
| 6 | ||||||
| 8 | ||||||
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
| Formalism | History-dependence in | Notes |
| Reward machines | reward only | dynamics stay Markov; mature literature |
| Regular Decision Processes | dynamics and reward | more general; less studied |
| MDP (incl. setting) | none, state is Markov | structure learning non-Markovian dynamics |
| POMDP | latent state | more general, much less tractable |
| PSR / spectral | predictive state | learning-theoretic, different toolchain |
| requested depth | 1 | 2 | 3 | 4 | 5 | 6 | 8 |
| rooms | 1 | 2 | 3 | 4 | 5 | 6 | 8 |
| -equivalent | yes | yes | yes | yes | yes | yes | yes |
| horizon under | |||||||
| horizon under deviation | 1 | 2 | 3 | 4 | 5 | 6 | 8 |
| depth | ||||||
|---|---|---|---|---|---|---|
| – | – | – | – | |||
| – | – | – | ||||
| – | – | |||||
| – | ||||||
| Environment | corpus | BF | coverage | LL/step ∗ |
|---|---|---|---|---|
| T-maze | under | % | ||
| random | % | |||
| designed | % | |||
| Rotating MAB | under | % | ||
| random | % | |||
| designed | % |
| Environment | States | Non-Markovian structure | BF |
|---|---|---|---|
| T-maze | 3 | remember the initial cue | |
| Rotating MAB | 2 | reward probabilities rotate on every reward | |
| Cheat MAB | 3 | an action sequence unlocks max reward | |
| Rotating Maze | 6 | orientation rotates every 3 moves |
| Environment | Rows visited | Mean abs. err | Max abs. err | Min samples/row |
|---|---|---|---|---|
| T-maze | 6/6 | 17 | ||
| Rotating MAB | 6/6 | 41 | ||
| Cheat MAB | 9/9 | 20 | ||
| Rotating Maze | 12/12 | 7 |
| Environment | BF mean sd | min BF over seeds | emission MAE mean sd |
|---|---|---|---|
| T-maze | |||
| Rotating MAB | |||
| Cheat MAB | |||
| Rotating Maze |
| Environment | Separating evidence is… | Reachability |
|---|---|---|
| T-maze, Rotating MAB | an action taken in an already-visited state | blind (score constant) |
| Cheat MAB, Rotating Maze | a state the policy never reaches | informative |
| Environment | Behaviour policy | Action taken w.p. | Remaining mass |
|---|---|---|---|
| T-maze | always | , w.p. | |
| Rotating MAB | always | , w.p. | |
| Cheat MAB | never | , w.p. each | |
| Rotating Maze | always | , w.p. |
| separating mass |
|---|
| depth | window | in window | |||
|---|---|---|---|---|---|
| never certifies | all correct | ||||
| never certifies | all correct | ||||
| never certifies | all correct | ||||
| never certifies | all correct |
| depth | random walk | state prefix | designed | prefix / walk |
|---|---|---|---|---|
| random walk | state prefix | designed | |
|---|---|---|---|
| separating mass |
| depth | under | ratio to | definition (s) | Pec (s) | speedup |
|---|---|---|---|---|---|
| – | |||||
| product | pairs explored | seconds | µs / pair | ||
|---|---|---|---|---|---|