SHRDLU

On this page 7

SHRDLU was a natural language understanding program developed by Terry Winograd at the MIT Artificial Intelligence Laboratory between 1968 and 1970, which allowed a person to converse in ordinary English with a computer that controlled a simulated robot arm in a world of blocks. It could follow commands, answer questions about the scene, explain its own actions and learn new words, which made it one of the most celebrated demonstrations in AI history.

Its importance lies in integration. Earlier programs either matched surface patterns or handled isolated subproblems, while SHRDLU combined syntax, meaning, reasoning and memory in a single working system. It also became a lasting cautionary example, because its impressive fluency depended on a tiny, closed domain that could not be scaled to the real world.

How SHRDLU understood commands in the blocks world

SHRDLU operated in a simulated tabletop containing blocks, pyramids and a box, each with a color, size and position. A user typed sentences such as a request to pick up a red block or to place it inside the box, and the program parsed the sentence, determined what objects were meant, planned the arm movements and updated the graphical display.

The key design idea was that knowledge should be represented as procedures, not only as static facts. Words and grammatical structures were linked to small programs that checked conditions in the world model or triggered actions. This procedural view, argued in the thesis behind the system, contrasted with purely declarative logic representations popular at the time.

The program ran on a PDP-6 and later PDP-10 computer and was written in Lisp and Micro-Planner, a goal-directed language derived from Carl Hewitt’s Planner. Its odd name came from “etaoin shrdlu”, the sequence of keys on Linotype typesetting machines ordered by letter frequency.

Architecture of the program

SHRDLU was built from several cooperating modules that passed information back and forth rather than in a strict pipeline. The parser could consult the world model while still reading a sentence, which let it resolve ambiguity using knowledge of the current scene. The table below lists the main components.

ComponentFunctionNotable technique
Syntactic parserAnalyzed sentence structureSystemic grammar implemented as procedures
Semantic interpreterMapped phrases to objects and actionsProcedural word definitions
Deductive systemAnswered questions and planned goalsMicro-Planner backward chaining
World modelStored objects, positions and propertiesSymbolic scene description
Event memoryRecorded past actions and reasonsGoal history for explanations
Display and armShowed and executed actionsSimulated graphics, no physical robot
Main components of SHRDLU

The event memory was unusually advanced. Because SHRDLU recorded which goal caused each action, it could answer questions such as why it had moved a particular pyramid, tracing a chain of subgoals back to the original user request.

Capabilities demonstrated in the famous dialogue

The published sample conversation showcased a range of linguistic abilities that were remarkable for the period. Many of them remain standard benchmarks for dialogue systems today.

AbilityWhat the program didWhy it mattered
Pronoun resolutionLinked words such as “it” to earlier objectsRequired discourse context
Clarification questionsAsked which object was meant when unclearShowed awareness of ambiguity
Learning definitionsAccepted new terms such as a named structureExtended vocabulary during use
Explaining actionsGave reasons from its goal historyEarly form of explainability
Counting and comparisonAnswered quantity and size questionsCombined parsing with inference
Refusing impossible goalsExplained why a request could not be metChecked constraints before acting
Abilities shown in the SHRDLU sample dialogue

SHRDLU compared with other landmark systems

SHRDLU is often discussed alongside other milestones because each represents a different philosophy of machine intelligence. Comparing them clarifies what SHRDLU achieved and what it did not.

SystemPeriodApproachKey difference from SHRDLU
ELIZA1964 to 1966Keyword pattern matchingNo model of the world or meaning
SHRDLU1968 to 1970Integrated symbolic understandingReference point for this comparison
Shakey the robot1966 to 1972Planning with a physical robotReal sensors, limited language
Modern language modelsFrom 2018Statistical learning from textBroad coverage, no explicit world model
SHRDLU and related systems in AI history

Where ELIZA only appeared to understand, SHRDLU genuinely connected words to a model it could reason about. Modern large language models reverse the trade-off: they handle almost any topic but lack the explicit, inspectable world state that made SHRDLU’s answers verifiable.

Limitations and lasting influence

The central limitation was the closed microworld. Every object, property and action was known in advance, so ambiguity was rare and common sense was unnecessary. Attempts to extend the approach to richer domains ran into the combinatorial growth of hand-written knowledge, a problem later linked to the disappointments that preceded the first AI winter.

  • Brittleness: sentences outside the anticipated grammar or vocabulary often failed.
  • No learning from data: nearly all knowledge was programmed manually.
  • Hard to maintain: tightly interwoven procedures made the code difficult to modify.
  • Overstated impressions: demonstrations encouraged optimism that general understanding was near.

Its influence nevertheless proved durable. SHRDLU shaped research on dialogue systems, question answering and knowledge representation, and the term microworld became standard vocabulary. Its creator later became a prominent critic of symbolic AI, arguing that human understanding depends on social and practical context that no closed model can capture.

The short version

SHRDLU was a computer program from around 1970 that understood typed English about a toy world. The world held colored blocks and pyramids on a virtual table. You could ask it to stack them. You could ask what was in the box. It would answer, and it could even say why it had done something.

Imagine talking to a very smart assistant who only knows one small room. Inside that room, it seems brilliant. Step outside, and it knows nothing. SHRDLU showed real understanding, but only in a tiny world.

Where it makes a difference

A university course on natural language processing uses SHRDLU as a case study in its second week. Students first read the original sample dialogue, then examine a modern reimplementation of the blocks world written in a contemporary Lisp dialect. They test about fifty sentences, half from the original transcript and half invented by themselves.

The results are instructive. The program handles nearly all original sentences correctly, including pronoun references and clarification questions, but fails on most invented sentences that use unexpected phrasing or new object types. Students then pose the same requests to a modern chatbot, which answers flexibly but sometimes claims block positions that are impossible in the described scene.

The exercise makes the central lesson concrete: explicit world models give precision, while statistical models give coverage. Students leave with a clearer view of why current research tries to combine the two.