Reinforcement Learning with Decoupled State Representation for Robot Manipulations

Kun Dong, Yu Zeng, Kun Wang, Yongle Luo, Yuxin Wang, Erkang Cheng, Zhiyong Sun, Qiang Zhang, Bo Song

Abstract

Deep reinforcement learning has significantly advanced robot manipulations by providing an alternative solution for designing control strategies using raw images as direct inputs. While images offer additional environmental information, the end-to-end policy training manner (from image to action) requires simultaneous representation and task learning by the agent. This often necessitates a substantial number of interaction samples to achieve satisfactory policy performance. Previous works have attempted to address this challenge by learning a visual representation model that encodes the entire image into a low-dimensional vector before the policy training. However, since this vector contains both robot and object information, it inevitably introduces coupling within the state, which can mislead the policy training process. In this study, a novel method called Reinforcement Learning with Decoupled State Representation (RLDSR) is proposed to effectively decouple robot and object information within the state representation. Experimental results demonstrate that the proposed method exhibits faster learning speed and achieves superior performance compared to previous methods across various robot manipulation tasks. Moreover, with only 3,096 offline images, the proposed method successfully applies to real-world robot pushing tasks, demonstrating its high practicability.

Introduction

Deep Reinforcement Learning (DRL) has shown great promise in robotic manipulation, yet its practical application is often hindered by high data requirements. When learning from raw visual inputs, an agent must simultaneously master visual perception and motor control. Standard approaches often use Variational Autoencoders (VAEs) to compress high-dimensional images into latent vectors. However, these vectors typically "couple" the robot's own state with the object's state. This entanglement complicates reward shaping; for instance, a robot might mistakenly maximize its reward by moving its arm to a target visual position rather than manipulating the object to that location. This study introduces RLDSR to solve this fundamental confusion by separating the "who" (the robot) from the "what" (the object).

Methodology: The RLDSR Framework

To address the coupling problem, the RLDSR method utilizes a two-stage pipeline to separate robot proprioception from environmental information.

1. Robot Conditional VAE (RCVAE)

The core of RLDSR is the RCVAE. Unlike a standard VAE, the RCVAE is conditioned on the robot's known Cartesian coordinates ($R_p$), which are readily available from internal sensors. By providing the model with the robot's exact location, the latent space is forced to encode only the remaining variance in the image—specifically, the object's position and state. This ensures that the latent vector $\mu$ represents the environment independently of the robot's visual appearance.

Conceptual illustration of the RCVAE latent space. By conditioning on the robot position ($R_p$), the latent vector $\mu$ captures the variance in object positions.

2. Decoupled Policy Training

Once the RCVAE is trained, the RL policy is optimized using a state representation that concatenates the robot's physical coordinates with the "object-only" latent vector. This decoupling allows for a more effective reward function based solely on the distance between the current and goal object latent states. The agent is thus incentivized to manipulate the object rather than simply moving its own arm to match a target image.

The two-stage RLDSR framework: (Top) Training the RCVAE to decouple state representation; (Bottom) Training the RL policy using the decoupled state.

Experimental Results

The RLDSR method was evaluated in both simulated (MuJoCo) and real-world environments, showing significant improvements over state-of-the-art baselines.

Simulation Performance

In tasks such as Regular Push, Hard Push (with obstacles), and Pickup, RLDSR consistently outperformed baseline methods like RIG and SKEWFIT. In the "Hard Push" scenario, RLDSR achieved an object distance error of approximately 4cm, compared to 6-8cm for baselines. Furthermore, RLDSR demonstrated significantly faster convergence, reaching peak performance with fewer interaction samples. Regression tests confirmed that the RCVAE latent space predicted the actual physical position of the object with much higher accuracy (11.28 mm error) than a standard VAE (29.98 mm error).

Real-World Application

The system was deployed on an SCR5 Siasun 7-DOF robot for a pushing task. Using an offline dataset of only 3,096 unlabeled images, the robot achieved a pushing error of less than 2cm after just 50 epochs of training. This high level of precision from such a small dataset underscores the practical utility of the decoupled representation approach.

Conclusion

RLDSR offers a robust solution to the state coupling problem in visual reinforcement learning. By leveraging known robot proprioception to filter visual data, the method creates a cleaner, object-centric signal for the RL agent. This leads to faster learning, higher precision, and successful sim-to-real transfer with minimal data. Future work will focus on online representation updates and increasing robustness to environmental variations like lighting and camera parameters.

Summary updated

BibTeX
@inproceedings{dong2024reinforcement,
  author = {Kun Dong and Yu Zeng and Kun Wang and Yongle Luo and Yuxin Wang and Erkang Cheng and Zhiyong Sun and Qiang Zhang and Bo Song},
  title = {{Reinforcement Learning with Decoupled State Representation for Robot Manipulations}},
  booktitle = {Neural},
  year = {2024},
  doi = {10.1007/s11063-024-11650-9},
}
Figure