Reflective Personalization Optimization: A Post-hoc Rewriting Framework for Black-Box Large Language Models

Teqi Hao, Xioayu Tan, Shaojie Shi, Yinghui Xu, Xihe QiuarXiv 2025 · DOI

Abstract

Personalizing large language models (LLMs) often faces a "content-style conflict," where models struggle to simultaneously maintain factual accuracy and user-specific stylistic nuances. This paper introduces Reflective Personalization Optimization (RPO), a post-hoc rewriting framework that decouples content generation from personalization. By using a powerful base model for initial generation and a specialized reflection module for stylistic refinement, RPO achieves state-of-the-art performance across multiple personalization benchmarks while remaining model-agnostic.

Introduction

Personalizing "black-box" models like GPT-4 or Claude is notoriously difficult because their internal weights cannot be modified. Standard context injection—stuffing user history into a prompt—often forces the model to juggle competing goals: factual correctness and stylistic alignment. This monolithic approach frequently results in outputs that are either generic or factually compromised, failing to capture the nuanced reasoning humans use when tailoring messages.

Comparison between a standard base model and the RPO reflection model, showing the benefit of explicit reasoning for personalization.

The RPO Framework

RPO addresses these issues through a modular "generate-then-rewrite" pipeline. Instead of a single-step process, the system operates in two distinct stages:

  1. Initial Generation: A powerful black-box Base Model (such as GPT-4o-mini) generates a high-quality but generic, non-personalized response focused on factual accuracy.
  2. Reflective Refinement: A separate, smaller Reflection Model (e.g., a 7B Qwen instance) takes that generic response and rewrites it to match the user's unique voice.
The three-stage RPO training pipeline: Data Preparation, Supervised Fine-Tuning (SFT), and Reinforcement Learning (RL).

The core innovation lies in the training of the Reflection Model, which utilizes Structured Rewriting Trajectories. By training on data that includes explicit reasoning steps (Chain-of-Thought), the model learns why it is changing specific words or tones based on a user's profile. The training process involves Supervised Fine-Tuning (SFT) followed by Reinforcement Learning (RL) using the REINFORCE++ algorithm. To handle noisy historical data, a progressive multi-context curriculum is used during RL, exposing the model to varying numbers of user history "shots" to help it extract stable preferences.

Experimental Results

The framework was evaluated using the LaMP (Language Model Personalization) benchmark, focusing on tasks such as movie tagging, product rating, scholarly title generation, and tweet paraphrasing. RPO achieved state-of-the-art (SOTA) results across all tested tasks, significantly outperforming baselines like RAG and HYDRA:

  • Accuracy Gains: On the LaMP-2 (Movie Tagging) task, RPO achieved an accuracy of 0.355, compared to the previous best of 0.291.
  • Error Reduction: In the LaMP-3 (Product Rating) regression task, RPO reduced the Mean Absolute Error (MAE) to 0.252, a significant improvement over the baseline's 0.318.
  • Robustness: The framework proved remarkably stable and model-agnostic. Swapping the underlying base model between DeepSeek-V3, Qwen3, and GPT-4o-mini did not degrade the final personalized performance, demonstrating that the reflection module effectively learns a generalizable rewriting policy.

Conclusion

By decoupling "what to say" from "how to say it," RPO provides a robust, interpretable layer for personalizing black-box LLMs. While the two-pass process introduces some inference overhead, its ability to maintain factual integrity while achieving superior stylistic alignment marks a significant advancement in personalized AI. Future work may explore scaling the reflection module and reducing dependency on the initial "teacher" models used for data generation.

Summary updated

BibTeX
@misc{hao2025reflective,
  author = {Teqi Hao and Xioayu Tan and Shaojie Shi and Yinghui Xu and Xihe Qiu},
  title = {{Reflective Personalization Optimization: A Post-hoc Rewriting Framework for Black-Box Large Language Models}},
  year = {2025},
  eprint = {2511.05286},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.05286},
}
Figure