ALT: An Automatic System for Long Tail Scenario Modeling

Ya-Lin Zhang, Jun Zhou, Yankun Ren, Yue Zhang, Xinxing Yang, Meng Li, Qitao Shi, Longfei Li

Introduction

In industrial machine learning, "mainstream" scenarios—such as a primary search engine or a major national bank—receive significant attention and manual tuning from expert data scientists. However, modern platforms often face a "long tail" of thousands of smaller scenarios. These might include hundreds of regional banks requiring credit risk models or niche advertisers joining a digital marketing platform.

Two major constraints make modeling this long tail difficult. First, human resource limitations make it impossible for data scientists to manually tune a specific model for every small scenario. Second, inference resource limitations require these models to be lightweight for low-latency production environments, even though they must remain accurate despite having limited data per scenario.

The challenge of scaling to a long tail of new scenarios over time.

To address these challenges, researchers at Ant Group developed ALT (Automatic Long Tail), an automated system designed to build high-performing, specialized machine learning models without human intervention.

The ALT System Architecture

ALT follows a "Heavy-to-Light" specialized pipeline that transitions from a broad knowledge base to scenario-specific, optimized models. The process is entirely automated, reducing the labor cost per scenario from hours of expert time to minutes of automated compute.

1. Scenario Agnostic Heavy Model (SAHM)

The system begins by building a large, complex model using aggregated data from all available scenarios. This model serves as a foundational "knowledge base." It utilizes AntTune, a hyperparameter optimization framework, and automated Neural Architecture Search (NAS) to identify the most effective starting architecture.

2. Scenario Specific Heavy Model (SSHM)

When a new scenario emerges, the SAHM is fine-tuned using a meta-learning approach. This allows the model to adapt quickly to the unique characteristics of the new task, even when provided with very few training samples.

3. Budget-Limited NAS & Knowledge Distillation

To meet strict production speed requirements, the system searches for a Scenario Specific Light Model (SSLM). Unlike standard NAS, this search is explicitly constrained by a "FLOPs budget" (floating-point operations) to ensure low latency. The "Heavy" model acts as a teacher, transferring its knowledge to the "Light" model via distillation, ensuring the smaller model retains high accuracy.

Experimental Evaluation

The ALT system was evaluated on two large-scale real-world datasets from Ant Group:

  • Risk Control (Dataset A): Data from 18 different banks aimed at predicting loan default probability. Features included user profiles and behavioral sequences.
  • Advertising (Dataset B): Data from 32 different advertising scenarios to identify potential users for specific advertisers.
  • Online Recommendation: A live deployment involving 34 scenarios to measure Click-Through Rate (CTR).

Key Results

  • Accuracy: On Dataset A, ALT achieved an average AUC of 0.754, outperforming single-heavy models (0.745) and matching meta-heavy models while maintaining superior speed.
  • Efficiency: ALT-generated models were 2x to 3x faster in inference time compared to their "Heavy" counterparts. For instance, inference latency on Dataset A dropped from 10.25ms to 3.13ms.
  • Online Impact: In a 7-day online trial, ALT delivered a 10.49% relative improvement in CTR over the baseline unified model.

Insights and Future Work

The development of ALT revealed that specialization is mandatory; a single unified model consistently underperforms compared to models tailored to specific long-tail characteristics. Furthermore, the system discovered that scenarios with more data naturally evolve more complex architectures, while data-poor scenarios benefit from simpler, more robust structures.

While ALT significantly reduces human labor, future work will focus on extreme "cold-start" scenarios with zero initial samples and further automating the feature engineering process to create an even more seamless end-to-end pipeline.

Summary updated

BibTeX
@inproceedings{zhang2023alt,
  author = {Ya-Lin Zhang and Jun Zhou and Yankun Ren and Yue Zhang and Xinxing Yang and Meng Li and Qitao Shi and Longfei Li},
  title = {{ALT: An Automatic System for Long Tail Scenario Modeling}},
  booktitle = {ICDE},
  year = {2023},
  url = {https://openreview.net/forum?id=h3bjK8CJr1},
}
Figure