Adapted Tree Boosting for Transfer Learning

Wenjing Fang, Chaochao Chen, Bowen Song, Li Wang, Jun Zhou, Kenny Q. Zhu · DOI

TL;DR

This paper tackles the challenge of building effective fraud detection models for new e-commerce scenarios with limited data by adapting existing models from similar, data-rich environments. They propose a novel transfer learning framework for Gradient Boosting Decision Trees (GBDT), specifically leveraging XGBoost, and introduce "revise strategies" to fine-tune source models for target domains, significantly improving performance on cold-start problems.

What Problem Does This Paper Address?

E-commerce platforms like Alipay rely heavily on fraud detection models to protect users. However, as new transaction scenarios emerge or new marketplaces are launched, these models face a "cold-start" problem: insufficient training data and labels to build accurate predictive systems. This is particularly acute because positive fraud samples (actual fraudulent transactions) are rare and often only identified after a loss has occurred. Traditional methods struggle with this data scarcity. Furthermore, data privacy regulations (like GDPR) and business concerns prevent direct sharing of raw customer data between merchants, necessitating model-based transfer learning.

Methods

The core of this work is an adapted tree boosting framework for transfer learning, built upon XGBoost. The authors propose a model-based transfer learning approach, meaning they transfer the learned model parameters rather than raw data or features. The key innovation lies in their "revise strategies" designed to adapt a source GBDT model to a target domain. These strategies include:

  • Re-split: Modifying the split points within the decision trees of the source model to better align with the feature distributions of the target domain. This addresses feature drift where the predictive power of features changes.
  • Re-weight: Adjusting the weights of leaf nodes in the source model to account for potential label drift, where the definition or prevalence of "bad" behavior might differ between domains.
  • Prune or Discount: Handling "rare branches" in the source model that have very few samples in the target domain. Instead of discarding them entirely (pruning), they propose a discount factor to reduce their influence, acknowledging that these patterns might still hold some predictive power.

They also introduce two training strategies: OneRound (transferring a batch of source trees at once) and MultiRound (iteratively transferring and revising trees).

Datasets

The experiments were conducted on a real-world dataset of card transaction samples from an e-commerce platform partner of Alibaba. This dataset comprises nearly 5 million successful transactions across 5 countries, including basic transaction information, fraud labels, and 48 features. The data was structured such that one mature scene with a high bad rate was used as the source domain, and the remaining scenes with lower bad rates served as target domains.

Key Insights and Ideas

  • Feature and Label Drift are Pervasive: The paper highlights that even within the same e-commerce context, feature distributions and their relationship with labels can change significantly across different markets or over time. This necessitates adaptive transfer learning.
  • Model-Based Transfer is Crucial for Privacy: Given data privacy concerns and the inability to share raw data, model-based transfer learning is the only viable option for leveraging knowledge from data-rich environments.
  • GBDTs are Well-Suited for Fraud Detection: The authors argue that for well-defined features in fraud detection, GBDT models offer a good balance of performance, interpretability, and ease of tuning compared to deep neural networks.
  • Targeted Revision is Key: Simply transferring a source model is often insufficient. The proposed "revise strategies" are critical for adapting the model to the nuances of the target domain, especially when feature and label distributions differ.
  • Discounting is Better than Pruning for Rare Branches: When faced with branches from the source model that have very few corresponding samples in the target domain, a discount factor is more effective than outright pruning, as it preserves potentially useful, albeit uncertain, information.

Key Results

The proposed transfer learning models consistently outperformed baseline models (training only on target data or a simple transfer without revision). Specifically, the OneRound mechanism achieved the best 1%00 recall value, improving upon the baseline by 11.607%. This metric is crucial in fraud detection as it measures the model's ability to identify suspicious transactions at the top of the ranked list. The experiments demonstrated that even with a limited number of trees (less than 10), significant performance gains could be achieved.

Limitations and Future Work

The authors acknowledge several limitations and suggest future research directions:

  • Handling Different Feature Spaces: The current framework assumes source and target domains share the same feature space. Future work could explore methods for adapting models when feature sets differ.
  • Improving Rare Branch Handling: Further research is needed to better cope with "unconfident subtrees" and find optimal ways to manage rare branches.
  • Automatic Parameter Tuning: The revise strategies involve several parameters (e.g., discount factor) that are currently set empirically. Developing methods for automatic parameter determination based on data distribution would be beneficial.
  • Multi-Task Learning: Investigating how to conduct multi-task learning among equivalent domains, especially in private data-sharing scenarios, is a promising avenue.

Summary updated

BibTeX
@inproceedings{fang2019adapted,
  author = {Wenjing Fang and Chaochao Chen and Bowen Song and Li Wang and Jun Zhou and Kenny Q. Zhu},
  title = {{Adapted Tree Boosting for Transfer Learning}},
  booktitle = {IEEE BigData},
  year = {2019},
  doi = {10.1109/bigdata47090.2019.9006028},
}
Figure