Abstract
Modern recommendation systems (RS) are increasingly tasked with optimizing for "core" business values—continuous variables such as watch time or purchase amount—that are preceded by a sequence of discrete user actions like clicks or conversions. This "hybrid target" landscape presents two primary challenges: non-linear dependencies between auxiliary discrete tasks and the continuous core, and optimization instability caused by conflicting gradient scales between classification and regression losses. We introduce HTLNet (Hybrid Targets Learning Network), a multi-task learning framework designed to bridge these gaps. HTLNet employs a differentiable Label Embedding Unit (LEU) to capture semantic task dependencies and a specialized gradient-balancing strategy to ensure stable joint optimization. Experimental results across diverse datasets and real-world A/B tests demonstrate significant improvements in both auxiliary action prediction and core value estimation.
Introduction
In the evolution of recommendation engines, the industry has moved beyond simple Click-Through Rate (CTR) optimization. The current frontier involves "touching the core"—optimizing for the high-value behaviors that directly impact a platform's bottom line. For a video platform, this might be the total seconds watched; for a financial platform, the dollar amount invested.
These scenarios create a "hybrid target" problem. Unlike standard Multi-Task Learning (MTL) which often handles sequences of similar discrete actions (e.g., Click $\rightarrow$ Add to Cart $\rightarrow$ Purchase), hybrid targets involve a mix of binary classification and continuous regression. Existing models struggle here because a high probability of an initial action does not always linearly correlate with a high core value (the "clickbait" problem). Furthermore, the gradients produced by Mean Squared Error (MSE) for regression can be orders of magnitude larger than those from Binary Cross-Entropy (BCE), leading to optimization volatility where the core task destabilizes the learning of auxiliary tasks.
Methodology
HTLNet addresses these challenges through a dual-pronged approach involving architectural innovation and a refined optimization regime.
1. Label Embedding Unit (LEU)
To effectively transfer information from discrete predecessor tasks to the continuous core task, HTLNet utilizes a Label Embedding Unit. Rather than simply passing a predicted probability, the LEU learns semantic embeddings for the labels themselves. To maintain end-to-end differentiability and mitigate the risk of "cascading errors" (where a wrong prediction in an early stage misleads the later stage), the model employs the Gumbel-softmax trick. This allows the network to "soft-sample" label information during training, providing a richer semantic bridge between tasks.
2. Information Fusion Unit (IFU)
The IFU acts as the connective tissue of the network. It uses an attention mechanism to adaptively combine implicit task representations with the explicit label embeddings generated by the LEU. This ensures that the model intelligently weights relevant prior signals rather than blindly sharing parameters across all task towers.
3. Gradient Adjustment Regime
To solve the "optimization volatility" problem, HTLNet implements a three-part gradient surgery strategy:
- Directional Alignment: If the gradient of an auxiliary task conflicts with the direction of the core task gradient, it is projected onto a normal plane to eliminate the conflict.
- Magnitude Balancing: The model adaptively scales the gradients of auxiliary tasks to match the magnitude of the core task, preventing the regression objective from overwhelming the classification objectives.
- Stop-Gradient: A crucial architectural choice is the use of stop-gradient operations. This prevents the backpropagation from the core task's fusion units from "polluting" the specialized weights of the auxiliary task towers, preserving their predictive integrity.
Experimental Evaluation
Datasets
The authors evaluated HTLNet on three distinct datasets, each representing a different business "core":
- KuaiRand: A short-video dataset where the core target is watch time, preceded by click and "long view" actions.
- Kaggle-Revenue: A retail dataset focusing on repurchase amount, preceded by binary repurchase indicators.
- Product: A proprietary dataset from a major fund recommendation platform where the core is purchase amount, preceded by click and conversion steps.
Key Results
HTLNet consistently outperformed state-of-the-art (SOTA) baselines, including MMoE, PLE, and AITM, across all benchmarks.
- Offline Performance: On the KuaiRand dataset, HTLNet achieved a significant reduction in Normalized Mean Absolute Error (NMAE) for the watch time task compared to the best-performing baselines.
- Online Impact: In a 14-day online A/B test on a large-scale financial platform, HTLNet delivered a +0.54% increase in CTR, a +1.4% increase in CVR, and a substantial +2.69% increase in the total purchase amount (the core target).
Discussion and Insights
The success of HTLNet highlights that in hybrid settings, the common MTL assumption—that early task success implies later task success—is often insufficient. The semantic gap between "did they click?" and "how much did they spend?" requires explicit modeling via differentiable labels. Furthermore, the visualization of gradient magnitudes during training confirmed that without the proposed adjustment strategy, the "core" task's gradient becomes so dominant that the model effectively ignores auxiliary tasks, losing the benefits of multi-task learning entirely.
Limitations
While effective, HTLNet introduces higher computational overhead compared to simpler shared-bottom architectures due to the complexity of the fusion units and the gradient surgery. Additionally, the current framework assumes a hierarchical structure (discrete leading to continuous), which may require further generalization for environments with multiple interacting continuous targets.
Conclusion
HTLNet provides a robust framework for recommendation systems dealing with the complexities of hybrid targets. By combining semantic label embeddings with stabilized gradient optimization, it allows platforms to move beyond surface-level engagement and effectively optimize for the core values that drive long-term business success.
Summary updated