S3K: Self-Supervised Semantic Keypoints for Robotic Manipulation via Multi-View Consistency

Mel Vecerik, Jean-Baptiste Regli, Oleg Sushkov, David Barker, Rugile Pevceviciute, Thomas Rothörl, Christopher Schuster, Raia Hadsell, Lourdes Agapito, Jonathan Scholz

TL;DR

S3K (Self-Supervised Semantic Keypoints) is a semi-supervised framework that learns precise 3D semantic keypoints for robotic manipulation by enforcing geometric consistency across multiple camera views. With as few as 10 labeled images, the system can achieve 1-5 millimeter accuracy, enabling robots to perform complex tasks like inserting deformable cables or grasping specific parts of plush toys.

What Problem Does This Paper Address?

For a robot to perform high-precision tasks—like plugging a connector into a socket—it needs a visual representation that is both detailed and geometrically grounded. Traditional approaches usually fall into two camps:

  1. General-purpose representations: Techniques like image reconstruction or latent space smoothing often lack the fine-grained detail needed for precision.
  2. Heavy supervision: Methods using bounding boxes or segmentations require massive, manually annotated datasets, which is impractical for every new robotic task.

The authors argue that these models struggle because they lack explicit 3D geometric structure. S3K aims to bridge this gap by learning 3D keypoints that capture task-relevant geometry without requiring depth sensors or exhaustive manual labeling.

Methods

The S3K architecture consists of two main parts: a neural network that predicts 2D keypoint heatmaps and a 3D estimation layer that triangulates these into a 3D coordinate.

Figure 4: Diagram of the learning setup showing the supervised and the self-supervised paths. The model predicts location heatmaps for each camera and keypoint. To learn from annotations we need the keypoint to be labelled in at least 2 out of 4 cameras. Otherwise we use the coordinates and uncertainties from the model to estimate the keypoint locations instead. These 3D locations are then projected back to the camera frames and provide a learning target for the model via a KL-loss.
  • Network Architecture: A U-Net-like model (shown in Figure 5) processes images from multiple cameras. The weights are shared across all views, forcing the model to learn features that are invariant to the viewpoint.
  • Dual-Path Training:
    • Supervised Path: Uses a small number of 2D annotations. These are triangulated into 3D, then projected back to all camera frames to create target Gaussian heatmaps.
  • Self-supervised Path: This is the "secret sauce." For unlabeled images, the model uses its own current 2D predictions to estimate a 3D location. It then penalizes the network if the 2D predictions across different views don't reach a spatial consensus (multi-view consistency).
  • Confidence Weighting: The model calculates a "detection weight" based on the variance of the predicted heatmaps. This allows the system to ignore occluded views or low-confidence predictions during the 3D estimation process.

Datasets

The researchers evaluated S3K across several environments:

  • Simulated Box: A MuJoCo environment with a 3D scanned board game box to test data scaling.
  • Shoe Dataset: 16 training and 4 test shoe instances to evaluate category-level generalization (e.g., finding the "heel" of any shoe).
  • Real-Robot Plush Toys: A setup involving a plush fox and distractor toys to test robustness to clutter and deformation.
  • Cable Insertion: A real-world task involving a flexible audio cable and a vertical socket.

Key Insights and Ideas

  • Geometric Consensus as Supervision: The core "aha moment" is that multi-view geometry provides a powerful constraint. If four cameras look at a point, there is only one 3D coordinate where those rays can intersect. By forcing the model to agree on this 3D point, the need for human labels drops drastically.
  • Unlabeled Data is Nearly as Good as Labeled: The authors found a clear trend where, beyond a very small threshold of labels, adding unlabeled data improves accuracy almost as effectively as adding labeled data.
  • "Virtual" Keypoints: Unlike many texture-based methods, S3K keypoints don't have to be on the object's surface. They can be inside the object (e.g., the center of a paw), which is often more useful for defining grasp points.
  • Robustness to Occlusion: Because the model integrates context from a large receptive field, it can "guess" where a keypoint is even if the robot's gripper is physically blocking it from one or two camera views.

Key Results

  • Precision: The system achieves 1-5mm accuracy in 3D space.
  • Data Efficiency: In simulation, just 10 labeled samples (40 images total) were sufficient to train a high-performing model when supplemented with unlabeled data.
Figure 6: Comparing effects of dataset sizes on keypoint detection error on a simulated task. Each curve corre- sponds to a number of unlabelled datapoints.
  • Reinforcement Learning (RL): When used as a representation for RL, S3K significantly outperformed standard visual baselines. In the cable insertion task, the S3K-based agent reached a >95% success rate, while a $\beta$-VAE baseline plateaued around 60%.
  • Scripted Behavior: The authors successfully scripted a motor primitive to grasp a deformable plush fox by its paw, demonstrating that these keypoints are stable enough for direct control.

Limitations and Future Work

  • Calibration Dependency: The method relies on accurately calibrated cameras. If the cameras move or the calibration is off, the 3D triangulation fails.
  • Initial Grounding: While minimal, the system still requires a human to provide the initial "semantic" meaning of a keypoint (e.g., clicking on the "plug tip" in a few images).
  • Future Directions: The authors suggest moving toward methods that remove human grounding entirely, perhaps by supervising the keypoint discovery process purely through task success or demonstrations.

Summary updated

BibTeX
@inproceedings{vecerik2020s,
  author = {Mel Vecerik and Jean-Baptiste Regli and Oleg Sushkov and David Barker and Rugile Pevceviciute and Thomas Rothörl and Christopher Schuster and Raia Hadsell and Lourdes Agapito and Jonathan Scholz},
  title = {{S3K: Self-Supervised Semantic Keypoints for Robotic Manipulation via Multi-View Consistency}},
  booktitle = {Conference on Robot Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=n5XeMbo0pyn},
}
Figure