Skip to main content
QUICK REVIEW

[Paper Review] LaMP: When Large Language Models Meet Personalization

Alireza Salemi, Sheshera Mysore|arXiv (Cornell University)|Apr 22, 2023
Topic ModelingComputer Science6 citations
TL;DR

This paper introduces LaMP, a comprehensive benchmark for evaluating personalized language models across seven diverse tasks spanning text classification and generation. It proposes retrieval-augmented prompting using user profiles to improve zero-shot and fine-tuned LLM performance, achieving a 23.5% relative average improvement in fine-tuned settings and 12.2% in zero-shot settings across the benchmark.

ABSTRACT

This paper highlights the importance of personalization in large language models and introduces the LaMP benchmark -- a novel benchmark for training and evaluating language models for producing personalized outputs. LaMP offers a comprehensive evaluation framework with diverse language tasks and multiple entries for each user profile. It consists of seven personalized tasks, spanning three text classification and four text generation tasks. We additionally propose two retrieval augmentation approaches that retrieve personal items from each user profile for personalizing language model outputs. To this aim, we study various retrieval models, including term matching, semantic matching, and time-aware methods. Extensive experiments on LaMP for zero-shot and fine-tuned language models demonstrate the efficacy of the proposed retrieval augmentation approach and highlight the impact of personalization in various natural language tasks.

Motivation & Objective

  • To address the lack of comprehensive benchmarks for evaluating personalized large language models (LLMs) in real-world NLP applications.
  • To develop a unified evaluation framework that supports both user-based and time-based personalization settings.
  • To investigate effective retrieval-based methods for incorporating user profiles into LLM prompts without exceeding token limits.
  • To establish baseline performance for zero-shot and fine-tuned LLMs on personalized tasks using diverse, real-world user data.
  • To demonstrate the efficacy of retrieval-augmented prompting in improving personalization across multiple NLP tasks.

Proposed method

  • The LaMP benchmark consists of seven personalized tasks: three text classification tasks (citation identification, movie tagging, product rating) and four text generation tasks (news headlines, scholarly titles, email subjects, tweet paraphrasing).
  • User profiles are defined as historical user interactions, including past inputs and approved outputs, forming a personalized context for each user.
  • Two retrieval-augmented prompting strategies are proposed: in-prompt augmentation (IPA), which retrieves and inserts profile items directly into the prompt, and fusion-in-decoder, which encodes and integrates profile items during decoding.
  • Multiple retrieval models are evaluated, including term matching, semantic matching, and time-aware retrieval methods, to select relevant personal items for prompt augmentation.
  • The framework supports two data splits: user-based (for new users) and time-based (for future interactions of existing users), enabling evaluation of generalization and long-term personalization.
  • Performance is evaluated using standard metrics: accuracy/F1 for classification, MAE/RMSE for ordinal rating, and ROUGE-1/ROUGE-L for generation tasks.

Experimental results

Research questions

  • RQ1How effective is retrieval-augmented prompting in improving personalized language model performance across diverse NLP tasks?
  • RQ2What is the relative impact of fine-tuning versus zero-shot prompting with retrieval augmentation on personalized LLMs?
  • RQ3How do different retrieval strategies (term matching, semantic matching, time-aware) affect the quality of personalized outputs?
  • RQ4To what extent does incorporating user profiles improve model performance in both zero-shot and fine-tuned settings?
  • RQ5How do standard non-personalized models (e.g., SVM, BERT, BART) compare to retrieval-augmented LLMs on personalized tasks?

Key findings

  • Retrieval-augmented prompting significantly improves LLM performance, achieving a 23.5% relative average improvement across all tasks when fine-tuning with profile retrieval.
  • Even in zero-shot settings, the proposed method yields a 12.2% relative average improvement over off-the-shelf LLMs like FlanT5-XXL.
  • The fusion-in-decoder approach outperforms in-prompt augmentation in most tasks, particularly in generation tasks like tweet paraphrasing and email subject generation.
  • Semantic retrieval models consistently outperform term matching and time-aware methods across the benchmark, especially in complex generation tasks.
  • Non-personalized baselines like BERT and BART underperform compared to retrieval-augmented LLMs, with BERT achieving only 0.584 accuracy on citation identification and BART scoring 0.171 ROUGE-L on news headline generation.
  • The time-based split setting reveals stronger generalization performance for retrieval-augmented models, indicating better adaptation to future user interactions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.