Guided Profile Generation Improves Personalization with LLMs

Jiarui ZhangarXiv 2024

Abstract

In modern commercial systems, including Recommendation, Ranking, and E-Commerce platforms, there is a trend towards improving customer experiences by incorporating Personalization context as input into Large Language Models (LLMs). However, LLMs often struggle to effectively parse and utilize sparse and complex personal context without additional processing or contextual enrichment, underscoring the need for more sophisticated context understanding mechanisms. In this work, we propose Guided Profile Generation (GPG), a general method designed to generate personal profiles in natural language. As is observed, intermediate guided profile generation enables LLMs to summarize, and extract the important, distinctive features from the personal context into concise, descriptive sentences, precisely tailoring their generation more closely to an individual's unique habits and preferences. Our experimental results show that GPG improves LLM's personalization ability across different tasks, for example, it increases 37% accuracy in predicting personal preference compared to directly feeding the LLMs with raw personal context.

Introduction

While Large Language Models (LLMs) are incredibly capable, they face significant hurdles in personalization. Two major challenges are context sparsity and generic bias. A user's unique preferences are often buried in generic data, and LLMs, trained to be helpful assistants for the average person, tend to prioritize majority behaviors over individual idiosyncrasies. Current solutions like Retrieval-Augmented Generation (RAG) often fail to capture nuanced styles, while fine-tuning remains prohibitively expensive for most personalized applications.

The GPG Framework

Researchers at USC have introduced Guided Profile Generation (GPG) to address these issues. GPG is a three-step pipeline that transforms raw personal context (PC) into high-quality, personalized responses:

  1. Personal Context Digestion: The LLM is prompted with a specific "guidance" question to extract key features from the user's history. For example, it might be asked to list product categories from a purchase history.
  2. Guided Profile Generation: Using the extracted guidance, the model writes a descriptive "Personal Profile" (PP) in natural language. This profile serves as a human-readable summary of the user’s habits and preferences.
  3. Answer Generation: The model generates the final response using the original request, the raw context, and the newly created Personal Profile.
The three-step GPG pipeline: Personal Context Digestion, Guided Profile Generation, and Answer Generation, illustrating how it overcomes the "abstain" problem.

This approach is "language model orthogonal," meaning it works across different models without requiring specialized training or high-dimensional vector embeddings.

Experimental Setup

The study evaluated GPG across three distinct personalization tasks:

  • Purchase Preference Prediction (Amazon Product Reviews): Predicting which of four products a user is most likely to buy.
  • Text Paraphrasing (LAMP-7): Rewriting neutral tweets to match a specific user’s unique writing style (e.g., capitalization, emojis).
  • Dialogue Response Generation (PER-CHAT): Generating Reddit comment responses aligned with a user’s personality.

Key Results and Insights

GPG demonstrated significant performance gains across all evaluated tasks. In preference prediction, GPG achieved 65.08% accuracy, a substantial jump from the 47.55% achieved by direct generation with raw context. For writing style tasks, GPG improved the METEOR score by 2.24 points over standard prompting.

Performance comparison across ROUGE, METEOR, and BLEU metrics, showing GPG (yellow stars) consistently outperforming other methods.

Beyond raw metrics, several key insights emerged:

  • The "Certainty" Effect: GPG makes models more confident. It reduced the "abstain" rate (where models refuse to answer due to messy context) from 26% to under 5% in preference tasks.
  • Guidance is Essential: Providing a specific "digestion" step nearly doubles the performance gain compared to unguided profile generation.
  • Interpretability: Because profiles are in natural language, they are "diagnosable," allowing developers to see exactly why a model made a specific recommendation.
  • Task-Specific Nuance: Raw context remains critical for capturing style (paraphrasing), whereas the generated profile is more impactful for determining intent (preference).

Conclusion and Future Work

GPG offers a robust, interpretable method for enhancing LLM personalization. While current experiments rely on single-source context, future work will explore Multimodal Personalization, integrating diverse data types like images of past purchases or sensor data for deeper, health-related personalization. This path aims to create even more comprehensive and accurate user profiles across multiple platforms.

Summary updated

BibTeX
@misc{zhang2024guided,
  author = {Jiarui Zhang},
  title = {{Guided Profile Generation Improves Personalization with LLMs}},
  year = {2024},
  eprint = {2409.13093},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.13093},
}
Figure