Introduction
Large Language Models (LLMs) have revolutionized recommendation systems, yet they face a persistent tension between broad generalization and domain-specific precision. Current research typically follows one of two paths: a breadth-oriented paradigm that trains on massive multi-domain datasets for high generalizability (ideal for cold-start scenarios), or a depth-oriented paradigm that fine-tunes on specific domains for high accuracy (ideal for warm-start scenarios).
The challenge lies in the fact that breadth-oriented models often lack nuanced domain understanding, while depth-oriented models suffer from catastrophic forgetting and poor performance on new items. Traditional solutions like ensembling are computationally prohibitive, and sequential fine-tuning fails to retain general knowledge. To bridge this gap, the authors introduce RecCocktail, a plug-and-play framework that merges general and specific knowledge without increasing inference overhead.
The RecCocktail Framework
Inspired by mixology, RecCocktail utilizes Low-Rank Adaptation (LoRA) to create a modular recommendation system. The process involves three distinct steps:
- The "Base Spirit" (General Knowledge): An LLM (specifically Qwen2-7B) is fine-tuned using a LoRA module on a vast, multi-domain instruction dataset. This establishes a foundation of general recommendation logic and world knowledge.
- The "Ingredient" (Specific Knowledge): A separate, lightweight LoRA module is trained exclusively on data from a target domain (e.g., Beauty or Movies).
- LoRA Cocktail (Weight Merging): Instead of ensembling outputs, the framework directly merges the weights of the two modules in the parameter space using the formula $\lambda_1 \times Base + \lambda_2 \times Ingredient$.
Because this merging is a simple matrix addition, the final model maintains the original LLM's size, ensuring zero additional overhead during inference. To optimize the blending ratios ($\lambda_1, \lambda_2$), the authors employ Entropy-Guided Adaptive Merging. This test-time optimization step adjusts the weights to minimize the Shannon entropy of the model's output on a small set of unlabeled samples, effectively maximizing the model's confidence in its predictions.
Experimental Evaluation
The framework was rigorously tested across two major benchmarks:
- Amazon Reviews: Evaluated on Beauty, Toys, and Sports domains after training the "base spirit" on seven diverse Amazon categories.
- MovieLens: Evaluated on MovieLens-1M after training the general model on MovieLens-10M.
The experiments covered both Warm-Start scenarios (users/items with established histories) and Cold-Start/Out-of-Distribution (O.O.D) scenarios (entirely new items).
Key Results and Insights
RecCocktail achieves state-of-the-art (SOTA) performance across all tested datasets, outperforming both traditional models (like SASRec) and existing LLM-based recommenders (like TALLRec and P5).
- Superior Cold-Start Resilience: In O.O.D scenarios, RecCocktail showed significant gains. On the Amazon Beauty dataset, it achieved an NDCG@1 of 0.1825, a 23% relative improvement over the best LLM baseline.
- Mitigating Catastrophic Forgetting: When trained on limited data (10% of MovieLens-1M), RecCocktail maintained high performance (NDCG@1 of 0.5353), whereas standard two-stage fine-tuning collapsed to 0.0704.
- Dynamic Adaptation: The entropy-guided merging automatically shifts weight toward the "ingredient" for warm-start tasks and back to the "base spirit" for cold-start tasks, demonstrating that confidence is a robust proxy for accuracy.
- Efficiency and Scalability: The "base spirit" is a one-time investment. New domains can be integrated by training a tiny, inexpensive LoRA module and mixing it in.
Conclusion and Future Directions
RecCocktail provides a highly efficient path toward generalizable LLM-based recommendation. While currently reliant on textual titles, future iterations could incorporate collaborative filtering embeddings or multimodal features (images, prices). The success of entropy-guided weight merging suggests that further research into non-linear merging or multi-LoRA "cocktails" could yield even more powerful, specialized recommendation agents.
Summary updated