Planning with State Dependent Action Costs

43 concepts33 papers1 proposal

In classical automated planning and graph search, we almost always treat the cost of an action as a fixed, immutable scalar. Moving from city A to city B costs $X$ gallons of fuel; executing a database join takes $Y$ milliseconds; a robot moving its arm consumes $Z$ Joules. This assumption of static costs underpins the elegance of algorithms like A* and classical delete-relaxation heuristics.

However, real-world environments rarely cooperate with this simplification. In practice, the cost of an action is deeply intertwined with the current state of the system or the history of preceding actions. Consider a plug-in hybrid electric vehicle navigating a city: the energy cost of traversing a steep road segment depends entirely on the battery's state of charge upon arrival (Arian Houshmand et al. in Combined Eco-Routing and Power-Train Control of Plug-In Hybrid Electric Vehicles in Transportation Networks). Similarly, in automated manufacturing, the time required to drill a hole depends on the physical orientation of the workpiece left by the previous operation (Caroline C. Hayes in A Model of Planning for Plan Efficiency: Taking Advantage of Operator Overlap). When costs fluctuate dynamically based on state variables, time steps, or environmental context, traditional planning paradigms break down.

To understand why state-dependent action costs are challenging, we must look at how classical search algorithms achieve efficiency. Algorithms like A* rely on the principle of additivity: the total cost of a path is the sum of its independent edge weights. This independence allows us to compute forward heuristics that estimate the remaining distance to a goal.

When action costs are state-dependent, this independence vanishes. As Florian Geißer et al. point out in Delete Relaxations for Planning with State-Dependent Action Costs, standard delete-relaxation heuristics (such as $h^{add}$) assume constant costs and cannot easily incorporate dynamic state variables. If the price of future actions changes based on the exact path taken to reach the current state, estimating the remaining cost becomes a complex combinatorial problem.

Furthermore, state dependence can destroy the structural properties that make pathfinding tractable. Kshitij Gajjar et al. demonstrate in Generalized parametric path problems that when edge costs are modeled as function compositions—where the output state of one edge serves as the input parameter for the next—introducing even minor non-linearities or multiple parameters immediately pushes the problem into the realm of NP-hardness.

Formalizing the Dynamic Cost Landscape

To handle these challenges, researchers have shifted from operator-level cost modeling to transition-level and functional cost modeling.

In classical planning, an operator (e.g., drive_car) has a single global cost. To introduce state-dependence, Dominik Drexler et al. propose assigning costs to specific state transitions rather than global operators in Subset-Saturated Transition Cost Partitioning. This allows the same action to incur different costs depending on the precise state context in which it is applied, enabling more expressive and accurate heuristic distribution.

Another approach is to embed cost functions directly as numeric expressions within the planning language. For instance, Thomas Eiter et al. extended declarative planning languages to support dynamic cost functions that adapt to fluctuating resource prices or payload-dependent fuel consumption (Answer Set Planning Under Action Costs). By representing costs as functions of state variables, planners can reason about complex constraints like peak-hour surcharges or velocity-dependent fuel burn.

How do we search efficiently when every edge weight requires evaluating a dynamic function? Researchers have developed three primary mechanisms:

1. Lazy and Delayed Evaluation

If calculating the exact state-dependent cost is computationally expensive (e.g., running a fluid dynamics simulation or computing a complex database join size), we can delay it. In Efficient Optimal Search under Expensive Edge Cost Computation, Masataro Asai et al. introduced Delayed Expansion A (DEA), which uses cheap, optimistic cost estimates to guide the search, resolving the true state-dependent edge costs only when absolutely necessary.

A similar philosophy applies to database query optimization: Nathan Robinson et al. calculate join costs lazily during search because the cost of a join operation depends entirely on the size of intermediate results generated by previous steps (Cost-Based Query Optimization via AI Planning).

2. Decision Diagrams for Heuristic Relaxation

To salvage classical heuristics like $h^{add}$ in state-dependent settings, Florian Geißer et al. utilized Edge-Valued Multi-valued Decision Diagrams (EVMDDs). These diagrams compactly encode the relationship between state variables and action costs, transforming the heuristic calculation into a structured reachability and minimization problem over the EVMDD (Delete Relaxations for Planning with State-Dependent Action Costs).

3. Optimization Modulo Theories (OMT)

Instead of relying on traditional heuristic search, Francesco Leofante et al. developed OMTPLAN, which leverages OMT solvers to handle state-dependent action costs (Optimal Planning Modulo Theories). By encoding cost functions directly as numeric expressions within the optimization objective, OMT combines logic and arithmetic to find globally optimal plans even when costs fluctuate continuously based on state variables.

Applications Across Control and Learning

The necessity of state-dependent cost modeling extends far beyond symbolic planning into reinforcement learning, robotic control, and active sensing.

Robotic Control and Trajectory Planning

In high-speed drone racing, Angel Romero et al. implemented state-dependent cost functions to dynamically balance precision and performance, tightening accuracy constraints near critical waypoints while relaxing them on open paths to maximize speed (Weighted Maximum Likelihood for Controller Tuning).

For electric vehicles, Fan Ding et al. split trajectory planning into distinct operational states (acceleration, cruising, braking), switching cost functions to optimize for motor efficiency and kinetic energy recovery dynamically (Energy-efficient Hybrid Model Predictive Trajectory Planning for Autonomous Electric Vehicles). Similarly, Arnav Sukhija proposed varying the computational cost of robotic control updates based on environmental context rather than applying a uniform penalty (TARC: Time-Adaptive Robotic Control).

Active Sensing and Information Acquisition

Gathering information is rarely free, and its cost is rarely static. Ming Tan et al. demonstrated that for physical robots, the cost of acquiring a feature depends on the sensor's current configuration relative to the target (Two Case Studies in Cost-Sensitive Concept Acquisition). This concept traces back to early diagnostic frameworks; for instance, Ying Sun noted that the cost of a diagnostic probe depends on the system's current state, often requiring preparatory actions with their own side effects (A Framework for Model-Based Repair).

In modern reinforcement learning, Taiyi Wang et al. decoupled sensing from control in observation-constrained environments, recognizing that observation costs fluctuate based on environmental volatility and agent uncertainty (OCMDP: Observation-Constrained Markov Decision Process).

By moving away from the fiction of static costs, these diverse frameworks allow autonomous agents to navigate complex, real-world environments where the price of an action is fundamentally tied to the context in which it occurs.

Key Foundational Work

A Model of Planning for Plan Efficiency: Taking Advantage of Operator Overlap (1989) — contributed 2 concept elements to this direction.
A Model of Planning for Plan Efficiency: Taking Advantage of Operator Overlap (1989) — contributed 1 concept elements to this direction.
State Space Models of Remote Manipulation Tasks (1969) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_state_dependent_action_costs_22c04b1b,
  title = {state-dependent action costs},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/state-dependent-action-costs/rdr_22c04b1b13d0413a8714c7c50c92c976},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_state_dependent_action_costs_22c04b1b_v1,
  title = {state-dependent action costs},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/state-dependent-action-costs/rdr_22c04b1b13d0413a8714c7c50c92c976/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake