Latent Inter-User Difference Modeling for LLM Personalization

Yilun Qiu, Tianhao Shi, Xiaoyan Zhao, Fengbin Zhu, Yang Zhang +1 more
7/28/2025
cs.CL

Official code: SnowCharmQ/DEP (17 stars, last commit 2025-09-16).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

SnowCharmQ/DEPOfficial100%

[2025 EMNLP Main (oral)] Latent Inter-User Difference Modeling for LLM Personalization

175Shell, PythonMay 17, 20251 years ago

Similar Papers

Cite this paper

@article{qiu2025latent,
  title  = {Latent Inter-User Difference Modeling for LLM Personalization},
  author = {Yilun Qiu and Tianhao Shi and Xiaoyan Zhao and Fengbin Zhu and Yang Zhang and Fuli Feng},
  year   = {2025},
  eprint = {2507.20849},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.20849v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.20849.svg)](https://codeofpaper.com/paper/2507.20849)

Discussion