通过分步重写实现大模型个性化,提升生成质量与控制精度。
Reflective Personalization Optimization: A Post-hoc Rewriting Framework for Black-Box Large Language Models
- 先生成通用内容,再由外部模块重写以匹配用户风格。
- 在LaMP基准上优于现有方法,显著提升个性化效果。
- 无需修改原模型,可适配任意底座模型,适合实际部署。
黑盒大语言模型的个性化是关键但具挑战的任务。现有方法多依赖上下文注入,将用户历史嵌入提示以引导生成,但这一单步范式同时要求模型生成准确内容并匹配用户风格,常导致质量下降。为此,本文提出反射式个性化优化(RPO),通过解耦内容生成与风格对齐来重构个性化流程:首先由基础模型生成高质量通用响应,再由外部反射模块显式重写该输出以符合用户偏好。反射模块采用两阶段训练:先在结构化重写轨迹上进行监督微调,建立核心个性化推理策略;随后使用强化学习进一步优化个性化输出质量。在LaMP基准上的实验表明,RPO通过解耦生成与个性化,显著优于现有先进基线,证明显式响应塑造优于隐式上下文注入。此外,RPO引入一种高效、模型无关的个性化层,可无缝集成于任意底座模型,为用户中心生成场景开辟新路径。
原文摘要 · Abstract (English)
The personalization of black-box large language models (LLMs) is a critical yet challenging task. Existing approaches predominantly rely on context injection, where user history is embedded into the prompt to directly guide the generation process. However, this single-step paradigm imposes a dual burden on the model: generating accurate content while simultaneously aligning with user-specific styles. This often results in a trade-off that compromises output quality and limits precise control. To address this fundamental tension, we propose Reflective Personalization Optimization (RPO), a novel framework that redefines the personalization paradigm by decoupling content generation from alignment. RPO operates in two distinct stages: first, a base model generates a high-quality, generic response; then, an external reflection module explicitly rewrites this output to align with the user's preferences. This reflection module is trained using a two-stage process. Initially, supervised fine-tuning is employed on structured rewriting trajectories to establish a core personalized reasoning policy that models the transformation from generic to user-aligned responses. Subsequently, reinforcement learning is applied to further refine and enhance the quality of the personalized outputs. Comprehensive experiments on the LaMP benchmark demonstrate that RPO, by decoupling content generation from personalization, significantly outperforms state-of-the-art baselines. These findings underscore the superiority of explicit response shaping over implicit context injection. Moreover, RPO introduces an efficient, model-agnostic personalization layer that can be seamlessly integrated with any underlying base model, paving the way for a new and effective direction in user-centric generation scenarios.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。