TensorX
返回文献探索

Paper · arXiv 2402.13598

User-LLM: Efficient LLM Contextualization with User Embeddings

Lin Ning, Luyang Liu, Jiaxing Wu, Neo Wu, Devora Berlowitz, Sushant Prakash, Bradley Green, Shawn O'Banion, Jun Xie

22 upvotesFebruary 21, 2024arXiv 预印本
AI 摘要

User-LLM framework uses user embeddings and Perceiver layers to improve LLM performance on long sequence tasks and user understanding efficiently.

User embeddingsself-supervised pretrainingcross-attentionsoft-promptingPerceiver layers

Abstract

Large language models (LLMs) have revolutionized natural language processing. However, effectively incorporating complex and potentially noisy user interaction data remains a challenge. To address this, we propose User-LLM, a novel framework that leverages user embeddings to contextualize LLMs. These embeddings, distilled from diverse user interactions using self-supervised pretraining, capture latent user preferences and their evolution over time. We integrate these user embeddings with LLMs through cross-attention and soft-prompting, enabling LLMs to dynamically adapt to user context. Our comprehensive experiments on MovieLens, Amazon Review, and Google Local Review datasets demonstrate significant performance gains across various tasks. Notably, our approach outperforms text-prompt-based contextualization on long sequence tasks and tasks that require deep user understanding while being computationally efficient. We further incorporate Perceiver layers to streamline the integration between user encoders and LLMs, reducing computational demands.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
User-LLM: Efficient LLM Contextualization with User Embeddings | TensorX