Introduction
Large Language Models (LLMs) have revolutionized natural language processing, but their application to recommender systems remains challenging. While LLMs excel at reasoning, they face three primary obstacles: static personalization (shared LoRA weights), the "lifelong" bottleneck (computational costs of long user histories), and data scalability (the expense of fine-tuning on massive industrial datasets).
To address these, we present RecLoRA, a framework that enables true personalization by dynamically generating user-specific LoRA weights while maintaining computational efficiency.
Personalized LoRA (PLoRA)
Traditional methods typically use a single set of Low-Rank Adaptation (LoRA) weights shared across all users. In contrast, RecLoRA introduces the Personalized LoRA (PLoRA) module. This module maintains a set of "meta-LoRA" weights. A gating network, guided by a conventional recommendation model (CRM), calculates a unique weighted combination of these meta-weights for each user. This effectively gives every user their own customized adapter, allowing the model's internal logic to adapt to individual preferences.
Methodology: The Few2Many Magnifier
A key innovation in RecLoRA is the Few2Many Magnifier strategy. This two-stage training process bridges the gap between massive recommendation datasets and the high cost of LLM fine-tuning:
- Stage 1: Conventional Recommendation Pretraining. A CRM is trained on the entire dataset using standard item ID sequences to capture global patterns.
- Stage 2: Personalized LoRA Finetuning. The LLM is fine-tuned on a smaller subset of data. During this stage, the pre-trained CRM acts as a "magnifier," injecting global knowledge from the full dataset into the LLM via the personalized LoRA instructions.
Long-Short Modality Retriever
To handle lifelong user history, RecLoRA employs a dual-modality approach. It uses a CRM to process long sequences of item IDs—which is computationally inexpensive—and reserves the LLM for processing shorter, semantically rich text descriptions. This modality splitting allows the model to capture long-term patterns without the exponential increase in LLM inference time and memory costs associated with long text contexts.
Key Results and Performance
RecLoRA was evaluated on MovieLens-25M, MovieLens-1M, and GoodReads benchmarks, consistently outperforming state-of-the-art baselines like ReLLa and TallRec.
- Efficiency: Extending ID-based history improved performance by 2.73% with only a 4-8% increase in time cost, compared to a 358% increase when attempting to achieve similar gains by extending text history.
- Sample Efficiency: RecLoRA trained on just 10,000 samples outperformed baseline models trained on 70,000 samples, validating the effectiveness of the "Few2Many" magnifier strategy.
Conclusion
RecLoRA demonstrates that personalizing model weights is significantly more effective than personalizing input prompts alone. By combining parameter-level personalization with efficient modality retrieval and the Few2Many training strategy, RecLoRA provides a scalable and efficient path for deploying LLMs in high-performance recommendation environments.
Summary updated