potentialpaper

Subprocess-Constrained Markov Decision Processes

Jiarui Gan, Debmalya Mandal

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We introduce subprocess-constrained CMDPs, where a constraint must hold not just from the start but from every step onward; we give a polynomial-time algorithm to compute (near-)optimal history-dependent actions for any history.

Abstract. Constrained Markov decision processes (CMDPs) typically bound expected cumulative cost from an initial state. Such a guarantee can be insufficient when a policy must remain feasible after every history it may encounter. We introduce subprocess-constrained MDPs (S-CMDPs), which require the expected discounted cost of each continuation, conditional on any reachable history, to satisfy a bound determined by the current state. This stronger requirement changes the structure and complexity of the problem: we show that stationary policies can be strictly suboptimal, and finding even an approximately optimal stationary policy is NP-hard. We adapt a recently introduced value-set iteration framework to show that history-dependent policies surprisingly overcome both obstacles. Our polynomial-time algorithm represents such a policy implicitly: its expected reward is within ϵ\epsilon of the optimal feasible value, it violates each subprocess cost bound by at most δ\delta, and its action distribution can be computed in polynomial time for any given history. Code is available at https://github.com/jrgan/VSI.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
30 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

In this paper, the Authors introduce S-CMDPs, an extension of constrained MDPs in which cost constraints must hold not only from the initial state but also from every intermediate subprocess. They show that stationary policies can be suboptimal and computationally intractable in S-CMDPs. They demonstrate that history-dependent policies are able to overcome both issues. They develop a polynomial-time algorithm that computes the distribution of actions for a near-optimal history-dependent policy.

The Reviewers agree on the fact that this formulation addresses a limitation of the classical CMDP framework. Overall, the Reviewers find the paper solid from a technical perspective.

One Reviewer asks whether the computability of the general S-CMDP problem and about the sufficiency of finite-memory policies can be further clarified, suggesting that these questions deserve explicit discussion (even if they remain open). Another Reviewer highlights the dependence of the approximation scheme on the number of cost constraints and approximation accuracy, noting that scalability may become challenging in high-dimensional settings. The Authors should address/discuss such questions/points (as well as the others) in order to better clarify these open points.

Final justification

The Authors clarified the majority of the open points raised by the Reviewers. After reading the work, along with the Reviews and the subsequent rebuttal, I think that there are no critical concerns that prevent this work from publication. As such, I suggest acceptance.

Area Chair VwLX · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

In this paper, the Authors introduce S-CMDPs, an extension of constrained MDPs in which cost constraints must hold not only from the initial state but also from every intermediate subprocess. They show that stationary policies can be suboptimal and computationally intractable in S-CMDPs. They demonstrate that history-dependent policies are able to overcome both issues. They develop a polynomial-time algorithm that computes the distribution of actions for a near-optimal history-dependent policy.

The Reviewers agree on the fact that this formulation addresses a limitation of the classical CMDP framework. Overall, the Reviewers find the paper solid from a technical perspective.

One Reviewer asks whether the computability of the general S-CMDP problem and about the sufficiency of finite-memory policies can be further clarified, suggesting that these questions deserve explicit discussion (even if they remain open). Another Reviewer highlights the dependence of the approximation scheme on the number of cost constraints and approximation accuracy, noting that scalability may become challenging in high-dimensional settings. The Authors should address/discuss such questions/points (as well as the others) in order to better clarify these open points.

Final justification

The Authors clarified the majority of the open points raised by the Reviewers. After reading the work, along with the Reviews and the subsequent rebuttal, I think that there are no critical concerns that prevent this work from publication. As such, I suggest acceptance.

Reviewer 9pVXOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

In the real world, it is sometimes necessary to constrain cost not only at the initial state but also at an intermediate state along a trajectory. Though work exists that handles such constraints concerning the initial state and optimizing for the reward, no work seems to exist that handles such requirements for intermediate states/subprocesses. To tackle those problems, the paper addresses a new framework---extending constrained MDPs---called subprocess-constrained MDP. The new problem appears to be a simple extension of C-MDP, but the (optimal) policy computation is not straightforward. Classically, a stationary policy may lead to a non-optimal value, and it can also be intractable to compute. The paper then addresses a new way to build a policy based on history. Using the value set iteration framework, the paper shows that history-dependent policies overcome both shortcomings of the classical case. For any given history, the authors propose a polynomial-time algorithm to compute a near-optimal history-dependent policy.

Strengths and weaknesses

Strengths:

  1. For applications such as in safety-critical domains, the work addresses a key gap--It shows clearly why the proposed research is required and why existing work is insufficient.
  2. It establishes clearly the computational separation between the classical framework (CMDP) and S-CMDPs. 2.1. The need for history-dependent policies is clear. It shows how they can be handled effectively using value set iteration. 2.2. Such policies may not appear that intuitive at first, but they are key in establishing the tractability of S-CMDP. 2.3. The convergence behavior of the value set operator is no longer a contraction, thus the solution of S-CMDP is characterized as a fixed point of the operator, and a novel bi-criterion approximation scheme that converges in polynomial time.
  3. The formal proofs appear largely correct and appear in the right order.

Weaknesses:

  1. Though I am not very close to the field, I do not see any major weakness. Most of the paper was easy to follow except for 6.1 and 6.2--they are less intuitive to me.
Questions

I agree with the overall presentation. So I am not asking questions just for the sake of asking them. To me, the paper reads well and addresses an important problem in a clear and understandable manner. However, I would be interested in the other reviewers' questions in case there are any major issues which I could not see.

Limitations

yes

Formatting concerns

-- None that I see at least in the main paper.

-- In the NeurIPS checklist: the authors should remove the instruction-part before answering 1. 2. etc.

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for the very positive assessment of our work. We are more than happy to answer any additional questions you might have; please just let us know.

Reviewer mDrYOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
2/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper introduces subprocess-constrained Markov decision processes (S-CMDPs), where cost constraints must hold not only from the initial state but also from every reachable intermediate history. The paper argues that stationary policies are insufficient and can be computationally intractable to optimize, while history-dependent policies can be handled through a value-set iteration framework. The main technical contribution is a set-valued dynamic programming method with a grid-based approximation scheme, leading to a polynomial-time procedure for computing the action distribution of a near-optimal history-dependent policy for any given history.

Strengths and weaknesses

The motivation is clear and well presented. The paper identifies a meaningful limitation of classical CMDPs: satisfying a global expected-cost constraint from the initial state does not necessarily guarantee safe continuation from intermediate states. The simple example showing the suboptimality of stationary policies is helpful, and the value-set iteration framework is elegant. The use of achievable reward-cost sets gives a clean way to represent history-dependent feasibility without explicitly enumerating all histories.

Although the algorithm is polynomial for fixed-dimensional value sets, the grid-based representation appears to suffer from a strong dependence on the number of cost constraints, the approximation parameters, and the discount factor. In many realistic safety problems, there may be multiple constraints, and the value space would become high-dimensional. The paper acknowledges that grid points grow exponentially with the number of cost functions, but this seems like a central limitation rather than a minor future-work issue.

Meanwhile, the method is primarily model-based. The transition kernel, reward, and cost functions are assumed to be known, while many safe RL settings require learning these quantities under uncertainty. It is therefore unclear how the proposed subprocess constraints could be guaranteed during exploration, especially before the model is accurately estimated.

Questions

How scalable is the VSI framework when there are multiple cost constraints, or when small epsilon/delta and gamma close to 1 require a very fine grid?

How could the method be extended to unknown-model settings, where the transition and cost functions must be learned while maintaining subprocess-level safety?

Limitations

Yes

Final justification

Thank you for the detailed response. Your answer clarifies that VSI is polynomial only for a fixed number of constraints, while the grid representation is exponential in the number of constraints and can become expensive for small epsilon or delta, or when gamma is close to one. Highlighting the MILP implementation in the main text will be useful, although it does not remove the underlying scalability concern. The discussion of unknown-model settings is also helpful, but safe exploration remains an open extension requiring additional assumptions such as a known safe baseline or conservative confidence bounds. Thus, the rebuttal addresses my questions at the level of scope and presentation, but the two limitations themselves remain. I will keep my rating at 4 and my confidence at 3.

Formatting concerns

N/A

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for the insightful comments, particularly for highlighting these natural extensions of our work. We fully agree that settings with multiple constraints and unknown models are important. Our focus in the present paper, however, is the foundational planning problem underlying such extensions. As our paper shows, even with a known model and a single constraint, it requires substantial technical work and nontrivial arguments to establish our main results, including the intractability of stationary policies and the (perhaps surprising) tractability of history-dependent policies through the VSI algorithm.


Q: How scalable is the VSI framework when there are multiple cost constraints, or when small epsilon/delta and gamma close to 1 require a very fine grid?

A: With dd cost constraints, the value space becomes (d+1)(d+1)-dimensional, so the current grid representation grows exponentially in dd. We conjecture that the problem becomes computationally intractable when the number of constraints is part of the input. Therefore, the exponential dependence of VSI on dd may reflect an intrinsic computational barrier, rather than a limitation of our algorithm.

From a theoretical point of view, for a fixed number of constraints, the dependence on ϵ\epsilon, δ\delta, and 1−γ1-\gamma is only polynomial. In practice, though, it is true that the time complexity can grow very quickly when very high accuracy is required or when γ\gamma is close to 11. Our MILP implementation in the appendix is a practical approach to alleviate this issue; it avoids exhaustive grid enumeration. We will highlight this approach in the main paper and clarify these dependencies and limitations more explicitly.


Q: How could the method be extended to unknown-model settings, where the transition and cost functions must be learned while maintaining subprocess-level safety?

A: If exploration itself need not satisfy the constraints, one can first learn a sufficiently accurate model and then apply VSI for planning. Requiring safety during exploration is substantially harder: without additional assumptions, an agent generally cannot know whether an untried action is safe. Such guarantees would require assumptions such as a known safe baseline, known safe actions, or conservative confidence bounds. One possible direction is perhaps to develop a robust version of VSI over confidence sets of plausible models.

Importantly, any such learning extension must still confront the policy-structure and continuation-planning issues resolved in this paper. We therefore view the known-model planning result established here as a foundational first step toward these natural extensions. Efficient learning would not be possible without sufficient understanding of these fundamental computational aspects.


We are more than happy to provide further clarification if needed; please just let us know.

Authors · CommentOpenReview ↗

Dear Reviewer mDrY,

We hope that our answers have addressed your questions, but please don't hesitate to let us know if you have any further questions, so that we could clarify them during the discussion phase. Thank you!

Reviewer mDrY · CommentOpenReview ↗

Thank you for the detailed response. Your answer clarifies that VSI is polynomial only for a fixed number of constraints, while the grid representation is exponential in the number of constraints and can become expensive for small epsilon or delta, or when gamma is close to one. Highlighting the MILP implementation in the main text will be useful, although it does not remove the underlying scalability concern. The discussion of unknown-model settings is also helpful, but safe exploration remains an open extension requiring additional assumptions such as a known safe baseline or conservative confidence bounds. Thus, the rebuttal addresses my questions at the level of scope and presentation, but the two limitations themselves remain. I will keep my rating at 4 and my confidence at 3.

Authors · CommentOpenReview ↗

Thank you so much for taking time to read our response and for the very thoughtful follow-up!

We fully agree that unknown-model settings are an important next direction, and we are also interested in pursuing this question. We would only like to clarify that:

  • The present paper is intended to introduce the subprocess-constrained model and resolve its foundational algorithmic questions, rather than to provide a complete treatment of safe learning under unknown dynamics. Addressing both within a single paper would certainly be appealing, but it would be beyond the scope of the current work, especially given that the known-model problem is already nontrivial and requires substantial new techniques, while the unknown-model setting admits many different possible formulations.

  • The exponential dependence on the number of constraints is due to an intrinsic computational difficulty, rather than only a limitation of VSI, which can be confirmed via a rigorous proof of the NP-hardness of the problem when the number of constraints is part of the input.

We hope these points help distinguish the limitations of the current scope from the contribution of the foundational problem resolved in our work.

Reviewer tdPhOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This is a strong theoretical paper with a nice structural result addressing weaknesses in current solutions for Constrained Markov Decision Processes. Here, optimal policies are sought under the proviso that the expected accumulated reward over the entire trajectory remains below a given threshold. However, in several situations such guarantees should be given not only from the initial state but also from every subprocesses (starting at arbitrary intermediate times). The paper introduces the notion of subprocess-constrained MDPS (S-CMDPs) with constraint requirements from every intermediate trajectory. This is very natural problem to consider.

Strengths and weaknesses

Algorithmic aspects are discussed demonstrating that stationary policies are insufficient for achieving optimality, thus history-dependency is required of policies. Polynomial-time algorithm is proposed for providing near-optimal history-dependent policies, e.g. using value-iteration and reduction to LP.

The notion of achievable value set V* is elegant, and has a nice fixpoint characterization, and can be obtained as the limit of a value-set iteration. This seems to have been developed also in [14].

It seems not to be stated whether the S-CMDPs problem is computable itself. It is argued convincingly that stationary policies do not suffice, and optimal stationary policies are hard. Related to this is whether there exists a bound on the length of the history that would be sufficient. I guess the simple introductory example on page 3 could be extended to argue against this.
As argued in the paper (I think) if V* was computable the constraint optimal policy would be as well. In any case I would have expected that the paper would address this – at least state it as an open problem. Ideally, the paper should demonstrate non-computability of the problem, thus strengthening the efficiency of the approximate polynomial algorithm.

The experimental evaluation is very limited illustrated and seems only discussed in the very long appendix -- that I did not read in any detail.

Questions

Would be nice if you stated explicitly what a history-dependent policy i?. How do one check that -- for a given history -- there is no following (history-dependent) policy that will satisfy the future cumulative cost constraint? Is the S-CMDP problem computable -- or is this an open problem? Do you know if policies with finite memory (finite history) would suffice or not?

Limitations

yes

Formatting concerns

NA

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for the thoughtful feedback and insightful questions. We address each question below. We are more than happy to provide further clarification if needed; please just let us know.


Q: Would be nice if you stated explicitly what a history-dependent policy is?

A: Thanks for pointing this out. We will make sure to explicitly define history-dependent policies in the paper. A history-dependent policy is a map π\pi from every possible history h=(s0,a0,s1,...,st)h = (s_0, a_0, s_1,..., s_t) to a distribution over the agent’s actions (where each sℓs_\ell is the state at time step ℓ\ell, and aℓa_\ell is the action played at time step ℓ\ell).


Q: How do one check that -- for a given history -- there is no following (history-dependent) policy that will satisfy the future cumulative cost constraint?

A: Let the given history be h=(s0,a0,…,st)h=(s_0,a_0, …,s_t). Since the environment is Markovian, the continuation feasibility problem is equivalent to an S-CMDP starting from sts_t​. After running VSI, one can check whether the computed value set V^⋆(st)\widehat{V}^\star(s_t) is empty. If it is nonempty, then Lemma 10 guarantees the existence of a (ϵ,δ)(\epsilon, \delta)-feasible continuation policy, which can be implemented using our policy-unrolling procedure.

If the reviewer is concerned with exact feasibility, then a feasible continuation exists precisely when the (exact) achievable value set V⋆(st)V^\star(s_t) is nonempty. Checking this condition exactly reduces to solving the exact S-CMDP problem, whose computability remains open, as discussed in the next question.


Q: Is the S-CMDP problem computable -- or is this an open problem?

A: Exact computation in the infinite-horizon setting remains open. (In the finite-horizon setting, achievable value sets can be computed via dynamic programming from the last time step, so the problem is computable.) Our exact VSI sequence converges asymptotically to V⋆V^\star, but we do not establish finite termination or a finite exact representation of V⋆V^\star. We agree that exact computability is an interesting theoretical question and will mention it explicitly as an open problem.


Q: Do you know if policies with finite memory (finite history) would suffice or not?

A: Yes, we can show that no fixed history length suffices for optimality, for essentially the same reason that stationary policies fail. Indeed, the example on Page 3 can be modified to illustrate this. Specifically, we can insert a chain of kk zero-reward, zero-cost states s1′,…,sk′s'_1, …, s'_k​ before s3s_3​, (without any cost constraints at these states). When s3s_3 is reached, the previous kk state-action pairs are identical regardless of whether the process started from s1s_1 or s2s_2​. A kk-history policy therefore cannot distinguish the two cases and must take the conservative action at s3s_3, whereas a policy retaining the earlier information obtains a strictly higher reward. Hence, there is no universal finite bound on the history length sufficient for optimality.

Reviewer tdPh · CommentOpenReview ↗

Reply to rebuttal

Thanks for the clarifying answers. They address fully satisfactory my questions.

Authors · CommentOpenReview ↗

Thank you for your response! We are glad that we were able to address your questions, and we would be very grateful if you would consider raising your rating accordingly. Please also let us know if you have any further questions.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…