End-to-End Learning of Deep Visuomotor Policy for Needle Picking

Hongbin Lin, Bin Li, Xiangyu Chu, Qi Dou, Yunhui Liu, Kwok Wai Samuel Au · DOI

Abstract

Needle picking is a challenging manipulation task in robot-assisted surgery due to the characteristics of small slender shapes of needles, needles' variations in shapes and sizes, and demands for millimeter-level control. Prior works, heavily relying on the prior of needles (e.g., geometric models), are hard to scale to unseen needles' variations. In this paper, we present the first end-to-end learning method to train deep visuomotor policy for needle picking. Concretely, we propose DreamerfD to maximally leverage demonstrations to improve the learning efficiency of a state-of-the-art model-based reinforcement learning method, DreamerV2; Since Variational Auto-Encoder (VAE) in DreamerV2 is difficult to scale to high-resolution images, we propose Dynamic Spotlight Adaptation to represent control-related visual signals in a low-resolution image space; Virtual Clutch is also proposed to reduce performance degradation due to significant error between prior and posterior encoded states at the beginning of a rollout. We conducted extensive experiments in simulation to evaluate the performance, robustness, in-domain variation adaptation, and effectiveness of individual components of our method. Our method, trained by 8k demonstration timesteps and 140k online policy timesteps, can achieve a remarkable success rate of 80%. Furthermore, our method effectively demonstrated its superiority in generalization to unseen in-domain variations including needle variations and image disturbance, highlighting its robustness and versatility.

Introduction

In robot-assisted surgery (RAS), picking up a needle is a foundational but frustratingly difficult task. Needles are tiny, slender, and come in various curvatures and sizes. Traditionally, automating this requires "priors"—hand-crafted geometric models or specific visual markers that the robot tracks. These methods are brittle; if you change the needle shape or the lighting, the system often fails.

Deep Reinforcement Learning (DRL) offers a solution by learning directly from pixels to actions. However, "model-free" DRL is notoriously data-hungry, often requiring weeks of training on expensive hardware. "Model-based" DRL (like the state-of-the-art DreamerV2) is more efficient but struggles with the "needle in a haystack" problem: when you downsample a camera feed to the low resolution these models require, a tiny surgical needle practically disappears. This paper introduces DreamerfD to overcome these limitations.

Proposed Method: DreamerfD

DreamerfD builds upon the DreamerV2 architecture with three key innovations designed to improve data efficiency and precision.

1. Learning from Demonstrations (fD)

To jumpstart the learning process, the authors use a small set of demonstration data (8k timesteps). They incorporate a Behavior Cloning (BC) loss, which encourages the robot to mimic successful human-like movements early in training, significantly improving data efficiency.

2. Dynamic Spotlight Adaptation (DSA)

To solve the resolution problem, DSA acts like a "mini-map". Instead of looking at the whole blurry scene, the system segments the needle and gripper, crops the image around them, and resizes these "spotlights" into the input. This ensures the model always has a high-resolution view of the most critical areas.

3. Virtual Clutch

At the very start of a robot's movement (a "rollout"), the internal world model's guess about the state is often inaccurate. The "Virtual Clutch" keeps the robot idle for the first six timesteps, allowing the internal model to "sync" with actual visual observations before the agent starts issuing commands. This prevents the "catastrophic" jerky movements often seen at the start of RL rollouts.

DreamerfD System Architecture: Integrating DSA, fD, and Virtual Clutch within the DreamerV2 framework.

Experiments and Results

The study was conducted using the 2021-2022 AccelNet Surgical Robotics Challenge simulation platform. The model was trained using 8,000 timesteps of demonstrations and 140,000 online policy timesteps. Remarkably, the entire system was trained on a standard consumer laptop with a single RTX 3070 GPU in just 3 days.

Performance and Generalization

DreamerfD reached an 80% success rate, whereas the standard DreamerV2 baseline failed to converge within the same timeframe. The policy, trained only on standard needles, demonstrated robust generalization to unseen variations:

  • Small Needles: 84% success rate.
  • Large Needles: 68% success rate.
  • Irregular Shapes: ~75% success rate.
Needle picking task phases (left) and needle variations used for testing generalization (right).

Robustness

When tested with high noise in depth images, the success rate only dropped by 19%, showcasing much higher robustness than traditional feature-tracking methods.

Conclusion

DreamerfD is the first end-to-end learning framework specifically designed for surgical needle picking. By combining model-based RL with human demonstrations and clever visual spotlighting, the system achieves high success rates and generalizes to unseen needle shapes. Future work will address the reliance on color-based segmentation and the sim-to-real gap for deployment on physical surgical robots.

Summary updated

BibTeX
@inproceedings{lin2023end,
  author = {Hongbin Lin and Bin Li and Xiangyu Chu and Qi Dou and Yunhui Liu and Kwok Wai Samuel Au},
  title = {{End-to-End Learning of Deep Visuomotor Policy for Needle Picking}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2023},
  doi = {10.1109/iros55552.2023.10342194},
}
Figure