Decision-Focused Learning in MDPs: An Occupancy Measure Approach

Zihao Zhao, Ashwath K. Karunakaram, Ali Eshragh, Yuexing Li, Kai Wang
10/6/2026
cs.LG

Official code: A-Eshragh/State_Aggregation_Project (2 stars, Python, last commit 2026-10-09).

Abstract

In this work, we consider decision-focused learning (DFL) for a Markov decision process (MDP), where existing methods differentiate through the KKT conditions of the Bellman equation and require solving a linear system over all state-action pairs, limiting its scalability. We address this by reformulating the MDP as an occupancy measure-based linear program (LP), whose feasible region is induced by predicted dynamics, and we derive a closed-form gradient by identifying the active constraints in the feasible polyhedron via the pivoting algorithm.

Show full abstract

This occupancy measure-based LP layer raises two challenges: (1) LP's solution gradient is discontinuous when active constraints change, and (2) the LP backward cost still scales with the state size, which is costly for large or continuous state spaces. We address the challenges with an augmented Lagrangian surrogate and smooth the boundary jumps by random row sketching of the constraints, and a learnable soft state-aggregation layer and its function-approximation generalization that scales the LP to large finite and continuous-state MDPs. Across multiple tasks, our methods reach lower regret than KKT-based DFL and two-stage baselines with significantly lower computation cost. The source code for all experiments is available at https://github.com/A-Eshragh/State_Aggregation_Project.

View on arXivView PDF

Code Implementations(1)

20Python, ShellOct 27, 20241 months ago

Similar Papers

Cite this paper

@article{zhao2026decisionfocused,
  title  = {Decision-Focused Learning in MDPs: An Occupancy Measure Approach},
  author = {Zihao Zhao and Ashwath K. Karunakaram and Ali Eshragh and Yuexing Li and Kai Wang},
  year   = {2026},
  eprint = {2610.08384},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.08384v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.08384.svg)](https://codeofpaper.com/paper/2610.08384)

Discussion