- Introduced by
- Bellman, Richard E.
- Year
- 1957
- Type
- Sequential optimization with scenario branching
- Family
- Simulation / optimization
What does it do?
Policy Scenario Dynamic Programming (PSDP) applies Bellman's backward-induction recursion separately to each of a set of pre-specified policy scenarios.
Each scenario sets its own transition and reward assumptions, so the method yields a time-indexed optimal action plan for each scenario and a basis for comparing how those plans differ. It is a finite-horizon, discrete-state approach, and its feasibility depends on the size of the state grid.
The intuition behind the method
Many policy decisions unfold over several periods: invest in infrastructure now, then adjust in later periods depending on what has happened. Scenario analysis describes what the system might look like under different assumptions but does not say which action is best at each decision point. Dynamic programming supplies that step: it works backward from a terminal payoff and computes the best action for each state and period. In PSDP, the same recursion is run once per scenario, for example under a different carbon price, technology cost or discount rate, so that the optimal action sequences under each assumption can be compared directly.
History
The recursion used in PSDP is Bellman's backward-induction principle, set out in his 1957 monograph Dynamic Programming. The scenario layer, which applies that recursion separately to each pre-specified parameter setting, is an application of the principle rather than a separately named result, so no separate author or date is attributed to it. Puterman's 1994 book gives a general treatment of discrete stochastic dynamic programming and Markov decision processes, including the discrete-state, finite-horizon case in general terms.
When to use it
Use PSDP when a decision spans several discrete periods, the relevant future conditions can be expressed as a small number of distinct parameter settings that change transitions or rewards, and the decision-maker needs both an optimal action sequence and a comparison of how that sequence changes across the settings. It suits problems such as phasing energy investments under alternative carbon-price assumptions or scheduling infrastructure renewal under different funding assumptions. Do not use it when the state space is too large to discretise or approximate, when a single-period model is sufficient, when the scenarios differ so little that their optimal policies are identical, or when the transition probabilities for each scenario cannot be specified even approximately.
Limitations and considerations
- The state grid grows multiplicatively with the number of state variables and the number of levels per variable, and the sum over successor states s' in the recursion increases the cost of each evaluation as the grid grows.
- Each scenario requires its own complete backward induction, so computational cost grows with the number of scenarios as well as with the grid size.
- Every scenario needs an explicitly specified transition kernel P(s'|s,a,theta_k); where the system dynamics are poorly known, the scenario parameters are only as reliable as the assumptions used to set them.
- Results depend on how the scenarios are chosen: a future that is not represented in the scenario set cannot affect the comparison.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Each scenario yields its own time-indexed optimal action plan pi_k*(s,t), so the output is a sequence of decisions rather than only a ranking of alternatives.
- Because each scenario is solved separately, the comparison step can show where the optimal action at a given state and period is the same across all scenarios. These are candidate choices that are insensitive to the scenario assumption, subject to a check of the reachable state paths.
- Discounting in the recursion makes delayed costs and benefits explicit, and varying gamma across scenarios shows how the optimal policy responds to the discount-rate assumption.
- Scenarios are stated as explicit parameter settings theta_k, so the assumptions behind each future are recorded in the model rather than left implicit.
Applications
- Energy transition planning: phasing of capacity investment where a carbon-price or technology-cost assumption defines each scenario.
- Public health budgeting: scheduling of interventions where epidemic or funding assumptions define the scenario parameters.
- Infrastructure renewal: timing of repairs under different deterioration or funding assumptions.
- Harvest or pension scheduling: policy paths where demographic or stock-recovery assumptions define the scenarios.
How it works
How it works
Define the state vector s from the system variables that the transition and reward functions depend on, such as infrastructure stock or carbon stock. Specify the action set A available in each period, the horizon T, and the terminal payoff V_T(s). Because the recursion is evaluated on a grid, each state variable must be discretised into a finite set of levels.
Define each scenario k by a parameter vector theta_k, for example a discount rate, a technology cost, a demand growth path or a regulatory target. Each scenario supplies a transition kernel P(s'|s,a,theta_k) and, where rewards depend on the scenario, a scenario-specific reward r_k(s,a); a scenario may also change the discount factor gamma. The scenario is held fixed over the whole horizon, so this formulation does not model a switch from one scenario to another during the planning period.
For a given scenario, the Bellman equation is V_t(s) = max over a of [ r(s,a) + gamma times the sum over s' of P(s'|s,a,theta_k) times V_(t+1)(s') ]. Here gamma is the discount factor, V_(t+1) is the value function of the next period, and the maximisation selects the action with the highest immediate reward plus discounted expected future value. The recursion starts from the terminal condition V_T(s) equal to the terminal payoff. The formula is written without a scenario index; for scenario k, r, gamma and P take that scenario's own settings, and if rewards or transitions vary over time, they also carry the period index t.
Formula
V_t(s) = \max_{a \in A} \left[ r(s,a) + \gamma \sum_{s'} P(s'|s,a,\theta_k)\, V_{t+1}(s') \right]Solve each scenario separately by backward induction, starting from V_T(s) equal to the terminal payoff and stepping back to t = 0. At each state and period, record the maximising action to obtain the scenario policy pi_k*(s,t). Exact backward recursion is practical only on modest grids; for large state spaces, approximate dynamic programming methods are needed, and they introduce approximation error that should be reported.
Compare the scenario-optimal policies pi_k*, the initial values V_0^k(s_0), and the state trajectories they generate. Where two scenarios prescribe the same action at the same state and period, they agree under those assumptions; where they differ, the recommendation depends on which future occurs. Agreement at a given state does not by itself make a choice independent of the scenario, because different scenarios can lead to different reachable states, so check whether the paths under each policy coincide before treating an action as robust. Values from scenarios with different discount rates or reward functions are not directly comparable in level, so the comparison should focus on policy structure and on measures such as time to target or the cost of switching actions.
Common pitfalls
- Treating scenarios as probabilities: in the formulation, each scenario enters through its parameters theta_k and is not weighted in the recursion. Assigning weights to scenarios requires a separate extension, such as a Bayesian or robust formulation.
- Ignoring switching: because theta_k is fixed over the horizon, a policy that is optimal under one scenario does not show the cost of changing course if another scenario emerges midway. Path-dependent switching costs need to be added to the state or analysed separately.
- Reporting grid results as exact: the value function and policy are defined only at grid points, so the optimal action near a switching threshold can change with grid resolution. Report the discretisation and test sensitivity with a finer grid.
- Assuming the Markov property without checking it: the recursion uses V_(t+1)(s') only, so transition probabilities must depend on the current state, action and scenario parameters alone. If past actions or lagged variables matter, the state definition must be expanded before the recursion applies.
Frequently asked questions
How is this different from plain scenario analysis?
Plain scenario analysis describes outcomes under each scenario but does not say what to do at each decision point. PSDP applies Bellman's backward induction within each scenario, so the output is an optimal action plan for each scenario rather than only a narrative.
What if the state space is too large for exact DP?
Approximate dynamic programming methods, such as fitted value functions or other function approximations, can replace the exact recursion. The scenario structure is kept; only the solution method changes, and the approximation error should be reported.
How many scenarios should I define?
There is no fixed rule. Scenarios should represent qualitatively distinct futures that change the transitions or rewards in ways that matter for the decision. Each added scenario requires a separate backward induction, so the set should be kept to what the question needs.
Can scenarios have different discount rates?
Yes. Varying the discount rate is a common scenario in cost-benefit analysis, and each scenario then has its own gamma. The value levels are not directly comparable across scenarios, but the structure of the optimal policies is.
How do I handle uncertainty within a scenario, not just between scenarios?
Within-scenario stochasticity is represented by the transition probabilities P(s'|s,a,theta_k). Uncertainty about the transition kernel itself requires an extension such as robust dynamic programming, which is outside the basic formulation described here.
Related methods
Sources
Bellman, R. (1957). Dynamic Programming. Princeton University Press, Princeton, NJ.
ISBN: 9780691079516Puterman, M. L. (1994). Markov Decision Processes: Discrete Stochastic Dynamic Programming. John Wiley & Sons, New York.
ISBN: 9780471619772