arXiv:2610.38357cs.ROOct 2026

Manuscript Offprint

arXiv:2610.38357

CSO: Refining Robotic Policies via Skill Distribution Alignment and Skill-Grained Optimization

Zhiyuan Xiang, Xiang Deng, Wanjie Tao, Xu Chen, Zhao Jielun, Weili Guan

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Discretizing continuous actions into discrete skills using methods like VQ-VAE has emerged as a powerful paradigm for robotic manipulation. However, quantization errors yield a suboptimal distribution for the skill prior, degrading its performance. While reinforcement learning offers a path for refinement, its direct application faces unstable encoder updates and a granularity dilemma in importance sampling. To address these challenges, we introduce Cascaded Skills Optimization (CSO), a two-stage post-training framework. First, Rejection-Sampling Supervised Fine-tuning aligns the model's observation-to-skill mapping with the distribution of successful online trajectories via supervised fine-tuning. Second, with the observation encoder frozen, Skills Policy Optimization computes an independent, clipped importance ratio for each complete skill, enabling stable and efficient updates. With a lightweight QueST-style policy, CSO raises overall LIBERO success from 80.1% to 97.5%, improves performance on RoboTwin2.0, and achieves 61.0% success across five physical single-arm tasks. Additional comparisons with FAST, discrete BEAST, and fixed-buffer IQL further validate the effectiveness of our two-stage post-training strategy.

1 Introduction

Modeling complex manipulation behaviors has long been a central problem in robotics [18, 9]. A promising direction is to learn structured action representations through Transformer-based architectures [3, 29]. Temporal action chunks provide useful abstractions for control [43]; skill-based approaches additionally map continuous trajectories into discrete latent representations [17]. A quantized autoencoder, such as a VQ-VAE [38, 13], learns a vocabulary of fundamental tokens. These tokens are then used to form "skills", which are reusable motion primitives represented as token sequences [28, 19]. This hierarchical framework simplifies the problem, enabling an autoregressive policy to tackle complex tasks by sequentially composing tokens to generate a skill [28].

However, while this discretization paradigm is powerful, policies trained purely via imitation learning (IL) with these discrete skills exhibit a notable limitation. The VQ-VAE's discretization process introduces inherent quantization errors, meaning the skills are only approximations of the expert's continuous actions [17]. These reconstruction errors compound with policy errors during online execution. On one hand, the inherent imprecision of the tokens that constitute a skill can cause the decoded action to fail the task. On the other hand, these quantization errors can accumulate over an episode, progressively pushing the agent into states outside the expert data distribution. This resulting distribution shift severely hinders the generalization of the IL-trained policy [15].

*Corresponding author: dengxiang@hit.edu.cn.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

To overcome the limitations of the initial policy, a natural remedy is to refine it with online reinforcement learning (RL) [11, 22, 37]. However, directly applying RL to this setting presents several challenges. A primary issue is the unstable update of the observation encoder. Online data collection often yields an imbalanced mix of task outcomes (e.g., many successes on easy tasks, many failures on hard ones). This provides inconsistent gradient signals to the crucial observation encoder, leading to inefficient training and often requiring complex hybrid frameworks to stabilize [11, 6]. A second structural challenge arises from a mismatch between the unit of decision-making (a skill) and the unit of optimization (a token). Token-level methods apply a separate importance ratio to each generated token [34, 24], which treats the components of a jointly executed skill separately. Episode-level methods such as GSPO instead use one length-normalized ratio and a shared clipping decision for the complete sequence [44]. Robotic episodes exhibit length asymmetry: time-outs are often longer than successes. This motivates skill-level optimization, which assigns each complete skill its own ratio and clipping decision while sharing the terminal advantage. We compare token-, skill-, and episode-level optimization from the same R-SFT checkpoint.

To address these key challenges, we propose Cascaded Skills Optimization (CSO), a two-stage post-training framework. Our key insight is that effective refinement requires two steps: first, stabilizing the model on successful online data, and second, aligning the unit of optimization with the unit of decision-making. Specifically: 1) To address distributional shift and encoder instability, we introduce Rejection-Sampling Supervised Fine-tuning (R-SFT) for skill-based policy refinement. This stage aligns the model's observation-to-skill mapping with the distribution of successful online trajectories via supervised fine-tuning, inspired by similar techniques in LLMs [40]. The encoder is then stabilized and frozen, providing a robust foundation for the subsequent RL stage and avoiding the inconsistent gradients of direct online fine-tuning. 2) To solve the granularity mismatch, we introduce the Skills Policy Optimization (SPO) algorithm. By computing and clipping an importance ratio for each complete skill, SPO aligns optimization with execution and enables stable, data-efficient policy improvement.

We validate our framework through extensive experiments on challenging manipulation benchmarks. In its lightweight instantiation, CSO demonstrates substantial improvements over its underlying imitation-learned policy, boosting the average success rate by 17.4 absolute percentage points across all four LIBERO suites [21]. We further validate the method on RoboTwin2.0 [5] and confirm its real-world applicability by successfully deploying the learned policy on a physical robot.

To summarize, our main contributions are:

  1. To circumvent unstable encoder updates in direct reinforcement learning, we introduce R-SFT. This rejection-sampling fine-tuning stage first stabilizes the observation encoder on successful online trajectories to establish a robust foundation for policy optimization.

  2. To resolve the granularity dilemma between internal tokens and complete trajectories, we propose SPO, a novel algorithm that performs stable and fine-grained policy optimization via skill-level importance sampling.

  3. We design and validate CSO, a complete two-stage framework that systematically refines skill-based policies by decoupling representation stabilization from policy optimization, demonstrating substantial performance improvements on challenging benchmarks and real-world robotic tasks.

References (44)