Skip to content
Robotics.world

Research

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

Policies that discretize continuous actions into sequences of discrete "skill" tokens (via a quantized autoencoder such as VQ-VAE) are powerful but approximate: quantization error means the decoded…

The paper’s first page · arXiv:2610.38357
arXiv
2610.38357 · accepted · NEURIPS
Published
2026-10-28
Authors
Zhiyuan Xiang, Xiang Deng, Wanjie Tao, Xu Chen, Zhao Jielun, Weili Guan

In plain words

Policies that discretize continuous actions into sequences of discrete "skill" tokens (via a quantized autoencoder such as VQ-VAE) are powerful but approximate: quantization error means the decoded actions are only close to the expert's, and this error compounds during online execution, pushing the robot into states the imitation data never covered.

AI summary

Overview

Research area: Robot learning — specifically post-training / reinforcement learning refinement of skill-based (discrete-token) imitation-learned manipulation policies.

Technical level: Advanced. It builds on VQ-VAE/FSQ action tokenization, QueST-style skill priors, and PPO-family sequence policy optimization (GRPO, GSPO), and readers need familiarity with importance sampling and clipped surrogate objectives to follow Section 4.

Scope: A two-stage post-training framework — Rejection-Sampling Supervised Fine-tuning (R-SFT) followed by Skills Policy Optimization (SPO) — that refines an existing skill-based manipulation policy using online rollouts, evaluated on LIBERO, RoboTwin2.0, MetaWorld ML45, and five physical single-arm tasks.

What This Paper Is About

Policies that discretize continuous actions into sequences of discrete "skill" tokens (via a quantized autoencoder such as VQ-VAE) are powerful but approximate: quantization error means the decoded actions are only close to the expert's, and this error compounds during online execution, pushing the robot into states the imitation data never covered. The authors want to fix this policy with online reinforcement learning, but claim that naive RL application breaks down for two reasons: observation-encoder updates become unstable under imbalanced success/failure data, and existing RL methods optimize at the wrong granularity (per token, or per whole episode) relative to the robot's actual unit of decision — one skill.

Key Contributions

  1. R-SFT (Rejection-Sampling Supervised Fine-tuning): A first stage that collects only successful online trajectories, uses high-temperature sampling plus an "N-strikes" rule discarding initial states where all attempts fail, and fine-tunes the observation-to-skill mapping on that curated set — then freezes the observation encoder to give the later RL stage a stationary representation.

  2. SPO (Skills Policy Optimization): A second-stage algorithm that computes and clips an independent importance ratio for each complete skill (the paper's instantiation uses eight tokens per skill), while sharing the trajectory's terminal group-relative advantage — placing optimization between token-level and episode-level granularity.

  3. The CSO framework: The full two-stage pipeline that decouples representation stabilization from policy optimization, validated with a lightweight QueST-style policy, a Qwen3-VL-2B variant, and on a physical robot.

  4. Controlled comparisons: Matched-backbone tests against FAST and discrete BEAST action representations, against fixed-buffer IQL and RIPT under equalized collection budgets, and a direct token-level (GRPO) vs. episode-level (GSPO) vs. skill-level (SPO) comparison from the same R-SFT checkpoint.

Main Findings

  • LIBERO overall gain: The QueST-style CSO raises overall LIBERO success from an 80.1% QueST initial policy to 97.5%, a 17.4 absolute percentage point improvement, with gains in all four suites (Object 98.6, Spatial 98.0, Goal 97.4, Long 96.0).
  • Long-horizon is the biggest win: LIBERO-Long goes from 69.1% to 96.0%, a 26.9-point gain, which the authors read as improved robustness to compounding error.
  • Larger backbone does better: The Qwen3-VL-2B variant reaches 98.6% overall on LIBERO, and 99.1 / 98.3 / 99.0 / 97.8 across Object / Spatial / Goal / Long.
  • Competitive with strong baselines: For reference points cited in Table 1, STAR is 94.3%, π0 is 94.2%, QueST + RIPT is 93.6%, and GRAPE is 80.2%.
  • LIBERO-90: The QueST-style instantiation reaches 97.7% on this 90-task suite.
  • RoboTwin2.0: QueST averages 66.2%; QueST + RIPT 76.0%; CSO (QueST-style) 77.7%; CSO (Qwen3-VL-2B) 80.4%. The lightweight version gains 12.6 points in the clean setting (67.0 → 79.6) and 10.4 points under randomized initialization (65.3 → 75.7).
  • Physical robot: CSO averages 61.0% across five single-arm tasks with 20 trials each, a 20-point gain over QueST's 41.0%; VQ-BeT is 29.0% and QueST + RIPT 55.0%. The largest task-wise gain is 30 points on Press Button (50 → 80).
  • Both stages matter: On LIBERO-Long / LIBERO-90, IL baseline is 69.1 / 88.6; full CSO 96.0 / 97.7; R-SFT only 85.3 / 93.1; SPO only 91.7 / 95.3; without encoder freezing 89.6 / 94.4.
  • Skill-level granularity wins: From the same R-SFT checkpoint on LIBERO-Long, SPO reaches 96.0% vs. token-level GRPO 94.5%, critic-based PPO 94.3%, and episode-level GSPO 93.2%. The stated reason is length asymmetry — time-outs are longer than successes, so an episode-level ratio mixes clipping decisions across very different sequence lengths.
  • Beats stronger tokenizers after refinement: With matched backbones and data on LIBERO-Long, FSQ/QueST-style goes 69.1 (IL) → 85.3 (R-SFT) → 96.0 (CSO) at reconstruction MSE 0.042; FAST goes 78.2 → 89.5 → 97.2 at MSE 0.018; discrete BEAST goes 84.5 → 91.2 → 98.1 at MSE 0.015.
  • Sequential beats joint training: With the same expert data and collected success set, sequential R-SFT reaches 85.3%, versus 76.8% for joint training from scratch and 80.2% for mixed fine-tuning.
  • Online beats fixed-buffer: Skill-boundary IQL on a fixed buffer of 32,150 successes and 9,050 failures reaches 89.4% from the 85.3% R-SFT checkpoint, versus 96.0% for adaptive online SPO at the same approximately 41,200 attempted-rollout Stage-2 budget. A separately matched RIPT run at approximately 46,580 attempts reaches 88.2%.
  • Robustness: Under RGB/camera perturbation, proprioceptive noise, and action delay, CSO reaches 88.4%, 91.2%, and 84.6% versus RIPT's 71.0%, 76.2%, and 65.4%.
  • Sensitivity: CSO improves IL policies by more than 25 points at action chunk lengths k ∈ {16, 32, 64} with eight tokens per skill, though absolute performance ranges from 79.8% to 96.0%. Starting from only 10 or 25 demonstrations per task, it still reaches 82.4% or 91.8%.
  • Cost: CSO post-training takes 15.5 wall-clock hours and 62 GPU hours on LIBERO-Long. The physical pipeline takes 21.5 robot hours, approximately 840 attempts, and 127 additional recovery interventions.
  • Physical failure breakdown: Of 39 failed CSO trials, 14 are configuration/skill selection, 11 tokenizer precision or missing motion, eight contact/grasp/slip, four subgoal order, and two hardware/safety interventions.

Methodology in Plain English

Start with an imitation-learned policy that outputs discrete skill tokens, which a frozen decoder turns into continuous actions.

Stage one. Run that initial policy in the environment, sampling with high temperature so it explores rather than repeating itself. Keep only the trajectories that succeed, and discard any starting state where all N attempts fail so the success set isn't dominated by easy situations. Fine-tune the policy with ordinary supervised learning on this set of (state → skill actually executed) pairs. Then freeze the observation encoder, so the perception pathway stops shifting during the RL that follows. The tokenizer and decoder are never touched.

Stage two. Collect groups of trajectories from the same starting state, and discard any group where every rollout got the same reward — those give zero signal. Score each trajectory by whether it succeeded relative to the group's average. Then do a PPO-style update, but treat each whole skill as one action: compute one probability ratio for the entire skill (product of its token probabilities under the new vs. old policy), clip that ratio with asymmetric bounds (ε⁻ = 0.07, ε⁺ = 0.15), and hand it the trajectory's advantage. This contrasts with GRPO, which clips each token separately, and GSPO, which uses one length-normalized ratio for the whole episode.

Why This Matters

Research impact: The paper reframes a practitioner's intuition — "the skill is the action, so optimize the skill" — as a concrete, measurable claim, and shows the choice of granularity alone moves LIBERO-Long success by several points from a fixed checkpoint. The R-SFT-then-freeze trick is a general recipe for stabilizing RL on any policy with a discrete latent bottleneck.

Real-world applications:

  • Refining warehouse pick-and-place policies where a deployed imitation policy is close but not reliable enough, using only success/failure signals.
  • Long-horizon assembly or tabletop rearrangement, where the paper's largest gains appear (LIBERO-Long 69.1 → 96.0).
  • Post-deployment tuning of household robot policies from sparse task-completion feedback rather than dense reward engineering.
  • Recovery of stacking / placement / button-pressing skills on a physical single-arm platform, where a lightweight policy still improved to 61.0% average.

Industry relevance: CSO needs no learned critic, no dense reward, and no human preference labels — only a binary success signal — which maps onto how deployed robots actually report outcomes. The 62 GPU-hour post-training cost and the explicit accounting of robot hours and human recovery interventions give teams a concrete sense of the operational price of refining rather than retraining.

Future Directions

  • Removing the bootstrap requirement: CSO needs at least some successful rollouts per task to seed R-SFT (it works with as few as 50 successful online trajectories per task), so offline RL warm-starting or human correction is proposed to reach harder exploration settings.
  • Lifting the frozen-tokenizer ceiling: the precision and motion coverage of the tokenizer, plus the choice of temporal parameters, bound how much refinement can achieve — and tokenizer precision/missing motion already accounts for 11 of 39 physical failures.
  • Broadening physical validation beyond five single-arm tasks, adding automated resets, and studying sim-to-real transfer to cut the 21.5 robot hours and 127 recovery interventions per deployment.
  • Extending beyond the lightweight and Qwen3-VL-2B instantiations — the paper reports MetaWorld ML45 results in an appendix and frames broader manipulation settings as open.

Target Audience

Robotics researchers and engineers already working with imitation-learned manipulation policies — especially those using discrete action tokenization (VQ-BeT, QueST, STAR) or applying RL/PPO-style fine-tuning to robot policies. It is most useful to readers who want a post-training recipe that needs only binary success signals, and to practitioners deciding whether to invest in online RL versus fixed-buffer offline RL for policy improvement. Readers without background in importance sampling and clipped surrogate objectives will need to consult the preliminary sections before the method clicks.

Authors’ 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…

The full abstract on arXiv
Read the original paper

Related papers