MURPHY: A Robot that Learns by Doing

Bartlett W. MelNeurIPS 1987

Introduction

In traditional robotics, directing a robot arm to reach a visual target typically requires solving "inverse kinematics"—mathematically intense equations that map 3D coordinates back to specific joint angles. This approach is notoriously difficult and highly dependent on the exact geometry of the robot and camera. Furthermore, most AI learning paradigms of the late 1980s—supervised, unsupervised, or reinforcement learning—did not adequately capture how biological systems, like infants, learn to control their bodies.

Bartlett Mel's 1988 connectionist system, MURPHY, introduced a pioneering paradigm called "learning by doing." By building a bi-directional internal model through autonomous exploration, the robot can "mentally" simulate actions to plan reaching trajectories or "imitate" visual movements without needing an explicit teacher or complex kinematic equations.

Connectionist Architecture

MURPHY, utilizing a Rhino XR-3 arm and a JVC camera, relies on a connectionist architecture consisting of two main populations of "neuron-like" units:

  • Visual Units: A 64x64 grid (4,096 units) that represents the camera's field of view.
  • Joint Units: 273 units representing the angles of the shoulder, elbow, and wrist.
MURPHY's Connectionist Architecture

The system incorporates several key technical innovations to make learning tractable. Instead of one unit representing one exact point, units use coarse-coding with overlapping "receptive fields." This allows the system to interpolate between known points, enabling it to learn smooth, non-linear mappings with very few training samples.

Additionally, unlike standard neural networks that simply sum inputs, MURPHY uses Sigma-Pi units with multiplicative "conjunctive" weights. It learns to recognize specific global arm configurations by memorizing which combinations of joint units are active when a visual feature appears. Finally, the network learns a bi-directional mapping: a forward model allows "envisioning" (predicting where the arm will be given joint angles), while the inverse model allows "imitation" (predicting joint angles given a visual state).

Autonomous Training

Because this is an early example of embodied AI, there is no static, pre-compiled dataset. Instead, the training data is generated by the robot itself. The robot spends about one hour moving its arm to develop roughly 500,000 weights, sampling approximately 4,000 representative joint configurations from a massive total space of 1 billion possibilities. The visual input consists of 512x512 video frames, thresholded to track white spots placed on the robot arm.

Mental Simulation and Planning

A core insight of MURPHY is that physical systems are continuous; small changes in joints lead to small changes in vision. Because of this continuity, deep, multi-layer networks or complex back-propagation are unnecessary. A single layer of modifiable weights is sufficient.

Rather than moving the physical arm blindly and potentially hitting obstacles, MURPHY performs a "best-first search" within its internal mental model. It "imagines" different joint movements until it finds a path where its "mental hand" touches the target, and only then executes that path in one physical motion.

Visual and Mental Traces of the Robot Arm

To improve efficiency, the system uses a heuristic to "extrapolate" and prune its network. If a visual unit is consistently active regardless of what the wrist is doing, it learns to ignore the wrist joint for that specific mapping, effectively simplifying its own internal representation.

Results and Limitations

After just one hour of self-exploration, MURPHY successfully guided its arm to visually presented targets. Despite the massive potential state space, the system generalized effectively from only 4,000 samples. Through its extrapolation heuristics, MURPHY eliminated between 30% and 70% of its learned conjuncts, creating a highly compact internal model.

However, the system had notable limitations. The "best-first search" used for planning is a relatively weak method for complex problem-solving and can get stuck in local minima. Furthermore, the model only learns static configurations and does not account for arm dynamics like velocity, acceleration, or momentum. While the forward model worked well for planning, the inverse model used for imitation was still somewhat unreliable. Future directions suggested adding direction-selective units (velocity sensors) to allow the robot to understand how to perturb its joints to move in a specific visual direction, bypassing the need for exhaustive search.

Summary updated

BibTeX
@inproceedings{mel1987murphy,
  author = {Bartlett W. Mel},
  title = {{MURPHY: A Robot that Learns by Doing}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1987},
}
Figure