Source-linked AI summary

Combining Self-Supervised Learning and Imitation for Vision-Based Rope Manipulation

Ashvin Nair, Dian Chen, Pulkit Agrawal, Phillip Isola, Pieter Abbeel, Jitendra Malik, Sergey Levine

arXiv:1703.02018v1cs.CVcs.LGcs.RO

TL;DR

Deformable-object manipulation remains difficult because rope behavior and visual configurations are challenging to model. The paper learns a self-supervised image-based inverse dynamics model from autonomous robot interactions and combines it with human-provided image sequences as high-level guidance. The system manipulates ropes into varied target shapes, while its current scope does not extend to learning new objects solely from watching demonstrations.

  • Problem

    Deformable-object manipulation is challenging because rope behavior and configurations are difficult to model reliably.

  • Method

    The robot learns an image-based inverse dynamics model through self-supervision and uses step-by-step human demonstrations to guide multistep rope manipulation.

  • Results

    The system successfully manipulates ropes into a variety of target shapes using human-provided image sequences, and successfully ties knots 38% of the time.

  • Takeaways & Limitations

    Combining high-level human direction with a learned low-level dynamics model enables visual imitation of varied rope manipulations.

  • Takeaways & Limitations

    The current approach cannot learn to manipulate new objects exclusively by watching human demonstrations because its predictive model is learned from the robot’s own experience.

Abstract

from arXiv · show

Manipulation of deformable objects, such as ropes and cloth, is an important but challenging problem in robotics. We present a learning-based system where a robot takes as input a sequence of images of a human manipulating a rope from an initial to goal configuration, and outputs a sequence of actions that can reproduce the human demonstration, using only monocular images as input. To perform this task, the robot learns a pixel-level inverse dynamics model of rope manipulation directly from images in a self-supervised manner, using about 60K interactions with the rope collected autonomously by the robot. The human demonstration provides a high-level plan of what to do and the low-level inverse model is used to execute the plan. We show that by combining the high and low-level plans, the robot can successfully manipulate a rope into a variety of target shapes using only a sequence of human-provided images for direction.

I. INTRODUCTION

The paper addresses difficult deformable-object manipulation by combining autonomous self-supervised learning of rope dynamics with high-level human demonstrations. The robot uses image sequences to determine what to do and a learned inverse model to determine how to execute it.

  • Motivation: Deformable-object manipulation is challenging because ropes and cloth shift unpredictably and lack readily usable rigid-object pose representations.Open-loop strategies and direct model identification are difficult to apply reliably.
  • Approach: The robot learns a goal-directed inverse dynamics model from large amounts of autonomously collected interaction data using self-supervision.The model predicts an action from current and goal images.
  • Approach: Human demonstrations provide high-level guidance, while the learned model predicts low-level actions for following the demonstrated rope trajectory.The demonstration consists of step-by-step images from an initial to a goal configuration.
  • Approach: The method uses raw rope images and deep convolutional neural networks instead of an explicit parameterization or manually specified kinematic model.This preserves representational flexibility for deformable-object variability.
  • Evaluation: The system was evaluated on a Baxter robot using over 500 hours of real-world rope manipulation data and demonstrated manipulation into varied target shapes.The data were collected autonomously without human intervention.

II. RELATED WORK

Prior work addressed deformable manipulation with engineered models, planning, registration, and demonstrations, often targeting specific objects or tasks. This paper instead combines visual human guidance with a learned predictive model for general rope configurations and autonomous data collection.

  • Prior approaches: Earlier deformable-object systems used finite-element models, hand-engineered representations, motion planning, fixtures, tactile feedback, and direct imitation.These approaches include rope manipulation, knot tying, towel folding, and surgical suturing.
  • Positioning: Unlike rope-specific knot planners, the system manipulates ropes into general configurations without requiring rope-specific knowledge.The authors describe this as generalizable to other deformable objects.
  • Learning from demonstration: Learning from demonstration transfers expert observations and motor trajectories, but broad task coverage requires demonstrations for many tasks.The cited learning-from-demonstration paradigm builds a policy from expert examples.
  • Positioning: Unlike rigid-object imitation systems, this work targets the harder problem of manipulating a deformable rope from visual demonstrations.The method also lets the robot collect data to build a predictive action model.

III. EXPERIMENTAL SETUP

Experiments use a single-arm Baxter robot with RGB-D perception to manipulate a clamped rope through a pick-and-drop primitive. Autonomous data collection samples rope locations and periodically resets the workspace.

  • Hardware and scene: The Baxter robot manipulates a clamped rope on a table using one arm, a parallel-jaw gripper, and RGB input from a Kinect camera.The rope’s other end is attached to a table clamp.
  • Action space: Each interaction uses one primitive: pick the rope at an image location and drop it at another location.The primitive is parameterized by pick and drop coordinates.
  • Data collection: The robot collects self-supervised data by sampling pick points uniformly from a Kinect-segmented rope region and selecting a displacement for the drop point.Segmenting the rope avoids choosing image locations away from the object.
  • Data collection: The robot resets after every 50 actions or when fewer than 1000 rope pixels remain in its workspace.These resets support continuous autonomous collection when the rope falls or drifts out of reach.

IV. METHOD FOR ROPE MANIPULATION

The method learns an inverse dynamics model that maps consecutive rope images to actions, then uses the model to reproduce multistep human demonstrations. Its learned image features organize visually similar rope configurations together.

  • Imitation: A human demonstration is represented as an image sequence, and the robot executes actions that transform each image state into the next.The task is decomposed into successive transitions across the demonstrated sequence.
  • Representation: A t-SNE visualization shows similar rope configurations near one another in the learned image-feature space.The caption interprets this organization as meaningful variation in rope shape.
  • Inverse dynamics: The inverse dynamics model takes current and next rope images as inputs and predicts the action relating those states.The action is denoted u_t for images I_t and I_t+1.
  • Model: A convolutional neural network learns the inverse model from image observations.The paper describes the model as operating directly on visual inputs.

B. Self-Supervised Learning of the Inverse Model

The inverse model uses a two-stream CNN to predict rope-manipulation actions from image pairs, with discretized action components trained on autonomously collected interactions.

  • Architecture: A shared-weight two-stream network maps each image to a latent representation, concatenates the pair, and predicts the action.The streams use C96-C256-C384-C384-C256-C200 layers, followed by an F200-F200 joint subnetwork.
  • Action representation: The action tuple (p_t, θ_t, l_t) represents location, direction, and length, respectively.Location uses a 20×20 grid, while direction and length use 36 and 10 bins.
  • Action representation: Action prediction is formulated as classification to simplify training and represent multiple actions that can reach the same final configuration.The joint distribution is decomposed as P(p_t)P(θ_t|p_t)P(l_t|θ_t,p_t).
  • Training: Approximately 60K autonomously collected before-and-after image pairs train the inverse model, with 2.5K pairs reserved for validation.The convolutional layers initially use frozen pretrained AlexNet weights before later optimization with Adam.

C. Imitating Human Demonstration

The robot follows a human’s multistep visual demonstration by repeatedly using the learned inverse model to achieve each successive target image.

  • Demonstration guidance: Human demonstrations provide a sequence of images depicting each stage of manipulation toward a desired rope configuration.This supplies higher-level guidance for chaining otherwise small rope deformations.
  • Execution: At each step, the inverse model receives the robot’s current image and the corresponding demonstration image, then predicts and executes an action.The process repeats iteratively for T time steps.
  • Execution: If the predicted pick location misses the rope, rope segmentation supplies the closest point on the rope for execution.This correction is applied to the pick primitive.

D. Active Data Collection

The system biases autonomous data collection toward useful rope configurations and evaluates reconfiguration across increasingly complex target shapes using qualitative and quantitative comparisons.

  • Active Data Collection: Randomized collection may undersample complex configurations, so a goal buffer of 50 manually arranged rope images biases training toward interesting goals.A model trained on 30K random data points selects buffer images as goals and predicts actions toward them.
  • Evaluation: Figure 4 compares demonstration-image sequences with achieved robot states, using blue arrows to show executed pick locations and directions.The qualitative examples cover W, S, L, and knot configurations.
  • Evaluation: The robot is evaluated on reconfiguring ropes into L, S, W, and knot target configurations.These targets vary in complexity.
  • Evaluation: Performance is measured by mean pixel distance between TPS-RPM-aligned rope segmentations in the demonstrated and achieved image sequences.Lower configuration distance indicates closer reproduction of the human trajectory.

A. Baseline

The evaluation compares the learned approach with hand-engineered and nearest-neighbor alternatives, including a version that receives only initial and goal images without imitation.

  • Hand-Engineered baseline: The hand-engineered baseline segments ropes, registers them with TPS-RPM, and moves the rope from its largest deformation point toward the corresponding target point.The largest-distance point may be an outlier.
  • Nearest-neighbor baseline: The nearest-neighbor baseline finds a training image pair closest to the current and target image pair using downsampled raw-RGB Euclidean distance.It then executes the ground-truth action associated with that training sample.
  • No Imitation baseline: The no-imitation baseline repeatedly predicts actions from the robot’s current image and the final goal image, omitting intermediate demonstration images.It repeats this process for the same number of steps as the human demonstration.

VI. RESULTS

The learned inverse-dynamics method reconfigures ropes into varied shapes and outperforms several baselines, with performance improving as training data increases. It also ties knots, although the comparison between active and random sampling remains unresolved.

  • The robot reconfigured the rope into many different shapes using the learned inverse dynamics model.
  • The robot was more accurate when the rope was not bent sharply.
  • The proposed method outperformed hand-engineered, nearest-neighbor, and no-imitation baselines across target configurations.Performance was measured by TPS-RPM distance, where lower values indicate better performance.
  • A. Scaling with amount of data: A 60K-point model significantly outperformed a 30K-point model for rope-shape manipulation and knot tying.The 60K dataset combined 30K randomly sampled and 30K actively sampled points.
  • A. Scaling with amount of data: The method tied knots successfully in 38% of trials.The reported success counts were 19/50 with imitation and 11/50 without imitation for the 60K model.
  • A. Scaling with amount of data: The authors could not determine how useful active sampling was relative to random sampling because 60K randomly collected training points were unavailable.

B. Importance of Imitation

Human demonstrations materially improve rope manipulation by supplying intermediate targets, while generalization to other ropes is limited to simpler configurations and depends on the visual setting.

  • B. Importance of Imitation: Providing only initial and final images produced significantly worse performance than providing the full human demonstration sequence.
  • B. Importance of Imitation: Imitation increased knot-tying success from 11/50 trials without imitation to 19/50 trials with imitation.
  • C. Generalization to other ropes: The model configured stiffer white and thinner black ropes into relatively simpler L and S shapes.
  • C. Generalization to other ropes: The white rope was unsuccessful for more curvy W and knot configurations, possibly because its stiffness prevented the required bending.
  • C. Generalization to other ropes: Changing the background from green to white caused unsuccessful rope manipulation after training on a single background.The authors expected diverse-background training data to improve generalization to novel backgrounds.

VII. DISCUSSION AND FUTURE WORK

The method combines autonomously learned rope dynamics with step-by-step human images to manipulate ropes into varied shapes. Its current scope is limited by dependence on robot experience and relatively narrow data collection.

  • The learned model predicts actions from current and target rope images, while human demonstrations provide step-by-step guidance for varied manipulations.The experiments indicate that this combination can arrange ropes into different shapes using only high-level demonstration images.
  • The approach cannot currently learn to manipulate new objects exclusively from human demonstrations because its predictive model is learned from the robot’s own experience.The authors identify broader cross-object data collection and correspondence with prior manipulations as possible future directions.
  • The experiments are limited in scope by the amount of data collectable on a single robotic platform, with most using one rope and one background.The authors suggest that substantially more robot-hours and greater variety of ropes and environments could improve generalization.
  • Although the model manipulates new ropes with different material and texture properties into simple configurations, it fails on more complex configurations.
Loading 1703.02018v1…