Building a TensorFlow Ranking Model with TF Recommenders

Added:

Data Prep
Model Design
Eval & Rank

Data Prep

0:00
Playing Section
  • 1

    Prepare the MovieLens dataset using TensorFlow Datasets API.

  • 2

    Keep movie ratings as explicit feedback for training the model.

  • 3

    Shuffle and split data into training and test sets.

Basic understanding of recommender system architectures, specifically the distinction between the retrieval (candidate generation) and ranking stages.
Familiarity with the TensorFlow and Keras frameworks, including how to define neural network layers and compile models.
Understanding of user and item embeddings and how categorical features are mapped to continuous vector spaces.
The conceptual difference between explicit feedback (e.g., user ratings) and implicit feedback (e.g., clicks, watch time) in machine learning.
Implementing advanced ranking architectures like Deep & Cross Networks (DCN) to capture complex, non-linear feature interactions.
Transitioning to multi-task learning models that optimize for multiple objectives simultaneously, such as clicks (implicit) and ratings (explicit).
Evaluating recommender systems using ranking-specific metrics like Normalized Discounted Cumulative Gain (NDCG) and Mean Average Precision (MAP).
Deploying and serving TensorFlow Recommenders models in production environments using TensorFlow Serving.
27.5K views255likes5:20@TensorFlowOriginal Release: 2021-07-20

This video demonstrates how to build a ranking model using TensorFlow Recommenders, which takes user-item pairs and predicts explicit ratings (like movie ratings) by combining user and movie embeddings through dense layers, using mean squared error loss and ranking tasks provided by the library; unlike retrieval models that focus on efficiency, ranking models can afford deeper architectures to produce precise rating predictions that help rank candidate items from thousands to hundreds.