recbole.RaCT
RaCT is a VAE collaborative filtering recommender trained with an actor-critic scheme to optimize ranking metrics.
Tabular and recommender · 56 operations Checked
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
- 24.4M
- Operations
- 56
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICLR 2020
- Cited by
- 7 (as of 22 October 2026)
- Authors
- Sam Lobel, Chunyuan Li, Jianfeng Gao, Lawrence Carin
- Source
- GitHub: RUCAIBox/RecBole
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m8658
- Graph hash
- 66b223a27da97b68047fde406960b5be203164319fee68039e42c33e3c1b1aa1
- Skeleton hash
- b47f7b86dcde3c8d1b0c5a4e3924493d9f3a74a872a4f2bb7d1488fa53d47140
- Architecture hash
- ebc1fe67e16f6c3901c70f4b925ef32a5c44fd1b01f3cad2862b783f6da36667
- Diagram SHA-256
- 88a41a7b1d6a08480793095997cb485923e7ea0da724035c89afb77647eeef9d
- 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
RaCT, short for Ranking-Critical Training, is a way of training collaborative filtering recommenders so that they optimize a ranking metric rather than a likelihood. The paper's motivation is that maximum likelihood training of variational autoencoders (VAEs), though simple and often effective, does not directly maximize top-N ranking quality.
The method borrows the actor-critic idea from reinforcement learning: a critic network is trained to approximate the ranking metric, and the actor, a VAE that predicts a user's interactions, is trained to score well under that learned metric. The critic does not read raw predictions; its input is a 3-dimensional feature made of the actor's negative log-likelihood and two counts of the user's items. Training runs in three stages: the actor is pre-trained by maximum likelihood, the critic is pre-trained on that actor's outputs, and then actor-critic training follows. In the paper's experiments the critic's target is NDCG at 100.
On three large-scale real-world datasets, the paper reports that the method outperforms several baselines, including recent deep learning approaches. The authors implemented their algorithm in TensorFlow. This model is the version in RecBole, a library built on Python and PyTorch for reproducing and developing recommendation algorithms.
Key idea. RaCT trains a critic network to approximate a ranking metric and then updates a collaborative filtering actor, such as a VAE, to optimize directly against that learned metric.
- ract
- ranking-critical training
- collaborative filtering
- actor-critic recommender
- recommender system
- learning to rank
- vae recommender
- top-n recommendation
- recbole
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{lobel2020amortizedrankingcriticaltrainingcollaborative,
title={Towards Amortized Ranking-Critical Training for Collaborative Filtering},
author={Sam Lobel and Chunyuan Li and Jianfeng Gao and Lawrence Carin},
year={2020},
eprint={1906.04281},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1906.04281},
}