TL;DR
CUPID is a new benchmark designed to test if Large Language Models (LLMs) can handle "contextual alignment"—the ability to infer and apply user preferences that change depending on the specific situation. The study reveals that even state-of-the-art models struggle significantly with this task, often failing to distinguish which past interactions are relevant to a new request, resulting in precision scores below 50%.
What Problem Does This Paper Address?
Most current work on LLM personalization assumes that users have "static" preferences—for example, a user always prefers concise answers or always wants code in Python. In reality, human preferences are dynamic and context-dependent. A researcher might want a mathematical proof explained using classical methods when collaborating with one professor, but prefer innovative computational approaches when working with another.
If an LLM cannot infer these shifting preferences from past interactions, it cannot truly be a personalized assistant. The authors identify a gap in existing benchmarks, which fail to measure how well models can retrieve relevant context from a long history of diverse interactions to satisfy a current, context-specific request.
Methods
The authors developed a sophisticated data generation pipeline to create CUPID (Contextual User Preference Inference Dataset).
- Persona & Context Generation: They generated 252 distinct personas, each with a "world" of 8 context factors (people, tools, locations) and associated preferences.
- Dialogue Simulation: Using a "user simulator" and an "assistant simulator," they generated multi-turn dialogues where the user gradually reveals their preference through feedback rather than stating it upfront.
- Instance Types: They created three types of test cases:
- Consistent: Past sessions share the same context and preference.
- Contrastive: A prior session involves a different context with a conflicting preference.
- Changing: The user previously held an opposite preference for the same context, reflecting an evolution in their needs.
The benchmark evaluates models on two tasks: Inference (can the model describe the expected preference?) and Generation (can the model produce a response that satisfies that preference?). To evaluate the open-ended inference task at scale, they introduced PREFMATCHER-7B, a fine-tuned model that matches inferred preferences against ground truth with high correlation to human judgment.
Datasets
The primary contribution is the CUPID benchmark, consisting of 756 human-curated interaction session histories. Each history contains 8 prior sessions and one final "current request." The authors also released a larger, unverified dataset to support further training and research.
Key Insights and Ideas
- The Retrieval Bottleneck: The biggest hurdle isn't generating a good response; it's knowing which part of the history to look at. When models were given only the relevant prior sessions (an "Oracle" setting), their performance jumped by 20-30 points.
- Recency Bias: Models perform better when the relevant information is at the end of the interaction history. This explains why they surprisingly performed best on "Changing" instances—the most recent preference was the correct one.
- Inference as a Proxy for Alignment: There is a strong correlation (r=0.764) between a model's ability to infer a preference and its ability to generate a response that satisfies it. This suggests that improving a model's "understanding" of the user is the key to better personalized generation.
Key Results
- SOTA Models Struggle: No model surpassed an F1 score of 60% on the inference task. Most were under 50% precision and 65% recall.
- Reasoning Models Lead: Models with stronger reasoning capabilities, like Claude 3.7 Sonnet and DeepSeek-R1, performed best, suggesting that "thinking" about the user's history is necessary for contextual alignment.
- Error Patterns: DeepSeek-R1 tended to struggle with "Incorrect Context" (looking at the wrong sessions), while Llama 3.1 405B often fell into "Shallow Inference" (only repeating what was in the current request).
Limitations and Future Work
The authors acknowledge that their data is synthetic, which may not fully capture the messiness of real human behavior. Furthermore, the benchmark uses a relatively short history (8 sessions); real-world assistants would face much longer, noisier histories.
Future work should focus on integrating better retrieval techniques to identify contextually relevant sessions and developing models that can reason about underlying user preferences during multi-turn interactions rather than just processing surface-level text.
Summary updated