Chronon: Turning Feature Commits into Fresh Embeddings
A step-by-step look at how Chronon turns streaming feature commits into fresh model inputs, cutting recommender staleness from nearly two days to seconds.
Loading…
Topic
61 posts about Recommendation Systems. Every summary links to the original.
See the idea
A step-by-step look at how Chronon turns streaming feature commits into fresh model inputs, cutting recommender staleness from nearly two days to seconds.
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Real-time personalization in retail banking requires aggregating clickstream data into time-windowed features for both training and serving, but separate pipelines create duplicate definitions that can drift. Databricks Feature Views solve this by letting you define features once for point-in-time-correct training and low-latency online serving. The open-source Solution Accelerator builds a next-best-offer recommender that ranks offers like credit card upgrades and personal loans using a LightGBM ranker. Streaming features from Kafka are continuously aggregated into the online store using RollingWindow and SawtoothWindow declarations, eliminating separate hand-written streaming jobs. In benchmarks, the ranking endpoint achieved 34 ms p95 latency and sustained approximately 56 requests per second on the smallest configuration.
Shopify built a shared generative discovery model trained jointly on search and recommendation data to personalize product discovery across its commerce ecosystem. Products are represented by semantic IDs: three-token codes produced by an RQ-KMeans tokenizer that clusters product embeddings, allowing related products to share representations. The model starts from an open-weight pretrained language model and is adapted through continued pretraining, multi-task fine-tuning, and multi-teacher distillation. In production, the model improved the Shop home feed by 7.95% in orders and 9.85% in conversion rate, and boosted search OneDCG@10 by 2.1 points overall and 2.7 points for signed-in users. Multi-token prediction generates all three codewords in a single pass, reducing p95 latency compared to autoregressive generation while allowing a larger candidate set.
Traditional Facebook recommendation systems learn from implicit engagement signals, which adapt slowly and capture little nuance. Your algorithm is a suite of AI-powered tools that lets people state their preferences in natural language to personalize Feed and Reels. The end-to-end system includes profile generation, preference management, ranking, and delivery optimization, with supplementary tail loads and cache invalidation for responsiveness. For interests added to ‘Interested In,’ four dedicated retrieval sources find matching content and a control layer spaces out recommendations and caps daily contribution, while for ‘Not Interested In,’ layered filtering uses embedding comparison, demotion rules, an LLM reranker, and device cache invalidation. LLMs generate the initial profile and Lately Summary, validate each edit for coherence and duplicates, and provide a final reranking check against ‘Not Interested In’ interests, with a separate LLM acting as a judge for evaluation.
Three Spotify product managers describe how AI product management varies across research, model, and experience layers, even within the same organization and technology stack. A research PM focuses on technical leverage, turning scientific exploration into organizational decisions and shared methods. A model PM shapes a foundation recommendation model’s behavior through data and training, serving internal teams as customers. An experience PM builds user-facing conversational products where input is open-ended and evaluation must be continuous and product-specific. The authors emphasize that AI PM is not a single role but a layer of specialization on top of traditional product management fundamentals. They note that impact looks different at each layer, from shifting organizational beliefs to improving recommendations to driving user love and retention.
Meta Andromeda is Meta’s personalized ads retrieval engine, and its next generation uses model-system co-design to achieve near ranking-level performance at retrieval scale. The system scores over one billion ads per second, a 100x throughput increase over the 2024 system, and has delivered a 2.4% increase in conversions on Facebook since 2025. The key innovation is a retrieval mixture-of-experts (MoE) architecture that reduces inference-time FLOPs by ~300x compared to the 2024 model, enabling ranking-level matching quality. The entire retrieval pipeline is fused into a single GPU kernel, eliminating memory bandwidth bottlenecks and achieving over 10 billion ads per second on a single NVIDIA GH200 Grace Hopper Superchip. The co-design approach, developed in collaboration with NVIDIA, positions the architecture to absorb more model complexity without proportional infrastructure growth.
GenRecs Tokenization replaces per-item IDs with a stable semantic vocabulary of tokens that describe what an item is, enabling generative recommender models to reason about ad content and user preferences together. The tokenization pipeline encodes each item into a semantic embedding, decomposes it into independent subspaces, and quantizes each subspace to a codebook entry, producing discrete tokens that similar items share. This approach accelerates learning for new entities with no engagement history, enables cross-campaign transfer, and allows the system to benefit from LLM scaling and world knowledge. In production, paired with Meta’s Generative Ads Model and Adaptive Ranking Model, GenRecs Tokenization delivered a +0.35% lift in conversions across surfaces. The tokenization flywheel improves tail ad predictions, which enriches training data and further improves predictions for all ads, creating a self-reinforcing feedback loop.
Spotify has been applying generative AI to personalize recommendations across surfaces, using LLMs for podcast discovery with beam search and candidate scoring. Their initial inference stack relied on vLLM for beam search, which suffered from CPU-side bottlenecks and KV block recomputation, and SGLang for efficient multi-item scoring, but no single engine supported all required features. To unify these capabilities, Spotify collaborated with NVIDIA to extend TensorRT LLM with efficient beam search implemented in the sampler, multi-item scoring via the Python API, and soft token personalization using out-of-tree model plugins. On a 1.7B Qwen3 model, the resulting implementation delivered up to 54% cost reduction for beam search workloads and 7% for scoring workloads compared to previous setups. Spotify plans to continue optimizing inference with quantization and NVIDIA Blackwell-specific techniques to support increasingly sophisticated personalization at scale.
Meta introduced GEM, the industry’s largest recommendation system foundation model, and its 2026 generation shifts from isolated per-domain optimizations on Facebook, Instagram, and Reels to a single central foundation model. The Kunlun architecture, co-designed with the latest GPU hardware, enables 2.5x model complexity and demonstrates LLM-like scaling laws with block-aligned sparse attention reducing sequence complexity. The LoopFM post-training technique transfers GEM’s internal representations to downstream models, doubling intelligence transfer at no additional compute cost or latency. GEM delivered 18.9% conversion improvement and 12% ad click-through rate improvement across all Meta ad surfaces and funnel stages, including 5.8% conversion uplift on Facebook, 4.1% on Instagram, and 1.6% on off-site conversion. Training efficiency doubled to 20-25% model FLOPS utilization while scaling total training FLOPs by 4x across thousands of GPUs using custom kernels and 5D parallelism.
The post argues that machine learning does not always require advanced mathematics and, as described by Intercom’s Fergal Reid, is about systems that improve with more training data. It contrasts a naive keyword-matching approach in Ruby for a ‘You might also like’ feature, which produced irrelevant results, with a basic machine learning method using K-Means clustering. The machine learning approach first represents each blog post as a binary vector indicating the presence of each word from the entire corpus. The K-Means algorithm then iteratively assigns each post to the nearest cluster center and recalculates centers as the average of assigned posts until assignments stabilize. The post demonstrates that roughly 40 lines of Ruby code can produce relevant recommendations and encourages readers to try libraries like Scikit Learn.
Meta built a system that aggregates fragmented idle inference capacity from a globally constrained fleet into a shared opportunistic pool to enhance ads recommendations. Idle capacity arises from four mismatches: peak provisioning with demand variation, model development timing with capacity delivery, regional resource ratios, and accelerator types. Two elasticity levers exploit this preemptible, volatile capacity: Rank More Ads increases candidates evaluated by ranking stages, using both CPU and accelerator surplus, and Serve Better Models routes more requests to a more powerful model, using accelerator-only surplus. The system protects baseline serving through isolated routing, minute-scale feedback loops that adjust candidate volume and model coverage, and millisecond-scale value-aware load shedding that removes lower-value work during sudden preemption. This allows optional work to expand and contract with opportunistic capacity, driving better ad relevance and advertiser outcomes without requiring additional capacity orders.
The post presents a reference architecture for building a production-grade e-commerce recommendation system on Databricks, based on a real-world implementation for a leading fashion e-commerce platform in Asia serving over 1 million monthly active users across 100,000+ SKUs. The system ingests approximately 1,000 events per second via Lakeflow Connect’s Zerobus into Unity Catalog Delta tables within a medallion architecture. Serving uses two paths: Path A for pre-computed batch recommendations via key-value lookup from Lakebase online tables, and Path B for real-time session-aware scoring using AI Search and a LightGBM model in a 3-stage funnel. The architecture unifies ingestion, feature management, model training, vector retrieval, and serving on a single governed platform, with cold-start handling for new users and products. Expected outcomes include low 2-digit millisecond responses, daily-fresh recommendations, and unified governance via Unity Catalog.
Netflix treats artwork and video previews as personalized assets, but ID-based models struggle with newly launched titles and assets that have little interaction history. The systems encode artwork with 768-dimensional CLIP image embeddings and combine those vectors with learned asset IDs, allowing visual preferences to transfer across titles and enabling one model to serve five canvases. Reward-based weighting balances pooled canvas data by the long-term value of interactions, while inverse propensity scoring on randomized exploration traffic supports offline evaluation. For video previews, MediaFM combines visual, audio, and text signals and ranked ahead of SeqCLIP in a linear probe, offline IPS evaluation, and online A/B testing; the Netflix Embedding Store supplies consistent embeddings to production models.
Pinterest home feed candidate generation relies on large-scale retrieval, but standard two-tower models produce single embeddings that struggle to capture diverse concurrent user intentions. To solve this, Pinterest expanded Conditional Learned Retrieval (CLR) to generate condition-aware embeddings conditioned on explicit interest, Pin, and Board contexts. The team evolved model representations by appending condition tokens to user sequences in transformers, integrating the PinFM foundation model, and introducing hierarchical semantic IDs to improve cold-start coverage. On the serving side, engineers consolidated duplicate feature requests and shifted inference to GPU instances using NVEmbed under a one-query-to-many-documents paradigm. These infrastructure and modeling changes unlocked new condition types, achieved seven-figure cost savings, and reduced p90 model retrieval latency from 80ms down to 12ms.
LinkedIn built a cognitive memory agent to deliver personalized experiences across its recruiter workflows and hiring assistants. Interactions between recruiters and agents often reveal recurring preferences, such as candidate criteria, role adjustments, and task habits. To preserve and manage this state throughout the entire lifecycle, the system organizes user data into a multi-tiered memory architecture. This structure comprises conversational, semantic, episodic, and procedural memory tiers that track everything from ongoing sessions to cross-session behaviors and workflow methods. LinkedIn continues to research memory abstractions, dynamic session compaction, virtual file system storage layers, and robust evaluation approaches for attribution across complex multi-source application agents.
Salesforce addressed an operational challenge where sellers faced roughly 12,000 dashboards and over 20 applications outputting machine learning predictions without clear next steps. The engineering team reframed machine learning outputs as raw signals rather than standalone answers. To bridge the gap between assessment and action, they built a Next Best Action layer that combines model signals, business logic, and contextual institutional knowledge into actionable recommendations. They integrated this layer with an AI agent using Model Context Protocol (MCP) tool contracts, enabling dynamic discovery and explicit handling of missing data. Finally, rather than introducing a separate dashboard destination, the agent serves on-demand recommendations directly inside Slack where sellers already collaborate.
Retail and consumer goods teams often split performance review, demand planning, marketing activation, store execution, and measurement across disconnected systems, making it difficult to connect analysis with results. The Databricks demo presents a unified application built on data unification, governance, and intelligence, combining point-of-sale, loyalty, supply chain, media spend, inventory, and store-operations signals with role-specific access. Users can move from KPI and forecast-versus-actual analysis to SKU or store what-if planning, audience selection, campaign activation, replenishment, price-tag updates, assigned tasks, and post-campaign measurement. Genie supports natural-language querying, while specialized agents and a coordinating supervisor connect sales insights, demand planning, audience building, in-store operations, and measurement. The stated design goal is a governed, shared workflow that lets teams test decisions, execute them across stores, and evaluate outcomes without losing operational context.
Generative recommenders (GRs) recast recommendation as next-item or next-action sequence prediction conditioned on user histories, replacing traditional embedding-similarity objectives and potentially unifying retrieval and ranking. The post presents HSTU, which uses timestamp-ordered interleaved items and actions, SiLU-based attention weighting, relative attention bias, and gating, alongside Semantic IDs, which derive a smaller vocabulary through hierarchical clustering of item embeddings. For production, recsys-examples combines TorchRec, DynamicEmb, Megatron-Core, recommender-specific KV and decoding components, while nv-embedding-cache provides tiered GPU, CPU, and remote embedding storage. On an H100, the Semantic ID path was reported as 1.85x higher in online throughput and 46% lower median latency than SGLang under the stated long-context, beam-search workload, and DLRM v3 reached 99,997 queries/sec.
Meta’s ads ranking systems process millions of candidates per second under millisecond latency budgets, creating tension between richer sequence models and efficient serving. The post presents a multi-stage architecture that moves long-history user modeling into asynchronous offline transformers, caches user-level embeddings, and combines them with fresh user and ad signals in an online ranking model. Dense tokenization places sparse features and behavioral sequences in one vocabulary, while target-aware multi-head attention learns higher-order interactions between historical behavior and the candidate ad. On real-world ads traffic, performance follows a log-linear relationship with compute across depth, enrichment, width, and sequence length, with balanced growth and diverse sequences identified as scaling levers. Together with broader model innovations, the approach contributed to a cumulative 6% conversion lift on Instagram, 3% on Facebook, and 3.5% lift in Facebook ad clicks, and serves as a core component of GEM.
Meta’s Generative Ads Recommendation Model (GEM), a hybrid foundation model for ads recommendations on Instagram and Facebook, trains across several thousand latest-generation GPUs and combines trillions of sparse embedding parameters with billions of dense parameters. The post frames its engineering problem around recommendation-specific jagged and asymmetric sequences, memory-bound operations, numerical sensitivity, communication overhead, activation pressure, and load skew that make conventional LLM training techniques insufficient. Its co-design approach combines custom kernels such as Jagged Flash Attention (JFA), BlockAttention, and Generalized Dot-Product Attention (GDPA), mixed ultra-low-precision training including MXFP8 attention and MLP, topology-aware 5D parallelism, SM-free collectives, and memory and load-balancing techniques. The reported result is a doubling of end-to-end training efficiency to 20–25% Model FLOPs Utilization (MFU) while total training FLOPs increased fourfold over 12 months; Base Batch Shuffling (BBS) alone delivered a reported 4% efficiency gain, with 4% QPS improvement and 4% peak memory reduction.
Netflix developed GenRec, an LLM-backed recommendation ranker built by adapting an internal foundation model for large-scale personalization. Traditional recommendation stacks rely on thousands of hand-crafted features and specialized architectures that are costly to maintain across diverse content types. To replace manual feature pipelines, GenRec verbalizes user histories, metadata, and contexts into natural-language prompts and trains with multi-objective losses, including catalog-aware ranking and reward-weighted alignment. At inference time, the model executes in prefill-only mode on vLLM without decoding text. In large-scale online A/B testing against a mature production ranker, GenRec achieved statistically significant improvements in short-term and long-term metrics while using fewer labeled examples.
The best engineering reads, once a week.