Abstract
Search-enhanced recommendation systems aim to improve personalized feeds by incorporating a user's search history. However, a significant "domain gap" exists between the proactive, goal-oriented nature of search and the passive, exploratory nature of recommendations. Direct transfer of search data often results in "negative transfer," where transient search intents overwhelm long-term user preferences. We introduce ClardRec, a novel framework that utilizes counterfactual learning to disentangle general user interests from search-specific intents without explicit labels. Experimental results on large-scale datasets demonstrate that ClardRec consistently outperforms state-of-the-art baselines by effectively mitigating negative transfer and enhancing recommendation accuracy.
Introduction: The Challenge of Domain Gap
Modern digital platforms often feature both search and recommendation functionalities. While search history provides a rich signal of user preference, the transition from search to recommendation is fraught with challenges. Search behavior is typically proactive and purposeful—for instance, a user searching for a "hair dryer" has a specific, immediate need. In contrast, recommendation feeds are exploratory, catering to long-term tastes like a preference for "cartoon-style" aesthetics.
Existing search-enhanced recommendation methods often fail because they treat all search interactions as equally relevant to the recommendation domain. This leads to the "negative transfer" problem: a single search for a utility item might flood a user's recommendation feed, obscuring their broader interests. The fundamental difficulty lies in the lack of explicit labels to distinguish between a user's general interest (which should be transferred) and their specific search intent (which should be isolated).
The ClardRec Framework
ClardRec (Counterfactual learning-driven representation disentanglement) addresses this challenge by using counterfactual logic to generate its own supervision signals for representation disentanglement.
1. Item Attribute-aware Disentangling
The framework begins by decomposing an item's embedding into two distinct components. The query-related features capture attributes that directly match the specific search term, while the query-independent features represent general attributes such as color, style, or brand that reflect the user's underlying taste.
2. Counterfactual Disentangling
To train this disentanglement without manual labels, ClardRec employs counterfactual reasoning. It evaluates the sensitivity of prediction scores to the removal of specific feature sets:
- Matching-wise signals: If query-related features are removed, the "query-item match" score should decrease significantly more than the "user-item preference" score.
- Removal-wise signals: Conversely, removing query-independent features should impact the user-item preference score more heavily, as these features are the primary drivers of the user's long-term interest.
3. Feature and Data Augmentation
The disentangled "pure" general interest features are integrated into the recommendation model via a Gated Fusion Network. Furthermore, search interactions are utilized as augmented training data for the recommendation model. These interactions are weighted by a confidence score derived from the disentanglement process, ensuring that the model learns primarily from search behaviors that align with general user interests.
Experimental Evaluation
ClardRec was evaluated on two large-scale datasets: KuaiSAR, a public dataset from the Kuaishou short-video platform, and a massive E-commerce R&S dataset from a major industrial platform.
Key Results
- Significant Performance Gains: ClardRec consistently outperformed state-of-the-art baselines, including JSR and IV4REC+. On the E-commerce sequential recommendation task, it achieved a 10.84% improvement in HR@1 and a 6.82% improvement in MRR over the best baseline.
- Model Agnostic: The framework proved robust across various backbone architectures, such as MLP, MMoE, GRU4Rec, and SASRec, indicating its broad applicability.
- Visualization of Disentanglement: t-SNE visualizations confirm that the disentangled query-independent representations from the search domain cluster more closely with recommendation-domain preferences than the original search representations, providing empirical proof of successful disentanglement.
Conclusion
ClardRec offers a principled approach to search-enhanced recommendation by intelligently separating transient search intent from persistent user interest. By leveraging counterfactual learning, it overcomes the data labeling bottleneck and effectively mitigates negative transfer, resulting in a more relevant and personalized recommendation experience.
Summary updated