Hierarchical Multi-Task Learning for Intent Prediction in Recommender Systems

netflix · Media & Entertainment · 2025 · source Agentic: no · promotional bias: low · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: streaming media recommender systems

Netflix wanted its recommendation foundation model to understand the intent behind a viewing session, not only predict the next item, so recommendations, search, UI layout, and analytics could respond to whether a member was discovering, continuing, exploring genres, or seeking a movie versus a show.

Constraints:

Architecture

Netflix built FM-Intent as an extension of its recommendation foundation model. It constructs rich input feature sequences by combining interaction metadata, encodes user history with a Transformer encoder, predicts multiple intent signals through task-specific fully connected layers, aggregates those intent predictions with attention to form a comprehensive intent embedding, and feeds that embedding into the next-item prediction task. The hierarchy is intentional: intent is predicted first and then used as an input feature for next-item prediction, rather than being learned as a disconnected auxiliary head. Offline experiments compare FM-Intent against sequential recommendation baselines and a production-model variant, while downstream integration exposes intent embeddings and predictions for personalized UI optimization, analytics, enhanced recommendation signals, and search optimization.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  A["Netflix interaction metadata"] --> B["Input feature sequence"]
  B --> C["Transformer encoder"]
  C --> D["Intent prediction heads"]
  D --> E["Attention-based intent aggregation"]
  B --> F["Next-item prediction head"]
  E --> F
  F --> G["Netflix recommendation ecosystem"]
  E --> H["User clustering analysis"]
  I["Offline evaluation suite"] --> D
  I --> F
  G --> J["Personalized UI optimization"]
  G --> K["Analytics and user understanding"]
  G --> L["Enhanced recommendation signals"]
  G --> M["Search optimization"]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Netflix interaction metadata User engagement signals that act as implicit proxies for latent session intent. Input feature sequence
Input feature sequence Combined categorical embeddings and numerical features representing user behavior over interactions. Transformer encoder, Next-item prediction head
Transformer encoder Models long-term user interest from the feature sequence using multi-head attention. Intent prediction heads
Intent prediction heads Task-specific fully connected layers that predict multiple user intent signals. Attention-based intent aggregation
Attention-based intent aggregation Combines individual intent predictions into a comprehensive intent embedding weighted by relative importance. Next-item prediction head, User clustering analysis
Next-item prediction head Uses both original input features and the intent embedding to predict the next recommendation item. Netflix recommendation ecosystem
Offline evaluation suite Compares FM-Intent against sequential recommendation baselines and a production-model variant on sampled Netflix user engagement data. Next-item prediction head, Intent prediction heads
User clustering analysis K-means++ analysis over intent embeddings to identify meaningful viewing-intent segments. Analytics and user understanding
Netflix recommendation ecosystem Production ecosystem where FM-Intent outputs can support UI optimization, analytics, enhanced recommendation signals, and search optimization. Personalized UI optimization, Analytics and user understanding, Enhanced recommendation signals, Search optimization
Personalized UI optimization Downstream application that changes homepage layout and content selection based on predicted session intent. —
Analytics and user understanding Downstream use of intent embeddings and clusters for viewing-pattern analysis and content decisions. —
Enhanced recommendation signals Use of intent predictions as features for other recommendation models. —
Search optimization Real-time intent predictions used to prioritize search results by current session intent. —

Data flow

Netflix interaction metadata is combined into input feature sequences with categorical embeddings and numerical features. A Transformer encoder models long-term user interest through multi-head attention, and task-specific heads predict intent dimensions such as action type, genre preference, movie/show type, and time-since-release. Attention-based aggregation combines the individual intent predictions into an intent embedding. The next-item prediction model then combines that intent embedding with the input features to produce recommendations. Intent embeddings can also be clustered or passed into other recommendation, UI, analytics, and search systems.

3 supporting quotes
“The first component constructs rich input features by combining interaction metadata.”article, stated
“The intent prediction component processes the input feature sequence through a Transformer encoder and generates predictions for multiple intent signals.”article, stated
“The final component combines the input features with the user intent embedding to make more accurate next-item recommendations.”article, stated

Why this architecture

Netflix chose a hierarchical multi-task design because next-item prediction alone cannot represent why the user is browsing, and conventional auxiliary intent heads do not make intent directly inform the recommendation. Predicting intent first and feeding the resulting embedding into item prediction creates a coherent pipeline where recommendations can be conditioned on session-level purpose. Attention-based aggregation also makes the multiple intent signals useful as a single embedding for personalization and explanation.

3 supporting quotes
“existing intent prediction approaches typically employ simple multi-task learning that adds intent prediction heads to next-item prediction models”article, stated
“FM-Intent establishes a clear hierarchy where intent predictions directly inform item recommendations”article, stated
“This approach generates a comprehensive intent embedding that captures the relative importance of different intent signals for each user”article, stated

Models used: Netflix recommendation foundation model · FM-Intent · Transformer encoder · LSTM baseline · GRU baseline · Transformer baseline · TransAct baseline · FM-Intent-V0

Scale

Alternatives considered (roads not taken)

Use the recommendation foundation model for next-item prediction only

Rejected because: The prior foundation model understood interaction histories but lacked explicit prediction and use of underlying session intent.

“While our recommendation foundation model (FM) has made substantial progress in understanding user preferences through large-scale learning from interaction histories”article, stated
“there is an opportunity to further enhance its capabilities. By extending FM to incorporate the prediction of underlying user intents”article, stated

Add auxiliary intent-prediction heads without hierarchy

Rejected because: Netflix argues that conventional simple multi-task learning does not establish a hierarchy where intent predictions directly inform item recommendations.

“existing intent prediction approaches typically employ simple multi-task learning that adds intent prediction heads to next-item prediction models”article, stated
“without establishing a hierarchical relationship between these tasks.”article, stated

Use baseline sequential recommendation models

Rejected because: The tested baselines either could not predict user intent or could not incorporate intent predictions into next-item recommendations.

“Most baseline models show limited performance as they either cannot predict user intent or cannot incorporate intent predictions into next-item recommendations.”article, stated

Use the actual larger production foundation model for the offline baseline

Rejected because: For fair comparison, Netflix used FM-Intent-V0 trained with a smaller dataset, while noting that the actual production model has much more training data.

“FM-Intent-V0 is trained with a smaller dataset for a fair comparison with other models; the actual production model is trained with a much larger dataset.”article, stated

Patterns

fine-tuning-adaptation (model adaptation)

Netflix adapted its recommendation foundation model by adding hierarchical intent prediction and an intent-informed next-item prediction path for session-level personalization.

“we introduce FM-Intent, a novel recommendation model that enhances our foundation model through hierarchical multi-task learning.”article, stated
“FM-Intent captures a user’s latent session intent using both short-term and long-term implicit signals as proxies”article, stated

retrieval-ranking (ranking)

Predicted session intent is used to improve next-item recommendation ranking and can also prioritize search results based on the user's current session intent.

“then leverages this intent prediction to improve next-item recommendations.”article, stated
“Real-time intent predictions help prioritize search results based on the user’s current session intent.”article, stated

eval-driven-development (evaluation)

The model was validated through offline experiments against state-of-the-art sequential recommendation baselines and a production-model variant before production ecosystem integration.

“Comprehensive experimental validation showing significant performance improvements over state-of-the-art models, including our foundation model.”article, stated
“Table 1 compares FM-Intent with several state-of-the-art sequential recommendation models, including our production model (FM-Intent-V0).”article, stated

structured-output-contract (model interface)

The model turns latent session behavior into explicit intent dimensions such as action type, genre preference, movie/show type, and time-since-release, giving downstream systems structured signals to consume.

“Action Type: Categories reflecting what users intend to do on Netflix, such as discovering new content versus continuing previously started content.”article, stated
“These dimensions serve as proxies for the latent user intent, which is often not directly observable but crucial for providing relevant recommendations.”article, stated

Tradeoffs

Use hierarchical multi-task learning

Chose intent predictions feeding next-item prediction over flat auxiliary heads attached to a next-item model.

Rationale: The hierarchy makes the predicted intent a functional input to recommendations rather than a parallel label that may not improve item ranking.

“Unlike conventional approaches, FM-Intent establishes a clear hierarchy where intent predictions directly inform item recommendations”article, stated
“creating a more coherent and effective recommendation pipeline.”article, stated

Aggregate multiple intent predictions with attention

Chose attention-based aggregation into a comprehensive intent embedding over treating each intent head independently.

Rationale: Attention lets the model represent the relative importance of different intent signals for each user and provides a single embedding for downstream personalization and explanation.

“A key innovation in FM-Intent is the attention-based aggregation of individual intent predictions.”article, stated
“captures the relative importance of different intent signals for each user, providing valuable insights for personalization and explanation.”article, stated

Use a smaller training dataset for FM-Intent experiments

Chose sampled user engagement data and a fair smaller-dataset baseline over direct comparison against the full larger production foundation model.

Rationale: The hierarchy is complex enough that Netflix trained on less data, so the baseline was constrained similarly to isolate the modeling improvement.

“FM-Intent uses a much smaller dataset for training compared to the FM production model due to its complex hierarchical prediction architecture.”article, stated
“the actual production model is trained with a much larger dataset.”article, stated

Use intent embeddings beyond direct recommendation

Chose downstream UI, analytics, feature, and search applications over limiting FM-Intent to next-item prediction only.

Rationale: The intent embedding exposes a reusable representation of session purpose, allowing other systems to optimize UI, analyze audiences, enhance models, and prioritize search.

“FM-Intent generates meaningful user intent embeddings that can be used for clustering users with similar intents.”article, stated
“Intent predictions serve as features for other recommendation models, improving their accuracy and relevance.”article, stated

Gotchas (what bit them)

Auxiliary intent heads alone do not guarantee intent-informed recommendations.

Root cause: Simple multi-task learning can predict intent as a side task without making those predictions influence next-item recommendation.

Resolution: FM-Intent imposes a hierarchy where intent predictions are computed first and then used as input features for the next-item prediction task.

“existing intent prediction approaches typically employ simple multi-task learning that adds intent prediction heads to next-item prediction models”article, stated
“intent predictions are conducted first, and their results are used as input features for the next-item prediction task.”article, stated

Intent is latent and only observable through proxies.

Root cause: The model cannot directly observe why a user is browsing; it must infer intent from action type, genre preference, content type, release recency, and other interaction metadata.

Resolution: FM-Intent predicts multiple intent dimensions from implicit interaction signals and aggregates them into a comprehensive embedding.

“These dimensions serve as proxies for the latent user intent, which is often not directly observable but crucial for providing relevant recommendations.”article, stated
“attention-based aggregation of individual intent predictions. This approach generates a comprehensive intent embedding”article, stated

Complex hierarchical prediction increases training cost enough to affect offline comparison design.

Root cause: FM-Intent's architecture is more complex than the production foundation model path.

Resolution: Netflix trained FM-Intent on a smaller sampled dataset and compared against a production-model variant trained on similarly constrained data for fairness.

“FM-Intent uses a much smaller dataset for training compared to the FM production model due to its complex hierarchical prediction architecture.”article, stated
“FM-Intent-V0 is trained with a smaller dataset for a fair comparison with other models”article, stated

Many baselines cannot use intent as both prediction target and recommendation feature.

Root cause: Some sequential recommendation models are not designed to predict intent, and others cannot feed intent predictions back into item ranking.

Resolution: FM-Intent uses hierarchical multi-task learning so intent prediction is part of the path to next-item prediction.

“Most baseline models show limited performance as they either cannot predict user intent or cannot incorporate intent predictions into next-item recommendations.”article, stated
“This hierarchical relationship ensures that the next-item recommendations are informed by the predicted user intent”article, stated

Evaluation

Netflix evaluated FM-Intent with offline experiments on sampled user engagement data, comparing next-item and next-intent prediction against state-of-the-art sequential recommendation baselines and FM-Intent-V0. The evaluation reports relative percentage improvements versus TransAct and qualitative K-means++ clustering over intent embeddings.

Metrics: next-item prediction accuracy · next-intent prediction accuracy · relative percentage improvements versus TransAct · statistically significant 7.4% improvement in next-item prediction accuracy · K-means++ user clustering with K=10

3 supporting quotes
“All metrics are represented as relative % improvements compared to the SOTA baseline: TransAct.”article, stated
“FM-Intent demonstrates statistically significant improvement of 7.4% in next-item prediction accuracy compared to the best baseline (TransAct).”article, stated
“K-means++ (K=10) clustering of user intent embeddings found by FM-Intent”article, stated

Outcomes

The paper describes offline experiments on sampled Netflix user engagement data, a model integrated into Netflix's recommendation ecosystem, and downstream uses in homepage layout, analytics, other recommendation models, and real-time search optimization.

4 supporting quotes
“FM-Intent has been successfully integrated into Netflix’s recommendation ecosystem”article, stated
“These clusters reveal meaningful user segments with distinct viewing patterns”article, stated
“The predicted user intent could inform the layout and content selection on the Netflix homepage”article, stated
“By understanding not just what users might watch next but what underlying intents users have, we can provide more personalized, relevant, and satisfying recommendations.”article, stated