NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

RoboSwap: A GAN-driven Video Diffusion Framework For Unsupervised Robot Arm Swapping

Yang Bai, Liudi Yang, George Eskandar, Fengyi Shen, Dong Chen, Mohammad Altillawi, Ziyuan Liu, Gitta Kutyniok

TL;DR

RoboSwap is a novel, two-stage framework that combines the unsupervised translation power of GANs with the photorealism of video diffusion models to swap robotic arms in videos. Crucially, it operates on unpaired data from entirely different environments, allowing researchers to generate realistic training data for new robot embodiments without expensive, synchronized data collection.

What Problem Does This Paper Address?

In the quest for embodied intelligence, video-conditioned learning has emerged as a powerful way to train robotic systems. However, a major bottleneck is cross-embodiment generalization: a video of a Google Robot arm performing a task doesn't easily translate to a Kuka or UR5 arm due to differences in geometry, joint configurations, and environments.

To train a new robot using existing video datasets, we ideally want to "swap" the robot arm in the video with the target arm while preserving the original motion and task dynamics. Existing methods fail here because they either require paired data (synchronized videos of both robots doing the exact same thing in the same environment) or they struggle to maintain structural integrity and realistic object interactions when dealing with different domains. RoboSwap tackles this by enabling unsupervised, cross-domain robot arm swapping from completely unpaired datasets.

RoboSwap enables the replacement of robotic arms across different domains without requiring paired datasets.

Methods

RoboSwap breaks the problem down into two distinct, independently trained stages, followed by a hybrid inference pipeline:

  1. Stage 1: Unsupervised Robot-to-Robot Translation (GAN) The authors use Grounded-SAM and TrackAnything to segment and isolate the robotic arms from their backgrounds. They then train an unpaired GAN (specifically, CycleGAN) purely on these isolated arm images. The GAN learns to map the appearance and geometry from Robot A to Robot B while strictly preserving the underlying pose and alignment.

  2. Stage 2: Robotic Arm Inpainting (Diffusion) To seamlessly integrate the new arm back into the video, they finetune a video diffusion model (based on CogVideoX) using LoRA. The model is trained to take a decoupled background video and a foreground arm video, alpha-blend them, and refine the result into a coherent, photorealistic video stream.

  3. The Inference Pipeline During inference, the source arm is segmented, translated to the target arm's appearance via the GAN, composited onto the original background, and finally passed through the video diffusion model to fix artifacts, smooth motion, and ensure realistic object interaction.

The two-stage training and inference architecture of RoboSwap.

Datasets

The framework was evaluated across three distinct robotic arm datasets:

  • BCZ (Google Robot)
  • QT-Opt (Kuka Robot)
  • A private dataset featuring a UR5 robotic arm.

From these datasets, the authors established three challenging cross-embodiment benchmarks: Google → Kuka, Kuka → Google, and Google → UR5.

Key Insights and Ideas

  • The Hybrid Advantage: GANs excel at shape and domain translation without the strict Gaussian noise assumptions that can cause diffusion models to distort fine-grained structures like robotic grippers. Conversely, diffusion models excel at photorealistic blending and inpainting. Combining them yields the "best of both worlds."
  • Bridging the Distribution Gap: Unsupervised GANs inherently produce artifacts and distortions. If the diffusion model were trained only on clean, perfectly segmented real arms, it would fail during inference when fed imperfect GAN outputs. To solve this, the authors intentionally applied data distortions (elastic/perspective transformations and Gaussian blur) to the foreground arms during the diffusion model's training phase. This forced the diffusion model to learn how to actively correct GAN-like artifacts.

Key Results

RoboSwap was compared against state-of-the-art image and video editing baselines (including PBE, AnyDoor, AnyV2V, and I2VEdit) using VBench metrics and a human user study.

  • Quantitative Performance: RoboSwap consistently achieved top marks in Motion Smoothness, Background Consistency, Subject Consistency, and Temporal Flickering.
  • Qualitative Success: While baseline methods completely failed to correctly swap the robot arm or generated highly unstable, flickering videos, RoboSwap successfully maintained structural integrity and realistic lighting/shadows.
  • User Preference: In the user study, baselines that attempted frame-by-frame replacement or simple prompt changes received 0% preference for successful swapping. RoboSwap variants achieved the highest user preference scores (ranging from 24.6% to 32.5%).
Qualitative comparison showing RoboSwap successfully swapping a Kuka arm for a Google arm while maintaining realistic object interaction.

Limitations and Future Work

While RoboSwap represents a significant step forward, the authors note a few areas for improvement:

  1. Arm-Object Interaction: Complex physical interactions (like precise grasping) can still occasionally look unrealistic. Incorporating explicit metadata like optical flow or motion trajectories could improve physical accuracy.
  2. Scalability: The current architecture requires training a specific GAN for every pair of robots. A promising future direction is developing a one-to-many or many-to-many model that can generalize across multiple robotic embodiments without retraining.

Summary updated

BibTeX
@inproceedings{bai2025roboswap,
  author = {Yang Bai and Liudi Yang and George Eskandar and Fengyi Shen and Dong Chen and Mohammad Altillawi and Ziyuan Liu and Gitta Kutyniok},
  title = {{RoboSwap: A GAN-driven Video Diffusion Framework For Unsupervised Robot Arm Swapping}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2025},
  doi = {10.1109/iros60139.2025.11246732},
}
Figure