Frame problem

The frame problem is the challenge, first named in 1969, of representing the effects of an action without having to state everything the action leaves unchanged.

John McCarthy and Patrick Hayes named the frame problem in their 1969 paper Some Philosophical Problems from the Standpoint of Artificial Intelligence. In its technical form it asks how a system that reasons in formal logic can describe what an action does without also writing out a huge number of statements about what it does not do.

Take a robot that opens a door. It is easy to state that afterwards the door is open. But nothing in the logic then rules out that the light went off or a block moved across the room, unless the system is told otherwise. The obvious fix is to add frame axioms, statements such as "opening a door does not change the light". Since most actions affect only a few things, a world with many possible actions and many properties needs a number of frame axioms close to the two multiplied together, which quickly becomes unmanageable.

Researchers spent decades on better solutions. McCarthy proposed circumscription, a way of assuming that as little changes as possible. In 1987 Hanks and McDermott's Yale shooting problem showed that this kind of assumption could give wrong answers. Later approaches, including Ray Reiter's successor state axioms, the event calculus and Erik Sandewall's fluent occlusion, handle the issue far better. Murray Shanahan's 1997 book was titled Solving the Frame Problem, and his Stanford Encyclopedia of Philosophy entry describes the technical problem as more or less solved.

Philosophers took the idea further. In their broader version, the frame problem is about relevance: how does any thinker, human or machine, decide which of its beliefs need updating after something happens, and which consequences are worth considering at all? Jerry Fodor likened it to Hamlet's problem of knowing when to stop thinking. That wider question remains open.

Modern neural networks do not write logical axioms, so the technical version does not arise in the same form. The broader version still does. Tests of whether a language model can track the state of a scene through a series of actions, or an AI agent can tell which parts of its environment its last step changed, are asking the frame problem's question in a new setting.

Common questions

What is the frame problem in AI?

It is the difficulty of describing the effects of actions in logic without listing everything the actions do not change. A robot reasoning about opening a door needs some way to conclude that the light, the furniture and everything else stay as they were.

Has the frame problem been solved?

The narrow technical version is widely regarded as more or less solved, using methods such as successor state axioms and the event calculus. The broader philosophical version, about how any mind decides what is relevant, is still debated.

Who came up with the frame problem?

John McCarthy and Patrick Hayes described it in their 1969 paper Some Philosophical Problems from the Standpoint of Artificial Intelligence. Philosophers including Daniel Dennett and Jerry Fodor later widened it into a general problem about relevance.

Does the frame problem apply to large language models?

Not in its original logical form, since language models do not reason with explicit axioms. But the underlying question, keeping track of what changes and what stays the same as events unfold, is a real test for models and agents, and tests that ask a model to follow a changing situation probe exactly that.

Finding more

Search for "frame problem artificial intelligence", "frame problem philosophy" or "situation calculus frame problem" to go deeper. The Stanford Encyclopedia of Philosophy entry is an authoritative overview, and textbooks on knowledge representation explain the technical solutions. Be careful with popular articles that use the term loosely for any failure of common sense.

  • The Frame ProblemReferenceMurray Shanahan's Stanford Encyclopedia of Philosophy entry on the technical and philosophical versions.
  • Frame problemReferenceExamples, the Yale shooting problem and the main proposed solutions.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.