Feature-Interaction-Enhanced Sequential Transformer for Click-Through Rate Prediction

Quan Yuan, Ming Zhu, Yushi Li, Haozhe Liu, Siao GuoApplied Sciences 2024

TL;DR

This paper introduces FESeq, a novel model that enhances CTR prediction by integrating feature interaction with sequential Transformer models in a cascading manner. By treating feature interaction as an automatic feature engineering step, FESeq captures high-order feature combinations and improves the Transformer's ability to model user behavior sequences, leading to superior performance on real-world datasets.

What Problem Does This Paper Address?

Click-through rate (CTR) prediction is vital for online services like e-commerce and advertising, directly impacting user experience and revenue. While self-attention-based Transformer models have become state-of-the-art for sequential recommendation by capturing long-term user behavior dependencies, they often overlook the power of feature interaction. Existing methods either focus solely on feature interaction (ignoring sequential dynamics) or sequential modeling (neglecting rich feature combinations). This paper aims to bridge this gap by proposing a model that effectively combines both approaches, addressing the limitations of purely sequential or feature interaction models.

Methods

The core of FESeq is a cascading architecture that first applies feature interaction and then feeds the enriched features into a sequential Transformer model.

  • Interacting Layer: This layer acts as an automatic feature engineering step. It uses the AutoInt model, a self-attention-based approach, to extract high-order feature combinations from both sequential and non-sequential user features. This layer is designed to enhance the expressive power of the subsequent sequential model.
  • Sequence-Refiner Layer: This layer employs a Transformer architecture. To better capture temporal user interests, it incorporates learned positional embeddings and linear time interval embeddings for user behavior sequences. This allows the model to understand not just the order but also the temporal gaps between interactions.
  • Sequence Pooling Layer: After the Transformer processes the sequence, this layer aggregates the output. FESeq uses an attention-based sequence pooling layer with scaled bilinear attention. This method adaptively learns the relevance of each historical user behavior to the target item, assigning higher weights to more pertinent interactions.
  • Output Layer: A standard MLP with a sigmoid activation function predicts the final CTR probability.

Datasets

The proposed FESeq model was evaluated on two datasets:

  • Ele.me: A public dataset from a commercial food delivery website, containing user click logs.
  • Bundle: An industrial dataset from an online game server, recording user interaction data related to bundle purchases.

Key Insights and Ideas

  • Cascading is Key: Integrating feature interaction before sequential modeling (cascading) is more effective than parallel approaches, as it enriches the input for the sequential model.
  • Feature Interaction as Engineering: Treating feature interaction as an automatic feature engineering step for the Transformer significantly boosts its performance.
  • Temporal Nuances Matter: Positional and linear time interval embeddings are crucial for capturing the temporal dynamics of user behavior, with positional embeddings showing a more significant impact in this study, likely due to shorter sequence lengths.
  • Attention for Relevance: Scaled bilinear attention in the pooling layer effectively models user-item relevance by adaptively weighting historical behaviors, outperforming simpler pooling methods.
  • Explainability: The attention weights in both the interacting and pooling layers offer insights into how the model learns feature combinations and user behavior relevance.

Key Results

FESeq consistently outperformed all baseline models on both public (Ele.me) and industrial (Bundle) datasets.

  • On the Ele.me dataset, FESeq achieved an AUC of 0.6127 and a Logloss of 0.0918.
  • On the Bundle dataset, FESeq achieved an AUC of 0.8912 and a Logloss of 0.0117.

These results represent improvements over state-of-the-art methods, including JointCTR, by +1.46% AUC on Ele.me and +0.30% AUC on Bundle. Ablation studies confirmed the importance of the interacting layer, non-sequential features, positional/time embeddings, and the scaled bilinear attention pooling mechanism.

Limitations and Future Work

  • Sequence Length: The study noted that shorter sequence lengths (10 for Ele.me, 8 for Bundle) might limit the impact of linear time interval embeddings compared to positional embeddings.
  • Feature Interaction Depth: While stacking a few AutoInt layers is effective, extremely high-order feature interactions (beyond 8th order) did not further improve CTR prediction performance and could even degrade it.
  • Future Work: The authors suggest exploring more recent SOTA feature interaction modules to further enhance the model's performance. They also plan to investigate replacing the self-attention interacting layer with these newer modules.

Summary updated

BibTeX
@inproceedings{yuan2024feature,
  author = {Quan Yuan and Ming Zhu and Yushi Li and Haozhe Liu and Siao Guo},
  title = {{Feature-Interaction-Enhanced Sequential Transformer for Click-Through Rate Prediction}},
  booktitle = {Applied Sciences},
  year = {2024},
  doi = {10.3390/app14072760},
}
Figure