Skip to main content
QUICK REVIEW

[Paper Review] AdaMCT: Adaptive Mixture of CNN-Transformer for Sequential Recommendation

Juyong Jiang, Zhang, Peiyan|arXiv (Cornell University)|May 18, 2022
Recommender Systems and TechniquesComputer Science4 citations
TL;DR

AdaMCT proposes a novel adaptive mixture model that combines CNN and Transformer architectures to jointly model long- and short-term user preferences in sequential recommendation. By integrating locality inductive bias via convolutional filters and using layer-aware adaptive mixing with Squeeze-Excitation Attention, AdaMCT achieves state-of-the-art performance with improved efficiency and personalized attention to multiple relevant items.

ABSTRACT

Sequential recommendation (SR) aims to model users dynamic preferences from a series of interactions. A pivotal challenge in user modeling for SR lies in the inherent variability of user preferences. An effective SR model is expected to capture both the long-term and short-term preferences exhibited by users, wherein the former can offer a comprehensive understanding of stable interests that impact the latter. To more effectively capture such information, we incorporate locality inductive bias into the Transformer by amalgamating its global attention mechanism with a local convolutional filter, and adaptively ascertain the mixing importance on a personalized basis through layer-aware adaptive mixture units, termed as AdaMCT. Moreover, as users may repeatedly browse potential purchases, it is expected to consider multiple relevant items concurrently in long-/short-term preferences modeling. Given that softmax-based attention may promote unimodal activation, we propose the Squeeze-Excitation Attention (with sigmoid activation) into SR models to capture multiple pertinent items (keys) simultaneously. Extensive experiments on three widely employed benchmarks substantiate the effectiveness and efficiency of our proposed approach. Source code is available at https://github.com/juyongjiang/AdaMCT.

Motivation & Objective

  • To address the challenge of modeling both long-term stable interests and dynamic short-term preferences in sequential recommendation.
  • To enable personalized, adaptive fusion of long- and short-term preferences through a learnable mixture mechanism.
  • To improve modeling of sequential dependencies by capturing multiple relevant items simultaneously, overcoming the limitations of softmax-based attention.
  • To integrate locality inductive bias into Transformers via convolutional filters while preserving global attention capacity.
  • To achieve high efficiency and effectiveness in real-world sequential recommendation benchmarks.

Proposed method

  • AdaMCT employs a hybrid architecture combining a local convolutional branch ($\mathcal{L}_{\text{Conv}}$) and a global self-attention branch ($\mathcal{G}_{\text{Trm}}$) to model sequential patterns.
  • A layer-aware adaptive mixture unit dynamically computes attention weights ($\alpha$, $\beta$) to fuse representations from CNN and Transformer branches on a per-layer and per-user basis.
  • Squeeze-Excitation Attention (SEAtt) is introduced to replace standard softmax attention, enabling multi-item activation and improved modeling of multiple relevant items.
  • The model uses a learnable gate mechanism with a reduction ratio $r$ and non-linear activation ($\Phi$) to recalibrate feature importance in the attention mechanism.
  • The architecture is trained end-to-end with a standard recommendation loss, and the final output is a personalized recommendation score per item.
  • Hyperparameters such as kernel size $k$, head number $h$, and model dimension $d_{\text{model}}$ are optimized via ablation studies.

Experimental results

Research questions

  • RQ1How can long- and short-term user preferences be jointly modeled in a way that enables mutual reinforcement?
  • RQ2Can adaptive, personalized fusion of CNN and Transformer components improve sequential recommendation performance?
  • RQ3Does replacing standard softmax attention with Squeeze-Excitation Attention enhance the model's ability to capture multiple relevant items?
  • RQ4How does the integration of locality inductive bias (via CNN) improve performance compared to pure Transformer models?
  • RQ5What is the trade-off between model efficiency (FLOPs, memory, inference time) and performance in sequential recommendation?

Key findings

  • AdaMCT achieves SOTA performance on three public benchmarks, with NDCG@10 of 0.3511 on the Toys dataset and 0.3444 on the Sports dataset.
  • The model reduces FLOPs by 91% compared to Caser and 79% compared to SASRec, with only 0.41M parameters on the Toys dataset.
  • AdaMCT reduces training cost by 84% compared to Caser and inference cost by 79% on the Toys dataset.
  • The ablation study shows that kernel size $k=3$ and reduction ratio $r=1$ yield the best performance, with GELU activation outperforming ReLU and Swish.
  • Visualization results confirm that AdaMCT learns more coherent and personalized item correlation patterns than baseline models.
  • The adaptive coefficient visualization shows that the model dynamically adjusts attention weights per user and layer, reflecting personalized preference dynamics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.