Abstract
Personalizing automated decision-making systems, such as autonomous vehicles and assistive robots, remains a significant challenge due to the scarcity of explicit reward functions and the high computational cost of traditional fine-tuning. This paper introduces a resource-efficient framework for personalizing diffusion-based planners using Preference Latent Embeddings (PLE). By freezing a pretrained diffusion model and optimizing only a low-dimensional latent vector through a process termed "preference inversion," the proposed method achieves superior alignment with human preferences. Experimental results demonstrate that this approach significantly outperforms standard reinforcement learning from human feedback (RLHF) and Direct Preference Optimization (DPO) in low-data regimes, requiring as few as ten human queries to achieve effective adaptation.
Introduction
In the deployment of autonomous systems, a "one size fits all" approach often fails to meet the diverse expectations of individual users. For instance, different drivers may prefer varying levels of braking intensity, and users of assistive robotics may have specific stylistic preferences for movement. However, personalizing these systems is fraught with difficulties. Human preferences are inherently abstract and difficult to quantify into mathematical reward functions. Furthermore, collecting large-scale human feedback is impractical; systems must be capable of learning from a handful of examples. Finally, traditional fine-tuning methods like RLHF or Low-Rank Adaptation (LoRA) often require updating millions of parameters, which can lead to "catastrophic forgetting" or policy collapse when data is scarce.
To address these challenges, we present a three-stage "pretrain-align" framework. Our method shifts the focus from weight-space optimization to latent-space adaptation, ensuring stability and efficiency while maintaining the core capabilities of the underlying diffusion planner.
Methodology
The proposed framework utilizes a conditional diffusion model as the base planner and introduces a novel adaptation mechanism through three distinct stages.
1. Pretraining with Masked Trajectories
The process begins by training a conditional diffusion model on large-scale offline datasets. During this phase, we co-train a PLE placeholder—a mapping function designed to group similar trajectories into a compact, low-dimensional latent space. To ensure the model learns robust representations, we employ a masking strategy that prevents the model from accessing future trajectory information during training, forcing it to rely on the learned latent embeddings for planning.
2. Adaptation via Preference Inversion
Once the base model is trained, its weights are frozen to preserve stability. When a user provides a small set of preference labels (identifying "winner" and "loser" trajectories), we perform Preference Inversion. This process backpropagates the loss to optimize only the PLE latent vector rather than the model weights. This technique is analogous to "textual inversion" used in image generation, where a specific concept is captured within a small embedding to guide a frozen generative model.
3. Generation with Dual-Guidance
For trajectory generation, the model employs a dual-guidance strategy. It uses a linear combination of the "winner" PLE and the "loser" PLE to steer the diffusion process. By "pushing" the generation away from the disliked behavior and toward the preferred behavior, the system achieves a higher degree of alignment than would be possible by simply following the positive example. This mechanism is similar to classifier-free guidance but operates within the preference-aligned latent space.
Experimental Evaluation
Datasets and Setup
We evaluated our framework using the D4RL Benchmark, focusing on standard offline reinforcement learning tasks such as Hopper, HalfCheetah, and Walker2D. To further test the system's ability to capture diverse behaviors, we introduced a Quality Diversity (QD) Dataset for Walker2D, containing 750 high-reward trajectories exhibiting distinct movement styles.
Crucially, our evaluation included real human labels. Moving beyond synthetic "oracle" rewards, we gathered preference labels and qualitative descriptions from human users to validate the system’s real-world applicability and its ability to interpret stylistic requests (e.g., "gentle hopping" vs. "back leg swing up high").
Results and Discussion
Data Efficiency and Performance
The PLE framework demonstrated remarkable dominance in low-query scenarios. With only 10 human queries, our method significantly outperformed RLHF, LoRA, and DPO baselines. While traditional methods often failed to adapt or suffered from policy degradation with such limited data, the PLE approach remained stable and effective.
Stability and Robustness
Because the diffusion model's weights remain frozen, the system is immune to the catastrophic forgetting typically observed in full fine-tuning. Ablation studies indicated that the method remains stable even after 30,000 update steps, whereas LoRA and Full Fine-Tuning (Full FT) tended to peak early and then rapidly overfit the small preference dataset.
The Role of Negative Guidance
A key insight from our study is the "Power of the Loser." Incorporating the "loser" PLE through negative guidance consistently improved performance by 1–3%. This effect was particularly pronounced when the number of available human queries was extremely low, suggesting that knowing what to avoid is as critical as knowing what to emulate in preference alignment.
Conclusion
This paper demonstrates that latent embedding adaptation is a highly effective and resource-efficient strategy for aligning diffusion planners with human preferences. By optimizing a low-dimensional vector ($d_e=16$) instead of millions of parameters, we achieve a system that is fast, stable, and capable of learning from minimal human intervention.
Future work will focus on scaling this approach to high-dimensional manipulation tasks and multi-agent environments. Additionally, we aim to explore dynamic PLE adaptation to accommodate users whose preferences may evolve during real-time interaction.
Summary updated