# Decision Models: research on the missing topics

[Research index](./README.md) · 2026-11-20 · Public sources only. This report extends the Decision Transformer + RL/offline-RL research in response to the gaps in [critic-1, M2](./critic-1.md). It distinguishes **paper-reported**, **inspected code/config**, **locally measured data**, and **synthetic arithmetic**. It is not a new benchmark or an HTML lesson.

## 1. Sequential off-policy evaluation

**Question:** What would policy $\pi$ earn if deployed, given trajectories collected by a different policy $\mu$? This is evaluation of a **fixed** policy, not finding a better action or merely validating an actor's loss. Once an action changes the next state, weighting the current action alone misses the change in who reaches that state.

Let $\rho_t=\pi(a_t\mid h_t)/\mu(a_t\mid h_t)$ and $W_t=\prod_{j=0}^t\rho_j$. In a fully observed Markov setup $h_t$ can be the state; if the logging or target policy uses history, condition on the applicable history. For the importance estimators, require consistent dynamics/rewards and start distribution, logged probabilities or densities conditional on the actual decision context, and target-policy coverage. A probability estimated from the wrong logging policy does not repair hidden confounding. An infinite or undefined ratio is not a large-but-valid weight.

| Method | End-to-end operation | Data and limitation |
|---|---|---|
| Trajectory IS | For each log, compute $W_{H-1}\sum_{t=0}^{H-1}\gamma^t r_t$, then average over episodes. | Requires trajectories and logging ratios. A late mismatch zeroes even early rewards; products can have very high variance. |
| Per-decision IS (PDIS) | Use $\sum_t\gamma^t W_t r_t$. Weight a reward by the path **through that decision**, not actions after it. | Same requirements. Does not remove the long-horizon support or variance problem. Self-normalizing or clipping trades bias against variance. |
| Sequential DR | Fit or fix $\hat Q_t$ apart from evaluation episodes. Compute $\hat V_t(s)=\mathbb E_{a\sim\pi}\hat Q_t(s,a)$, and recurse backward from $D_H=0$: $D_t=\hat V_t(s_t)+\rho_t[r_t+\gamma D_{t+1}-\hat Q_t(s_t,a_t)]$. Average $D_0$. | With exact ratios, overlap and the paper's independence assumptions, the model can be imperfect without introducing bias into this estimator. A poor critic can hurt variance; don't claim blanket robustness to both bad models and incorrect propensities. |
| Fitted Q Evaluation (FQE) | For a fixed policy, regress a value model on logged $(s,a)$ with labels $y=r+\gamma(1-d)\,\mathbb E_{a'\sim\pi}Q_{k-1}(s',a')$. Repeat the fit, then average the resulting $V^\pi$ over the target start states. | No logger propensity field needed. Needs rewards, next states, terminal semantics, policy access and support/function approximation. This is not Fitted Q Iteration: no $\max_{a'}$ for a fixed stochastic policy. Don't assume time-limit truncations are terminals. |
| DualDICE | Estimate a **discounted state-action occupancy ratio**, $\zeta=d^\pi/d^{\mathcal D}$, and compute $\mathbb E_{\mathcal D}[\zeta r]$. The quadratic saddle objective minimizes over $\nu$, maximizes over $\zeta$: $\mathbb E_{\mathcal D,a'\sim\pi}[(\nu(s,a)-\gamma\nu(s',a'))\zeta(s,a)-\zeta(s,a)^2/2]-(1-\gamma)\mathbb E_{s_0,a_0\sim\pi}[\nu(s_0,a_0)]$, where $s_0$ is drawn from the initial distribution. | Uses logged transitions and initial states without knowing the logging policies. Coverage is still required. The paper's estimand is $(1-\gamma)\mathbb E_\pi[\sum_{t\ge0}\gamma^t r_t]$ for $\gamma<1$, not the unnormalized finite-horizon return above. |

Primary sources: [Precup, Sutton & Singh, ICML 2000, §§3–4](https://www.incompleteideas.net/papers/PSS-00.pdf) for per-decision importance sampling; [Jiang & Li, ICML 2016, §§3.2.2, 4.1, Eqs. 4–5 and 10](https://ar5iv.labs.arxiv.org/html/1511.03722#S4.E10); [Thomas & Brunskill, ICML 2016](https://proceedings.mlr.press/v48/thomasa16.html) for weighted DR and mixing model-based and importance-weighted estimates; [Le, Voloshin & Yue, ICML 2019, §3.2, Algorithm 3](https://ar5iv.labs.arxiv.org/html/1903.08738#alg3) (their notation is cost and a deterministic target); [Nachum et al., NeurIPS 2019, DualDICE, assumption 1 and Eqs. 1–2, 5, 11–12](https://arxiv.org/html/1906.04733v2#S3.E11).

**Selection is not evaluation.** [Paine et al., 2020](https://arxiv.org/html/2007.09055v1#S2) compare offline estimates/selection statistics with later simulator returns. [Fu et al.'s DOPE benchmark](https://arxiv.org/abs/2103.16596) separates absolute value error, rank correlation and selection regret; the best estimator can depend on the metric and data coverage. Practical flow: define start population, horizon and outcome → fit candidate policies on training logs → freeze candidates and tune on a separate selection split or cross-fitting scheme → report final evaluation and overlap diagnostics on independent episodes/users (chronological split if appropriate). Keep the trained actor's critic separate from the evaluator. Report uncertainty at the trajectory or user level and a support warning instead of confidently selecting a policy the logs cannot distinguish. These are evaluation recommendations, not guarantees of FQE.

**Dry run [synthetic; executed].** Two decisions, $\gamma=1/2$. First action $a\in\{0,1\}$ pays $1,2$ and chooses the second state. Second-action rewards are $(0,4)$ after $a=0$ and $(2,6)$ after $a=1$. The logger is uniform at each step. The target picks $a=1$ with probability $3/4$, and picks second action 1 with probabilities $1/4$ and $3/4$ in the two states. On logged path `11`, raw return is **5**, both ratios are **1.5**, trajectory IS is **11.25**, PDIS is **9.75**, and DR with the deliberately imperfect critic in the [script](./verification/09_gap_examples.py) is **5.875**. A *single weighted path is not a return prediction*. Across all four equiprobable logger paths, trajectory IS, PDIS, DR and full-coverage tabular FQE recover **3.75**; current-action-only weighting gives **3.25**. The first three single-path variances are **19.125**, **13.53125** and **1.640625** in this toy, not a universal ordering. If the logger never takes second action 1 after first action 1, changing that hidden reward from 6 to 10 leaves the entire logger distribution identical while moving the target from **3.75 to 4.875**. No reweighting can recover the difference without extra assumptions or data. [Exact output](./verification/09_gap_examples_output.json).

**A one-step DR counterexample [synthetic; executed].** The earlier bandit note's in-sample DR correction vanishes only for its particular fit and weights. With four rows `(context, action, reward)` of `(0,0,1)`, `(1,0,0)`, `(0,1,0)`, `(1,1,1)`, fit a mean of `0.5` per action on those same rows. The uniform target and the logger with $\mu(0|0)=3/4$, $\mu(0|1)=1/4$ give different weights **within** each action. The correction is −1/3, hence DM = 1/2 and DR = 1/6 on this log. This is a counterexample to an algebraic identity, not a recommendation to reuse evaluation data for fitting.

## 2. Imitation learning

**Question:** What can a learner do when it sees demonstrations but doesn't have the task reward? Keep **expert-labeled actions**, **learner rollouts**, and **actual rewards** separate on every training diagram.

| Method | Architecture, training and deployment | Data regime / warning |
|---|---|---|
| Behavior cloning (BC) | Any policy model appropriate to the inputs, e.g. an MLP or causal sequence model. Fit $-\mathbb E_{\mathcal D_E}\log\pi_\theta(a_E\mid s)$ (or squared error for deterministic regression); deploy the policy alone to choose each action. [Ross et al., §2.1](https://ar5iv.labs.arxiv.org/html/1011.0686#S2.SS1). | Fixed state-action examples, no reward. Training error on expert states is not rollout error on states induced by the learner. |
| DAgger | At round $i$, execute $\beta_i\pi_E+(1-\beta_i)\hat\pi_i$; label visited states with $\pi_E(s)$, append to all prior labels, refit the supervised policy. Deploy without the expert. [Ross, Gordon & Bagnell, AISTATS 2011, Algorithm 3.1](https://ar5iv.labs.arxiv.org/html/1011.0686#S3.alg1). | Needs environment access and an expert who can answer for learner-visited states. $\beta_i$ controls executed behavior, **not** which action gets recorded as the training label. |
| GAIL | Sample learner rollouts and train a discriminator $D(s,a)$. In the original paper's convention maximize $\mathbb E_\pi\log D+\mathbb E_E\log(1-D)$ over $D$, minimize the same expression minus causal-entropy bonus over $\pi$. The original policy step uses TRPO with cost $\log D$. Deploy the learned policy. [Ho & Ermon, NeurIPS 2016, §5, Eqs. 14–16 and Alg. 1](https://ar5iv.labs.arxiv.org/html/1606.03476#S5). | Fixed expert demonstrations plus new rollouts, e.g. MuJoCo simulations. Matching visitation patterns is not recovering an environment-independent true reward. Don't import a sign from an implementation that swaps expert and learner labels. |
| AIRL | Use a structured expert-vs-policy discriminator $D=e^f/(e^f+\pi(a\mid s))$, $f=g(s,a)+\gamma h(s')-h(s)$. Alternate discriminator fitting and RL with $\log D-\log(1-D)$; the learned $g$ can be retained as a reward candidate. [Fu, Luo & Levine, ICLR 2018, §§5–7, Eq. 4](https://ar5iv.labs.arxiv.org/html/1710.11248#S6). | Expert and learner transitions. Reward recovery up to a constant is established under explicit restrictions (including state-only reward and deterministic dynamics for the result in §6), not for arbitrary tasks. The paper tests transfer after changing dynamics. |
| IQ-Learn | Replace a separately trained discriminator/reward loop with an **inverse soft Bellman** term $u=Q(s,a)-\gamma\mathbb E_{s'}V(s')$. In the discrete derivation, maximize $\mathbb E_E[\phi(u)]-(1-\gamma)\mathbb E_{s_0}V(s_0)$, $V=\log\sum_a e^Q$ for unit temperature. Obtain $\pi\propto e^Q$ or a SAC-style actor in continuous control. [Garg et al., NeurIPS 2021, §§4–5, Eqs. 9–11](https://arxiv.org/html/2106.12142#S5), [author code](https://github.com/Div99/IQ-Learn) (reuse terms not established). | The offline variant uses expert transitions; the online variant mixes expert and newly collected policy data. It is inverse RL / imitation, not **IQL** for reward-labeled offline RL. |

**Dry run [synthetic; executed].** Start on the demonstration path; a learned policy makes an independent 10% slip while on it. In this example BC knows no recovery action, so every step after slipping is also an error. Four steps incur **0.9049 expected errors**, not $4(0.1)=0.4$. If an oracle labels off-path states and the learner can now recover perfectly on the next step, the same 10% clean-state slip yields **0.3719 expected errors**. This compares two stated policies in a tiny state machine; it is not a DAgger reproduction or a generic rate. [Exact output](./verification/09_gap_examples_output.json). DT extends the supervised policy idea with return conditioning and history; adding a return token does not collect DAgger labels on new states.

## 3. Ranking and advertising from logged data

- **A system intervention is not an observational comparison.** [Bottou et al., JMLR 2013](https://jmlr.org/papers/v14/bottou13a.html), [paper §§4.5–4.7 and Fig. 13](https://www.jmlr.org/papers/volume14/bottou13a/bottou13a.pdf#page=22), use the ad system's structural factorization to reason about replacing one part while leaving others fixed. In the published mainline-reserve case they deliberately vary a log-normal reserve multiplier to generate useful support, reweight outcomes for alternative settings, and compare the resulting estimates with a separate bucket whose reserves are approximately 18% lower. Confidence intervals widen outside the explored range. A deterministic point intervention is not obtained by putting an exact continuous point in a density ratio; the authors discuss smoothing/extrapolation. This is a historical Bing experiment, not evidence about the current system.
- **Unbiased learning-to-rank (ULTR) addresses a different bias.** [Joachims, Swaminathan & Schnabel, WSDM 2017, §§4–6, Eqs. 2, 4–5](https://arxiv.org/html/1608.04468v1#S5.SS1) define a relevance-weighted rank loss (smaller is better). For the simplest position-based click model, click means examined **and** relevant. For each click, add $\operatorname{rank}_{candidate}(d)/p_{\operatorname{rank}_{logged}(d)}$; average over queries. Numerator uses the **candidate** ranking, denominator the examination propensity at the **logged** rank. Under overlap and a valid observation model this estimates relevance-weighted rank loss, not CTR or revenue. The paper estimates relative examination propensities with randomized swaps to an anchor rank (§5.3) and trains a propensity-weighted Ranking SVM. With noise, their order-preservation result involves additional assumptions (§5.2); do not say arbitrary click noise is corrected.
- **Which probability?** In whole-slate OPE, it is the probability that the **logger offered a slate** (or a structurally justified factorization). In ULTR, it is the probability that a **displayed result was examined/its relevance revealed**. Rank discount is not a generic replacement for policy probability. Never-shown items, very low examination propensity, context-dependent trust, and interaction between slate items need separate checks. Treat clicks, conversion, relevance and long-term value as different targets.
- **Pacing is sequential, not a ranking loss.** [Balseiro et al., *A Field Guide for Pacing Budget and ROS Constraints*, §§1–3, Fig. 1](https://arxiv.org/abs/2302.08530v2) compare feedback-based bid multipliers under budget and return-on-spend constraints; the min-pacing rule takes the smaller of two separately computed multipliers. Spending now changes the remaining budget. Its online constrained optimization is a useful non-neural baseline, not a DT method or a new analysis of the user's logs.

**Dry run [synthetic; executed].** A relevant result is logged at rank 2 with examination probability $1/4$. The click rate is **0.25**. On a click, an unchanged candidate gets rank-loss contribution $2/(1/4)=8$ (zero without a click); its expected loss is **2**. A candidate moving it to rank 1 has expected loss **1** using those same logs and the original denominator. Cap weights at 2 and the unchanged candidate's expected estimated loss drops to **1**, a bias, not suddenly better relevance. With zero exposure the calculation cannot recover relevance. [Exact output](./verification/09_gap_examples_output.json).

## 4. Reward overoptimization, RLAIF and conditioning

- **Optimizing a reward model is not necessarily improving the objective it represents.** [Gao, Schulman & Hilton, ICML 2023](https://proceedings.mlr.press/v202/gao23h.html), [§§1–3.2, Figs. 1–2](https://ar5iv.labs.arxiv.org/html/2210.10760#S1.F1): hold a fixed 6B **gold model** as judge, generate 100,000 synthetic comparisons (10% held out), train smaller scalar-head proxy RMs, then optimize the proxy with either PPO or best-of-$n$ reranking. Gold scores can rise and then fall. At distance $d=\sqrt{D_{\mathrm{KL}}(\pi\|\pi_{\rm init})}$, the paper fits $d(\alpha-\beta d)$ for best-of-$n$ and $d(\alpha-\beta\log d)$ for PPO (not a near-origin law). These are empirical fits for the setup, not laws for human judgments or universal safe thresholds. The gold model makes comparison feasible; it is **not** measured human utility.
- **Constitutional AI combines two stages.** [Bai et al., arXiv:2212.08073, Fig. 1 and §§3–4](https://arxiv.org/html/2212.08073v1): (1) use principles to generate critiques/revisions of sample responses and fine-tune on revised responses; (2) compare samples with an AI judge using the principles, train a preference model, and optimize the policy against that model. Human feedback was still used for helpfulness in their setup; the AI labels substitute for human harmlessness labels. The RLAIF label source is distinct from the policy optimizer and the human evaluation.
- **Canonical RLAIF vs direct RLAIF.** [Lee et al., arXiv:2309.00267v3, §§2–4, Figs. 2 and 4](https://arxiv.org/html/2309.00267v3#S2.SS2). Canonical: judge two candidates, normalize the two choice log-probabilities into soft labels, reverse the display order and average the aligned labels to mitigate position bias, train a reward model, then run RL. Direct: score the current response with the judge at RL time, use the expected 1–10 rating mapped to $[-1,1]$, skip a separate reward-model training stage. Direct scoring adds judge calls and is still vulnerable to judge error. Their reported human summarization win rates **against SFT** are 71% RLAIF and 73% RLHF; head-to-head did not detect a significant difference in that setup. This is not a claim of equivalence or of safety without humans.
- **A closer analogy to DT:** [Liu et al., *Chain of Hindsight*, v8 §2/Fig. 2](https://arxiv.org/html/2302.02676v8#S2) interleave responses and hindsight preference descriptions in a causal decoder's training context, then request favorable feedback at inference. This is supervised output conditioning, not PPO optimizing a judge and not numeric environment return-to-go.

**Dry run [synthetic; executed].** Each draw yields neutral (probability 0.3; proxy/gold 0/0), good (0.6; 1/1), or a proxy trap (0.1; 2/0). Select the highest proxy. Gold is 1 iff the group contains at least one good and no trap, so $E[\text{gold}]=0.9^n-0.3^n$. At $n=1,2,8$ gold is **0.60, 0.72, 0.4304** while proxy is **0.80, 1.10, 1.5695**. This teaches the selection mechanism without implying we reproduced Gao's empirical curves. [Exact output](./verification/09_gap_examples_output.json).

## 5. Cross-embodiment robot policies

| Object | Data, architecture, objective and inference | What the evidence supports |
|---|---|---|
| **Open X-Embodiment (OXE)** | A dataset collection in [RLDS episode format](https://github.com/google-research/rlds#dataset-format), not a model. The [project page](https://robotics-transformer-x.github.io/) reports 1M+ trajectories; [paper v7, abstract/§III](https://arxiv.org/html/2310.08864v7#S3) reports 22 robot embodiments, 21 contributing institutions and 527 skills. | Standard container, not interchangeable sensor calibration, action coordinate frames, gripper conventions or task distributions. Inspect each constituent dataset's metadata. |
| **RT-1-X** | Workspace RGB history and language → EfficientNet/FiLM visual-language tokens → decoder-only transformer → categorical action bins. RT-X §IV.B describes 256 bins for each of eight coordinates including termination; the other seven are end-effector/gripper controls. Train with categorical CE on the robotics mixture from **nine embodiments**, normalize per dataset before discretizing, decode controls for the specific embodiment. [RT-X paper §§IV.A–C](https://arxiv.org/html/2310.08864v7#S4), [published RT-1-X TF/JAX instructions](https://github.com/google-deepmind/open_x_embodiment/blob/9eeb68b989efbcf474e8fb9019e01d02b962a604/README.md#rt-1-x-model-checkpoint). | Fig. 3 reports positive transfer in small-data domains; Table I shows RT-1-X can underperform on the large-data settings. Don't silently turn the larger pool of 22 into its training set or treat TF/JAX release details as the original RT-1 generic constructor defaults. |
| **RT-2-X** | Start with a web-pretrained vision-language backbone. Co-fine-tune on robot examples (action bins represented by text tokens) and original VLM data, approximately 1:1 for the §IV.C recipe. Outputs represent controls rather than prose. [RT-X §IV.B–C, §V and Table II](https://arxiv.org/html/2310.08864v7#S5). | The paper compares 5B/55B variants under different history, data and initialization settings. The inspected public release documents RT-1-X checkpoints; it does not provide equivalent RT-2-X weights here. This is not RTG-conditioned DT. |
| **Octo** | Train on roughly **800k** trajectories from **25** OXE datasets curated for compatible images and delta end-effector actions. Tokenize language with a frozen T5 encoder in the inspected recipe; image/goal tokens come from a CNN stem. Task and time-blocked observation tokens feed a transformer; readout tokens read past/current context, but observation/task tokens do not read them. A small diffusion head predicts a continuous **action chunk** by denoising with that readout, using **one** transformer pass per prediction; training uses demonstrations and a denoising objective, not TD or return labels. [Octo paper v1, §III, Eq. 1 and architecture Fig. 1](https://arxiv.org/html/2405.12213v1#S2.F1), [RSS 2024 proceedings](https://www.roboticsproceedings.org/rss20/p090.html), [author site](https://octo-models.github.io/). | Authors report 27M/93M for Small/Base, and evaluate nine setups across four institutions. Fine-tune the pretrained policy, adding adapters/head for new sensors/action spaces if needed; paper §III.C reports ~100 target demonstrations and 50k steps for its recipe. Not proof of immediate transfer to arbitrary robots or that every predicted action should be executed open loop. |

**Octo config, not an inference measurement.** At [commit `241fb3514b7c`](https://github.com/octo-models/octo/tree/241fb3514b7c40957a86d869fecb7c7fc353f540), [pretrain config](https://github.com/octo-models/octo/blob/241fb3514b7c40957a86d869fecb7c7fc353f540/scripts/configs/octo_pretrain_config.py) sets two observation frames, one action readout token per timestep, horizon four, action dimension seven, and 300,000 steps. The [inference API](https://github.com/octo-models/octo/blob/241fb3514b7c40957a86d869fecb7c7fc353f540/octo/model/octo_model.py) receives observations shaped `(B, W, ...)`, boolean time mask `(B, W)`, and task arrays `(B, ...)`; returns `(*sample_shape, B, horizon, action_dim)`. In the cited recipe, with `B=1`, no extra sample axis and no dimensional slicing, that is `(1, 4, 7)` or 28 scalars, derived from config. Sampling is in normalized action space; pass compatible embodiment statistics to unnormalize. Observe again when executing a receding-horizon controller. The config has `batch_size=512`; paper §III.D reports batch **2,048** for Base training, so do not equate the released recipe default with the reported run. No Octo/RT-X inference or training was executed in this follow-up.

**Media candidates.** [OXE's pinned README teaser](https://github.com/google-deepmind/open_x_embodiment/blob/9eeb68b989efbcf474e8fb9019e01d02b962a604/imgs/teaser.png) is in a repository whose [README](https://github.com/google-deepmind/open_x_embodiment/blob/9eeb68b989efbcf474e8fb9019e01d02b962a604/README.md#license-and-disclaimer) specifies Apache-2.0 for software and CC BY 4.0 for other distributed materials. Keep asset attribution and verify any third-party credits before embedding. This does not automatically license the paper figures or constituent data. Other good source links: OXE paper Figs. 1/3 (dataset diversity/transfer), Octo [architecture](https://octo-models.github.io/architecture.jpg) and [sampling mixture](https://octo-models.github.io/sampling_weights.jpg), [Gao Fig. 1](https://ar5iv.labs.arxiv.org/html/2210.10760#S1.F1), [Bai Fig. 1](https://arxiv.org/html/2212.08073v1#S1.F1), [Lee Fig. 4](https://arxiv.org/html/2309.00267v3#S2.F4), and Bottou Fig. 13. Captions and asset references were checked; embedding clearance and visual validation are separate from this report. Octo's [MIT code license](https://github.com/octo-models/octo/blob/241fb3514b7c40957a86d869fecb7c7fc353f540/LICENSE) does not by itself clear the website's artwork.

## 6. Decision Transformer branches that change the decision signal

These are not interchangeable versions of the same architecture. For each, the useful lesson question is: **What is known at training time, and what must be given or computed at decision time?**

| Branch and primary source | Training, data and architecture | Inference and evidence limits |
|---|---|---|
| **CGDT — Critic-Guided Decision Transformer for Offline Reinforcement Learning**, Wang et al., AAAI 2024. [Paper v1, Fig. 1, Eqs. 2–3, Alg. 1, App. Table 6](https://arxiv.org/html/2312.13716v1). | Fit a separate transformer critic to **observed Monte Carlo returns** given history, state and logged action. It parameterizes a Gaussian over return and uses asymmetric likelihood, not a Bellman target. Then retain DT's action regression and add a critic-derived expectile penalty on the normalized target-vs-predicted-return gap for the actor's predicted action. Hopper-medium Table 6 settings: critic $\tau_c=0.5$, policy $\tau_p=0.9$, guidance $\alpha=0.2$. | The algorithm deploys the learned return-conditioned policy; the critic guided training, not a decode-time search. Evaluated on a toy bandit, D4RL locomotion and AntMaze-umaze; OOD predicted actions can still be scored badly. [Paper-associated implementation](https://github.com/sharkwyf/critic-guided-decision-transformer) has mixed MIT and ODT-derived CC BY-NC terms per README; authorship linkage not established. |
| **Waypoint Transformer**, Badrinath et al., NeurIPS 2023. [Paper, §§3–5 and Fig. 3](https://ar5iv.labs.arxiv.org/html/2306.14069#S4). | Learn a separate waypoint regressor on offline trajectories and freeze it for policy training. Goal-conditioned tasks learn a future state $K$ steps ahead; reward-conditioned tasks learn an intermediate reward proxy. At each step concatenate state and waypoint into one input token, fit the autoregressive policy by action NLL; actions are targets, not DT-style action input tokens. | Given the user goal/target return and current state, compute a waypoint and then act using the waypoint/state history. It still needs an external goal/return and choice of waypoint horizon; AntMaze/Kitchen and locomotion tests are not a general stitching guarantee. [Implementation](https://github.com/StanfordAI4HI/waypoint-transformer); release linkage not established from the paper. |
| **CDT — Constrained Decision Transformer for Offline Safe Reinforcement Learning**, Liu et al., ICML 2023. [Paper v2, §4.3, Fig. 2, Eq. 2 and Algs. 1–2](https://arxiv.org/html/2302.07351v2#S4.SS3). | Add a cost-to-go sequence alongside reward-to-go, states and past actions; train a stochastic Gaussian action model with NLL and entropy bonus. Offline augmentation associates reward/cost target pairs with relevant safe trajectories around the empirical return frontier and relabels **conditioning targets**, not actual observed costs. [OSRL config at `03a4586`](https://github.com/liuzuxin/OSRL/blob/03a4586463690566ec8d7830ca4027b46d4ad02f/examples/configs/cdt_configs.py#L22-L47): context 10, width 128, 3 layers, 8 heads, 100,000 updates. Code Apache-2.0. | Set `(target reward, target cost)`, query the policy, subtract actual reward and cost, repeat. Changing the cost target can change the trade-off without retraining; it is **not a hard safety controller**. The paper evaluates Ant/Car/Drone Run/Circle tasks. [CQDT (Wang & Zhou, 2025)](https://proceedings.mlr.press/v283/wang25a.html) is a distinct follow-up using learned-value relabeling; do not collapse it into CDT. |
| **MADT — Offline Pre-trained Multi-Agent Decision Transformer**, Meng et al. [Paper v3, §§3, 4.5, Figs. 2/6](https://arxiv.org/html/2112.02845v3). | A parameter-shared causal policy maps each agent's local observation stream to its action. Offline action classification uses logged SMAC trajectories; the online extension uses a PPO-style actor-critic setup. §4.5 reports omitting RTG after it hurt their online fine-tuning. The [pinned code](https://github.com/ReinholdM/Offline-Pre-trained-Multi-Agent-Decision-Transformer/blob/c87a7ca4aba465163449b307353fd3e631471f3f/sc2/run_madt_sc2.py) defaults to `state_only`, context 1, and instantiates 2 layers / 2 heads / width 32. The release includes an optional offline critic path; the policy imitation loss does not require the critic at deployment. | Each agent applies the shared policy to its own observations with an available-action mask. Keep offline pretraining, online fine-tuning and multi-map transfer distinct. This is not single-agent Online DT and does not imply a globally observable state at execution. No root license found in the repository tree inspected. |
| **HDT — Hierarchical Decision Transformer**, Correia & Alexandre, IROS 2023. [Paper v1, §§4–5, Fig. 1](https://arxiv.org/html/2209.10447v1); [author repo](https://github.com/andrerspcorreia/HDT). | Compute subgoal labels from later states of demonstrations (favor large intervening reward per timestep); train two GPT-style models together by regression. The high-level model predicts a subgoal state from state/subgoal history; the low-level model predicts action from state/subgoal/action history. This does not use a supplied RTG token. Reward information is used to label **training** subgoals. | The released evaluation code queries the high level then low level at each step. Unlike Waypoint, this high level is a trained transformer and doesn't need an external goal/RTG for the reported setup. Treat heuristic quality and demo coverage as limitations; benchmark results not reproduced here. |

Figure candidates: CGDT Fig. 1 for the distinction between the training-only critic path and deployment; Waypoint Fig. 3 for the frozen generator; CDT Fig. 2 for the two conditioning budgets; MADT Fig. 2 for sharing/local observations; HDT Fig. 1 for the high/low-level split. Link to primary figures unless the exact asset is cleared. ArXiv's deposit license, a repo's software license and permission to embed a figure are separate.

## 7. Newer offline RL methods

**Question:** When rewards are available but the agent cannot collect more training data, where should we limit distribution shift? These are actor/critic methods, not Decision Transformer variants. Start from the baseline objectives in [the foundations note](./02-rl-foundations.md). The settings below identify paper experiments or pinned release recipes; no model training, rollout or score replication was performed for these six methods.

| Method and sources | What changes in training | Deployment, example setting and trade-off |
|---|---|---|
| **SAC-N** — An, Moon, Kim & Song, *Uncertainty-Based Offline Reinforcement Learning with Diversified Q-Ensemble*, NeurIPS 2021. [Paper v2, §3 Eq. 2, App. B Table 4](https://arxiv.org/html/2110.01548v2), [release trainer `198d570`](https://github.com/snu-mllab/EDAC/blob/198d570/lifelong_rl/trainers/q_learning/sac.py). | Offline SAC with $N$ parallel Q-networks: regress each critic toward $r+\gamma[\min_j Q'_j(s',a')-\alpha\log\pi(a'\mid s')]$ on nonterminal transitions; actor maximizes $\min_j Q_j(s,a)-\alpha\log\pi(a\mid s)$. Uses disagreement through the minimum, not a separately trained behavior-density estimator. | Deploy the tanh-Gaussian actor (deterministic evaluation in the release). D4RL locomotion and Adroit; Hopper-medium's paper configuration used **500** critics. Correlated errors can make the minimum less informative, and large ensembles cost compute. |
| **EDAC** — same paper, [§4, diversity objective and Alg. 1](https://arxiv.org/html/2110.01548v2#S4), [release CLI](https://github.com/snu-mllab/EDAC/blob/198d570/scripts/sac.py). | Keep SAC-N's minimum for both target and actor. Add an ensemble similarity penalty to the **critic** update on logged $(s,a)$: in the release, compare unit-normalized $g_i=\nabla_a Q_i(s,a)$, penalizing $\frac{\eta}{N-1}\sum_{i\ne j}\langle \bar g_i,\bar g_j\rangle$. These are gradients with respect to the **action**, not separate losses for action values or gradients with respect to parameters. | Same actor interface as SAC-N. Hopper-medium Table 4 lists **50** critics and $\eta=1$ for EDAC. The method encourages disagreement in directions away from logged actions, not a certified uncertainty interval. Ensemble size, dataset and the extra gradient cost matter. |
| **Diffusion-QL** — Wang, Hunt & Zhou, *Diffusion Policies as an Expressive Policy Class for Offline Reinforcement Learning*, ICLR 2023. [Paper v3, §3 Eqs. 1–4](https://arxiv.org/html/2208.06193v3#S3), [release `d871f5c`](https://github.com/Zhendong-Wang/Diffusion-Policies-for-Offline-RL/blob/d871f5c/agents/ql_diffusion.py). | A state-conditioned DDPM generates a **single action vector**, not a whole trajectory. Fit a noise-prediction BC objective plus value improvement: $\mathcal L_{\mathrm{actor}}=\mathcal L_{\mathrm{denoise}}-\lambda\,\mathbb E[Q(s,a^0)]$ with $a^0$ generated by the reverse chain; the value gradient flows **through** the chain. Targets use a minimum of two target critics. The release divides the Q term by the other critic's mean absolute Q on proposed actions, with that denominator detached from the gradient. | In the inspected `sample_action`, generate 50 candidates and sample with softmax weights from target min-Q; label this as a **code** choice, not the paper's definition. Paper §4 uses five diffusion steps. Evaluated on D4RL locomotion, AntMaze, Adroit and Kitchen. Check sampling cost, Q misranking, per-task scales and checkpoint selection before comparing runs. |
| **IDQL** — Hansen-Estruch et al., *IDQL: Implicit Q-Learning as an Actor-Critic Method with Diffusion Policies*. [Paper v2, §§3–4, Thm. 4.1, Eqs. 8 and 13](https://arxiv.org/html/2304.10573v2#S4), [release `7582571`](https://github.com/philippe-eecs/IDQL/blob/7582571/jaxrl5/agents/ddpm_iql_simple/ddpm_iql_learner.py). | Fit the critic in-sample, e.g. IQL expectile fit of $V$ and Q target $r+\gamma V(s')$. Independently train a diffusion model to clone the behavior distribution $\mu(a\mid s)$ using noise-prediction loss; **no Q gradient through this model**. The paper derives an implicit improved policy as a reweighted $\mu$: for expectile loss, weights depend on whether $Q(s,a)$ is above or below $V(s)$, with positive/negative weights $\tau$ and $1-\tau$. | Sample candidate actions from the cloned policy, then resample by derived weights or choose greedy max-Q among candidates as a separate extraction rule. The inspected `eval_actions` uses the greedy rule. Example expectiles: **0.7** locomotion and **0.9** AntMaze in the launcher settings; sample budget and selection rule are part of the evaluation config. Unlike Diffusion-QL, the sampler's learned distribution is not itself optimized using Q. |
| **ReBRAC** — Tarasov et al., *Revisiting the Minimalist Approach to Offline Reinforcement Learning*, NeurIPS 2023. [Paper, §3 Eqs. 3–4](https://arxiv.org/html/2305.09836v1#S3), [release `7f4df8a`](https://github.com/DT6A/ReBRAC/blob/7f4df8a/src/algorithms/rebrac.py), [HalfCheetah-medium YAML](https://github.com/DT6A/ReBRAC/blob/7f4df8a/configs/rebrac/halfcheetah/halfcheetah_medium.yaml). | Start from TD3+BC: actor maximizes a Q term minus $\beta_1\|\pi(s)-a_{\rm log}\|^2$. The paper subtracts **a separate penalty** $\beta_2\|\tilde a'-a'_{\rm log}\|^2$ from the target min-Q before discounting it; $\tilde a'$ is the target policy's smoothed action and $a'_{\rm log}$ is the next recorded behavior action. Needs transition order or the logged next action. Changes to depth, critic LayerNorm, batch size and discount are also part of the recipe. | Deploy the deterministic actor. The HalfCheetah-medium YAML sets $\beta_1=0.001$, $\beta_2=0.01$. The inspected `rebrac.py` additionally floors the **Bellman target** at the logged Monte Carlo return, not present in paper Eq. 4. Keep that implementation distinction explicit and do not attribute gains only to the new penalty. Evaluated on D4RL and V-D4RL. |
| **Cal-QL** — Nakamoto et al., *Calibrated Offline RL Pre-Training for Efficient Online Fine-Tuning*, NeurIPS 2023. [Paper v4, Def. 4.1 and §5 Eq. 5.1](https://arxiv.org/html/2303.05479v4#S5), [release `ac6eafe`](https://github.com/nakamotoo/Cal-QL/blob/ac6eafe/JaxCQL/conservative_sac.py), [project page](https://nakamotoo.github.io/Cal-QL/). | In CQL's **push-down** regularizer, floor the penalized policy-candidate Q at a reference value, $\max(Q_\theta(s,a),V^\mu(s))$. Leave the data-action term intact. The inspected implementation floors the current-/next-policy proposals inside the conservative-loss calculation, not random proposals or every Q prediction. Use discounted logged return-to-go as a reference estimator where appropriate; the dense locomotion appendix describes a different fitted reference. | Pretrain offline, then fine-tune using fresh rollouts and mixed replay. The [AntMaze recipe](https://github.com/nakamotoo/Cal-QL/blob/ac6eafe/scripts/run_antmaze.sh) uses offline mixing ratio **0.5** for online batches. The floor is meant to prevent values being driven arbitrarily low by that penalty, not to guarantee an action is safe or to floor the TD target as in the inspected ReBRAC code. The reference quality matters. Experiments include AntMaze, Kitchen, Adroit and visual manipulation. |

**Lesson comparison:** show the same logged action and proposed action on every diagram. SAC-N/EDAC change how the value of the proposed action is estimated; ReBRAC discourages deviation from logged actions in two different places; Cal-QL limits excessive pessimism in one term; Diffusion-QL learns to generate higher-Q actions while IDQL learns a behavior sampler and ranks or reweights its samples. For figures, start with the SAC-N/EDAC paper's ensemble-size Fig. 5, IDQL's bandit Fig. 2, and the Cal-QL author page. Link pending per-asset reuse verification.

## Verification and handoff

| Evidence | What was verified | What it does not establish |
|---|---|---|
| [Exact examples](./verification/09_gap_examples.py) and [JSON receipt](./verification/09_gap_examples_output.json) | Re-ran with Python 3.14.6 (standard library only). Output matched the saved receipt; exact rational checks cover prefix vs current-action-only weighting, unchanged logs under a support hole, a contextual DR counterexample, clipping bias, off-path recovery, proxy-vs-gold reversal and RTG residuals. | Not a training run, an OPE benchmark, or laboratory/production performance. |
| [D4RL recount](./verification/10_d4rl_counts.py) and [JSON receipt](./verification/10_d4rl_counts_output.json) | Read-only check of 15 cached v2 locomotion files. In `hopper_medium-v2.hdf5`: **1,000,000** transitions, **2,186** complete trajectories, **94** unfinished tail transitions. All 15 counts and rounded return mean/std match [03 §9](./03-data-config-training.md#9-ready-to-use-real-numbers). Receipt records input byte sizes and the representative input's SHA-256. | The files were not re-downloaded or repackaged. No Minari/v0 recount, state normalization verification, or environment rollout. |
| [Foundations corrections](./02-rl-foundations.md) and [build rules](./README.md) | Planner reconciled prerequisites; progress evaluator found cached HDF5 inputs; critic verified closure of six focused issues (BC/DAgger, BEAR, CQL, IQL, AWAC, TD3+BC). The new report uses public paper/config sources and labels unsupported experiments. | Not a complete audit of every historical claim or a PASS on a future HTML build. |
| §7 offline-RL comparison | Reviewed six methods against primary papers and linked code. Spot-checked the deployed Diffusion-QL and IDQL selectors, ReBRAC's pinned coefficients/target floor, and Cal-QL's proposal floor against the release files. | No cross-paper leaderboard, code-executed performance, or independently reproduced training claim. |

From `decision-models\research`, run `python .\verification\09_gap_examples.py` for the synthetic examples. Run `python .\verification\10_d4rl_counts.py <directory-of-v2-files>` using Python 3.10 with NumPy 1.26.4 and h5py 3.16.0 to recount the dataset fixtures. The base interpreter lacked h5py; the existing `fb-local-test` environment ran the recount without installing software or running a simulator. Public file names/version pattern are in [D4RL `infos.py`](https://github.com/Farama-Foundation/D4RL/blob/89141a689b0353b0dac3da5cba60da4b1b16254d/d4rl/infos.py#L297-L302).

**Current reproducible inputs and outputs (SHA-256):**

| Artifact | Hash |
|---|---|
| [09 script](./verification/09_gap_examples.py) | `159DC3712F7DA5A21AF0756B7C7BAA38AAB57D7BB9D0075225672DA29BD0010A` |
| [09 receipt](./verification/09_gap_examples_output.json) | `C1650CC3E32DDD8256FA87B2E419FE3B824B69CCF5CBF5BD8D667A32F8275876` |
| [10 script](./verification/10_d4rl_counts.py) | `C09D632868B13AE46098AED2BF007D1A20D8443731B422ADE33D189C084E164A` |
| [10 receipt](./verification/10_d4rl_counts_output.json) | `675E303C7C750D1DE1AA3C62528D7889A095797D6BCB3F05DC1828BB4413DB30` |

Primary-source access: the Alberta bibliography endpoint for Precup et al. returned HTTP 502 and a local direct retrieval of the authors' PDF returned `CERTIFICATE_VERIFY_FAILED`; the PDIS estimator in this report is grounded in Jiang & Li's explicit Eq. 5. No TLS checks were disabled. OpenReview was unavailable to the offline-RL worker; the §7 objectives use accessible author-paper versions and pinned code, not OpenReview reviews or proceedings PDFs.

### Coverage at the 2026-11-20 checkpoint

| Task | Project / workstream | Evidence | Classification | Destination | Write status | Verification | Remaining gap |
|---|---|---|---|---|---|---|---|
| Sequential OPE | Concept Learning / Decision Models | Jiang–Li, Le et al., DualDICE, Paine, fixture 09 | Research + synthetic calculation | [§1](#1-sequential-off-policy-evaluation) | Saved | Equations and exact finite example | No learned OPE benchmark reproduced |
| Imitation | Same | Ross et al., GAIL, AIRL, IQ-Learn, fixture 09 | Research + synthetic calculation | [§2](#2-imitation-learning) | Saved | Training data regimes and recovery example checked | No training run |
| Ranking | Same | Bottou PDF §4.6, Joachims §§4–5, fixture 09 | Research + synthetic calculation | [§3](#3-ranking-and-advertising-from-logged-data) | Saved | Separate logger/observation propensities; rank-loss example replayed | No operational logs used |
| Preference feedback | Same | Gao, Bai, Lee, Liu, fixture 09 | Research + synthetic calculation | [§4](#4-reward-overoptimization-rlaif-and-conditioning) | Saved | Gold-vs-proxy and canonical-vs-direct distinctions; toy reproduced | No LM experiments reproduced |
| Cross-embodiment policies | Same | OXE v7/Octo v1 and pinned code/config | Paper and code inspection | [§5](#5-cross-embodiment-robot-policies) | Saved | Scope of data, recipe and tensor shapes checked | No checkpoint inference or media embedding |
| DT branches | Same | Five primary papers; named releases and CDT/MADT pins | Paper and code inspection | [§6](#6-decision-transformer-branches-that-change-the-decision-signal) | Saved | Training vs test-time conditioning checked | No score replication or blanket figure permissions |
| Newer offline RL | Same | Six methods, paper objectives and pinned files | Paper and code inspection | [§7](#7-newer-offline-rl-methods) | Saved | Code-only caveats checked separately | No score replication |
| Evidence reconciliation | Same | Critic source checks; 15 public cached HDF5 inputs; fixture 10 | Source correction + dataset measurement | [02](./02-rl-foundations.md), [03](./03-data-config-training.md), [04](./04-clone-and-run.md), [05](./05-bandits-ope-ads.md) | Notes updated; receipts saved | Targeted critic issues closed; dataset recount reproduced | Untested historical claims remain labeled |
| Site build and media | Same | Research report and prior draft outline | Next phase, excluded by research-first scope | [DM-01 pending](../../pending-work.md#decision-models) | No HTML | Confirmed absent | Choose chapter scope, clear assets, build and run final HTML re-check |

**Next lesson path:** Start with a two-decision environment and show how evaluating a fixed policy differs from learning one. Teach imitation and limited support before return conditioning; use comparison cards for newer offline and DT branches. Put ranking, RLAIF and robot policies in clearly labeled application tracks. Choose the simplest viable HTML tier only after sizing the required interactions. Clear/source-link each exact image, and run the numerical, browser and independent source-to-HTML gates on the actual deliverable. [Pending work](../../pending-work.md#decision-models). No HTML, new training, deployment, or graph update was part of this phase.
