The Use of Vision and Manipulation to Solve the "Instant Insanity" Puzzle

Jerome A. Feldman, Karl K. Pingle, Thomas O. Binford, Gilbert Falk, Alan C. Kay, R. Paul, Robert F. Sproull, Jay M. Tenenbaum

Introduction

This landmark 1971 paper from the Stanford Artificial Intelligence Project (SAIL) describes one of the first integrated systems capable of sophisticated "hand-eye" coordination. By tackling the "Instant Insanity" puzzle, researchers demonstrated a significant leap toward general-purpose robotics, combining computer vision, associative world modeling, and automated physical manipulation.

The Challenge of Generality

In the early 1970s, AI programs were typically "brittle"—highly specialized scripts that lacked flexibility. The authors sought to move toward generality by solving a non-trivial physical task.

The "Instant Insanity" puzzle consists of four cubes with faces of different colors (red, blue, green, and white). The goal is to stack the cubes so that each of the four sides of the resulting tower displays all four colors. Solving this requires a robot to execute a complex pipeline: locating objects, identifying 3D shapes, perceiving color, reasoning about a combinatorial solution, and performing precise physical movements.

Modular System Architecture

To overcome the memory limitations of the PDP-10 computer, the authors developed a modular software architecture. The system was partitioned into eight distinct "jobs" coordinated by a central monitor.

Modular software architecture of the SAIL robotic system.
  • World Modeling (LEAP): An associative processing language called LEAP maintained a global "world model." Data was stored as "triples" (e.g., COLOR OF CUBE IS RED), enabling seamless information sharing between modules.
  • Vision Pipeline: A TV camera equipped with a four-position color wheel (red, green, blue, and neutral filters) captured images. An "Edge Follower" traced outlines, while a "Body Recognizer" matched these against 3D prototypes to confirm the objects were cubes.
  • Manipulation: The system utilized a "Rancho Los Amigos" arm. Software calculated inverse kinematics (the "Arm Solution") to determine the six joint angles required for grasping and stacking.
  • Puzzle Logic: Instead of brute-force searching, the system used a heuristic algorithm with a 10x10 lookup table of face-pair encodings to find solutions efficiently.

Key Insights and Innovations

  • Multitasking for Memory Management: Swapping smaller programs in and out of "core" memory allowed the system to exceed the physical hardware's limitations.
  • The "World Model": Using a central, associative database (LEAP triples) allowed the vision and arm systems to interact without being rigidly hard-coded together—a precursor to modern robotic middleware like ROS.
  • Handling Degenerate Views: If the vision system could not identify a cube due to its orientation, the control program commanded the arm to rotate the cube 45 degrees to attempt a new scan.
  • Open-Loop Execution: The system was largely "open-loop" during movement, meaning it did not use real-time visual feedback. To compensate, the arm would close its fingers after a move to "feel" if the cube was successfully grasped.

Results and System Flow

The system successfully automated the entire problem-solving loop, from initial perception to final physical execution.

Flowchart of the system's decision-making and execution loop.
  1. Perception: It located four cubes and identified the colors of all 24 faces by using the arm to manipulate and turn the cubes.
  2. Reasoning: It calculated the correct orientation for the stack based on the perceived face colors.
  3. Action: It physically stacked the cubes into a stable, solved tower.

The system was designed with error recovery in mind; for instance, it could rescan the table if a cube was dropped during the process.

Limitations and Future Directions

Despite its success, the system faced several constraints:

  • Hardware: The Rancho arm was relatively slow and lacked high precision.
  • Visual Servoing: The lack of real-time tracking meant the system relied on a known "ground plane" (the table).
  • Occlusion: The "Simple Body Recognizer" required fully visible outlines and could not process overlapping objects.

Future work aimed to implement a "Complex Body Recognizer" for occluded objects and integrate visual feedback to improve stacking accuracy.

Summary updated

BibTeX
@inproceedings{feldman1971use,
  author = {Jerome A. Feldman and Karl K. Pingle and Thomas O. Binford and Gilbert Falk and Alan C. Kay and R. Paul and Robert F. Sproull and Jay M. Tenenbaum},
  title = {{The Use of Vision and Manipulation to Solve the "Instant Insanity" Puzzle}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1971},
}
Figure