Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

DuoLM speeds up LLM-based personalized recommendation 60x

DuoLM pairs an encoder LLM that builds reusable compact item representations with a personalized ranker LLM, plus a serving runtime using virtual token IDs, shared history computation, and CUDA Graph replay. On one H100 it scores about 26,400 candidates per…

Published Read the original

Why it matters

Serving cost is the main barrier to LLM-based recommenders, and this shows concrete ways to cut it.

What happened

1 min read

DuoLM pairs an encoder LLM that builds reusable compact item representations with a personalized ranker LLM, plus a serving runtime using virtual token IDs, shared history computation, and CUDA Graph replay. On one H100 it scores about 26,400 candidates per second, roughly 60x the teacher served with vLLM, at comparable quality.

inscraper analysis

Our analysis

Precomputing item representations and using a light ranker is a known pattern; the runtime optimizations are the more useful engineering detail. Comparing against the teacher on vLLM is a convenient baseline, and the abstract does not compare with non-LLM rankers. Worth a look for recommender-system teams.

More in Research