Generalized Linear Markov Decision Process

Sinian Zhang, Kaicheng Zhang, Ziping Xu, Zongqi Xia, Jue Hou, Tianxi Cai, Doudou Zhou

TL;DR

GRASP-MDP introduces a novel framework for offline reinforcement learning that cleanly decouples reward and transition dynamics, allowing researchers to utilize generalized linear models (GLMs) for non-linear (e.g., binary or bounded) rewards. Crucially, it enables semi-supervised learning by safely pooling abundant "transition-only" data to reduce future value uncertainty without requiring ad-hoc reward imputation.

What Problem Does This Paper Address?

Offline reinforcement learning (RL) holds immense promise for domains like healthcare, where we must learn optimal decision strategies from historical observational data rather than live experimentation. However, standard linear Markov Decision Process (linear MDP) methods suffer from two major mismatches when applied to real-world longitudinal data:

  1. Non-linear Rewards: Linear MDPs assume expected rewards are strictly linear. In reality, real-world outcomes are often binary (e.g., whether a patient relapsed) or bounded continuous variables (e.g., a clinical score from 0 to 10), which are much better modeled using Generalized Linear Models (GLMs).
  2. Missing Reward Observations: In historical datasets like Electronic Health Records (EHRs), basic state-action-next-state transitions (lab tests, prescriptions, routine visits) are continuously logged, but the actual clinically meaningful "reward" (e.g., a comprehensive specialist disability assessment) might only be recorded for a small subset of patients or time points.

Standard methods either discard valuable transition data that lacks rewards or rely on risky, ungrounded reward imputation techniques.

Methods

The authors introduce GRASP-MDP (Generalized Reward And Semi-supervised Pessimism for MDPs), which resolves both challenges through a single elegant structural decomposition:

  • Reward-Transition Separation: It models the expected reward using a GLM with a known mean function $g$ (such as a logistic link for binary outcomes or beta regression for bounded intervals) while keeping the transition kernel linear.
  • Nonlinear-plus-Linear Bellman Completeness: The authors prove that even though the GLM breaks the traditional linear Bellman backup form, the backup splits cleanly into a nonlinear reward component and a linear continuation component. This creates a tractable, "nonlinear-plus-linear" function class that avoids Bellman approximation errors.
  • Componentwise Pessimistic Value Iteration: To account for data coverage gaps in offline RL, the algorithm applies separate uncertainty penalties to the reward and transition components. Observed rewards are used to estimate the GLM reward parameters, while all available transitions (including those missing rewards) are pooled via ridge regression to accurately pin down the transition dynamics.

Datasets

The framework was evaluated using both synthetic environments and a real-world clinical application:

  • Simulated Environments: Synthetic setups testing both binary (Bernoulli) and bounded continuous (Beta distribution) rewards across varying state dimensions, action spaces, and missing-reward ratios.
  • Multiple Sclerosis (MS) EHR Cohort: A real-world dataset of 4,295 MS patients curated from the Electronic Health Records of Mass General Brigham (MGB) and linked to the Comprehensive Longitudinal Investigation of Multiple Sclerosis at Brigham (CLIMB) registry. The goal was to optimize the timing of standard-efficacy vs. high-efficacy disease-modifying therapies (DMTs) over a 2-year window. The reward was based on the Expanded Disability Status Scale (EDSS), which was missing in 37.2%–44.1% of patient-periods.

Key Insights and Ideas

  • Decoupling is the Key to Semi-Supervised RL: Trajectories missing rewards are often treated as useless in offline RL. GRASP-MDP demonstrates mathematically that transition-only data is highly informative for estimating the continuation value (the long-term consequences of an action), even if it tells us nothing about the immediate reward.
  • Imputation is Unnecessary: Instead of guessing missing rewards, separating the estimation errors allows the algorithm to rigorously control reward and transition uncertainties independently based on their respective sample sizes.
  • Preserving Tractability: Mixing non-linear GLMs with linear transitions sounds like it would make value iteration computationally intractable, but proving Bellman completeness for this specific hybrid class ensures that the backward recursion remains explicit and efficient.

Key Results

  • Theoretical Guarantees: The authors established finite-sample suboptimality bounds showing that the transition-estimation error scales with the pooled sample size ($n + N$), proving that transition-only data directly reduces policy suboptimality.
  • Simulation Performance: In partial-reward settings, GRASP-MDP consistently outperformed standard linear pessimistic value iteration (PEVI) and Q-learning baselines, with its performance approaching an infeasible "full-reward" oracle as more transition-only data was provided.
  • Clinical Impact: In the MS clinical application, GRASP-MDP leveraging reward-missing data achieved the most favorable clinical policy estimates. Under a continuous reward model, it achieved an estimated average follow-up EDSS score of 2.12 (lower disability is better), outperforming standard PEVI (2.60) and a version of GRASP that discarded the reward-missing transitions (2.30).

Limitations and Future Work

  • Missingness Assumptions: The current theoretical guarantees assume that rewards are missing at random (MAR) and that there is no distribution shift between reward-labeled and transition-only trajectories. It does not yet account for non-ignorable missingness (Missing Not At Random).
  • Broadening Reward Models: The framework is currently optimized for canonical GLMs and specific tail conditions. The authors suggest that future work should extend the reward-transition decomposition to count rewards and adapt it to handle severe distribution shifts or other online/offline linear-MDP algorithms.

Summary updated

BibTeX
@misc{zhang2025generalized,
  author = {Sinian Zhang and Kaicheng Zhang and Ziping Xu and Zongqi Xia and Jue Hou and Tianxi Cai and Doudou Zhou},
  title = {{Generalized Linear Markov Decision Process}},
  year = {2025},
  eprint = {2506.00818},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.00818},
}
Figure