Skip to main content
Back

Alibaba's MGDIN Boosts Ad Click Rates 3% by Rethinking Feature Interaction Order

Alibaba researchers show that holding back sparse features from early interaction layers boosts CTR prediction and delivered a 3.04% online lift.

Pro

Paper, Full Access
  • Alibaba's MGDIN defers sparse features to later interaction layers to prevent representation collapse.
  • Multi-granularity windows group features by information density in parallel at multiple resolutions.
  • A hierarchical mask, driven by first-layer attention scores, gradually unmasks low-info groups as depth grows.
  • Beat RankMixer, OneTrans, DCN, AutoInt on Amazon Sports and a 7B-record industrial dataset.
  • Online A/B test on a major e-commerce platform delivered a 3.04% relative CTR lift with no extra latency.
  • No public code release; requires tuning window sizes and per-layer sparsity ratios.

A team from Alibaba has flipped a small but important assumption in click-through rate (CTR) prediction: instead of dumping every feature into the interaction layers at once, they argue you should hold the noisy ones back. Their new architecture, called MGDIN (Multi-Granularity Information-Aware Deferred Interaction Network), does exactly that, and it produced a 3.04% relative CTR lift in a real production A/B test.

The one-size-fits-all problem in ranking models

Modern CTR models like DeepFM, DCN, AutoInt, and more recent transformer-style rankers all share a habit: they input all features into the feature interaction layers simultaneously, ignoring a fundamental yet often overlooked challenge: feature heterogeneity. The features feeding a recommender are wildly different in nature. A user's age or an item's price is dense and information-rich. An item ID, on the other hand, might appear only a handful of times across billions of impressions.

The authors argue this uniform treatment is where things break down. Premature introduction of noisy, undertrained representations from extremely sparse features can inject significant noise into the interaction process, drowning out the reliable signal from denser features. In the worst case this leads to representation collapse, where embeddings degenerate and the model stops learning useful interactions at all.

Deferred is better

MGDIN's guiding principle is straightforward: build a stable base out of high-information features first, then gradually let sparser ones join the party. The architecture does this in two stages.

MGDIN architecture diagram showing multi-granularity feature grouping and deferred interaction with hierarchical masking

First, a multi-granularity grouping step slices the raw features into groups using several different window sizes in parallel. Each window produces a set of feature groups whose information density is more uniform inside the group than across the original feature list. Grouping smooths out the extreme sparsity of individual features and lets the model view interactions at multiple resolutions at once.

Second, an information-aware deferred interaction stage decides when each group is allowed to participate. The trick is a hierarchical mask driven by attention scores computed from the very first layer's representations. Since sparse groups get less training signal, their initial attention scores are low, and the model uses that as a proxy for information content. Only the top-k pairs are active in each layer, with k growing as depth increases:

k_l = floor((l / L) * n^2)   # activations at layer l
mask = TopK(A_0, k_l)         # A_0 = attention from layer 0
Z_l  = (Q K^T  masked)  V     # only high-info pairs interact early

By layer L, every group is unmasked. Early layers therefore see only dense, informative interactions, and deeper layers progressively fold in the sparse groups after the backbone representation is already stable.

What the numbers say

The team tested MGDIN against a strong lineup including DeepFM, DCN, AutoInt, GDCN, MaskNet, PEPNet, RankMixer, and OneTrans. On an industrial dataset containing 7 billion interactions and on Amazon Sports, MGDIN edged out every baseline:

  • Industrial dataset: AUC 0.6994 vs 0.6956 for the best baseline (+0.54% relative)
  • Amazon Sports: AUC 0.6789 vs 0.6775 (+0.21% relative)
  • Online A/B test: a 3.04% relative lift in CTR while incurring no additional inference latency

In CTR world, tenths of a percent in offline AUC routinely translate to material revenue changes, so a 3% online CTR gain is a big deal. Ablations confirmed both pieces matter: removing multi-granularity grouping or the deferred masking each caused a clear drop in AUC and GAUC.

Where it fits, and where it doesn't

MGDIN is aimed squarely at large-scale ranking pipelines where sparse categorical IDs sit next to dense numerical and low-cardinality features. If you are training a ranker on billions of impressions with a long tail of item, brand, or creative IDs, the deferred-interaction idea is worth a look. The complexity story is friendly too: parallel windows mean the time complexity is max{(n/g_h)^2} due to the parallel operation, and space complexity comes in below standard full attention.

Some caveats. The paper does not release code or pretrained weights, so anyone wanting to reproduce it will need to implement the masking scheme and tune the window granularities themselves (the industrial config uses 3 layers, 4 windows with granularities {32, 64, 96, 128}, and layer sparsity ratios {0.33, 0.66, 1.0}). The evaluation also leans heavily on Alibaba's own e-commerce data, so gains on other domains such as news, video, or search ads remain to be shown. And because the ranking of features by information content is inferred from first-layer attention rather than an explicit statistic, the mechanism can only be as good as those initial embeddings.

The real takeaway

The bigger contribution here is conceptual. Most feature-interaction research has focused on new operators, cross networks, factorization tweaks, or transformer variants. MGDIN keeps the operator (masked self-attention with a per-token FFN) fairly ordinary and instead attacks the schedule of when features enter the computation. It borrows a curriculum-learning intuition, but applies it inside a single forward pass rather than across training epochs, and shows that this simple change can outperform newer, heavier architectures on the same task.