Abstract
We introduce a novel formulation for incorporating visual feedback in controlling robots. We define a generative model from actions to image observations of features on the end-effector. Inference in the model allows us to infer the robot state corresponding to target locations of the features. This, in turn, guides motion of the robot and allows for matching the target locations of the features in significantly fewer steps than state-of-the-art visual servoing methods. The training procedure for our model enables effective learning of the kinematics, feature structure, and camera parameters, simultaneously. This can be done with no prior information about the robot, structure, and cameras that observe it. Learning is done sample-efficiently and shows strong generalization to test data. Since our formulation is modular, we can modify components of our setup, like cameras and objects, and relearn them quickly online. Our method can handle noise in the observed state and noise in the controllers that we interact with. We demonstrate the effectiveness of our method by executing grasping and tight-fit insertions on robots with inaccurate controllers.
Introduction
In traditional robotics, visual servoing—the use of camera data to guide a robot—typically requires two prerequisites: an accurate kinematic model of the robot and precisely calibrated cameras. If a camera is bumped or a robot joint experiences mechanical wear, the system often fails, requiring a manual recalibration routine involving specialized sensors and checkerboards.
Furthermore, standard methods like Image-Based Visual Servoing (IBVS) rely on local models (Jacobians) that only understand how small movements affect the image, often leading to inefficient, zig-zagging paths toward a target. This paper presents a modular, generative approach that learns to map actions directly to visual observations, allowing for high-precision control with minimal data and no manual calibration.
The Generative Model
The core of the proposed method is a generative model that describes the causal chain from a robot's action to the resulting pixels on a screen. This model decomposes the process into three distinct physical stages:
- Kinematics: Joint actions $a_t$ transition the robot from its current joint state $j_t$ to a new state $j_{t+1}$, which corresponds to a 3D Cartesian pose $P_{t+1}$.
- Structure: The 3D pose of the end-effector determines the 3D coordinates of features or markers $M_{t+1}$ attached to it.
- Camera Projection: These 3D coordinates are projected onto a 2D image plane $I_{t+1}$ using a pinhole camera model.
By using a structured formulation based on physical principles (such as Denavit-Hartenberg parameters) rather than a black-box neural network, the model remains highly sample-efficient, requiring only a few dozen data points to achieve precision.
Learning and Control
The model is trained in stages to ensure stability: first learning camera and feature structure, then kinematics, and finally undergoing an end-to-end refinement using L-BFGS to minimize reprojection error.
To move the robot, the system performs "inverse inference." Given a target image, it searches for the joint states most likely to produce that image, then commands the robot to move to those states. Because the model learns the global geometry of the setup, it can reach a target in significantly fewer steps than traditional IBVS, which only knows the local error gradient.
Experimental Results
The researchers evaluated the model using simulated environments and real-world hardware, including a Baxter robot (known for its "loose" actuators) and a UR5 industrial arm.
- Accuracy: The model achieved a mean reprojection error of 0.34 pixels on real-world data, outperforming standard calibration-based methods.
- Sample Efficiency: The system could learn to track a new object's structure with as few as 5 samples and typically required only 50 to 200 samples for full kinematic learning.
- Task Success: The authors successfully demonstrated the model performing a "tight-fit insertion" (putting a peg in a hole with very low clearance) on the Baxter robot, a task usually considered very difficult for that specific hardware due to mechanical play.
Conclusion and Future Work
This generative approach demonstrates that explicit manual calibration is unnecessary for high-precision robotics. By treating camera positions and link lengths as latent variables to be optimized, the system can "re-learn" changes in its environment or hardware in minutes.
Future work involves addressing current limitations, such as the reliance on pre-defined feature tracking and the computational cost of inference (currently ~100ms). Integrating this structured geometric reasoning with deep-learning-based perception could lead to even more robust and autonomous robotic systems.
Summary updated