A History of AI

Frames: Representing Stereotyped Situations

The Null Stern hotel
The Null Stern hotel

“When one encounters a new situation one selects from memory a structure called a Frame. This is a remembered framework to be adapted to fit reality by changing details as necessary.” - Marvin Minsky, 1974


Building enterprise AI means teaching an LLM the messy reality of your business. You need to explain standard contracts but also the edge cases. You need to describe typical customers and the exceptions that break the pattern. You need to capture default processes and how they vary by region. In 1974, Marvin Minsky wrote an essay about exactly this problem. His ideas shaped knowledge representation and drove the expert systems boom of the 1980s.

Minsky argued that minds work from templates. You walk into a room and before you consciously process what you see, you already expect walls, ceiling, floor, probably a door, maybe windows. When something violates those expectations, you notice immediately. A room with no ceiling feels wrong because you were working from a remembered framework.

Minsky proposed that this is how we handle new situations. You don’t build understanding from scratch but select a remembered framework and adapt it. His insight was that knowledge about stereotyped situations should be represented as structured templates he called frames. A frame has two kinds of knowledge: the top levels are fixed and represent things always true about the situation, while the lower levels have slots that must be filled by specific instances.

Consider how this works in practice. A sales deal frame captures what is always true: deals have customers, have values, and require approval. But it also has slots for details that vary: deal size, discount justification, escalation path, competitive context. Each slot can have default values, so deals assume standard pricing unless you specify otherwise. Slots can have constraints that define valid values. The deal size slot expects small, medium, large, or strategic.

Frames addressed fundamental limitations of semantic networks, the prevailing approach at the time. Semantic networks represented knowledge as graphs where nodes were concepts and edges were relationships. Simple and visual, but they had problems frames could solve:

Frames enabled the expert systems boom of the 1980s. MYCIN diagnosed infections using frames for diseases and symptoms. Software engineers arrived at similar insights with object-oriented programming. The pattern Minsky proposed for knowledge representation became the pattern for organizing all code.

If you are building enterprise AI today, you are likely making use of Minsky’s ideas. When you write a JSON schema with required fields and constraints, you are building a frame. If you are defining stereotyped situations in your business and specifying how to handle their exceptions, Minsky’s essay is well worth a read.


Further Reading