NVIDIA-Merlin / NVIDIA-Merlin/Merlin

[RMP] Using session-based models as query encoders (for downstream models or ANN search)

Open
#898 2 comments 0 reactions 4 assignees View on GitHub

@marcromeyn is already working on this.

Since May 17, 2023.

roadmap
Dominant language
Python
Stars
907
Forks
129
PR merge metrics
No merged PRs in 30d

Description

Prerequisites:

  • Sequential models to generate embeddings (MM supports this, T4Rec Doesn't)
  • ANN lookup Op vs TopK lookup in the Model (MM supports this for retrieval; needs to be generalized to all models, Sara has TopK layer for PyTorch which can be added to T4Rec)

Tasks:

Examples

  • NVIDIA-Merlin/models#1097
  • Output of the the model being fed into an ANN search
  • Output of the model being saved as a pre trained embedding and loaded into a later model using our pretrained embedding functionality in the dataloader.

Notes from our discussions on this topic:

  • We need to decide whether we should extend T4Rec to support these use cases (ADR)
  • Starting point: This spreadsheet provides an overview for multi-stage session-based recommendation use cases, requirements, support in existing libraries and tasks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.