LGAIIRMLApr 3, 2025

Prompt Optimization with Logged Bandit Data

arXiv:2504.02646v12 citationsh-index: 8
Originality Incremental advance
AI Analysis

This work addresses the challenge of efficiently personalizing LLM outputs for applications like recommendations, though it is incremental in improving existing optimization techniques.

The paper tackles the problem of optimizing LLM prompts for personalized sentence generation using logged user feedback, and introduces a kernel-based off-policy gradient method that reduces variance and bias, showing effectiveness in movie recommendation benchmarks with large prompt sets.

We study how to use naturally available user feedback, such as clicks, to optimize large language model (LLM) pipelines for generating personalized sentences using prompts. Naive approaches, which estimate the policy gradient in the prompt space, suffer either from variance caused by the large action space of prompts or bias caused by inaccurate reward predictions. To circumvent these challenges, we propose a novel kernel-based off-policy gradient method, which estimates the policy gradient by leveraging similarity among generated sentences, substantially reducing variance while suppressing the bias. Empirical results on our newly established suite of benchmarks demonstrate the effectiveness of the proposed approach in generating personalized descriptions for movie recommendations, particularly when the number of candidate prompts is large.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes