Abstract
Humans are remarkably proficient at controlling their limbs and tools from a wide range of viewpoints. In robotics, this ability is referred to as visual servoing: moving a tool or end-point to a desired location using primarily visual feedback. In this paper, we propose learning viewpoint invariant visual servoing skills in a robot manipulation task. We train a deep recurrent controller that can automatically determine which actions move the end-effector of a robotic arm to a desired object. This problem is fundamentally ambiguous: under severe variation in viewpoint, it may be impossible to determine the actions in a single feedforward operation. Instead, our visual servoing approach uses its memory of past movements to understand how the actions affect the robot motion from the current viewpoint, correcting mistakes and gradually moving closer to the target. We learn our recurrent controller using simulated data, synthetic demonstrations and reinforcement learning, then transfer it to a real-world Kuka IIWA robotic arm by adapting only the visual layers.
Introduction
In classical robotics, visual servoing typically requires a precise mathematical relationship, known as the Jacobian, between joint movements and motion in the camera's image space. However, this relationship is highly sensitive to camera placement and lens characteristics. If the camera is moved or replaced, the system usually requires manual recalibration.
The core challenge addressed here is ambiguity. A single visual frame is often insufficient to determine the mapping between a robot's internal coordinate system and the camera's view. To overcome this, a robot needs temporal context: it must move, observe the result, and use that history to figure out how its actions translate to visual outcomes.
Methods
The proposed Recurrent Viewpoint Invariant Controller utilizes a deep recurrent neural network to perform implicit "self-calibration" on the fly.
Architecture
- Dual-Stream Perception: The model processes two inputs: a current scene observation and a "query image" (a crop of the target object). These are handled by separate convolutional neural networks (CNNs).
- Recurrent Control (LSTM): Visual features and the robot's previous action are fed into a Long Short-Term Memory (LSTM) network. This recurrence allows the model to "remember" the effects of past actions, enabling it to discover the relationship between its end-effector and the camera through exploratory motion.
Training and Sim-to-Real Transfer
The model is trained primarily in the Bullet physics engine. To bridge the gap between simulation and reality, the researchers employed Domain Randomization, varying textures, lighting, and camera angles to ensure the model learns features invariant to visual noise.
The training process combines supervised learning (imitating straight-line paths) with reinforcement learning (using a Q-function to improve precision). For real-world deployment, only the perception layers are fine-tuned using a small set of real images, as the underlying control logic remains consistent across domains.
Results
The recurrent model demonstrated significant advantages over reactive (non-recurrent) baselines. In simulated tests with novel viewpoints, the recurrent model achieved a mean distance to target of 0.07m, compared to 0.11m for the reactive model.
On a real Kuka IIWA arm, the system achieved a 94.4% success rate in single-object scenarios. Even in complex scenes with distractors, the adapted model maintained a 70.8% success rate. Qualitatively, the robot exhibits "exploratory" behavior, making small initial moves to "find its bearings" before correcting its trajectory toward the target—a capability impossible for standard feed-forward controllers.
Conclusion
By leveraging recurrence, this work demonstrates that robots can learn to perform visual servoing from arbitrary viewpoints without explicit calibration. The ability to use memory for implicit self-calibration provides a robust path for transferring complex manipulation skills from simulation to the real world, even when dealing with previously unseen objects and novel camera perspectives.
Summary updated