TL;DR
Predicting whether a user will convert (e.g., buy an item or follow a creator) is notoriously difficult due to extreme data sparsity. This paper introduces EKTM (Effective Knowledge Transfer for Multi-task Recommendation Models), a framework that safely transfers rich, high-level vector representations between different user behavior tasks. By utilizing an attention-based router-transmitter system and a novel calibration loss, EKTM mitigates "negative transfer" and achieved a 3.93% increase in effective Cost Per Mille (eCPM) during real-world production deployment.
What Problem Does This Paper Address?
In modern recommendation systems, evaluating platform effectiveness relies heavily on predicting the Conversion Rate (CVR). However, while users click on items frequently, they actually convert (purchase, like, or share) far less often. This creates a severe data sparsity problem when training CVR models.
Multi-Task Learning (MTL) frameworks attempt to solve this by training models on both click and conversion behaviors simultaneously. Typically, user behaviors follow either a sequential pattern (e.g., Click $\rightarrow$ Add to Cart $\rightarrow$ Purchase) or a parallel pattern (e.g., Click $\rightarrow$ Like / Share / Follow simultaneously), as illustrated in Figure 1.
Existing MTL models suffer from two major flaws:
- Shallow Knowledge Sharing: Popular architectures (like MMoE or PLE) share representations only at the bottom embedding layers, failing to leverage the richer semantic information residing in the upper task-specific "towers."
- Negative Transfer: Forcing a model to learn conflicting tasks simultaneously can degrade individual task performance. Existing explicit transfer methods often only share scalar probabilities, which discards valuable vector-space information.
Methods
The authors propose the EKTM architecture to enable high-level, vector-space knowledge transfer while protecting tasks from negative interference.
As shown in Figure 2, EKTM introduces three core components:
- Router Module: This module acts as a centralized knowledge hub. It calculates the normalized cosine similarity between the hidden representation vectors of all tasks to dynamically aggregate and distribute knowledge across the network.
- Transmitter Module: To ensure a target task only pulls relevant information from the router, the transmitter employs Multi-Head Cross-Attention (MHCA). It queries the router's aggregated knowledge using the current task's state. Crucially, it features a sigmoid-based gating mechanism (inspired by LSTM forget gates) to filter out noisy or harmful information.
- Enhanced CVR Prediction (Calibration Loss): To guarantee that the transferred knowledge strictly benefits the target task, the authors introduce a customized calibration loss function: $$\mathcal{L} = \mathcal{L}_{ctr} + \sum_{i=1}^{T} \left( (1 - \alpha)\mathcal{L}_{o}^{(i)} + \alpha \max(0, \mathcal{L}_{t}^{(i)} - \mathcal{L}_{o}^{(i)}) \right)$$ Here, $\mathcal{L}_{o}$ is the original task loss, and $\mathcal{L}_{t}$ is the loss derived from transferred knowledge. The $\max(0, \cdot)$ formulation ensures that the model is only penalized if the transferred knowledge performs worse than the original task baseline, effectively acting as an optimization safeguard.
Datasets
The framework was evaluated on three distinct datasets:
- AliExpress: A public e-commerce dataset spanning four country subsets (US, ES, FR, NL), focusing on Click-Through Rate (CTR) and Click-Through Conversion Rate (CTCVR) prediction.
- KuaiVideo: A public short-video dataset containing three parallel user behavior tasks: Click, Like, and Follow.
- Industrial Dataset: A massive, real-world commercial dataset containing over 67 million samples, consisting of 1 CTR task and 7 distinct CVR tasks (including activation and payment metrics).
Key Insights and Ideas
- Top-Heavy Transfer is Better: Moving knowledge transfer from the bottom embedding layers to the top tower layers preserves complex task relationships that shallow sharing completely misses.
- Vector Space > Scalar Space: Transferring rich hidden vectors via cross-attention provides significantly more utility than simply multiplying output probabilities (as seen in models like ESMM).
- Asymmetric Safeguarding: Negative transfer can be mathematically suppressed. By structuring the auxiliary loss to ignore instances where transferred knowledge matches or exceeds baseline performance, the model can aggressively explore cross-task insights without risking performance degradation.
Key Results
EKTM was integrated into several state-of-the-art MTL backbones (Shared-Bottom, MMOE, PLE, and STEM) and demonstrated consistent improvements:
- Public Benchmarks: Across all four AliExpress regions and the KuaiVideo dataset, adding EKTM significantly boosted Area Under the Curve (AUC) metrics compared to standalone backbones. For example,
MMOE+EKTMconsistently achieved the highest overall performance, successfully mitigating cases where standard MTL backbones performed worse than single-task learning. - Ablation Validation: Removing either the transmitter module or the auxiliary calibration loss resulted in noticeable performance drops, proving both components are vital for stable training.
- Production Impact: In a live online A/B test on a commercial platform serving hundreds of millions of users, EKTM achieved an average 3.93% uplift in effective Cost Per Mille (eCPM) over a seven-day period (Figure 3). This substantial monetization boost led to full production deployment.
Limitations and Future Work
The limitations of the approach are not explicitly detailed in the paper. However, based on the methodology, potential areas for future exploration include evaluating how the framework scales computationally when dealing with dozens of highly heterogeneous tasks simultaneously, and analyzing the sensitivity of the hyperparameter $\alpha$ across highly divergent data distributions.
Summary updated