YouTube DNN Candidate Generation (from Google's landmark 2016 paper) formalizes recommendation recall as an extreme multi-class classification problem over millions of video classes; the model embeds variable-length user watch histories via average pooling, concatenating search query tokens, demographic metadata, and the critical 'Example Age' feature (modeling time decay/freshness) through an MLP to generate user vector
u∈Rd; trained using Sampled Softmax across video class weights
vj, online serving treats the Softmax output weights directly as item embeddings for millisecond ANN dot-product search.