Rust in Everything
← Papers

Composable Soft-Prompt Distillation of RL Experts: Toward Continual Post-Training

Zhen Zhang, Changyi Yang, Xuehai He, Chengzhi Liu, Yutong Yin, Ziyue Liu et al.

2026-11-24▲ 30arXiv 2611.27376v2Hugging FaceCode

AI-generated from the full paper (deepseek-flash). It may contain mistakes; check the original.

TL;DR

CSPD distills each RL expert into an independently trained soft prompt on a frozen pre-RL backbone and composes experts by concatenating prompts, supporting continual post-training without joint training.

Problem

RL post-training often produces domain experts that must then be consolidated into one model, and as new experts keep arriving, this consolidation becomes continual. Weight merging and multi-teacher on-policy distillation must re-consolidate the whole model whenever an expert is added and can erode capabilities outside the target domains. Existing routing and per-request LoRA merging keep experts separate but require routers or adapter computation at every layer and decoding step.

Method

CSPD keeps the pre-RL model frozen and distills each post-RL expert into its own soft prompt of 256 vectors using only that expert’s verifier-filtered responses and a length-normalized negative log-likelihood. Each prompt is trained independently, and half of the training examples place a random context prefix before the prompt so it works regardless of what precedes it. At inference, prompts are composed by concatenating their soft tokens in the system message without any joint training. Adding an expert requires training only its prompt, removing an expert requires only dropping its prompt, and the backbone is never modified. Because every expert is an input to the same frozen model, requests with different prompts can share one batch.

Results

  • Across 23 math, code, and agent settings, a single 256-vector soft prompt recovers at least 90% of the teacher’s gain in 22 settings and matches or exceeds the teacher in 15. §3.2
  • In the multi-expert setting, the four-domain average rises from 50.41 to 67.83 as prompts are added, and the full composition matches MOPD at 67.79. §1
  • Out-of-domain, the CSPD composition attains the highest mean score, 56.6 versus 53.5 for MOPD; on BFCL it scores 55.6 versus 49.4 for MOPD. §3.5
  • On GPT-OSS math, the soft prompt closes 86.8% of the teacher–student KL gap, while check and verify instructions close 2.1% and 1.6%, a neutral instruction closes 1.1%, and high reasoning effort closes 0.0%. §G.3
  • Soft-prompt throughput stays within 1.5% of the unadapted backbone across seven concurrency levels, and with 32 requests in flight soft prompts deliver 2.40× the output throughput of rank-4 LoRA. §Abstract
  • On GPT-OSS math, a 32-vector prompt reaches 90.0% recovery versus 93.1% for 256 vectors, and training on responses of which only 69% are correct still recovers 90.5% versus 96.1% for correct-only responses. §3.2

Limitations

  • Single-expert tables report the best checkpoint on the evaluation benchmarks, so the paper describes them as exploratory rather than held-out estimates (§B.3).
  • Where original RL data are unavailable, proxy training data are used for MiMo math, MiMo code, and Mellum2/Nemotron CodeRL; the paper notes some loss in recovery (§3.2, §B.3).
  • The mechanism analysis uses a single soft prompt without confidence intervals, and the paper says how composed soft prompts act remains to be tested (§G.4).
  • The Impact Statement states that freezing the backbone does not guarantee an attached prompt or prompt combination preserves safety properties, and XSTest covers only refusal behavior on the tested requests.

Key points

  • CSPD freezes the pre-RL backbone and trains only each expert’s soft prompt using that expert’s verifier-filtered responses. §2.1
  • Composition is direct concatenation of independently trained soft tokens into the same system-message template, with no joint training. §2.2
  • Prefix-robust training with AdamW raises the multi-expert average from 64.50 to 66.60 and recovery from 87.0% to 99.9%. §C
  • Using Muon and the MCSI order reaches an average of 67.83 and recovery of 107.5%. §C
  • The out-of-domain composition improves over the student on five of six benchmarks and changes the sixth by only 0.4 points. §3.5
  • The nearest word of a soft prompt vector does not reveal what it learned; across six models, 84–100% of vectors keep their initialization token as the nearest word. §G.2
  • The soft prompt acts mainly through response tokens attending to it directly: response-only keeps 80%, input-only keeps 33%, and blocked keeps about 1%. §G.4
  • Input-space prompts add KV positions; 256 prompt vectors lengthen a 20,480-token input by 1.25%. §F

Mind map

CSPD
Problem
Experts need continual consolidation
Weight merging needs re-consolidation
MOPD retrains against all teachers
Routing and LoRA add serving cost
Method
Frozen pre-RL backbone
Distill each expert to soft prompt
Prefix-robust training
Concatenate prompts at inference
Add or remove prompts continually
Results
22 of 23 settings at least 90% recovery
Four-domain average 50.41 to 67.83
Matches MOPD 67.83 vs 67.79
Out-of-domain mean 56.6 vs 53.5
Throughput within 1.5% of backbone
2.40× rank-4 LoRA at 32 requests
Analysis
Closes 86.8% of KL gap
Written instructions at most 2.1%
Response tokens keep 80% effect
Vectors not readable as words
Limitations
Best checkpoint not held-out
Proxy data when RL data missing
Mechanism uses one prompt
Safety of combinations not guaranteed

Related papers

💬 Related discussions

Loading...