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.
- 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.
- 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.
- 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.
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.
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