Abstract
Personalizing Large Language Models (LLMs) for individual users typically requires either context-heavy prompting or computationally expensive per-user fine-tuning. We present Profile-to-PEFT (P2P), a framework that employs a hypernetwork to generate personalized Parameter-Efficient Fine-Tuning (PEFT) weights—specifically LoRA matrices—from user profiles in a single inference pass. P2P achieves a 33x speedup in deployment compared to traditional per-user fine-tuning while outperforming existing baselines in accuracy and stylistic adaptation across multiple benchmarks.
1. Introduction: The Personalization Bottleneck
Real-world LLM applications, such as personalized assistants and recommendation systems, require models to adapt to individual user styles and histories. Current strategies face a significant "bottleneck of personalization." Prompt-based methods (e.g., RAG) often suffer from context window limits and "distraction" by irrelevant history. Conversely, One-PEFT-Per-User (OPPU) approaches, which train separate adapters like LoRA for every user, are unscalable for millions of users due to the massive overhead of individual training sessions.
2. Methodology: The Profile-to-PEFT Framework
The Profile-to-PEFT (P2P) framework replaces individual training with a hypernetwork—a secondary model trained to generate the weights for the base LLM.
The P2P process involves three core components:
- User Profile Encoding: User history and global summaries are converted into a fixed-dimensional embedding via a frozen embedding model.
- Position-Aware Input: To generate layer-specific weights, the user embedding is concatenated with learnable "module" and "depth" embeddings. This allows the hypernetwork to distinguish between different parts of the LLM architecture (e.g., Query vs. Value projections at different layers).
- Parameter Generation: An MLP-based hypernetwork processes these inputs to output LoRA matrices ($A$ and $B$), which are then plugged into the base LLM for immediate inference.
3. Experimental Evaluation
P2P was evaluated on several benchmarks, including LaMP (classification and rating prediction), LongLaMP (long-form generation), and stylistic datasets like Personal Reddit (PR).
Key findings include:
- Diversity Over Quantity: Hypernetwork performance scales better with the diversity of user clusters in the training set rather than the raw number of users.
- Collaborative Knowledge: P2P often outperforms per-user fine-tuning (OPPU) by distilling patterns from the entire population, making it more robust to noise in individual histories.
4. Key Results and Efficiency
P2P demonstrates superior efficiency and competitive performance. It is 33x faster at deployment than the fastest OPPU variant, with parameter generation taking only 0.57 seconds per user.
In classification tasks, P2P achieved an average accuracy of 0.580, surpassing both RAG (0.507) and OPPU (0.568). It also showed strong generalization to Out-of-Distribution (OOD) users, proving its capability for "zero-shot" personalization for unseen users.
5. Conclusion and Future Work
P2P offers a scalable, privacy-preserving solution for LLM personalization. By capturing user preferences in compact PEFT parameters generated on-the-fly, it enables efficient local deployment. Future work includes extending the framework to cross-task personalization and investigating the security of generated parameters against reverse-engineering.
Summary updated