From one demonstration to a contact policy: constraints and transitions

A drawer guides a pulling motion through its prismatic joint. Its handle provides a visual target for approach, and its end stop marks the end of opening. A demonstration of the whole task contains all of these interactions, but the exact recorded hand path belongs to one drawer in one pose.

The environmental-constraint approach in From a Single Demonstration to a General Policy for Contact-Rich Manipulation extracts a different reusable object: a sequence of behaviors that exploit environmental constraints, connected by changes in those constraints. One human demonstration provides the initial structure. Autonomous robot exploration supplies additional interaction data, targeted corrective demonstrations can extend the structure, and compliant feedback adapts execution to the current object.

That division of work explains what the method aims to transfer. The reusable policy can express “follow this joint until the next constraint appears,” while the particular joint geometry and contact locations are resolved through interaction with the task instance.

A constraint supplies a reference during execution

Section III-A defines an environmental constraint, or EC, as an environmental feature that can provide a reference value for a behavior-generating controller. Examples include surfaces, edges and articulated joints. Visual features can also supply references for visual servoing.

The reference is obtained from sensor data during execution. For a drawer, the handle’s visual features guide the approach to a grasp pose. Once the robot grasps the handle, the drawer’s prismatic joint guides the pulling motion. The stop at full opening provides another environmental constraint and marks when that motion should end.

This is a useful form of task structure because objects with similar functions often share an articulation pattern. The exact drawer location and opening distance may change while the pattern of approach, constrained motion and stopping remains recognizable.

Consider a hypothetical pair of drawers, one shallow and one deep, mounted at different heights. Replaying the same Cartesian path would embed the first drawer’s position and travel distance in the second attempt. A policy built around the handle reference, the prismatic motion and the end stop can recover those instance-specific values while performing the task. The shared structure tells it what kind of relationship to follow; interaction supplies the particular geometry.

Nodes describe behavior; edges describe constraint changes

Section III-B represents the policy as a hybrid automaton. Its discrete nodes are environmental-constraint exploitation controllers, implemented as parameterized manipulation primitives. Within a node, a controller generates continuous motion according to the directions allowed and constrained by the relevant EC. Directed edges specify when to switch primitives.

The transition events are the establishment of a new constraint or the removal of the currently exploited one. This makes the graph more informative than a timestamped sequence of poses. It records the environmental event that changes which behavior is appropriate.

The drawer example can be read through these roles:

Part of the task Reference used by the behavior Change that matters
Approach the handle Current visual handle features Establish the grasp needed for pulling
Pull the drawer Motion allowed by the prismatic joint Encounter the drawer’s opening stop
Finish opening The newly encountered stop End the pulling phase

This table is a conceptual reading of the paper’s drawer example, rather than a supplied controller configuration. The exact detection and parameterization belong to the implementation. The representation itself preserves EC types and transitions while leaving out the demonstration’s exact Cartesian trajectory and local geometric parameters.

A door handle illustrates why that distinction is useful. The paper notes that different handles can require different rotation angles before the door can be opened. The transferable behavior is to rotate until the door becomes pullable. That event defines the transition more generally than copying one demonstrated angle.

Active augmentation resolves what the path leaves ambiguous

A single motion trace may be compatible with several environmental constraints. Humans familiar with a task often complete it efficiently, producing little exploratory force or moment information. The recorded path can therefore be a good example of task completion while still containing too little evidence to identify the contact structure.

The method addresses this with augmentation: the robot replays the demonstrated trajectory while adding exploratory motions around it. These interactions generate further information about the constraints and their transitions. The demonstration guides where to investigate; the robot obtains the missing interaction evidence.

For a hypothetical illustration, a straight movement could follow a physical rail, or it could be a freely chosen straight path across a surface. The shape of the movement alone does not identify which directions the environment permits. Interaction around the path can reveal the constrained directions and help distinguish those possibilities.

Augmentation thus adds robot experience to the initial human example. In the paper’s separation, it completes the EC description within the existing overall policy structure. That is a different operation from adding a new branch or a new primitive to handle a previously uncovered task variation.

Corrective demonstrations change the structure

Some variations require a behavior that the original sequence never contained. Section III-D introduces corrective demonstrations for these cases. The policy is compositional, so a correction can be incorporated as an additional EC primitive rather than replacing the whole learned policy.

These stages change different parts of the policy. Augmentation identifies incomplete constraint information within the original structure. Runtime feedback adapts a suitable primitive to the current geometry. A corrective demonstration adds behavior needed for a task variation that the existing structure does not cover.

The resulting data budget therefore has several components: the initial human demonstration, autonomous augmentation interactions, and any later corrective demonstrations. Keeping those components visible helps explain how the policy was obtained and which new task variations required additional instruction.

Compliant feedback fills in the current object’s details

The final stage recovers the object pose, contact locations and local geometry needed to parameterize execution. Section III-E uses compliant control so the robot can adapt motion to encountered constraints. Force and motion feedback update the internal EC model online.

This places the abstraction at a specific level. The learned graph says which constraint-exploiting behavior should be active and what transition comes next. The controller and sensory feedback determine how that behavior follows the current object’s constraint. Exact geometric details removed from the demonstration representation re-enter through this runtime loop.

For readers moving from this representation to an assembly controller, the peg-in-hole force-control guide explains how contact, search and insertion states relate to force and motion observations. The present method addresses how a demonstration supplies a reusable structure for such behaviors, with exploration and corrections completing the policy.

This article interprets the paper’s methodology; no demonstration collection, controller or robot trial was performed. Its central technical idea is the separation of three things: the constraint-transition structure retained from teaching, the additional interactions that identify or extend that structure, and the feedback that adapts each execution to the current object. That separation makes a “single demonstration” a starting point for a contact policy whose later information requirements remain explicit.