Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Optimizing User Profiles via Contextual Bandits for Retrieval-Augmented LLM Personalization

About

Large Language Models (LLMs) excel at general-purpose tasks, yet adapting their responses to individual users remains challenging. Retrieval augmentation provides a lightweight alternative to fine-tuning by conditioning LLMs on user history records, and existing approaches typically select these records based on semantic relevance. We argue that relevance serves as an unreliable proxy for utility: a record may be semantically similar to a query yet fail to improve generation quality or even degrade it due to redundancy or conflicting information. To bridge this gap, we propose PURPLE, a contextual bandit framework that oPtimizes UseR Profiles for Llm pErsonalization. In contrast to a greedy selection of the most relevant records, PURPLE treats profile construction as a set generation process and utilizes a Plackett-Luce ranking model to capture complex inter-record dependencies. By training with dense feedback provided by the likelihood of the reference response, our method aligns retrieval directly with generation quality. Extensive experiments on nine personalization tasks demonstrate that PURPLE consistently outperforms strong heuristic and retrieval-augmented baselines in both effectiveness and efficiency, establishing a principled and scalable solution for optimizing user profiles.

Linfeng Du, Ye Yuan, Zichen Zhao, Fuyuan Lyu, Emiliano Penaloza, Xiuying Chen, Zipeng Sun, Jikun Kang, Laurent Charlin, Xue Liu, Haolun Wu• 2026

Related benchmarks

TaskDatasetResultRank
Abstract generationLongLaMP
R142.3
32
Movie RecommendationLaMP Movie
Accuracy57
24
News Headline GenerationLaMP News
RG118.8
24
Product Rating PredictionLaMP Rating
MAE0.236
24
Citation RecommendationLaMP Citation
Accuracy72.2
24
Scholarly Abstract GenerationLaMP Scholar
ROUGE-144.4
24
Tweet Paraphrasing/GenerationLaMP Tweet
ROUGE-139
24
Topic GenerationLongLaMP
R130.4
16
Showing 8 of 8 rows

Other info

Follow for update