TL;DR
Large Language Model (LLM) agents often struggle to adapt when a user's competing preferences change in priority over time. This paper introduces AdaPA-Agent, a framework that dynamically estimates preference strengths from conversation history and uses "preference arithmetic" to blend next-token probability distributions during generation. This approach allows agents to seamlessly adapt to shifting user intents without requiring explicit feedback, significantly outperforming standard agent frameworks like ReAct.
What Problem Does This Paper Address?
Personalization isn't just about knowing what a user likes; it's about knowing how much they like it at any given moment. In the real world, users hold multiple, sometimes conflicting preferences (e.g., usually preferring healthy food, but occasionally craving junk food). The relative influence—or "strength"—of these preferences shifts based on context and time.
Current LLM agents struggle to model these dynamic shifts for two main reasons:
- The Feedback Bottleneck: Existing methods usually require explicit user feedback (e.g., "Did you like this recommendation?") to update their understanding of preference strengths. In practice, users rarely provide this, and asking for it constantly degrades the user experience.
- The Prompting Ambiguity: Even if an agent knows a user wants "80% comedy and 20% drama," feeding these numerical weights into a standard text prompt is highly unreliable. LLMs struggle to interpret and strictly adhere to numerical constraints presented in natural language.
Methods
To solve these challenges, the authors propose AdaPA-Agent, which splits the problem into two novel steps:
1. Alignment-Based Strength Estimation (No explicit feedback needed)
Instead of asking the user, the agent infers preference strengths by measuring how well the current conversation aligns with known preferences. To make this robust, they use dual-side augmentation:
- Preference-side: The agent expands a simple preference into a "chain" (raw description $\rightarrow$ refined context $\rightarrow$ concrete examples).
- Interaction-side: The agent generates several paraphrased versions of the user's recent dialogue to better capture the underlying intent.
An LLM then scores the semantic alignment between these augmented preferences and interactions, normalizing the scores into percentage weights.
2. Controllable Personalized Generation (Adaptive Preference Arithmetic)
Instead of writing a prompt like "Weight preference A by 0.8," the framework uses language model arithmetic. At every step of generating a response, the LLM calculates the next-token probability distribution conditioned on each preference individually. It then linearly combines these probability distributions using the weights estimated in step one. This mathematically forces the LLM to generate text that reflects the exact blend of the user's current priorities.
Datasets and Key Results
The authors evaluated their framework on two personalization tasks:
- Conversational Recommendation: Using a custom simulated environment built on the Reddit-Movie dataset, AdaPA-Agent achieved a 41.45% Recommendation Success Rate (RSR) within just 3 interaction steps. This is an 18.9% absolute improvement over the popular ReAct framework (30.20%). It also required fewer average interaction rounds to succeed.
- Personalized Web Interaction: On PWABench, an existing benchmark where web agents perform search, recommendation, and review tasks based on user profiles, AdaPA-Agent hit an overall function accuracy of 0.851 on the single-turn track, beating ReAct (0.815). It was particularly dominant in recommendation-specific tasks, scoring 0.592 compared to baseline memory retrieval methods that scored around 0.296.
Additionally, an ablation study on scoring showed that using an LLM to score the alignment between preferences and interactions vastly outperformed traditional embedding-based cosine similarity (Sentence-BERT), achieving a 75.41% vs 67.58% success rate at 7 steps.
Key Insights
- Implicit signals are enough if you look closely: You don't need to constantly ask users what they want. By deeply analyzing the semantic alignment between a user's current dialogue and their historical profile, an LLM can accurately infer shifting priorities on the fly.
- Data augmentation isn't just for training: Comparing a raw preference to a single user utterance is noisy. Expanding the preference into concrete examples and paraphrasing the user's utterance at inference time makes the alignment scoring significantly more robust and accurate.
- Math beats prompting for fine-grained control: Prompting an LLM with numerical weights is notoriously flaky. Manipulating the actual output probabilities (next-token distributions) guarantees that the model's output mathematically reflects the desired preference blend, leading to much higher fidelity personalization.
Limitations and Future Work
- Simulated Evaluation: The experiments rely heavily on LLM-based user simulators. While standard practice, future work needs to validate these findings with real humans-in-the-loop or in live deployments to capture true human nuance.
- Computational Overhead: The dual-side augmentation and LLM-based alignment scoring require multiple LLM API calls per turn. This increases computational costs and latency. Exploring more efficient approximation techniques is a necessary next step.
- Domain Scope: The evaluation was limited to movie recommendations and web interactions; expanding this to higher-stakes domains like education or health advice remains unexplored.
Summary updated