TL;DR
Personalizing Large Language Models (LLMs) often relies on user-specific "soft prompts," but these valuable assets become obsolete the moment the underlying foundation model is upgraded. This paper introduces PUMA, a lightweight adapter framework that efficiently translates personalized prompts from an old model to a new one. By using a smart user-sampling strategy, PUMA matches or even beats the performance of retraining from scratch, all while cutting computational costs by up to 98%.
What Problem Does This Paper Address?
To provide personalized experiences (like tailored recommendations or adaptive assistants), developers often use a "1+N" architecture: one frozen, general-purpose foundation model paired with $N$ unique "soft prompts" (trainable vectors) representing millions of individual users.
However, this creates a massive vendor lock-in problem. Foundation models are updated frequently—whether upgrading to a smarter model or swapping to a smaller, cheaper variant. Because soft prompts are tied to the specific embedding space of the model they were trained on, changing the foundation model breaks the semantic alignment. Until now, the only solution was to throw away the old prompts and retrain all $N$ users from scratch on the new model, which is computationally prohibitive at scale. The authors tackle this "N-to-N" migration challenge: how to transfer a massive corpus of personalized prompts across incompatible LLMs cheaply and effectively.
Methods
The authors propose the Prompt-level User Migration Adapter (PUMA), which consists of two main components:
- The Migration Adapter: Instead of retraining individual prompts, PUMA trains a single, lightweight feed-forward network (with residual connections and Layer Normalization) to map source prompt vectors to the target model's embedding space. This adapter is trained end-to-end using the target model's task loss.
- Group-Based User Selection (Coreset): Training the adapter on millions of users is still too slow. PUMA uses a clever sampling strategy to find a tiny, highly representative subset of users to train the adapter. It does this in two stages:
- Diversity: It clusters users using K-means on their source prompt embeddings.
- Complexity: Within each cluster, it stratifies users by their historical output variance. Users with high/medium variance have more nuanced, complex tastes, so the algorithm samples them more heavily than users who just rate everything 5 stars.
The authors also extend PUMA to chained migration (migrating sequentially through multiple models, e.g., A $\rightarrow$ B $\rightarrow$ C) and aggregated migration (fusing prompts from multiple source models into one target model).
Datasets
The framework is evaluated on three large-scale datasets adapted for LLM-based personalization:
- Amazon (Movies & TV): Explicit 1-to-5 star rating predictions.
- Yelp: Explicit 1-to-5 star rating predictions for local businesses.
- MIND: Implicit feedback (clicks) used for news recommendation to predict Click-Through Rate (CTR).
Key Insights and Ideas
- Generalization Beats Memorization: Surprisingly, PUMA consistently outperforms retraining all users from scratch. By learning a single, supervised mapping function across a diverse subset of users, the adapter discovers a more generalized and robust transformation into the target model's semantic space, avoiding the overfitting that happens when training user prompts in isolation.
- Variance is a Cheap Proxy for Complexity: Identifying which users are "hard to learn" usually requires expensive gradient calculations. The authors realized that a user's historical output variance is a computationally free proxy. Consistent users are easy to model; high-variance users have nuanced tastes and force the adapter to learn better mappings.
- Knowledge Synergy via Aggregation: When migrating prompts from two different source models (e.g., Llama + StableLM) into a single target model (Phi-3), the resulting personalization is better than migrating from either source alone. Different foundation models capture complementary aspects of user preferences, turning a routine maintenance task (model migration) into a strategic feature upgrade.
Key Results
- Performance: PUMA achieved lower (better) RMSE on Amazon (0.9135 vs. 0.9414) and Yelp (1.1073 vs. 1.1994) compared to full retraining. On the MIND dataset, it significantly improved the user-weighted AUC (uAUC) from 0.5289 to 0.6552.
- Efficiency: PUMA achieved a 50x speedup (a 98% reduction in compute). On the Amazon dataset, training PUMA on a subset of just 2,000 users took 0.48 hours, whereas full retraining took 24 hours.
- Robustness: In a chained migration stress test across five distinct architectures (Llama3.2 $\rightarrow$ Qwen2.5 $\rightarrow$ Gemma-3 $\rightarrow$ StableLM-2 $\rightarrow$ Phi-3), PUMA maintained highly stable performance without degrading, proving it doesn't suffer from catastrophic cumulative error.
Limitations and Future Work
- Heuristic User Selection: The current coreset selection relies on static heuristics (K-means and variance). The authors suggest using Reinforcement Learning (RL) in the future to train a dynamic selection policy that could discover even better user combinations.
- Item Embeddings Ignored: PUMA currently only migrates user-specific soft prompts. In many recommendation systems, item representations are also learned and valuable. Future work will look at co-migrating user and item embeddings simultaneously.
- Cold-Start Users: The paper doesn't address new users who weren't in the source system. However, the authors note that the learned migration adapter could potentially be used to quickly initialize prompts for brand-new users, bypassing the need for extensive cold-start training.
Summary updated