Abstract
Click-Through Rate (CTR) prediction is a cornerstone of online advertising. While deep learning models have significantly advanced the field, they often rely on spurious correlations found in training data, which limits their generalization to real-world, out-of-distribution (OOD) scenarios. This paper presents Causal-GNN, a novel framework that combines causal discovery with Graph Neural Networks (GNNs). By constructing directed causal graphs instead of complete graphs, Causal-GNN filters out noise and focuses on inherent data structures. Experimental results on Criteo, Avazu, and MovieLens-1M datasets demonstrate that Causal-GNN outperforms state-of-the-art baselines in both accuracy and robustness.
Introduction
The multi-billion-dollar online advertising industry relies heavily on accurate CTR prediction. Traditional approaches, such as Factorization Machines (FMs) and Deep Neural Networks (DNNs), typically model feature interactions as unstructured combinations in Euclidean space. Recent shifts toward Graph Neural Networks (GNNs) have attempted to capture these interactions in non-Euclidean spaces. However, most GNN-based CTR models treat feature interactions as a "complete graph," where every feature field is connected to every other field. This approach often leads to over-smoothing, where distinct signals are lost, and poor generalization due to a reliance on "shortcut features"—correlations that do not represent true causal relationships.
Methods
The Causal-GNN framework addresses these challenges through a five-layer architecture designed to prioritize causal dependencies over simple statistical associations.
1. Graph Construction Layer
The core innovation of Causal-GNN lies in its structured graph construction. Instead of a dense, undirected graph, the model builds three specialized graphs:
- Causal Feature Graph ($\mathcal{G}_f$): Employs a Directed Acyclic Graph (DAG) learning approach based on variational Bayes to identify causal dependencies between feature fields (e.g., the causal influence of "User Age" on "Interest in Electronics").
- User Graph ($\mathcal{G}_u$) and Ad Graph ($\mathcal{G}_a$): Constructed based on statistical similarity, connecting users or ads that share common interaction patterns.
2. Embedding and Structured Representation
Sparse categorical features are first mapped to dense embedding vectors. The model then utilizes a novel GraphFwFM layer for structured representation learning. Unlike standard GNNs, GraphFwFM modifies the aggregation function to incorporate the principles of Field-weighted Factorization Machines (FwFM), ensuring that information is only aggregated from "causal neighbors."
3. Attention and Prediction
A multi-head self-attention mechanism weighs the importance of different graph representations and neural layers. Finally, an attention-aware predictor integrates these refined representations to output the final click probability. For scalability, the model uses GraphSAGE for user and ad graphs, enabling inductive learning for previously unseen entities.
Experimental Evaluation
The authors evaluated Causal-GNN against a wide range of baselines, including low-order models (LR, FM), high-order models (DeepFM, CIN), and existing graph-based models (Fi-GNN, GraphFM).
Datasets
- Criteo: A large-scale display advertising dataset (13 numerical, 26 categorical fields).
- Avazu: A mobile advertising dataset (23 feature fields).
- MovieLens-1M: Used to validate user and ad graph components due to its rich metadata.
Results
Causal-GNN consistently outperformed baselines in terms of AUC and Logloss. Notably, on the MovieLens-1M dataset, it achieved an AUC of 0.8342, a significant improvement over Fi-GNN's 0.7840. Ablation studies confirmed that the causal discovery component is vital; replacing the causal graph with a complete graph resulted in a sharp performance decline, particularly on the complex Criteo dataset.
Discussion and Conclusion
The primary insight of this work is that causality acts as a powerful filter. By pruning non-causal edges, Causal-GNN avoids over-fitting to coincidental patterns in the training set. While causal models may show slightly lower performance on training data compared to over-fitted correlation models, their superior performance on test data proves their robustness.
Future work will focus on reducing the computational overhead of DAG learning to support real-time systems with millions of features and exploring dynamic causal relationships that evolve over time.
Summary updated