All models

FMLP-Rec

An all-MLP sequential recommender that swaps self-attention for learnable filters in the frequency domain.

Tabular and recommender · 100 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (25 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
851.2K
Operations
100
Framework
PyTorch
Recurrent
No
Published
WWW 2022
Cited by
418 (as of 16 October 2026)
Authors
Kun Zhou, Hui Yu, Wayne Xin Zhao, Ji-Rong Wen
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m967
Graph hash
4cc36b5890199ebe90cd6cc9ef28ce0946ce2c4bc7a3233de6ea9c135e904d84
Skeleton hash
da6fa19a1975ee5646c709cc8c21dd4394ebb54d17c953199478e9bde191392f
Architecture hash
c716a3a4d06bb91ced6cb526c72c113d89ec99f3f6c4773b5a3955614ee4dd6a
Diagram SHA-256
b58387f621707e9462fbaa5a1c348076600d5f1f19ebfe4554a08518fbfe0058
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

FMLP-Rec is an all-MLP model for sequential recommendation, the task of predicting what a user will interact with next from their item history, with learnable filters in place of self-attention. The idea comes from signal processing, where filtering algorithms attenuate noise in the frequency domain. The all-MLP design gives lower time complexity, and the learnable filters adaptively attenuate noise in the frequency domain.

The model keeps the architecture of SASRec but removes its multi-head self-attention blocks. Each learnable filter block has two sublayers, a filter layer and a point-wise feed-forward network. The filter layer applies a Fast Fourier Transform to the item representations, multiplies by learnable filters, and an inverse FFT recovers the denoised representations. The learnable filters are equivalent to circular convolution in the time domain, so they share the receptive field of self-attention with far fewer parameters. As in SASRec, skip connections, layer normalization and dropout are used.

Experiments on eight real-world datasets show FMLP-Rec outperforming RNN, CNN, GNN and Transformer-based methods. The code repository is the source for the WWW 2022 paper.

Key idea. FMLP-Rec replaces the Transformer's multi-head self-attention with a learnable filter structure, giving an all-MLP sequential recommender that denoises item sequences in the frequency domain.

  • FMLP-Rec
  • Filter-enhanced MLP
  • sequential recommendation
  • learnable filters
  • FFT
  • SASRec
  • next item

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{zhou2022filterenhancedmlpneedsequential,
      title={Filter-enhanced MLP is All You Need for Sequential Recommendation}, 
      author={Kun Zhou and Hui Yu and Wayne Xin Zhao and Ji-Rong Wen},
      year={2022},
      eprint={2202.13556},
      archivePrefix={arXiv},
      primaryClass={cs.IR},
      doi={https://doi.org/10.1145/3485447.3512111},
      url={https://arxiv.org/abs/2202.13556}, 
}