From Sessions to Serving: Integrating LLM-Based Embeddings into Retrieval for Production Content Recommendation

Zhixiong Hu, Meng Li, Maggie Zhang, Deborshi Goswami, David Bailey, James BradleyarXiv 2026

TL;DR

LSER (LLM Session Embedding Retrieval) is a production-grade recommendation system that integrates Large Language Model (LLM) embeddings into the retrieval stage of a two-tower architecture. By utilizing a "nearline" serving path to handle LLM inference asynchronously, the system achieves significant gains in engagement and conversion on autodesk.com without violating strict production latency constraints.

What Problem Does This Paper Address?

In large-scale content recommendation, the "retrieval" stage is the gatekeeper. It must quickly narrow down millions of items (like product pages, tutorials, and customer stories) to a few hundred candidates for the "ranking" stage to process.

The authors identify a major bottleneck: traditional retrieval models often rely on item IDs or simple sequence encoders that struggle with sparse user behavior and heterogeneous content. While LLMs offer rich semantic understanding that could solve this, they are far too slow for the sub-50ms inference windows required in real-time retrieval. The challenge, therefore, is twofold: how to effectively represent diverse user intent using LLMs and how to serve those representations at industrial scale.

Methods

The authors propose LSER, which augments a standard two-tower retrieval model with LLM-derived features.

  1. Two-Tower Architecture: The system uses a standard setup where a "User Tower" and an "Item Tower" produce embeddings in the same vector space. Retrieval is performed via Approximate Nearest Neighbor (ANN) search.
  2. The LLM Path: Instead of replacing existing sequence encoders (like BERT4Rec), LSER adds an auxiliary path. They take raw web activity (event types and values) and serialize them into text. This text is fed into a fine-tuned Qwen3-0.6B backbone to generate session- and history-level embeddings.
  3. Nearline Serving: To bypass the latency of LLM inference, LSER uses a "nearline" architecture. When a user interacts with the site, an asynchronous process triggers the LLM encoder. The resulting embeddings are written to a low-latency store. At request time, the retrieval server simply fetches these pre-computed vectors and concatenates them with other user features.
Figure 1: Overview of the LSER architecture. A nearline serving pipeline (top) asynchronously refreshes user-side embedding components from recent activity and writes them to an embedding store. At serving time, a two-tower retrieval model (bottom) assembles a user embedding e𝑢in the User Tower 𝑓user and an item embedding e𝑖in the Item Tower 𝑓item; retrieval ranks candidates by cosine similarity (Section 2.1) for Top-𝐾results.

Datasets

The models were trained and evaluated using internal Autodesk data:

  • User Web Activity: Logs of clicks, views, and trials across autodesk.com.
  • Content Catalog: A diverse set of items including product pages, industry-specific articles, customer success stories, and learning content.
  • Label Receipts: A consolidated supervision record that maps various engagement types (e.g., a click or a trial start) into a unified training objective using InfoNCE contrastive loss.

Key Insights and Ideas

  • Semantic Generalization: Traditional ID-based models fail on "long-tail" or new content because they haven't seen enough interactions for those specific IDs. LLMs generalize better because they understand the textual meaning of the content.
  • Richer Input Streams: Standard sequence encoders often drop events that don't map to a specific catalog ID. The LLM path, by treating events as text, can capture context from pages outside the official catalog (e.g., a general help page), providing a more holistic view of user intent.
  • Asynchronous Freshness: The "nearline" approach is a pragmatic middle ground. It provides "fresh" embeddings (updated minutes after activity) without the impossible latency cost of synchronous LLM inference during a page load.

Key Results

The authors validated LSER through both offline ablations and a large-scale online A/B test.

  • Online Impact: Compared to the legacy rule-based system, the LSER deployment saw massive lifts in engagement:
  • +10.3% CTR on homepage product carousels.
  • +36.1% CTR for AutoCAD customer stories.
  • +17.1% increase in product trial start rates.
  • Offline Ablation: Adding the LLM features specifically improved retrieval quality on sparse surfaces. For "popular products," the LLM features raised Hit Rate@10 by 9.6 percentage points.
Table 2: Online A/B test under a 50/50 traffic split. Relative lifts of treatment over the rule-based control. Engagement rows are click-through rate on recommended tiles; conver- sion rows are product-level trial and order rates. All metrics were statistically significant (𝑝< 0.05).

Limitations and Future Work

  • Online Ablation Gap: The online A/B test compared LSER to a rule-based baseline. While offline tests proved the incremental value of the LLM features over standard learned encoders, a dedicated online "LLM-on vs. LLM-off" test is still planned.
  • Scaling Costs: While viable for millions of requests, the infrastructure cost of recomputing LLM embeddings for every user action might become prohibitive at the scale of a major social network (billions of requests).
  • Model Exploration: The study used a relatively small 0.6B parameter model. Exploring larger backbones or multi-task training objectives remains an open area for improvement.

Summary updated

Abstract

Personalized content recommendation on large marketplace websites must reconcile heterogeneous candidate content (e.g., customer stories, product pages, industry pages, and learning content) with sparse, fast-changing user behavior, placing increasing demands on the retrieval stage to represent user interest well, not just the downstream ranking stage. We present LSER (LLM Session Embedding Retrieval), a production content recommendation system for autodesk.com that derives session- and history-level embeddings from a pretrained large language model (LLM) and adds them as auxiliary user-side features in the retrieval-stage user tower alongside existing learned sequence encoders. To keep user-side embeddings fresh under real-time behavior, we build a nearline serving path that asynchronously refreshes sequential and LLM-derived user vectors for our main content recommendation server. We validate the incremental value of the LLM features through an ablation study across our full multi-content-type catalog. Our results indicate that integrating LLM-derived embeddings as additional retrieval signals, together with production-grade nearline serving, is technically feasible and can improve model performances.
BibTeX
@misc{hu2026from,
  author = {Zhixiong Hu and Meng Li and Maggie Zhang and Deborshi Goswami and David Bailey and James Bradley},
  title = {{From Sessions to Serving: Integrating LLM-Based Embeddings into Retrieval for Production Content Recommendation}},
  year = {2026},
  eprint = {2611.26096},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.26096},
}

Loading related content...

Figure