Robust Surgical Instrument Tracking with Sim-to-Real Self-Training

Preprint · Publication entry · GitHub release pending

Feature-based tracking can estimate surgical instrument pose quickly, but a detector trained in simulation can struggle with unfamiliar backgrounds and partial occlusion. In this work with Zekai Liang, Florian Richter, and Michael C. Yip, we use the tracker’s own estimates to adapt the detector to real endoscopic video without manually labeling that footage.

A detector predicts keypoints, shaft edges, and masks. A filter and smoother combine those cues with robot kinematics, and the estimated trajectory provides labels for fine-tuning.

Self-training workflow from Figure 2 of the preprint (CC BY 4.0).

How the tracker generates training labels

We first train a detector on rendered images. On unlabeled real video, an extended Kalman filter combines detected keypoints, shaft edges, and mask cues with robot joint measurements to estimate the instrument’s pose and visible joint angles. An offline smoother refines the trajectory using the full sequence. We then project the instrument back into each frame to generate labels for fine-tuning the detector.

Tracking results

Self-training improved every keypoint metric we evaluated on real video. On 16 SurgPose test trajectories, the online tracker used keypoints and shaft edges and reached 179 frames per second, compared with 29 for our earlier rendering-based tracker. Mean keypoint reprojection error dropped from 20.5 to 9.2 pixels in the same comparison.