Disentangling Preference Representation and Text Generation for Efficient Individual Preference Alignment

Jianfei Zhang, Jun Bai, Bei Li, Yanmeng Wang, Rumei Li, Chenghua Lin, Wenge Rong

TL;DR

Aligning Large Language Models (LLMs) to the diverse preferences of individual users is computationally prohibitive at scale. This paper introduces a novel paradigm that decouples preference representation from text generation by extending the LLM into a Variational Auto-Encoder (VAE). By optimizing preferences within a tiny latent encoder rather than the massive LLM itself, this method reduces the training time required for new user preferences by 80% to 90% while maintaining or exceeding the alignment quality of standard PEFT methods.

What Problem Does This Paper Address?

Standard preference alignment techniques (like RLHF or Direct Preference Optimization) typically align LLMs to a single, averaged representation of "human values." However, human preferences are inherently pluralistic, shaped by culture, gender, personal taste, and context.

While personalizing LLMs via prompt engineering is flexible, it is highly sensitive to prompt design and prone to ambiguity. Conversely, fine-tuning a separate model—or even using Parameter-Efficient Fine-Tuning (PEFT) like LoRA—for every single user becomes a computational nightmare as the user base scales into millions. The authors tackle this fundamental bottleneck: How can we efficiently adapt an LLM to massive numbers of individual user preferences without incurring unsustainable training costs?

Figure 1: Our proposed method aims to offer flexible personalization learning from individual feedback, i.e., automatic individual adaptation in an efficient way.

Methods

The core innovation lies in disentangling preference representation from text generation. The authors transform a standard decoder-only LLM into a Conditional Variational Auto-Encoder (CVAE) through a three-step framework:

  1. Contrastive Language-Latent Pretraining (CLaP): The authors build a small latent encoder using the first couple of layers of the LLM, mapping a prompt $x$ and response $y$ to a low-dimensional latent space ($z \in \mathbb{R}^{32}$). A latent adapter then projects these vectors into Key-Value (KV) caches that steer the frozen backbone LLM during reconstruction. This step uses a combination of the standard Evidence Lower Bound (ELBO), a density-gap KL divergence, and a contrastive loss to ensure the latent space tightly correlates with text attributes.
  2. Personalization through Latent DPO: When an individual user provides pairwise feedback (preferred response $y_w$ vs. dispreferred response $y_l$), the system uses importance reweighting to infer the user's preference directly within the latent space. Crucially, Direct Preference Optimization (DPO) is applied only to the tiny latent encoder network. The massive backbone LLM is completely bypassed during the backward pass.
  3. Personalized Generation: At inference time, the personalized latent encoder samples a user-specific vector $z$ from the prompt, which is injected via the adapter to guide the frozen LLM's text generation.

Datasets

The approach was validated across three open-ended text generation tasks with distinct preference profiles:

  • IMDB (Text Continuation): Evaluated on sentiment preferences (positive, negative, neutral).
  • DailyDialog (Dialogue Generation): Evaluated on conversational intentions (inform, questions, directives, commissive).
  • TL;DR Summarization: Reddit post summarization evaluated on both general human preferences and synthetic personas (helpful, harmless, empathetic, entertainment).
  • Llama3-8B Scaling: The authors also validated their method by freezing Llama3-8B and testing it on the DailyDialog dataset to prove scalability to larger open-source architectures.

Key Insights and Ideas

  • LLM-Free Training Loops: The true "aha moment" of this paper is that by isolating the preference representation into a 32-dimensional vector space, the LLM acts purely as a frozen rendering engine. During the personalization phase, you never backpropagate through the LLM, making the marginal cost of adding a new user incredibly low.
  • Constraining Reward Hacking: Standard reinforcement learning alignment (PPO) often suffers from "reward hacking," where the model generates repetitive, nonsensical tokens that exploit the reward model (e.g., generating strings of profanity to satisfy an "entertainment" metric). By forcing the optimization to happen within a smooth, low-dimensional latent space, Latent DPO naturally constrains the model from drifting into these degenerate text spaces.

Key Results

  • Dramatic Compute Reductions: As shown in Figure 5, Latent DPO consistently slashes the additional training hours required for each new individual preference by 80% to 90% compared to LoRA-based DPO or full parameter PPO.
Comparison of additional training time (scaling hours) per new user preference across different methods.
  • High-Quality Alignment: On the TL;DR dataset, Latent DPO improved the baseline win-rate from 46.7% to 56.0%, slightly outperforming the much more computationally expensive LoRA-based DPO (55.1%).
  • Large Model Viability: When applied to Llama3-8B, the latent DPO approach achieved the highest total intention probability score (1.61) while requiring a fraction of the FLOPs ($0.16 \times 10^{18}$ vs. $2.26 \times 10^{18}$ for LoRA).

Limitations and Future Work

The authors openly acknowledge a fundamental trade-off: because the underlying LLM parameters remain completely frozen during the personalization step, this method cannot induce fundamental distribution shifts or improve the foundational capabilities of the base model. It acts purely as a steering wheel rather than an engine upgrade.

For future work, exploring how this latent space handles highly complex, multi-dimensional user personas (combining style, safety boundaries, and domain expertise simultaneously) remains an open and exciting direction.

Summary updated

BibTeX
@inproceedings{zhang2025disentangling,
  author = {Jianfei Zhang and Jun Bai and Bei Li and Yanmeng Wang and Rumei Li and Chenghua Lin and Wenge Rong},
  title = {{Disentangling Preference Representation and Text Generation for Efficient Individual Preference Alignment}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2025},
}
Figure