Few-Shot In-Context Personalization for Large Language Models

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 138 papers46 conceptsfrozen 2026-10-04

Standard alignment techniques, such as Reinforcement Learning from Human Feedback (RLHF), typically aim for a "one-size-fits-all" model. They aggregate the preferences of thousands of annotators to find a consensus on what a "good" response looks like. However, this approach ignores the reality that human preferences are subjective, contextual, and often conflicting. What one user considers a helpful biomedical summary, another might find overly simplistic or jargon-heavy.

A growing body of research is shifting the goal from global consensus to Personalized Alignment. This direction explores how models can adapt to the unique tastes, styles, and values of individual users—not through expensive retraining, but through efficient, few-shot adaptation at inference time.

The Context Window as an Adaptation Layer

The most immediate way to personalize a model is to treat the user's history as a prompt. Instead of updating model weights, researchers like Allison Lau and Vasilis Syrgkanis propose the Preference Pretrained Transformer (PPT) (/work/personalized-adaptation-via-in-context-preference-learning). This framework frames personalization as an in-context learning (ICL) task: by providing a few examples of a user's past choices in the prompt, the model "learns" the latent pattern of their preferences on the fly.

This works because Large Language Models (LLMs) are highly sensitive to stylistic anchors. For instance, Alireza Salemi and Hamed Zamani demonstrated with the LaMP benchmark (/work/lamp-when-large-language-models-meet-personalization) that retrieving even a single historical interaction can significantly boost performance across diverse tasks. Whether it is predicting a user's aesthetic taste in images (/work/advancing-comprehensive-aesthetic-insight-with-multi-scale) or their specific privacy boundaries for a home robot (/work/benchmarking-llm-privacy-recognition-for-social-robot), the context window acts as a real-time filter that narrows the model's broad capabilities into a user-specific persona.

Learning to Learn Preferences

While simple ICL is powerful, it can be inefficient if the model hasn't been "taught" how to personalize. To address this, researchers are applying meta-learning to the alignment process.

The Few-Shot Preference Optimization (FSPO) framework, developed by Anikait Singh, Tatsunori Hashimoto, and colleagues (/work/fspo-few-shot-preference-optimization-of-synthetic-hhv7), trains models on massive synthetic datasets of diverse preferences. The goal is to teach the model the meta-skill of inferring a reward function from just a few examples. Once trained this way, the model can adapt to real-world users with a high win rate, effectively "unlearning" its generic biases to match a specific individual's pedagogical or stylistic needs.

Similarly, Avinandan Bose and Yuejie Chi introduced LoRe (Low-Rank Reward Modeling) (/work/lore-personalizing-llms-via-low-rank-reward-modeling). LoRe decomposes complex human preferences into a shared "basis" of reward functions. Personalization then becomes a simple matter of learning a small vector of weights to combine these bases, allowing for rapid adaptation with as few as five examples.

From Edits to Latent Rewards

A major challenge in personalization is the "sparsity" of data—users rarely want to provide hundreds of ranked pairs to train a model. Researchers are finding ways to extract preference signals from natural interactions.

The PRELUDE framework by Ge Gao and Dipendra Misra (/work/aligning-llm-agents-by-learning-latent-preference) learns from the natural edits users make to model outputs. Their algorithm, CIPHER, infers descriptive natural language preferences from these edits (e.g., "the user prefers more concise summaries") and injects them into future prompts.

This move toward Context-Aware Preference Modeling (CAPM), as explored by Silviu Pitis and Alessandro Sordoni (/work/improving-context-aware-preference-modeling-for-language), recognizes that language is often underspecified. By transforming a few samples of user behavior into an explicit "preference profile" string, reward models can resolve ambiguities that a generic model would miss.

The Personalization Tax

Personalization is not a free lunch. Yijiang River Dong and Nigel Collier have identified a "personalization tax" (/work/when-personalization-meets-reality-a-multi-faceted-analysis): as a model becomes more aligned with a specific user's idiosyncratic preferences, its general reasoning and safety capabilities can decline.

Furthermore, Fady Rezk and Nancy Chen warn of a "reward model selection crisis" (/work/the-reward-model-selection-crisis-in-personalized-alignment-n76h), where a reward model's accuracy in ranking preferences doesn't always translate to better performance when guiding an LLM's generation. This suggests that for large-scale models, simple in-context learning using retrieved demonstrations may actually be more robust than complex parametric reward modeling.

By treating personalization as a dynamic, inference-time challenge rather than a static training goal, this research direction is making AI assistants that don't just follow instructions, but understand the unique human behind them.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_few_shot_in_context_personalization_for__b55a6ea0,
  title = {Few-Shot In-Context Personalization for Large Language Models},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/few-shot-in-context-personalization-for-large-language-models/rdr_b55a6ea0d27444d2a0873f21ab5826d9},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-01},
}

This exact version (version 1, frozen text):

@misc{lacuna_few_shot_in_context_personalization_for__b55a6ea0_v1,
  title = {Few-Shot In-Context Personalization for Large Language Models},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/few-shot-in-context-personalization-for-large-language-models/rdr_b55a6ea0d27444d2a0873f21ab5826d9/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-01},
}