YouTubeDNN candidate-generation tower
Candidate generation network of YouTube's recommender: averaged embeddings fed to a feedforward tower.
Tabular and recommender · 74 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
- 233.7K
- Operations
- 74
- Framework
- PyTorch
- Recurrent
- No
- Published
- RecSys 2016
- Cited by
- 4,198 (as of 24 October 2026)
- Authors
- Paul Covington, Jay Adams, Emre Sargin
- 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
- m21565
- Graph hash
- 01ac976450af44571e38c2b3407f34b628fdb1e4762b2ef5424cf0e8009d0a5c
- Skeleton hash
- fc038c25f4312d4ad2003e8ad2496b8329889d011b92442b023eff27019eab46
- Architecture hash
- a01b6ef4baf603ddfd56c08f856c60825459a03ebb21572244209cdda6914dff
- Diagram SHA-256
- 902f37905d0ddb5f81489f3ace7b2340928d7fe15bb1fe10ea6a753d0191cbc1
- 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
This is the candidate generation network of YouTube's recommendation system, which is made of two neural networks, one for candidate generation and one for ranking. It takes events from a user's activity history and retrieves a small subset of videos, in the hundreds, from a large corpus.
The paper poses recommendation as extreme multiclass classification: pick the specific video a user watches at a given time from among millions of videos. The network learns an embedding for each video, and a user's watch history becomes one dense vector by averaging the embeddings of the watched videos. That vector is concatenated with the other features into a wide first layer, followed by several fully connected ReLU layers. At serving time the scoring reduces to a nearest neighbor search in the dot product space.
One input the paper adds is the age of the training example, fed as a feature during training. In the paper's experiments the hidden layers follow a tower pattern, in which the bottom of the network is widest and each successive hidden layer halves the number of units.
Key idea. The paper built a deep candidate generation model that treats recommendation as extreme multiclass classification, learning user embeddings that discriminate among videos with a softmax classifier.
- youtubednn
- youtube dnn
- deep neural networks for youtube recommendations
- youtube dnn candidate generation
- candidate generation
- youtube recommendations
- video recommendation
- recommender system
- retrieval model
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@inproceedings{Covington_2016, series={RecSys ’16}, title={Deep Neural Networks for YouTube Recommendations}, url={http://dx.doi.org/10.1145/2959100.2959190}, DOI={10.1145/2959100.2959190}, booktitle={Proceedings of the 10th ACM Conference on Recommender Systems}, publisher={ACM}, author={Covington, Paul and Adams, Jay and Sargin, Emre}, year={2016}, month=Sept, pages={191–198}, collection={RecSys ’16} }