Improving Robotic Manipulation Robustness via NICE Scene Surgery
Sajjad Pakdamansavoji, Mozhgan Pourkeshavarz, Adam Sigal, Zhiyuan Li, Rui Heng Yang, Amir Rasouli
TL;DR
Robotic manipulation policies struggle under visual distractors due to distribution shifts. The authors introduce NICE, a data-centric framework that edits real demonstration scenes by removing, restyling, or replacing distractors while preserving the target and action semantics, leveraging tools like Florence-2, SAM-2, LaMa, and diffusion-based inpainting. NICE generates diverse, realistic training variants that close the visual gap and improve downstream tasks such as spatial affordance prediction and manipulation in clutter. Real-world experiments show notable gains in accuracy and safety metrics, demonstrating scalable robustness without additional robot data or simulators.
Abstract
Learning robust visuomotor policies for robotic manipulation remains a challenge in real-world settings, where visual distractors can significantly degrade performance and safety. In this work, we propose an effective and scalable framework, Naturalistic Inpainting for Context Enhancement (NICE). Our method minimizes out-of-distribution (OOD) gap in imitation learning by increasing visual diversity through construction of new experiences using existing demonstrations. By utilizing image generative frameworks and large language models, NICE performs three editing operations, object replacement, restyling, and removal of distracting (non-target) objects. These changes preserve spatial relationships without obstructing target objects and maintain action-label consistency. Unlike previous approaches, NICE requires no additional robot data collection, simulator access, or custom model training, making it readily applicable to existing robotic datasets. Using real-world scenes, we showcase the capability of our framework in producing photo-realistic scene enhancement. For downstream tasks, we use NICE data to finetune a vision-language model (VLM) for spatial affordance prediction and a vision-language-action (VLA) policy for object manipulation. Our evaluations show that NICE successfully minimizes OOD gaps, resulting in over 20% improvement in accuracy for affordance prediction in highly cluttered scenes. For manipulation tasks, success rate increases on average by 11% when testing in environments populated with distractors in different quantities. Furthermore, we show that our method improves visual robustness, lowering target confusion by 6%, and enhances safety by reducing collision rate by 7%.
