Frame Problem (and Qualification + Ramification)

methods-of-ai

The “three problems of planning” — McCarthy & Hayes (1969) and Reiter (1991). Whenever your AI exam mentions planning, at least one of these three appears. They’re easy to mix up — so memorize the distinction.

The trio at a glance

ProblemQuestion it asksConcrete example
Frame ProblemWhat stays the same after an action?I move block A onto block B. Block C is still on the table. How does the system know C didn’t move?
Qualification ProblemWhat are all the preconditions for the action to succeed?”Pick up block A” — but the gripper might be broken, the room might be dark, gravity might be off, etc. You can never list all preconditions.
Ramification ProblemWhat are the indirect effects (side effects) of the action?I move a box onto a shelf. The items inside the box also move (without being explicitly mentioned).

One-line memory aids:

  • Frame = “what doesn’t change”
  • Qualification = “what must be true before
  • Ramification = “what changes as well

Why each is hard

Frame Problem

In a logic-based planner (e.g. Situation Calculus), you’d naively need a frame axiom for every (action, fluent) pair, asserting that the action does not affect that fluent. With n actions and m fluents, that’s O(n·m) axioms — exponentially impractical in a realistic world.

STRIPS’ “solution” is the closed-world assumption + ADD/DEL lists: anything not mentioned in the ADD or DEL list is assumed unchanged. This eliminates frame axioms syntactically — but the underlying ontological problem (deciding which actions actually change which facts in the real world) is just pushed onto the designer of the action schema.

Qualification Problem

You can never write down all preconditions of a real-world action. “Make coffee” needs: kettle works, water available, coffee available, electricity available, no earthquake, no power outage, no broken cup, … The list is infinite.

Pragmatic “solution”: assume normal conditions (defaults) and use non-monotonic reasoning (default logic, circumscription) to handle exceptions when they arise. Real planners ignore it and hope.

Ramification Problem

Actions have effects you didn’t bother modeling. Tipping a glass of water → water spills → carpet gets wet → mold grows → property value drops. Most can’t be enumerated.

Pragmatic “solution”: causal rules that propagate indirect effects (Reiter 1991, Lin 1995). Or just accept that some effects are missed.

⚠️ Common exam traps

  1. Don’t confuse Frame with Ramification. Frame = “C stays where it was.” Ramification = “things inside the box move with the box.” They feel similar but address opposite directions: Frame says non-change, Ramification says additional change.
  2. STRIPS doesn’t solve the Frame Problem — it sidesteps it syntactically. This is a frequent gotcha. The closed-world assumption + ADD/DEL implicitly handles frame axioms, but the real problem (knowing what changes in the world) is still on the modeler.
  3. Qualification is about preconditions, Frame is about effects. PRE-list vs. (implicit) frame axioms.

Where these problems still matter today

  • Classical symbolic planners (PDDL, STRIPS-style): all three still active — modern planners assume closed-world and bounded action effects.
  • Robotic task planning: ramification problem is huge (a robot pushing a box affects everything in the box).
  • LLM-based planning agents (ReAct, AutoGPT, Devin): the qualification problem is now most visible — these systems regularly fail because some unstated precondition wasn’t met (file doesn’t exist, API rate-limited, network down).
  • Self-driving cars: ramification is everywhere — every motion of the car affects the trajectory of everything nearby.

Where they’ve been “solved” pragmatically

ProblemModern workaround
FramePDDL-style action schemas + closed-world assumption. World models in modern RL (Dreamer, MuZero) learn frame implicitly.
QualificationDefault reasoning + bounded preconditions in classical planners. LLM agents use re-planning when preconditions fail.
RamificationCausal rules, or — in deep-learning systems — learn the dynamics from data (world models) instead of specifying effects.

Status: none of these are fully solved at the foundational level. They’re tractably managed in practice — but the original 1969 critique still bites whenever a planner meets the real world.

See also

Tags: methods-of-ai planning frame-problem qualification-problem ramification-problem
Created: 18-05-26