Black-Box Test-Time Personalization: Optimality and Collaboration
Abstract
Personalizing a frozen black-box language model is difficult when no reliable reward model or verifier is available. We study online best-of- response selection: at each interaction, the model generates a size- candidate set, among which the system chooses one response to present. By formulating this task as a nonparametric stochastic contextual bandit problem, we propose Black-Box Test-Time Nearest Neighbors, , an adaptive nearest-neighbor upper confidence bound policy that smartly learns user preferences from sequential feedback. Matching regret upper and lower bounds are established up to logarithmic factors, revealing a phase transition in the candidate-set size~. To accelerate learning across multiple users, we extend this framework to a collaborative bandit setting and characterize user similarity through the distributions of preferred choices, which allows effective information sharing among users with the same preference ordering despite potentially different reward models. Based on this similarity measure, we propose a two-stage procedure that detects latent user clusters and pools feedback for joint decision-making. Theoretical guarantees on cluster recovery and collaborative regret are established. Extensive numerical experiments are also provided, including simulations examining the predicted rates and collaboration effects, and a question-answering benchmark with constructed user preferences showing the superiority of our methods over other state-of-the-art baselines.
Create a lesson
Metadata
- Categories
- stat.ML, cs.LG, stat.ME
Related papers
Statistically Optimal and Near Linear Time Hypothesis Selection
Shared title terminologystat.MLSatyen Kale, Amirreza Shaeiri, Kunal Talwar
ONAM: Fitting Orthogonal Neural Additive Models for Post-Hoc Interpretability of Black-Box Predictions
Shared title terminologystat.MLDavid Köhler, Matthias Schmid
Flow matching-based segmentation of non-Gaussian time series
Shared title terminologystat.MLYuting Liang, Xintong Wang, Ling Guo et al.
Engression: Modeling Principles, Recent Advances, and Applications to Time Series Forecasting
Shared title terminologystat.MLTanujit Chakraborty, Nilasha Majumdar, Muhsina VS et al.
Bertsimas-Sim Optimized Cauchy Lasso Regression
Shared title terminologystat.MLMaryam Abedini, Amir Hossein Ghatari, Jorge Mateu
The instance-dependent price of certified Lipschitz optimization
Shared title terminologystat.MLRuiqi Zhao