Privileged Features Distillation at Taobao Recommendations

Chen Xu, Quan Li, Junfeng Ge, Jinyang Gao, Xiaoyong Yang, Changhua Pei, Fei Sun, Jian Wu, Hanxiao Sun, Wenwu Ou · DOI

Abstract

In large-scale e-commerce recommendation systems, there is a significant discrepancy between the information available during model training and real-time serving. Features such as post-click dwell time or detailed user-item interactions are highly predictive but unavailable at the moment of ranking. Taobao researchers propose Privileged Features Distillation (PFD), a teacher-student framework that allows models to benefit from these "privileged" features during training without requiring them at serving time. This method achieved a 5.0% increase in click-through rates (CTR) and a 2.3% increase in conversion rates (CVR) in live production environments.

What Problem Does This Paper Address?

E-commerce recommendations typically follow a multi-stage pipeline: candidate generation, coarse-grained ranking, and fine-grained ranking. As items move through these stages, more complex features are introduced to refine the selection.

The multi-stage recommendation pipeline at Taobao, illustrating the flow from billions of items to a final top-K list and the role of privileged features.

A major challenge is the use of "post-event" features. For example, to predict Conversion Rate (CVR), features like "dwell time" or "communicating with the seller" are extremely useful. However, these are only known after a user clicks an item. Standard models must ignore these features to maintain training-serving consistency, which limits predictive power. While Multi-Task Learning (MTL) is a common alternative, it is often difficult to optimize and lacks performance guarantees.

Methods

The authors introduce Privileged Features Distillation (PFD), which builds upon the Learning Using Privileged Information (LUPI) paradigm.

Comparison between (a) standard Model Distillation and (b) the proposed Privileged Features Distillation framework.
  1. Teacher-Student Framework: A Teacher model is trained using both regular features and privileged features (e.g., post-click behaviors). A Student model is trained using only the regular features available at serving time.
  2. Knowledge Transfer: The Student learns by minimizing a joint loss: a standard loss against ground truth labels and a distillation loss that matches the Teacher’s soft predictions.
  3. PFD vs. LUPI: In PFD, the Teacher receives both regular and privileged information. This ensures the Teacher's guidance is grounded in the same context the Student will face, preventing biases that occur when a teacher only sees a subset of data.
  4. Synchronous Training & Efficiency: To handle Alibaba's scale (e.g., 99 billion impressions), the Teacher and Student are trained simultaneously. They share input components like embeddings, which reduces memory usage and maintains training speeds comparable to non-distilled models.

Datasets

The framework was evaluated on massive real-world traffic logs from Taobao's "Guess You Like" feature:

  • CTR Datasets: Samples ranging from 1 to 10 days, with the largest containing ~99 billion impressions.
  • CVR Datasets: Samples ranging from 30 to 60 days, with the largest containing ~27 billion clicks.
  • Live A/B Tests: Conducted on the Taobao app to measure impact on clicks and Gross Merchandise Volume (GMV).

Key Insights and Ideas

  • The "No-Harm" Advantage: PFD acts as a stable "hint" for the student model, helping it reach a better local minimum without the optimization difficulties often found in Multi-Task Learning.
  • Contextual Teachers: A critical finding was that the Teacher must see regular features. Without them, the Teacher might over-emphasize privileged signals (like dwell time) while ignoring essential regular signals (like price), leading to poor guidance for the Student.
  • PFD+MD Integration: The researchers combined PFD with Model Distillation (MD). In this setup, a complex DNN Teacher instructs a simpler, faster inner-product Student model, bridging both the feature gap and the architectural complexity gap.

Key Results

  • Coarse-grained Ranking (CTR): PFD+MD significantly improved offline AUC, leading to a +5.0% increase in clicks in live A/B testing.
  • Fine-grained Ranking (CVR): PFD improved conversion metrics by +2.3% online.
  • Operational Efficiency: Through embedding sharing and synchronous training, the distillation process added negligible overhead to the production pipeline.

Limitations and Future Work

  • Feature Engineering: Identifying which features qualify as "privileged" currently requires manual domain expertise.
  • Architectural Complexity: The teacher-student setup increases the complexity of the training infrastructure.
  • Future Directions: The team plans to explore adversarial training to better align the feature distributions between the Teacher and Student.

Summary updated

BibTeX
@inproceedings{xu2020privileged,
  author = {Chen Xu and Quan Li and Junfeng Ge and Jinyang Gao and Xiaoyong Yang and Changhua Pei and Fei Sun and Jian Wu and Hanxiao Sun and Wenwu Ou},
  title = {{Privileged Features Distillation at Taobao Recommendations}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2020},
  doi = {10.1145/3394486.3403309},
}
Figure