Papers › xDeepFM: Combining Explicit and Implicit Feature Interactions for Recommender Systems

xDeepFM: Combining Explicit and Implicit Feature Interactions for Recommender Systems

14 Mar 2018arXiv:1803.05170archive 2025-07-28

Jianxun Lian, Xiaohuan Zhou, Fuzheng Zhang, Zhongxia Chen, Xing Xie, Guangzhong Sun

Combinatorial features are essential for the success of many commercial models. Manually crafting these features usually comes with high cost due to the variety, volume and velocity of raw data in web-scale systems. Factorization based models, which measure interactions in terms of vector product, can learn patterns of combinatorial features automatically and generalize to unseen features as well. With the great success of deep neural networks (DNNs) in various fields, recently researchers have proposed several DNN-based factorization model to learn both low- and high-order feature interactions. Despite the powerful ability of learning an arbitrary function from data, plain DNNs generate feature interactions implicitly and at the bit-wise level. In this paper, we propose a novel Compressed Interaction Network (CIN), which aims to generate feature interactions in an explicit fashion and at the vector-wise level. We show that the CIN share some functionalities with convolutional neural networks (CNNs) and recurrent neural networks (RNNs). We further combine a CIN and a classical DNN into one unified model, and named this new model eXtreme Deep Factorization Machine (xDeepFM). On one hand, the xDeepFM is able to learn certain bounded-degree feature interactions explicitly; on the other hand, it can learn arbitrary low- and high-order feature interactions implicitly. We conduct comprehensive experiments on three real-world datasets. Our results demonstrate that xDeepFM outperforms state-of-the-art models. We have released the source code of xDeepFM at \url{https://github.com/Leavingseason/xDeepFM}.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1803.05170")

Code

Syntology Ran 3 of 15 code samples harvested from 4 repositories linked to this paper; 12 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · our draft was wrong.

By repository: community (archive-listed): 15 samples from 4 repositories, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

19 repositories listed; official and paper-mentioned ones first.

Leavingseason/xDeepFM officialmentioned in papermentioned on GitHubtf report
DownyPrio/xDeepFM mentioned on GitHubtf report
JianzhouZhan/Awesome-RecSystem-Models mentioned on GitHubpytorchMIT report
UlionTse/mlgb mentioned on GitHubpytorch report
YZBM/Tenceng2019_Finals_Rank1st mentioned on GitHubtf report
microsoft/recommenders mentioned on GitHubtf report
recommenders-team/recommenders mentioned on GitHubtfMIT report
shenweichen/DeepCTR mentioned on GitHubtf report
shenweichen/DeepCTR-Torch mentioned on GitHubpytorchApache-2.0 report
tangxyw/RecAlgorithm mentioned on GitHubtfBSD-2-Clause report
wangweitong/DL mentioned on GitHubpytorch report
wangweitong/recommend_system mentioned on GitHubpytorchMIT report
xue-pai/FuxiCTR mentioned on GitHubpytorch report
zaf11/xDeepFM- mentioned on GitHubtf report
zhanafengxiaomi/xDeepFM_ mentioned on GitHubtf report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 3 ran; 2 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · our draft was wrong
12unverified

Licence: 2 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 4 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_idx_value_label JianzhouZhan/Awesome-RecSystem-Models/Model/DeepCrossNetwork_PyTorch.py community (archive-listed) ran · our draft was wrong MIT (permissive) · a5d2f1c9e119342a · report
get_in_filelist_item_num wangweitong/DL/Model/xDeepFM_PyTorch.py community (archive-listed) ran · honoured contract no licence file found · pointer only · 626554fd98c853c6 · report
version_tuple shenweichen/DeepCTR/examples/run_dien.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · b4a378e17a8e73f3 · report
count_in_filelist_items JianzhouZhan/Awesome-RecSystem-Models/util/train_model_util_PyTorch.py community (archive-listed) unverified MIT (permissive) · 93cee4fc981be52d · report
filter_by recommenders-team/recommenders/recommenders/datasets/pandas_df_utils.py community (archive-listed) unverified MIT (permissive) · c52cd7cbf859f8e0 · report
find_collection recommenders-team/recommenders/recommenders/datasets/cosmos_cli.py community (archive-listed) unverified MIT (permissive) · 6ec04041da9444a4 · report
get_idx_value_label wangweitong/DL/Model/xDeepFM_PyTorch.py community (archive-listed) unverified no licence file found · pointer only · 13a7876a5bb5d755 · report
get_idx_value_label JianzhouZhan/Awesome-RecSystem-Models/util/train_model_util_PyTorch.py community (archive-listed) unverified MIT (permissive) · 4ade2988b393a443 · report
get_xy_fd shenweichen/DeepCTR/examples/run_dien.py community (archive-listed) unverified Apache-2.0 (permissive) · dde7d5bc564c9516 · report
is_valid_zip recommenders-team/recommenders/recommenders/datasets/download_utils.py community (archive-listed) unverified MIT (permissive) · a9c34e87754edb05 · report
load_pandas_df recommenders-team/recommenders/recommenders/datasets/covid_utils.py community (archive-listed) unverified MIT (permissive) · 26d562ddfce33be0 · report
process_split_ratio recommenders-team/recommenders/recommenders/datasets/split_utils.py community (archive-listed) unverified MIT (permissive) · fbf236cde152c63b · report
read_clickhistory recommenders-team/recommenders/recommenders/datasets/mind.py community (archive-listed) unverified MIT (permissive) · 6e86b813e6449904 · report
remove_duplicates recommenders-team/recommenders/recommenders/datasets/covid_utils.py community (archive-listed) unverified MIT (permissive) · 8b17f7c92b0db3cd · report
remove_nan recommenders-team/recommenders/recommenders/datasets/covid_utils.py community (archive-listed) unverified MIT (permissive) · 6a132eb3e50b4c7f · report

Tasks

Click-Through Rate PredictionRecommendation Systems

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Click-Through Rate Prediction Bing News xDeepFM AUC 0.84 #1 of 7 Archive leaderboard report
Click-Through Rate Prediction Bing News xDeepFM Log Loss 0.2649 #1 of 7 Archive leaderboard report
Click-Through Rate Prediction Bing News DNN AUC 0.03 #7 of 7 Archive leaderboard report
Click-Through Rate Prediction Bing News DNN Log Loss 0.3382 #7 of 7 Archive leaderboard report
Click-Through Rate Prediction Criteo xDeepFM AUC 0.8052 #29 of 39 Archive leaderboard report
Click-Through Rate Prediction Criteo xDeepFM Log Loss 0.4418 #29 of 39 Archive leaderboard report
Click-Through Rate Prediction Dianping xDeepFM AUC 0.8639 #1 of 5 Archive leaderboard report
Click-Through Rate Prediction Dianping xDeepFM Log Loss 0.3156 #1 of 5 Archive leaderboard report
Click-Through Rate Prediction Dianping DNN AUC 0.8318 #5 of 5 Archive leaderboard report
Click-Through Rate Prediction KKBox xDeepFM AUC 0.8535 #3 of 6 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections