All models

recbole.EASE

Closed-form linear autoencoder for implicit-feedback recommendation with a zero-diagonal item-item weight matrix.

Tabular and recommender · 6 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 (8 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
1
Operations
6
Framework
PyTorch
Recurrent
No
Published
WWW 2019
Cited by
281 (as of 19 October 2026)
Authors
Harald Steck
License
MIT
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
m8606
Graph hash
3192ceac20f28eb0e8495814694bf0b9ba34747fbbe0f3bd54bad51bd71775d6
Skeleton hash
3192ceac20f28eb0e8495814694bf0b9ba34747fbbe0f3bd54bad51bd71775d6
Architecture hash
74858ecac0c1ff9f670a82f2931e936ac71d09d82581d64acd72a8b8626c9c7d
Diagram SHA-256
4d8b99e5a47ae3c11ccb9c078402fc44854eb761e963a52de2025b6c733e35c8
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

EASE, short for Embarrassingly Shallow AutoEncoder, is a linear model for collaborative filtering on sparse implicit feedback data. The paper takes the observation that shallow recommenders work best to its extreme and defines a linear model without a hidden layer. Its only parameters are an item-item weight matrix whose diagonal is constrained to zero, so no item can be predicted from itself. That zero-diagonal constraint, the paper notes, was first introduced in the Slim model.

Because the loss is a square error with L2 regularization, the training objective has a closed-form solution. The closed form also shows that the inverse of the data Gram matrix, rather than the Gram matrix itself, is the conceptually correct similarity matrix for neighborhood methods.

About 60% of the learned weights were negative on every dataset in the paper's experiments. Allowing negative weights, which learn dissimilarities between items besides similarities, was essential to the ranking accuracy obtained. Training on the Netflix data took less than two minutes, and on the Million Song Data less than 20 minutes, on a machine with 64 GB of RAM and 16 vCPUs. On the Million Song Data the paper reports gains of 25%, 17% and 23% in Recall at 20, Recall at 50 and NDCG at 100 over the best competing model. The RecBole implementation computes the weight matrix once at construction and then stores it, computing scores on demand rather than the full score matrix.

Key idea. EASE shows that a linear item-item autoencoder with a zero diagonal has a closed-form solution and achieves better ranking accuracy than deep collaborative filtering models on most datasets tested.

  • ease
  • embarrassingly shallow autoencoder
  • collaborative filtering
  • implicit feedback
  • linear autoencoder
  • recommender system
  • closed-form solution
  • item-item similarity
  • recbole

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

Cite the paper

@misc{steck2019embarrassinglyshallowautoencoderssparse,
      title={Embarrassingly Shallow Autoencoders for Sparse Data}, 
      author={Harald Steck},
      year={2019},
      eprint={1905.03375},
      archivePrefix={arXiv},
      primaryClass={cs.IR},
      doi={https://doi.org/10.1145/3308558.3313710},
      url={https://arxiv.org/abs/1905.03375}, 
}