Abstract
Interactive Recommendation (IR) systems leveraging Deep Reinforcement Learning (DRL) often struggle with sample inefficiency, requiring extensive user interactions to learn effective policies. We present Contrastive Representation for Interactive Recommendation (CRIR), a framework that integrates an auxiliary contrastive learning task to enhance representation learning. By ranking user interests through an attention-based State Representation Network and employing Preference Ranking Contrastive Learning (PRCL), CRIR significantly accelerates convergence and improves recommendation quality, particularly in cold-start scenarios.
Introduction
Interactive Recommendation is a sequential decision-making process where a system adapts to user feedback in real-time. While DRL provides a robust mathematical framework for IR, its practical application is hindered by high-dimensional state spaces and massive action spaces, leading to extreme "data hunger." In real-world settings, slow learning curves result in poor user experiences and churn. CRIR addresses this by extracting high-quality semantic information from interaction histories more efficiently through self-supervised auxiliary tasks.
Methodology
The CRIR framework consists of several key innovations designed to improve the agent's understanding of user preferences.
State Representation Network
The system employs a weighted sum attention mechanism to process interaction history. Unlike simple pooling, this network assigns "Interest Weights" to past behaviors, identifying which historical actions are most relevant to the current context. This allows the agent to focus on significant user signals.
Preference Ranking Contrastive Learning (PRCL)
PRCL serves as an auxiliary task that runs alongside DRL training. It utilizes the learned Interest Weights to rank historical behaviors. Top-ranked behaviors are treated as "positive pairs," while lower-ranked ones serve as "negative pairs" for contrastive learning. This self-supervised signal helps the model distinguish between varying levels of user interest.
Positional Weighted InfoNCE Loss
To account for the fact that user interests are not binary, we introduce a Positional Weighted InfoNCE Loss. This loss function uses coefficients based on ranking positions to smooth the discrimination between items, acknowledging that some "negative" samples may still be relatively close to a user's true preference.
Experiments and Results
CRIR was evaluated using two industry-standard simulators: Virtual-Taobao, which models complex e-commerce interactions, and an enhanced ML-1M Simulator designed to test dynamic interest shifts.
Performance Metrics
The framework demonstrated superior performance across multiple metrics:
- Sample Efficiency: In Virtual-Taobao, CRIR achieved high-performing policies by episode 8,000, whereas baselines like PPO and SAC failed to reach comparable levels even after 20,000 episodes.
- Recommendation Quality: CRIR consistently outperformed specialized methods like DRR and NICF in terms of both cumulative rewards and Click-Through Rate (CTR).
- Cold-Start Robustness: The auxiliary contrastive task proved particularly effective when the agent had zero prior knowledge, allowing for rapid adaptation to new users.
Conclusion
CRIR effectively mitigates the sample inefficiency of DRL in interactive recommendation systems. By leveraging internal attention weights to generate self-supervised ranking signals, the framework enables faster learning of high-quality representations. Future work will focus on live-system deployment and exploring more advanced data augmentation techniques to further refine the contrastive learning process.
Summary updated