TraKDis: A Transformer-based Knowledge Distillation Approach for Visual Reinforcement Learning with Application to Cloth Manipulation
Wei Chen, Nicolas Rojas
TL;DR
TraKDis tackles cloth manipulation with visual reinforcement learning by bridging vision and privileged state information through a two-stage Transformer-based knowledge distillation workflow. A privileged Decision Transformer is first trained with full cloth-state data, then a vision-based student is learned via a pre-trained state-estimation encoder and weight initialization to imitate the teacher, enabling robust, temporally aware control from RGB inputs. The approach achieves superior performance over SOTA baselines in SoftGym tasks, demonstrates robustness to estimation noise, and proves feasibility on a real UR5 robot. This work advances practical vision-based cloth manipulation by leveraging temporal transformers and cross-domain knowledge transfer to overcome observation gaps and dynamic cloth behavior.
Abstract
Approaching robotic cloth manipulation using reinforcement learning based on visual feedback is appealing as robot perception and control can be learned simultaneously. However, major challenges result due to the intricate dynamics of cloth and the high dimensionality of the corresponding states, what shadows the practicality of the idea. To tackle these issues, we propose TraKDis, a novel Transformer-based Knowledge Distillation approach that decomposes the visual reinforcement learning problem into two distinct stages. In the first stage, a privileged agent is trained, which possesses complete knowledge of the cloth state information. This privileged agent acts as a teacher, providing valuable guidance and training signals for subsequent stages. The second stage involves a knowledge distillation procedure, where the knowledge acquired by the privileged agent is transferred to a vision-based agent by leveraging pre-trained state estimation and weight initialization. TraKDis demonstrates better performance when compared to state-of-the-art RL techniques, showing a higher performance of 21.9%, 13.8%, and 8.3% in cloth folding tasks in simulation. Furthermore, to validate robustness, we evaluate the agent in a noisy environment; the results indicate its ability to handle and adapt to environmental uncertainties effectively. Real robot experiments are also conducted to showcase the efficiency of our method in real-world scenarios.
