Rethinking Personalized Generation: Test-Time Alignment via Factorized Ranking Models

Qiyao Ma, Junshan Zhang, Zhe ZhaoNeurIPS 2026

TL;DR

Large language models (LLMs) already know how to write in your exact personal style—we are just terrible at picking the right draft out of their generations. Instead of fine-tuning massive generators for individual users, this paper introduces a tiny, million-parameter ranking model that "recycles" the generator's internal brainwaves to spot the best personalized response. It beats 8-billion-parameter reward models across the board while running 10,000 times faster.

What Problem Does This Paper Address?

Standard alignment techniques (like RLHF) optimize LLMs for a single, mythical "average" user. In doing so, they sand down the quirks, tone, and stylistic choices that make text feel like it was written for or by a specific person.

Usually, researchers treat this as a generation failure, trying to fix it by fine-tuning the LLM on user data. The authors ask a simpler question: What if the base model is already generating great personalized responses, and we just can't find them?

Figure 1: Personalization headroom under Best-of-N sampling. The oracle selects with the evaluation metric itself and upper-bounds any selector; the reward-model line is, at each N, the best of the four generalist reward models of Section 4.1. The shaded region is the gap between them. Results are averaged over the three datasets of each task.

By sampling $N$ responses from a frozen LLM (Best-of-$N$ sampling), they show that well-personalized answers are already sitting in the candidate pool. However, standard 8B-parameter reward models fail to pick them out because they judge universal quality (fluency, helpfulness) rather than personal fit—and re-encoding $N$ long texts through a massive reward model is prohibitively slow anyway. The capability is in the generator; the bottleneck is selection.

Methods

To make candidate selection both accurate for individual users and computationally free, the authors decouple language understanding from preference scoring.

Figure 2: Overview of our decoupled personalized ranking framework. Our personalized ranking model directly recycles the final hidden states of query, user profile, and answer from the LLM generator. This parameter-efficient model is deployed in two inference settings: Best-of-N Sampling and Ranking Guided Generation, where it steers the decoding trajectory when the token distribution entropy (Ht) exceeds a predefined threshold (τ).
  • Recycled Embeddings: When the base LLM (Qwen2.5-7B-Instruct) reads a query, a user's history profile, and generates an answer, its final hidden layer already holds rich semantic representations of all three. Rather than re-reading the text with a separate model, the framework simply extracts the final-token vectors for the query ($h_x$), user profile ($h_u$), and candidate answer ($h_y$).
  • Lightweight MLP Ranker: These three vectors are concatenated and fed into a tiny multi-layer perceptron (MLP)—just 2.8M parameters by default—to output a scalar personalization score. No per-user parameters are learned; the frozen generator's summary of the user history provides all the context.
  • Hard-Negative Training: To train the MLP, the base generator samples 64 candidates per training prompt. These act as realistic "hard negatives" (fluent and on-topic, just in the wrong voice). Each candidate is scored against the user's actual ground-truth text using ROUGE-L, and the MLP is trained via simple pointwise regression (MSE) to predict these standardized scores.
  • Ranking Guided Generation: Because scoring $N$ full generations still requires generating $N$ texts, the authors also test a single-pass alternative. During decoding, whenever the LLM is uncertain about the next token (high entropy), they take the gradient of the MLP's reward with respect to the hidden state and nudge the token probabilities toward the user's style on the fly.

Datasets

No new benchmarks were introduced; the authors evaluate across nine existing datasets spanning three distinct personalization settings:

  • LaMP (Short-form Personalized Generation): Personalized news headline generation, scholarly title generation, and tweet paraphrasing.
  • LaMP-QA (Long-form Personalized QA): Information-seeking questions across Arts & Entertainment, Lifestyle & Personal Development, and Society & Culture.
  • XRec (Personalized Explainable Recommendation): Generating natural-language explanations for user-item interactions on Amazon, Yelp, and Google.

Key Insights and Ideas

  • More compute hurts generalist reward models: As the candidate pool $N$ grows from 1 to 64, generalist 8B reward models actually stagnate or get worse at personalization. Larger pools just give them more chances to pick a generically polished answer that completely misses the user's voice.
  • Ranker size barely matters: Scaling the MLP from 1M to 30M parameters shifts ROUGE-L scores by at most 0.006. Because the base LLM has already done the heavy lifting of language comprehension, personalizing selection reduces to simple regression in a fixed feature space.
  • It doesn't just memorize the training metric: Even though the MLP is trained purely on ROUGE-L overlap scores, its selections generalize zero-shot to BLEU—despite the two metrics agreeing on the single best candidate out of 64 only 12% to 37% of the time. The ranker genuinely learns user preference, not metric gaming.

Key Results

  • Crushing generalist giants: The 2.8M-parameter MLP outperforms four state-of-the-art 8B generalist reward models (including Skywork-Reward-V2 and ArmoRM) on all nine datasets using under 0.4% of their parameters.
  • Near-ceiling performance: When Skywork-8B is explicitly fine-tuned per dataset on the exact same personalized data, the tiny MLP still recovers 45% to 94% of the 8B model's gains, while slashing scoring latency by four orders of magnitude ($O(N \cdot d^2)$ vs. $O(N \cdot L \cdot d_r^2)$).
  • Single-pass steering works (mostly): Ranking Guided Generation recovers the equivalent of Best-of-2 to Best-of-4 sampling at the cost of generating just a single response, serving as a cheap, zero-pool complement to full Best-of-$N$ selection.

Limitations and Future Work

  • Lexical evaluation: Both training supervision and evaluation rely on lexical overlap (ROUGE-L, BLEU) against user-authored references. While the authors note that semantic metrics like BERTScore blur away stylistic nuances, conducting human evaluations of style consistency remains open for future work.
  • White-box requirement: Because the ranker reads internal vectors directly, it can only attach to open-weights or white-box generators that expose their final-layer hidden states—not closed API models.
  • Guided decoding ceiling: Steering a single trajectory only captures a fraction of the total personalization headroom; unlocking the full potential still requires paying the generation cost of sampling a candidate pool.

Summary updated

Abstract

Aligning large language models (LLMs) to diverse user preferences is fundamentally hindered by standard alignment paradigms that optimize for monolithic users. In this work, empirical studies are first used to reveal the existence of a massive, untapped performance headroom for personalized generation through test-time alignment. We demonstrate that personalized generation is uniquely suited for test-time scaling methods like Best-of-$N$ (BoN) because it can be viewed primarily as a candidate matching problem rather than a generator capability bottleneck. While reward models could in principle exploit this headroom, they are poorly calibrated for personalization, and their billion-parameter scale makes scoring large candidate pools prohibitively expensive. To overcome this limitation, we propose a parameter-efficient framework utilizing million-parameter scale multi-layer perceptron (MLP) ranking models. Our personalized ranking model directly reuses the internal embeddings of the base generator with minimal overhead. By scaling train-time data to provide fine-grained personalized preferences, this million-parameter ranking model accurately scores large candidate pools and can seamlessly guide generation to reduce the cost of materializing $N$ candidates. Extensive experiments on nine datasets spanning three personalized generation settings show that our personalized ranking model effectively exploits the discovered headroom, outperforming billion-parameter generalist reward models on every dataset, with under 0.4\% of their parameters and four orders of magnitude lower scoring latency.
BibTeX
@inproceedings{ma2026rethinking,
  author = {Qiyao Ma and Junshan Zhang and Zhe Zhao},
  title = {{Rethinking Personalized Generation: Test-Time Alignment via Factorized Ranking Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=RFhvQqW3jD},
}
Figure