
DeepCTR-Torch DCNMix
Tabular and recommender361 ops112.1K params
DCN-Mix: DCN-V2 cross layers rebuilt as a gated mixture of low-rank experts, for click-through-rate prediction.
Tabular and recommender · 364 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
DCN-Mix is the mixture of low-rank form of DCN-V2, a model that its paper proposes to model explicit feature crosses in an expressive yet simple manner. The motivation is serving cost: in real production models, the paper says, capacity is often constrained by limited serving resources and strict latency requirements.
Each DCN-V2 cross layer has a learned weight matrix, and the authors observed that this matrix is numerically low-rank in practice. Low-rank techniques, the paper notes, are widely used to reduce the computational cost. DCN-Mix adds the Mixture-of-Experts idea: instead of relying on one single expert, it uses several, each learning feature interactions in a different subspace, and combines them with a gating mechanism that depends on the input. The gating function is a common sigmoid or softmax.
The paper reports that DCN-Mix efficiently utilized the memory and reduced the cost by 30% while maintaining the accuracy. More experts did not improve its results: for a 2-layered cross net with total rank 256 on Criteo, the LogLoss for 1, 4, 8, 16 and 32 experts was 0.4418, 0.4416, 0.4416, 0.4422 and 0.4420. The authors suggest this might be caused by the naïve gating functions and optimizations adopted.
Key idea. DCN-Mix replaces the DCN-V2 cross layer with a gated mixture of low-rank experts to reach a healthier trade-off between model performance and latency.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{wang2020dcnv2improveddeep,
title={DCN V2: Improved Deep & Cross Network and Practical Lessons for Web-scale Learning to Rank Systems},
author={Ruoxi Wang and Rakesh Shivanna and Derek Z. Cheng and Sagar Jain and Dong Lin and Lichan Hong and Ed H. Chi},
year={2020},
eprint={2008.13535},
archivePrefix={arXiv},
primaryClass={cs.IR},
doi={https://doi.org/10.1145/3442381.3450078},
url={https://arxiv.org/abs/2008.13535},
}