FuxiCTR-AFN+
AFN+ pairs a logarithmic-layer network that learns feature interactions of any order with a plain DNN.
Tabular and recommender · 27 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.
At a glance
- Parameters
- 5.4K
- Operations
- 27
- Framework
- PyTorch
- Recurrent
- No
- Published
- AAAI 2020
- Authors
- Weiyu Cheng, Yanyan Shen, Linpeng Huang
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
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.
Details
- Stable ID
- m11631
- Graph hash
- 1f1668e9b6b2e468660878f6417d9c0448f9486c8ef7e1adbffe14ec7484dd53
- Skeleton hash
- 1676c9f8f4ca4bf988ae1e9910777ad836bf358c12b5410e07dfe649ae81041f
- Architecture hash
- db9e37c1c44c08c993e9090482273f85d78fdeddd12fb46af922b85775019df1
- Diagram SHA-256
- d2c2aa0edbb267e180830882d0276fd0fab482a54d22e329d9730d84f0a3e799
- TorchLens version
- 2.35.3
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
How this diagram was made
menagerie.classics.fuxictr_ctr:build_afnplus: build({}) What it is
AFN+ is a model for prediction tasks such as CTR prediction, where each input mixes sparse categorical features and numerical features. It is built on the Adaptive Factorization Network (AFN), which learns arbitrary-order cross features adaptively from data. Earlier factorization methods, the paper argues, predefine a maximum order, enumerate all cross features within it and then filter out the irrelevant ones through training.
The core of AFN is a logarithmic transformation layer that converts the power of each feature in a feature combination into a coefficient to be learned. Each logarithmic neuron in this layer can represent a cross feature of any order, and since nothing restricts the learned orders they can be decimals or negative values. Because a logarithm follows, all values in the embeddings have to be kept positive. Fully connected hidden layers stacked on the logarithmic layer combine the cross features into a prediction.
The plus sign marks an ensemble: AFN+ combines the predictions of a trained AFN and a trained deep neural network (DNN). Unlike DeepFM, which shares feature embeddings between its two parts, AFN+ gives AFN and the DNN separate embedding layers to avoid interference. The paper compares AFN+ with other ensemble models on four datasets, Criteo, Avazu, Movielens and Frappe, and reports that it achieves the best performance on them.
Key idea. AFN learns arbitrary-order cross features adaptively through a logarithmic transformation layer that turns each feature's power in a combination into a learned coefficient.
- AFN+
- AFN
- Adaptive Factorization Network
- FuxiCTR
- CTR prediction
- click-through rate prediction
- feature interactions
- cross features
- logarithmic transformation layer
- recommender systems
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{cheng2020adaptivefactorizationnetworklearning,
title={Adaptive Factorization Network: Learning Adaptive-Order Feature Interactions},
author={Weiyu Cheng and Yanyan Shen and Linpeng Huang},
year={2020},
eprint={1909.03276},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1909.03276},
}