<scp>User-LLM:</scp> Efficient LLM Contextualization with User Embeddings

Large language models (LLMs) hold immense potential for personalized AI, but effectively incorporating user history for personalized responses remains challenging.Existing methods often convert user timelines into lengthy text descriptions, leading to high computational cost and potential loss of nuanced information.Inspired by the successful integration of LLMs with other modalities, such as images, we introduce User-LLM, a novel framework that treats user timelines as a distinct modality and leverages user embeddings for efficient LLM contextualization.User embeddings, generated by a pretrained user encoder, capture latent user behaviors and interests from diverse interaction data.By integrating these embeddings with LLMs through cross-attention, User-LLM enables LLMs to dynamically adapt their responses to individual user history.Our evaluation on three diverse datasets (MovieLens, Amazon Review, and Google Local Review) demonstrates that User-LLM achieves substantial computation reduction (up to 78.1X) compared to text-prompt-based methods, without sacrificing performance.Importantly, User-LLM maintains or even improves performance on tasks requiring deep user understanding, particularly with long user histories, highlighting its effectiveness in efficiently capturing and leveraging user information for personalized responses.

Authors

Institutions

Publication Details

Published
2025-05-08
DOI
https://doi.org/10.1145/3701716.3715463
Citations
15
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
37.21
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

User-LLM: Efficient LLM Contextualization with User Embeddings

Lin Ning, Jun Xie, Bradley Green, Sushant Prakash et al.
15 citations
Natural Language Processing Techniques
37.21
article

User-LLM: Efficient LLM Contextualization with User Embeddings

Lin Ning, Jun Xie, Bradley Green, Sushant Prakash, Luyang Liu, Shawn O’Banion, Devora Berlowitz, Neo Wu, Jiaxing Wu
article en
15 citations

Abstract

Large language models (LLMs) hold immense potential for personalized AI, but effectively incorporating user history for personalized responses remains challenging.Existing methods often convert user timelines into lengthy text descriptions, leading to high computational cost and potential loss of nuanced information.Inspired by the successful integration of LLMs with other modalities, such as images, we introduce User-LLM, a novel framework that treats user timelines as a distinct modality and leverages user embeddings for efficient LLM contextualization.User embeddings, generated by a pretrained user encoder, capture latent user behaviors and interests from diverse interaction data.By integrating these embeddings with LLMs through cross-attention, User-LLM enables LLMs to dynamically adapt their responses to individual user history.Our evaluation on three diverse datasets (MovieLens, Amazon Review, and Google Local Review) demonstrates that User-LLM achieves substantial computation reduction (up to 78.1X) compared to text-prompt-based methods, without sacrificing performance.Importantly, User-LLM maintains or even improves performance on tasks requiring deep user understanding, particularly with long user histories, highlighting its effectiveness in efficiently capturing and leveraging user information for personalized responses.

Google (United States) (US), Seattle University (US)
Openalex Percentile: Top 0%
Natural Language Processing Techniques
37.21
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.