Measuring What Makes You Unique: Difference-Aware User Modeling for Enhancing LLM Personalization

Yilun Qiu, Xiaoyan Zhao, Yang Zhang, Yimeng Bai, Wenjie Wang, Hong Cheng, Fuli Feng, Tat-Seng Chua

TL;DR

Standard large language model (LLM) personalization methods look at a user's history in a vacuum, failing to capture what truly makes them unique. This paper introduces Difference-aware Personalization Learning (DPL), a framework that contrasts a user's behavior with representative peers to extract distinct preference traits. By injecting these "difference-aware" insights into the generation prompt, DPL achieves state-of-the-art performance in personalized text generation.

What Problem Does This Paper Address?

When customizing LLMs to align with individual user preferences (such as writing a product review in a user's specific voice), most systems rely on a "memorize-then-inject" approach. They retrieve or summarize a user's past interactions and feed them directly into the prompt context.

However, the authors argue that analyzing a user's history in isolation overlooks a fundamental psychological truth: our preferences and uniqueness are defined by how we differ from others. Without an inter-user comparative analysis, an LLM might focus on generic behaviors (e.g., "this user likes good movies") rather than distinguishing nuances (e.g., "this user writes much shorter, more cynical reviews than the average person").

The challenge lies in how to perform this comparison efficiently without blowing up computational costs by comparing a target user to millions of others.

Methods

The proposed Difference-aware Personalization Learning (DPL) framework introduces a structured, two-step pipeline to isolate user uniqueness:

  1. Selective User Comparison: To keep the process computationally lightweight, DPL avoids comparing a target user to the entire database. Instead, it takes the users who interacted with the same item, embeds their text, and clusters them into $K+1$ groups using K-means. The users closest to the centers of these clusters are selected as a global, representative sample for comparison.
  2. Structured Difference Extraction: Rather than letting an LLM freely summarize differences between the target user and the cluster centers, DPL forces the model to evaluate the text across three predefined dimensions:
  3. Writing style: Lexical choices, sentence complexity, and grammatical preferences.
  4. Emotional style: Sentiment tone (positive, negative, neutral) and affective expression.
  5. Semantic style: Information density, logical flow, and depth of meaning.

Finally, a summarizer LLM aggregates these structured differences across multiple historical items alongside the user's own raw history to create a difference-aware preference profile that guides the final text generator.

Figure 1: Overview of the proposed DPL method, which enables difference-aware preference extraction for LLM personalization. It extracts differences through selective user comparison via clustering and structured difference extraction along fixed dimensions (writing style, emotional style, and semantic style).

Datasets

The authors evaluated DPL on two large-scale, real-world review generation datasets:

  • Amazon Reviews 2023: Focused on three distinct product categories: Movies & TV, CDs & Vinyl, and Books.
  • Yelp Open Dataset: Used to test the generalizability of the framework across a completely different domain (local businesses and restaurants).

Key Insights and Ideas

  • Uniqueness is Relative: Personalization is significantly enhanced when the model knows not just what a user did, but what they did differently from the crowd.
  • The "Unique User" Premium: The framework provides the largest performance leap for users whose profiles deviate significantly from the population average. For highly conventional users, contrastive modeling helps less; for highly unique users, it is a massive win.
  • Constraints Prevent Noise: Ablation studies revealed that forcing the LLM to extract differences along specific dimensions (writing, emotional, semantic) outperforms unconstrained contrastive prompts, which often introduce task-irrelevant noise.

Key Results

DPL consistently outperformed all baseline methods—including standard Retrieval-Augmented Generation (RAG), text summarization (IntSum), and alternative contrastive approaches (CICL, Persona-DB)—across both automated lexical metrics and LLM-as-a-judge evaluations.

  • Quantitative Gains: On the Amazon CDs & Vinyl dataset, DPL achieved an average relative improvement of 4.29% over the best-performing baselines.
  • Scalability: Performance steadily scaled upward as the number of retrieved reviews ($N$) increased from 1 to 8, demonstrating DPL's ability to effectively leverage richer user histories.
  • Hyperparameter Sensitivity: Performance peaked when the number of selected representative users ($K$) was set to 4, showing that a small, well-chosen set of peers is sufficient for effective contrastive modeling.
Figure 3: Results of the performance of DPL across dif- ferent levels of uniqueness. We report the absolute im- provement compared to the non-personalization method.

Limitations and Future Work

  • Computational Overhead: Comparing users introduces extra LLM inference steps during the profiling phase. While clustering keeps this lightweight, it still adds latency. The authors suggest that this can be mitigated in production by precomputing and storing difference-aware profiles in a user memory bank.
  • Task-Specific Dimensions: The three chosen dimensions (writing, emotional, semantic) were specifically curated for review generation. Other tasks, like personalized productivity assistants, might require entirely different dimensions (e.g., personality traits or cognitive styles).
  • Context Window Dependency: The method relies heavily on the long-context capabilities of modern LLMs to process multiple comparative reviews simultaneously. The authors plan to explore more context-efficient architectures in future work.

Summary updated

BibTeX
@inproceedings{qiu2025measuring,
  author = {Yilun Qiu and Xiaoyan Zhao and Yang Zhang and Yimeng Bai and Wenjie Wang and Hong Cheng and Fuli Feng and Tat-Seng Chua},
  title = {{Measuring What Makes You Unique: Difference-Aware User Modeling for Enhancing LLM Personalization}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure