Traditional computer programming requires humans to translate their intentions into precise, rigid, and unforgiving artificial languages. This process is inherently unsituated—written away from the physical task—and non-interactive, lacking a natural feedback loop. In contrast, humans learn through apprenticeship: an apprentice attempts a task, encounters an impasse, and asks a mentor for a situated, natural language hint.
This 1993 paper from the University of Michigan introduces Instructo-Soar, an AI agent designed to bridge this gap. Built on the Soar cognitive architecture, Instructo-Soar learns new multi-step procedures by asking for simple English instructions when it gets stuck, transforming specific "do this" commands into flexible, reusable skills.
The Two-Stage Learning Process
Instructo-Soar operates by applying "operators" to reach goals. When the agent lacks the knowledge of which operator to apply next, it hits an "impasse" and triggers a request for instruction. The core innovation of the system is its two-stage learning process:
- First Execution (Rote/Episodic Learning): When initially instructed (e.g., "Pick up the red block"), the agent does not yet understand the underlying "why" or the ultimate goal of the sequence. It simply follows the instructions step-by-step, recording them into an episodic memory. Once the sequence is complete, it uses a simple heuristic—comparing the initial state to the final state—to induce the "goal" of the procedure.
- Later Executions (Analytic Generalization): When tasked with performing the procedure again, the agent recalls the episodic instructions. However, instead of blindly repeating them, it employs Explanation-Based Learning (EBL). The agent internally simulates the steps to understand how they causally lead to the goal. This allows it to create generalized rules, or "chunks," stripping away irrelevant details (like a block's specific color) so the skill can be applied to novel situations.
Experimental Setup
The system was primarily evaluated in a simulated Robotic Block Manipulation domain, where a robotic arm moves blocks between tables, manages spatial relationships, and operates a gripper. A secondary evaluation involved a simple flight simulation domain.
The agent was tested using a sequence of 24 natural language instructions (comprising 14 unique sentences) to teach it completely new procedures.
Key Insights and Results
Instructo-Soar successfully learned four completely new complex operators and extended several existing ones from its limited instruction set.
- Situatedness as a Disambiguator: The authors found that being "in the moment" simplifies natural language processing. The physical context allows the agent to resolve references like "the block" without requiring overly complex linguistic models.
- Learning the "Goal Concept": Unlike contemporary "learning apprentice" systems that required pre-defined goals, Instructo-Soar autonomously attempts to deduce the goal of a procedure by observing environmental changes after the instructions conclude.
- The Power of Hierarchy: The system learns a hierarchy of operators. Mastering a sub-task (like "move arm up") accelerates the learning of a complex task (like "pick up block"). The paper notes that hierarchical instruction mathematically reduces the number of executions needed for full generalization from $N$ to $\sqrt{N}$.
- Knowledge Compilation: From just 24 instructions, the system generated 1,357 generalized "chunks." These learned rules covered everything from natural language mapping to operator preconditions.
Furthermore, the agent's performance improvement mirrored the Power Law of Practice, a standard psychological observation where task execution time decreases predictably with repetition. Once generalized, the agent exhibited flexibility, successfully completing tasks even if the environment changed dynamically (e.g., if another agent moved a target block).
Limitations and Future Directions
While groundbreaking for its time, Instructo-Soar has notable limitations:
- Simplistic Inductive Bias: The method for guessing the goal by comparing start and end states is fragile. It risks assuming that accidental background changes are part of the task's success criteria.
- Limited Linguistic Scope: The system primarily processes positive imperative sentences ("Do X"). Handling negative constraints ("Don't drop the block"), conditionals ("If it's red, do X"), and continuous monitoring conditions remains a challenge.
- Dependency on Domain Theory: The Explanation-Based Learning process relies heavily on the agent understanding how its primitive actions affect the world. If this basic domain knowledge is lacking, EBL fails, and the agent is forced to revert to rigid, rote learning.
Despite these constraints, Instructo-Soar remains a compelling early demonstration of how interactive, situated natural language can be used to teach AI agents flexible, generalized skills in a human-like manner.
Summary updated