UltraGCN
UltraGCN, a recommender that replaces graph message passing with constraint losses on user and item embeddings.
Tabular and recommender · 7 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
- 192K
- Operations
- 7
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2021
- Paper
- graph convolution
- 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
- m3248
- Graph hash
- 07be6413e0945d7039c6b8a81a098454b02e0725a254c917310074ec271b0716
- Skeleton hash
- 76d2d80fe6233f513124fa4de853fac13dd5b80ce069384d09ef38fa37003c66
- Architecture hash
- 297be473e2a4d54bbd81e00d600abf446be96b0f50c75049010700250f0f1a71
- Diagram SHA-256
- 36fa17191b663ac7e809a698a983d2619e180df468a37ebb4d8a5175f56a4446
- TorchLens version
- 2.35.3
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
How this diagram was made
menagerie.classics.ultragcn:build: build({}) What it is
UltraGCN is a recommender model for collaborative filtering: a simplified graph convolutional network (GCN) that has no message passing layers at all. GCNs normally aggregate information from neighbors by message passing, and the paper observes that this largely slows down convergence during training. LightGCN had already simplified GCNs for collaborative filtering by omitting feature transformations and nonlinear activations, and UltraGCN takes that one step further.
Instead of stacking layers, UltraGCN directly approximates the limit of infinite-layer graph convolutions through a constraint loss on the user and item embeddings. To counter over-smoothing, where users and items converge to the same embeddings, it performs negative sampling during training, which the paper says is inspired by Word2Vec. A second constraint loss on an item-item co-occurrence graph lets the model learn item-item relationships explicitly.
The main training objective is a binary cross-entropy loss, because the paper formulates collaborative filtering as a link prediction problem in graph learning. At inference the ranking score for a user and an item is the dot product of their two embeddings. On four benchmark datasets the paper reports more than 10x speedup over LightGCN.
Key idea. UltraGCN skips message passing and approximates the limit of infinite-layer graph convolutions with a constraint loss, making GCN-based recommendation simpler and faster to train.
- ultragcn
- ultra simplification of graph convolutional networks
- simplified gcn
- collaborative filtering
- recommender system
- graph recommendation
- constraint loss
- item recommendation
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.