Automating Personalization: Prompt Optimization for Recommendation Reranking
Chen Wang, Mingdai Yang, Zhiwei Liu, Pan Li, Linsey Pang, Qingsong Wen, Philip Yu
TL;DR
This work introduces AGP, a framework that optimizes the user-profile generation prompt to improve LLM-based reranking in recommender systems. By replacing manual prompts with a learned $p_{ ext{gen}}$ and leveraging position-based feedback within batched training, AGP achieves better generalization across users and more interpretable ranking signals. Experiments across Amazon, Yelp, and Goodreads demonstrate improved ranking quality (e.g., higher NDCG@10) and validate the importance of summarization, batch size, sequence length, and position-based feedback. The approach offers a scalable path to personalized reranking with reduced reliance on hand-tuned prompts, with potential extensions via reinforcement learning.
Abstract
Modern recommender systems increasingly leverage large language models (LLMs) for reranking to improve personalization. However, existing approaches face two key limitations: (1) heavy reliance on manually crafted prompts that are difficult to scale, and (2) inadequate handling of unstructured item metadata that complicates preference inference. We present AGP (Auto-Guided Prompt Refinement), a novel framework that automatically optimizes user profile generation prompts for personalized reranking. AGP introduces two key innovations: (1) position-aware feedback mechanisms for precise ranking correction, and (2) batched training with aggregated feedback to enhance generalization.
