Latent Inter-User Difference Modeling for LLM Personalization
About
Large language models (LLMs) are increasingly integrated into users' daily lives, leading to a growing demand for personalized outputs. Previous work focuses on leveraging a user's own history, overlooking inter-user differences that are crucial for effective personalization. While recent work has attempted to model such differences, the reliance on language-based prompts often hampers the effective extraction of meaningful distinctions. To address these issues, we propose Difference-aware Embedding-based Personalization (DEP), a framework that models inter-user differences in the latent space instead of relying on language prompts. DEP constructs soft prompts by contrasting a user's embedding with those of peers who engaged with similar content, highlighting relative behavioral signals. A sparse autoencoder then filters and compresses both user-specific and difference-aware embeddings, preserving only task-relevant features before injecting them into a frozen LLM. Experiments on personalized review generation show that DEP consistently outperforms baseline methods across multiple metrics. Our code is available at https://github.com/SnowCharmQ/DEP.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Personalized Generation | MemoryCD Books | ROUGE-L Score24.7 | 35 | |
| Personalized Text Generation | Amazon Reviews Books, Movies_and_TV, and CDs_and_Vinyl 2023 | R-10.255 | 14 | |
| Review Generation | Amazon Reviews Books 2023 (test) | ROUGE-10.3621 | 10 | |
| Review Generation | Amazon Reviews Movies & TV 2023 (test) | ROUGE-10.3061 | 10 | |
| Review Generation | Amazon Reviews CDs & Vinyl 2023 (test) | ROUGE-131.43 | 10 | |
| Personalized Review Generation | Amazon Reviews Video Games 2023 (test) | ROUGE-126.55 | 6 | |
| Personalized Review Generation | Amazon Reviews Sports & Outdoors 2023 (test) | ROUGE-128.39 | 6 | |
| Personalized Review Generation | Books dataset | Authenticity Score7.87 | 6 | |
| Personalized Review Generation | Amazon Reviews Musical Instruments 2023 (test) | ROUGE-10.2319 | 6 |