TL;DR
The paper introduces Profile-to-PEFT (P2P), a scalable framework that uses a hypernetwork to instantly generate personalized LoRA adapter weights for large language models (LLMs) directly from a user's profile in a single forward pass. By eliminating the need for computationally intensive per-user training at deployment, P2P achieves a 33x parameter-generation speedup over traditional methods while improving generalization to unseen users and preserving data privacy.
What Problem Does This Paper Address?
While LLMs possess powerful generative capabilities, their "one-size-fits-all" nature limits their ability to cater to individual user preferences. Existing personalization techniques generally fall into two categories, both facing severe scalability bottlenecks:
- Prompt-based methods (e.g., RAG): These append user history or profiles directly into the prompt context. However, they suffer from massive computational overhead due to long context windows, are easily distracted by irrelevant history, and expose sensitive user data to centralized servers.
- PEFT-based methods (e.g., One-PEFT-Per-User / OPPU): These train a unique, lightweight adapter (like LoRA) for each user. While excellent for privacy and performance, training or updating millions of individual adapters from scratch in real time is computationally prohibitive at scale.
The authors tackle a fundamental question: Is it possible to generate personalized parameter weights directly from a user's profile in a single, efficient step, completely eliminating deployment-time training?
Methods
The proposed Profile-to-PEFT (P2P) framework replaces iterative per-user optimization with a hypernetwork ($f_\theta$) that generates a full set of personalized LoRA adapter weights in a single inference pass.
The architecture consists of three main steps:
- User Profile Encoding: A textual user profile is constructed by combining a global summary of the user's history (generated by a base LLM) with the top-$k$ most relevant historical interactions retrieved via BM25. This text is compressed into a fixed-dimensional user embedding ($e_u$) using a frozen sentence embedding model.
- Position-Aware Input Formulation: To ensure the hypernetwork generates distinct parameters for different layers and modules within the target LLM, the user embedding is concatenated with learnable module embeddings and depth (layer) embeddings.
- Parameter Generation: This position-aware representation is fed into an MLP-based hypernetwork, which outputs the flattened, personalized LoRA matrices ($A$ and $B$) for that specific location.
The entire pipeline is optimized end-to-end using supervised fine-tuning (SFT) loss across a diverse population of training users.
Datasets
The framework was evaluated across a diverse suite of NLP tasks using the following datasets:
- LaMP & LongLaMP: Standard benchmarks for personalized LLM evaluation, spanning text classification (Citation Identification, News Categorization, Movie Tagging), rating prediction (Product Rating), and text generation (News Headline, Scholarly Title, Tweet Paraphrasing, Abstract Generation, Topic Writing, Review Writing).
- Personal Reddit (PR) & Empathic Conversations (EC): Used for open-ended personalized generation tasks. These datasets include explicit textual profiles describing user demographics and personality traits.
Key Insights and Ideas
- Diversity Trumps Quantity: A key finding is that the diversity of the training user base (the number of distinct behavioral clusters) is far more critical to the hypernetwork's generalization than the sheer quantity of training data. Increasing user count with low diversity yields flat performance curves, whereas increasing behavioral clusters consistently boosts accuracy and F1 scores.
- Collaborative Knowledge Distillation: P2P frequently outperforms the OPPU "oracle" baseline, which is fine-tuned directly on the target user's history. This indicates that the hypernetwork successfully distills collaborative knowledge across the entire user population, allowing it to generate robust parameters even for users with highly sparse interaction histories.
- Amortized Scalability: Although training a hypernetwork requires a substantial upfront computational investment, the cost is rapidly amortized. After crossing a threshold of roughly 1,450 users, P2P becomes significantly more computationally efficient than training individual per-user adapters.
Key Results
- 33x Speedup: At deployment, P2P requires only 0.57 seconds per user to generate personalized parameters, representing a 33x speedup compared to the fastest OPPU variant.
- State-of-the-Art Performance: On the LaMP benchmark, P2P achieved the highest average accuracy in classification tasks (0.580) and the best ROUGE-L scores in generation tasks (0.244), outperforming both prompt-based methods and traditional PEFT fine-tuning.
- Strong OOD Generalization: In challenging out-of-distribution (OOD) splits containing users highly dissimilar to the training population, P2P consistently maintained a significant performance lead over other parameter-based baselines.
Limitations and Future Work
- Single-Task Constraints: Due to dataset limitations, the authors evaluated users primarily within a single task or domain (e.g., only movie tagging). Real-world applications will require evaluating how hypernetworks handle cross-domain user behaviors across multiple tasks simultaneously.
- LoRA Centricity: The current implementation focuses exclusively on generating LoRA parameters. Future work is needed to validate P2P's compatibility with other popular PEFT architectures like Adapters or Prefix Tuning.
- Security Risks: Because the generated PEFT parameters act as a highly compressed representation of a user's profile, there is a theoretical risk that malicious actors could reverse-engineer the weights to infer sensitive user attributes. Developing auditing and privacy-safeguarding techniques for hypernetwork outputs remains an open challenge.
Summary updated