RoboPEPP: Vision-Based Robot Pose and Joint Angle Estimation through Embedding Predictive Pre-Training

Raktim Gautam Goswami, Prashanth Krishnamurthy, Yann LeCun, Farshad Khorrami

Abstract

RoboPEPP is a novel framework that estimates both a robot's 3D pose and its internal joint angles from a single RGB image. By using a self-supervised "joint-masking" pre-training strategy, the model learns the underlying physical structure of the robot, leading to state-of-the-art accuracy and unprecedented robustness to occlusions.

Introduction

In the field of collaborative robotics, "human-friendly" systems must accurately determine their own 3D pose and internal configuration to operate safely alongside people. Traditionally, this relies on internal joint encoders and external markers. However, encoders can fail or be unavailable in some systems, and markers are often impractical in unstructured environments.

Estimating both 6D pose (position and orientation) and joint angles from a single monocular camera presents a "chicken and egg" problem: pose estimation typically requires known joint angles, and joint estimation is simplified by a known pose. Existing deep learning approaches often struggle when parts of the robot are hidden (occlusions) or cut off by the camera frame (truncations). RoboPEPP addresses this by teaching neural networks to "understand" robot anatomy through a self-supervised learning paradigm rather than simple pixel memorization.

Methodology

The RoboPEPP framework utilizes a two-stage training pipeline designed to capture the spatial relationships and physical constraints of robotic systems.

1. Embedding Predictive Pre-Training

Inspired by the Joint-Embedding Predictive Architecture (JEPA), the first stage involves masking regions of the input image specifically around the robot's joints. An encoder-predictor pair is trained to predict the mathematical embeddings of these masked regions based on the surrounding visible structure. This "anatomy-aware" masking acts as a structural prior, forcing the model to learn the physical rules of the robot's construction.

2. Fine-Tuning for Estimation

The pre-trained model is then equipped with two specialized heads for downstream tasks:

  • Joint Net: An iterative module that refines predicted joint angles.
  • Keypoint Net: A module that generates 2D heatmaps to locate joints within the image frame.
The RoboPEPP architecture showing (a) the embedding predictive pre-training stage with joint-specific masking and (b) the downstream pose and joint angle estimation pipeline.

To enhance robustness, random masking is applied during fine-tuning to simulate real-world occlusions. During inference, a confidence-based filtering mechanism discards uncertain keypoints—such as those that are off-screen or heavily occluded—before calculating the final pose using the Perspective-n-Point (PnP) algorithm.

Experiments and Results

The researchers evaluated RoboPEPP on the DREAM dataset, a standard benchmark featuring industrial robots like the Franka Emika Panda, Kuka iiwa7, and Rethink Baxter. The evaluation included synthetic domain-randomized images, photo-realistic simulations, and diverse real-world sequences.

Key Performance Metrics

  • State-of-the-Art Accuracy: RoboPEPP achieved the highest Area-Under-the-Curve (AUC) on the ADD metric (average distance between predicted and ground truth joint positions) across nearly all test sequences, outperforming previous leaders like HPE and RoboPose.
  • Joint Prediction: The model reduced the mean absolute error of joint angle predictions by over 15% compared to the next best method.
  • Real-Time Efficiency: The model is highly efficient, completing a full inference pass in just 23 milliseconds on a standard GPU.
Visualization of joint heatmaps. The model produces high-confidence peaks for visible joints (e.g., Joint 5) while maintaining lower peak values for ambiguous or occluded regions like the end-effector, enabling robust filtering.

Robustness to Occlusion

A significant insight of the study is the model's resilience to missing data. Even when 40% of the robot's region of interest was occluded, RoboPEPP maintained an AUC of 35.1. Competitors' performance dropped significantly lower under similar conditions. This robustness is attributed to the combination of anatomy-aware pre-training and the filtering of low-confidence keypoints.

Conclusion

RoboPEPP demonstrates that self-supervised pre-training focused on physical structure significantly improves monocular robot state estimation. While the method currently requires a known kinematics model and faces typical monocular depth ambiguities, it provides a robust foundation for real-time robotics applications. Future work may extend this embedding-predictive approach to other tasks such as system dynamics prediction and imitation learning.

Summary updated

BibTeX
@inproceedings{goswami2025robopepp,
  author = {Raktim Gautam Goswami and Prashanth Krishnamurthy and Yann LeCun and Farshad Khorrami},
  title = {{RoboPEPP: Vision-Based Robot Pose and Joint Angle Estimation through Embedding Predictive Pre-Training}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.00650},
}
Figure