[Paper Review] ConvFormer: Revisiting Transformer for Sequential User Modeling
ConvFormer proposes a simple yet effective modification to the Transformer architecture for sequential user modeling by replacing the self-attention mechanism with a depth-wise convolutional layer to enhance order sensitivity, receptive field, and model efficiency. It achieves state-of-the-art performance on four public datasets, with a lightweight design and an FFT-based acceleration technique for long sequences.
Sequential user modeling, a critical task in personalized recommender systems, focuses on predicting the next item a user would prefer, requiring a deep understanding of user behavior sequences. Despite the remarkable success of Transformer-based models across various domains, their full potential in comprehending user behavior remains untapped. In this paper, we re-examine Transformer-like architectures aiming to advance state-of-the-art performance. We start by revisiting the core building blocks of Transformer-based methods, analyzing the effectiveness of the item-to-item mechanism within the context of sequential user modeling. After conducting a thorough experimental analysis, we identify three essential criteria for devising efficient sequential user models, which we hope will serve as practical guidelines to inspire and shape future designs. Following this, we introduce ConvFormer, a simple but powerful modification to the Transformer architecture that meets these criteria, yielding state-of-the-art results. Additionally, we present an acceleration technique to minimize the complexity associated with processing extremely long sequences. Experiments on four public datasets showcase ConvFormer's superiority and confirm the validity of our proposed criteria.
Motivation & Objective
- To re-evaluate the effectiveness of self-attentive token mixers in sequential user modeling, particularly their insensitivity to item order.
- To identify core design criteria for effective token mixers in sequential recommendation systems: order sensitivity, large receptive field, and lightweight architecture.
- To propose ConvFormer, a modified Transformer that satisfies these criteria through a depth-wise convolutional token mixer.
- To address computational challenges in long sequences by introducing ConvFormer-F, an FFT-accelerated variant.
- To validate the proposed criteria through extensive experiments and ablation studies across multiple benchmarks.
Proposed method
- Replace the self-attention mechanism in the Transformer with a depth-wise convolution (DWC) layer to improve order sensitivity and expand the receptive field.
- Use a full receptive field (FRF) in the DWC layer to capture long-range dependencies without parameter explosion.
- Introduce ConvFormer-F, an efficient approximation using Fourier transform to accelerate inference on long sequences.
- Adopt the Meta-Former architecture to ensure compatibility with lightweight, scalable designs.
- Maintain residual connections and positional embeddings to preserve sequence structure and model stability.
- Apply a simple dot-product matching function for next-item prediction using the final user representation.
Experimental results
Research questions
- RQ1Why does the standard self-attentive token mixer underperform in sequential user modeling despite its scalability?
- RQ2What are the essential architectural properties that enable high-performance sequential user modeling?
- RQ3Can a simpler, order-sensitive alternative to self-attention outperform complex attention mechanisms in this task?
- RQ4How can we maintain high performance while reducing computational cost for long user behavior sequences?
- RQ5To what extent do the proposed design criteria generalize across different recommendation scenarios?
Key findings
- ConvFormer achieves state-of-the-art performance on four public datasets: Beauty, Sports, Toys, and Yelp, outperforming models like BERT4Rec, SASRec, and FMLP.
- On the Yelp dataset, ConvFormer achieves an H@10 of 0.7721, significantly outperforming the second-best model (0.7597) with p-value < 0.01.
- The L-Mixer variant, which uses an affine layer as the token mixer, also achieves strong results, validating the proposed criteria even with minimal complexity.
- ConvFormer-F, the FFT-accelerated version, achieves significant speedup with minimal accuracy loss, making it suitable for long sequences.
- Ablation studies confirm that order sensitivity and large receptive field are critical, while the standard item-to-item attention mechanism can hinder performance.
- The proposed criteria—order sensitivity, large receptive field, and lightweight design—prove to be effective and generalizable guidelines for future model design.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.