State Persistence and the Frame Problem in AI

160 concepts127 papers1 proposal

Imagine a robot tasked with moving a coffee cup from a kitchen counter to a dining table. When the robot picks up the cup, a formal logical system needs to update the cup's location. But what happens to the rest of the world? The kitchen door remains locked, the sun remains up, gravity remains constant, and the color of the table does not change.

For a human, ignoring these non-changes is second nature. For an AI system grounded in formal logic, however, it presents a fundamental computational bottleneck known as the Frame Problem. As C. Cordell Green demonstrated in early symbolic planning systems, explicitly writing axioms to state what does not change after an action creates a massive scaling problem. In an environment with thousands of variables, stating that every unaffected variable persists across a state transition leads to a combinatorial explosion of formulas, rendering automated reasoning intractable.

To build efficient planning and reasoning systems, computer scientists had to design mechanisms that allow state persistence to be assumed by default, rather than proven explicitly.

The Law of Inertia and Successor State Axioms

The earliest pragmatic workaround to this problem appeared in the STanford Research Institute Problem Solver (STRIPS), developed by Richard Fikes and Nils J. Nilsson. In STRIPS, the authors bypassed the logical frame problem by introducing an operational assumption: any property of the world state not explicitly mentioned in an action's "delete list" is assumed to remain true in the subsequent state. This persistence-by-default rule eliminated the need to re-prove static facts after every discrete step.

While STRIPS solved the problem procedurally, it lacked the mathematical rigor of formal logic. To bridge this gap, researchers developed Successor State Axioms within the Situation Calculus. As evaluated by G. Neelakantan Kartha, successor state axioms solve the frame problem by shifting the perspective from actions to properties (called fluents). Instead of writing an axiom for every action-fluent pair to declare non-change, a single successor state axiom is written for each fluent. This axiom completely characterizes the conditions under which the fluent can change:

$$\text{Fluent is true tomorrow} \iff (\text{An action made it true today}) \lor (\text{It was true today} \land \text{No action made it false})$$

By packing both the effects of actions and the law of inertia into a single first-order logic statement, the system avoids the need for an exhaustive enumeration of non-changes.

The Pitfalls of Naive Minimization: The Yale Shooting Problem

To make these systems more flexible, researchers turned to nonmonotonic logics, which allow agents to make default assumptions that can be retracted later if new information arrives. The intuition was simple: assume things stay the same unless you have explicit evidence to the contrary. A common mathematical tool for this was circumscription, which minimizes the predicates representing "abnormalities" or changes.

However, Steve Hanks and Drew V. McDermott exposed a profound flaw in this approach using a scenario known as the Yale Shooting Problem. Consider an agent who loads a gun, waits for a moment, and then shoots a target named Fred. Intuitively, the gun should remain loaded during the waiting period, and Fred should be dead after the shot.

[ State 0: Alive, Unloaded ] 
       │
       ▼  Action: Load
[ State 1: Alive, Loaded ]
       │
       ▼  Action: Wait
[ State 2: Alive, Loaded? ]  <-- The ambiguity arises here
       │
       ▼  Action: Shoot
[ State 3: Dead or Alive? ]

When a naive nonmonotonic logic attempts to minimize the total number of changes across this timeline, it finds two equally "minimal" models:

  1. The Intended Model: The gun stays loaded during the wait (0 changes), and Fred dies during the shoot (1 change: alive $\rightarrow$ dead). Total changes = 1.
  2. The Unintended Model: The gun mysteriously becomes unloaded during the wait (1 change: loaded $\rightarrow$ unloaded), and Fred survives the shot (0 changes). Total changes = 1.

Because both models contain exactly one change, standard logical minimization cannot distinguish between them. The logic happily concludes that it is perfectly plausible for the gun to magically unload itself just to keep the world stable later on.

Causal Minimization to the Rescue

To resolve this ambiguity, researchers realized that they should not minimize changes themselves; instead, they needed to minimize the causes of changes.

Brian A. Haugh and Hector Geffner independently proposed frameworks for causal minimization. By introducing a formal distinction between natural persistence and changes triggered by specific actions, these causal theories penalize unexplained abnormalities. In the Yale Shooting Problem, the gun becoming unloaded during the waiting period has no causal explanation within the theory. Therefore, the model where the gun unloads itself is discarded, leaving the intended timeline as the sole logical deduction.

Similarly, Yan Zhang and Norman Y. Foo formulated the Persistence Set Approach, which explicitly calculates what must persist based on structural dependencies rather than relying on global minimization heuristics.

Implementing Inertia via Negation as Failure

Today, the most widespread practical application of these insights occurs within Answer Set Programming (ASP), a declarative logic paradigm. As Vladimir Lifschitz explains, ASP elegantly implements the law of inertia using a rule called negation as failure.

Instead of forcing a programmer to write complex frame axioms, ASP represents persistence using a concise rule structure:

$$\text{holds}(F, T+1) \leftarrow \text{holds}(F, T), \text{not } \text{negated\_holds}(F, T)$$

Here, the keyword not denotes negation as failure: if the system cannot prove that a fluent $F$ was terminated or changed at time step $T$, it defaults to assuming that $F$ continues to hold at time $T+1$. As Joohyung Lee and Ravi Palla demonstrated, these inertia rules in logic programming serve as a direct, computationally efficient functional equivalent to classical successor state axioms, allowing modern SAT-based solvers to handle complex dynamic domains.

Expanding the Horizon: Knowledge and Uncertainty

As AI moved beyond simple physical blocks worlds, the frame problem re-emerged in more abstract dimensions.

  • The Epistemic Frame Problem: When an agent performs an action, how does its knowledge state change? Robert C. Moore formalized reasoning about knowledge and action using possible-worlds semantics, showing that agents must track how physical actions leave mental states intact. To prevent information from randomly leaking or vanishing during state transitions, Jeremy Forth applied circumscription directly to knowledge states, ensuring an agent's internal beliefs persist unless a specific sensing action or logical inference occurs.
  • Probabilistic Persistence: In the real world, sensors are noisy and actions fail. Fahiem Bacchus et al. extended the Situation Calculus to handle noisy environments. Their framework ensures that probabilistic beliefs about fluents unaffected by an action remain stable, automatically managing the frame problem for uncertainty without requiring exhaustive probability distributions for every non-change.
  • Spontaneous and Transient Changes: The law of inertia assumes things stay the same unless acted upon, but some things change because time passes. Vladimir Lifschitz and Arkady Rabinov addressed transient properties like sounds or flashes, which should naturally dissipate over time rather than persisting indefinitely, requiring logic systems to balance default inertia with automatic decay.

By evolving from a tedious requirement for explicit axioms into elegant default-reasoning architectures, state persistence modeling has transformed how machines simulate time, action, and causality.

Key Foundational Work

Application of Theorem Proving to Problem Solving (1969) — contributed 4 concept elements to this direction.
STRIPS: A New Approach to the Application of Theorem Proving to Problem Solving (1971) — contributed 3 concept elements to this direction.
Application of Theorem Proving to Problem Solving (1969) — contributed 2 concept elements to this direction.
History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 125 papers
  2. Version 1 · 2026-10-04 · 128 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_frame_problem_7baef4c9,
  title = {frame problem},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/frame-problem/rdr_7baef4c967c540f5a91d5b746867aafb},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-17},
}

This exact version (version 2, frozen text):

@misc{lacuna_frame_problem_7baef4c9_v2,
  title = {frame problem},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/frame-problem/rdr_7baef4c967c540f5a91d5b746867aafb/v/2},
  note = {Version 2, frozen 2026-10-04. Accessed 2026-11-17},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake