Introduction
Large Language Models (LLMs) have traditionally been developed as "one-size-fits-all" systems. While effective for general tasks, they often fail in real-world applications that require outputs tailored to individual user preferences, styles, or histories. For instance, generating an email subject line or recommending a movie tag is inherently subjective and depends on a user's unique past behavior. This paper introduces LaMP (Language Model Personalization), a comprehensive benchmark designed to train and evaluate LLMs on their ability to leverage historical user data for personalized responses.
The LaMP Framework
To address the challenge of massive user profiles exceeding the limited context windows of LLMs, the authors propose a retrieval-augmented framework. This approach decomposes personalization into two primary stages:
- Retrieval: Given a new input $x$, a retriever identifies the $k$ most relevant items from the user's historical profile. The authors evaluated several strategies, including keyword-based BM25, semantic-based Contriever, and simple Recency.
- Augmentation: The retrieved context is then integrated into the LLM. This can be done via In-Prompt Augmentation (IPA), where examples are concatenated directly into the prompt, or Fusion-in-Decoder (FiD), which encodes retrieved items separately before merging them in the decoder.
The LaMP Benchmark
The LaMP benchmark consists of seven diverse tasks reframed for personalization, categorized into classification and generation:
- Classification: Personalized Citation Identification, Movie Tagging (15 categories), and Product Rating (1-5 stars).
- Generation: News Headline Generation, Scholarly Title Generation, Email Subject Generation, and Tweet Paraphrasing.
The benchmark supports two evaluation settings: User-based separation, which tests generalization to entirely new users, and Time-based separation, which evaluates the model's ability to predict future interactions for known users.
Analysis and Results
The experimental results demonstrate that personalization is a significant "force multiplier" for LLM performance. Even minimal personalization—such as adding a single random historical item—outperforms non-personalized baselines.
A key finding is the impact of scaling the number of retrieved items ($k$). As shown in the figure below, performance across nearly all tasks improves consistently as $k$ increases, indicating that LLMs can effectively "learn" a user's style on-the-fly when provided with sufficient context.
Key Performance Metrics
- Relative Gains: Personalization yielded a 12.2% relative improvement in zero-shot settings and a 23.5% improvement when models were fine-tuned.
- Task-Specific Success: In Email Subject Generation, ROUGE-1 scores increased from 0.379 to 0.587 with profile access. In Movie Tagging, accuracy rose from ~47% to over 64% using the FiD approach.
- Model Efficiency: While large models like GPT-3.5 are strong zero-shot personalizers, smaller models like Flan-T5-base, when fine-tuned on personalized data and augmented with retrieval, frequently outperformed their larger counterparts.
Discussion and Future Work
While LaMP marks a significant step forward, several challenges remain. Standard metrics like ROUGE and BLEU may not fully capture the nuances of "personal style." Additionally, fine-tuning on personal data raises privacy concerns, specifically regarding "membership inference attacks." Future research should explore "soft prompts" for more efficient personalization and the development of ranking models specifically optimized for stylistic relevance rather than just semantic similarity.
Summary updated