DCN-M: Improved Deep & Cross Network for Feature Cross Learning in Web-scale Learning to Rank Systems

Ruoxi Wang, Rakesh Shivanna, Derek Zhiyuan Cheng, Sagar Jain, Dong Lin, Lichan Hong, Ed H. Chi

Abstract

Deep & Cross Network-Matrix (DCN-M) enhances the original DCN architecture by replacing vector-based feature interactions with more expressive matrix-based ones. By employing a mixture of low-rank experts, DCN-M achieves state-of-the-art accuracy in web-scale ranking systems while maintaining the computational efficiency required for real-time production environments.

Introduction

In modern recommendation and search systems, identifying effective feature crosses—combinations of individual features—is crucial for capturing complex user-item signals. While Deep Neural Networks (DNNs) are universal function approximators, they are often inefficient at modeling explicit polynomial interactions. The original Deep & Cross Network (DCN) addressed this with a dedicated cross network, but its vector-based parameterization limited expressiveness in large-scale applications. DCN-M overcomes these limitations by introducing matrix-based interactions and a low-rank mixture-of-experts approach.

Methodology

The Matrix Cross Layer

The fundamental innovation in DCN-M is the transition from vector weights to a full weight matrix $W \in \mathbb{R}^{d \times d}$. This change significantly increases the model's capacity to learn intricate feature interactions. The core operation of the cross layer is defined as:

$$x_{l+1} = x_0 \odot (W_l x_l + b_l) + x_l$$

The Matrix Cross Layer operation and its mathematical formulation.

Low-Rank Mixture-of-Experts (MoE)

To mitigate the computational cost of a full $d \times d$ matrix, DCN-M utilizes Low-Rank Decomposition, representing $W$ as a product of two low-rank matrices ($U V^T$). This is further enhanced by a Mixture-of-Experts (MoE) framework, where multiple low-rank "experts" are combined via a gating mechanism. This allows the model to adaptively learn different types of interactions in various subspaces based on the input features.

Flexible Architectures

DCN-M supports two primary structural configurations: Stacked and Parallel. In the Stacked version, the cross network is followed by a deep network, while in the Parallel version, both networks process the input embeddings concurrently and their outputs are fused.

Comparison of Stacked (a) and Parallel (b) DCN-M architectures.

Experimental Evaluation

The model was rigorously tested on three major benchmarks: the Criteo display advertising dataset (45M examples), the MovieLens-1M recommendation dataset, and a proprietary Google Production Dataset containing over 100 billion examples.

Key Results

  • State-of-the-Art Performance: DCN-M consistently outperformed established models like xDeepFM and AutoInt on public benchmarks.
  • Efficiency: The low-rank MoE approach reduced memory and compute costs by 30% compared to full-rank implementations without compromising accuracy.
  • Production Impact: Deployment at Google resulted in a 0.6% improvement in AUCLoss, a major gain in the context of large-scale advertising systems.

Key Insights

  • Structural Necessity: Synthetic experiments confirmed that standard DNNs struggle with simple polynomial patterns, making explicit cross layers essential for tabular data.
  • Low-Rank Phenomenon: Learned weight matrices in DCN-M naturally exhibit low-rank properties, justifying the efficiency of the decomposition approach.
  • Optimal Placement: Cross layers are most effective when placed near the input layer, where feature meanings are most distinct before being blurred by deep layers.

Conclusion

DCN-M provides a powerful and efficient solution for feature cross learning. By combining matrix-based expressiveness with low-rank optimization, it offers a production-friendly architecture that sets a new standard for web-scale ranking systems.

Summary updated

BibTeX
@misc{wang2020dcn,
  author = {Ruoxi Wang and Rakesh Shivanna and Derek Zhiyuan Cheng and Sagar Jain and Dong Lin and Lichan Hong and Ed H. Chi},
  title = {{DCN-M: Improved Deep \& Cross Network for Feature Cross Learning in Web-scale Learning to Rank Systems}},
  year = {2020},
  eprint = {2008.13535},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2008.13535},
}
Figure