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

Zhen Zhang, Changyi Yang, Xuehai He, Chengzhi Liu, Yutong Yin, Ziyue Liu, Zhuoran Yin, Yangmin Li, Zhihan Liu, Jisen Li, Mingyu Jin, Chuhan Li, Zhaotian Weng, Ruoyu He, Wenyao Gao, Jiaxin Deng, Chenwei Wu, Hui Shen, Wenhao Chai, Chenyang Zhao, Zhuofan Ying, Kieran Liu, Andrew Chen, Pony Ma, Zhaoran Wang, Alkesh Patel, Zhe Gan, Xin Eric Wang

arXiv:2611.27376 · 2026-11-24 공개 · arXiv · PDF

throughput-optimization llm-backbone multi-teacher-distillation weight-merging prompt-composition math-code-agent prompt-based-learning soft-prompt-distillation

Abstract

RL post-training typically produces domain experts that must then be consolidated into one model, and as new experts keep arriving, this consolidation becomes a continual process. Weight merging and multi-teacher on-policy distillation (MOPD) must re-consolidate the whole model whenever an expert is added, and can erode capabilities outside the target domains. We propose Composable Soft-Prompt Distillation (CSPD), which keeps the pre-RL model frozen, distills each RL expert independently into a soft prompt, and composes experts by concatenating their prompts without joint training. A single soft prompt suffices to distill an RL expert, recovering at least 90% of the teacher's gain in 22 of 23 math, code, and agent settings. Independently trained prompts compose well. In a multi-expert setting, the average rises with every expert added, and the full composition matches MOPD (67.83 vs. 67.79). The composition generalizes best across six held-out benchmarks. Input-space adaptation adds little serving overhead, keeping throughput within 1.5% of the unadapted backbone and reaching 2.40x that of rank-4 LoRA. These results point toward continual post-training on a fixed backbone.

한국어 요약

한 줄 요약

CSPD는 RL 전문가를 독립적인 soft prompt로 증류하여 합성 가능한 지속적 사후 학습을 구현한다.

핵심 기여도

핵심 아이디어

기존의 RL 사후 학습 방식은 새로운 전문가가 추가될 때마다 전체 모델을 재정비해야 하며, 이는 기존 능력을 손상시킬 수 있다. CSPD는 이 문제를 해결하기 위해 RL 전문가를 모델 입력 공간에 존재하는 soft prompt로 변환하여, 기존 모델 가중치는 고정된 상태로 유지한다. 각 soft prompt는 256개의 벡터로 구성되며, 해당 전문가의 verifier-필터링된 응답만을 사용해 독립적으로 학습된다. 학습 시 일부 예시는 무작위 컨텍스트 프리픽스를 포함하여, prompt가 어떤 입력 앞에서도 작동하도록 일반화를 강화한다. 추론 시에는 prompt를 단순히 연결(concatenate)하여 합성하며, 추가/삭제 시에도 모델 구조 변경 없이 처리 가능하다. 이는 기존의 LoRA나 라우터 기반 전문가 선택 방식과 달리, 병합 계수나 라우터 조정 없이 즉시 적용 가능한 모듈화된 접근법이다.

기술적 접근법

주요 결과

의의 및 한계

CSPD는 기존 모델을 고정하면서도 새로운 전문가를 모듈화하여 추가할 수 있는 방식으로, 지속적 사후 학습의 실현 가능성을 제시한다. 특히, 기존 방법과 비교해 모델 가중치 간 간섭 없이 독립적으로 학습하고 합성할 수 있다는 점에서 혁신적이다. 또한, 서빙 오버헤드가 낮아 실용적 적용 가능성이 높다. 그러나 CSPD는 특정 도메인에서만 학습된 soft prompt를 기반으로 하기 때문에, 도메인 간 상호작용이나 복잡한 조합에 대한 제한이 있을 수 있다. 또한, prompt 합성이 항상 선형적으로 성능을 향상시키는 것은 아니며, 일부 경우 개별 prompt가 전체 성능에 부정적 영향을 줄 수 있다.

실용적 활용

CSPD는 지속적으로 새로운 도메인 전문가를 추가해야 하는 산업 현장(예: 고객 지원, 자동화된 프로그래밍 도구)에서 유용하게 사용될 수 있다. 또한, 연구적으로는 모델 업데이트 비용을 줄이고, 모델의 일반화 능력을 유지하면서도 새로운 기능을 추가하는 방식으로 활용 가능하다.