TL;DR
DUET is a template-free, interaction-aware profile generator that jointly creates aligned textual profiles for both users and items in recommendation systems. By optimizing these profiles using reinforcement learning based on downstream task performance, it eliminates semantic mismatches and significantly improves recommendation accuracy.
What Problem Does This Paper Address?
While traditional recommendation systems rely on opaque, dense vector embeddings to align users and items, recent trends favor Large Language Models (LLMs) to generate human-readable textual profiles. Textual profiles offer excellent interpretability, but current methods suffer from two major flaws:
- Rigid Templates: They rely on hand-crafted, static templates that limit the representation space.
- Independent Generation: They generate user profiles and item profiles separately.
This independent generation leads to a semantic mismatch. For example, if a user listens to punk, metal, and funk, an independent generator might summarize them simply as a "heavy metal fan." Meanwhile, a candidate album with "great funk bass" might be profiled as "pop-rock." Individually, these profiles are plausible, but they completely miss the shared "funk" connection that actually makes the item a good recommendation for that user.
Methods
The authors introduce DUET, a closed-loop framework that models profile generation as an on-policy reinforcement learning problem. Instead of relying on fixed templates, DUET dynamically explores how profiles should be structured based on real-time feedback from a downstream recommender.
The entire process is executed in a single sequence-to-sequence pass consisting of three stages:
- Cue-Based Initialization: Raw, noisy interaction histories and metadata are distilled into concise, lightweight textual "cues." These cues act as underspecified seeds, capturing partial but salient signals to kickstart exploration.
- Joint Exploration via Adaptive Profile Prompt Discovery: The model samples a discrete profile prompt (a meta-instruction, e.g., "Describe the user's typical gaming preferences...") that dictates the abstraction level and format. This prompt forces the user and item profiles to be generated in a coordinated semantic space.
- On-Policy Optimization: The generated profiles are passed to a frozen downstream recommender. The system evaluates the recommendation accuracy and provides a continuous fractional reward to update the profile generator using Group Relative Policy Optimization (GRPO).
Datasets
DUET was evaluated on three widely used, text-rich real-world datasets containing user reviews, ratings, and metadata:
- Amazon Music: The full "Digital Music" subset.
- Amazon Books: A subset consisting of the latest two months of data.
- Yelp: A subset consisting of the latest six months of data from the Yelp Open Dataset.
Key Insights and Ideas
- The Power of Joint Profiling: Reconciling user preferences and item attributes at decision time allows the LLM to surface latent, overlapping features (like a shared appreciation for "nostalgic aesthetics") that independent profiling would discard as noise.
- Moving Beyond Hardcoded Templates: Allowing the LLM to generate its own profile-construction prompts dynamically gives the system the flexibility to adapt to diverse interaction contexts.
- Continuous Rewards Overcome Sparsity: Instead of using discrete integer ratings as rewards (which penalize near-misses as harshly as complete misses), the authors introduce a continuous fractional reward based on the absolute prediction error. This provides fine-grained gradients that stabilize reinforcement learning.
Key Results
The authors evaluated DUET against strong baselines (including KAR, RLMRec, PALR, and LettinGo) using both Qwen3-8B and LLaMA3-8B backbones.
- Rating Prediction: DUET consistently achieved the lowest Mean Absolute Error (MAE) and highest accuracy. On the Yelp dataset with Qwen3-8B, DUET achieved an accuracy of 61.23%, outperforming the strongest baseline (LettinGo) by over 5%.
- Ranking Performance: In a more challenging ranking setup using hard negatives, DUET demonstrated massive improvements. On Amazon Music, DUET achieved an NDCG@1 of 0.5123, vastly outperforming LettinGo's 0.4012.
Limitations and Future Work
Despite its strong performance, the authors note a few key limitations:
- Computational Overhead: Using LLMs for both profile generation and downstream recommendation introduces significant computational latency, which could hinder real-time deployment on massive user/item catalogs.
- Text-Rich Dependency: The framework relies heavily on descriptive textual histories (like reviews). Its efficacy in data-sparse environments or domains dominated by non-textual modalities (e.g., images, video) remains unproven.
- LLM Sensitivity: The stability and quality of the generated profiles are inherently bound to the prompt sensitivity and reasoning capacity of the underlying backbone LLM.
Summary updated