What moving a book leaves behind #

Imagine a simple library world. A robot moves a blue book from shelf A to shelf B. A rule can state that the book will be on shelf B after the move. To answer other ordinary questions, the system must also know that its cover is still blue, its title still identifies the same work and the receipt in a different room is still in its drawer. A separate rule for every action paired with every irrelevant property quickly becomes cumbersome.

In their 1969 paper, John McCarthy and Patrick Hayes discussed representing actions and situations in a formal language. The challenge is evident even in this deliberately tiny library. If the knowledge base records only the direct location change, a logical query about the book’s later color can remain unanswered. Common expectations about persistence must become part of the representation in some form.

Section sources [1]

Describing causes of change #

One approach writes a rule for each property that can vary, sometimes called a fluent. The rule specifies the conditions sufficient to make it true in the next situation, and when its previous truth persists because nothing made it false. In the library, a rule for a book’s location can mention putting it on a shelf and removing it. Moving another book has no place among the causes of change to this book’s location.

The GOLOG researchers used a logical account of action that includes successor-state axioms of this kind. In a suitable domain they let a program reason from an initial description together with a compact set of rules for change. The compactness depends on knowing which actions can affect which properties. Leaving out a genuine cause makes a concise rule confidently incomplete.

Section sources [1] [2]

Persistence has exceptions #

Suppose a reading lamp switches off automatically while the book is being moved, or the shelf itself belongs to a rolling cart. The direct effects of moving one item no longer give a complete account of the scene. A richer representation may need independent events, indirect effects and uncertainty about the initial arrangement. These are different modeling difficulties. A planner can have an elegant account of persistence for its defined actions and still fail when a relevant event is missing from its world model.

Section sources [1] [2]

Testing a system’s assumptions #

Give a system pairs of short stories in which the same action occurs. In one pair, ask about a property that ought to persist. In another, add a sentence describing a relevant intervention. Vary incidental details so that a stock answer such as “everything else stays the same” fails on some cases. Correct answers would provide evidence about the tested distinctions. They would still leave a separate question about how the system represents those distinctions internally and whether it can transfer them to unfamiliar events.

Section sources [1] [2]

How STRIPS updated a world model #

Richard Fikes and Nils Nilsson took a different route in STRIPS, a planner developed alongside robot research at the Stanford Research Institute. An operator described when an action was available, which statements to remove from the current world model and which to add. To model a robot moving between two rooms, one can remove its old location and insert the new one. Statements about the color of the door survive because the operator leaves them in the model. A theorem prover could then ask whether the resulting description supported the planner’s goal.

An omitted effect becomes visible if the robot can carry a box. Suppose the description stores the box’s room explicitly. A move that updates only the robot’s room leaves the box behind in the planner’s record. Another representation could derive the box’s location from the carrying relation. The choice determines where the designer has to account for an indirect effect. A plan can be internally consistent while giving the wrong prediction about the physical room.

Section sources [3]

Sources

  1. John McCarthy and Patrick Hayes · Some Philosophical Problems from the Standpoint of Artificial Intelligence (1969) www-formal.stanford.edu
  2. Hector Levesque and colleagues · GOLOG: A Logic Programming Language for Dynamic Domains (1997) sciencedirect.com
  3. Richard E. Fikes and Nils J. Nilsson · STRIPS: A New Approach to the Application of Theorem Proving to Problem Solving (1971) ai.stanford.edu