惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog
S
SegmentFault 最新的问题
WordPress大学
WordPress大学
P
Proofpoint News Feed
Hugging Face - Blog
Hugging Face - Blog
MyScale Blog
MyScale Blog
A
About on SuperTechFans
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
The Blog of Author Tim Ferriss
MongoDB | Blog
MongoDB | Blog
博客园 - 【当耐特】
The Cloudflare Blog
F
Fortinet All Blogs
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
宝玉的分享
宝玉的分享
罗磊的独立博客
量子位
有赞技术团队
有赞技术团队
V
V2EX
Engineering at Meta
Engineering at Meta

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Why Your Recommendation Engine Passes Every Test and Fail...
VF Insights · 2026-05-14 · via DEV Community

Offline metrics look clean.
CTR is flat.
Conversion is down.

The problem isn't the model. It's what the model is ranking against.


This pattern shows up across recommendation engine audits:

The team ships a new model version. Offline retrieval score improves. A/B test shows neutral-to-positive CTR. Three months later, conversion is still flat.

In 20 audits, 18 teams answered with a model name. Two answered with a pipeline diagram.

The two that answered with a pipeline diagram had fixed the problem.


Why offline metrics lie

Offline retrieval metrics measure how well your model ranks items against a historical behavior sample. They cannot measure two things:

  1. Whether the behavioral signals feeding the model are fresh
  2. Whether those signals belong to the right user

Both failures are silent. The model scores look correct. The production output is fiction.


The staleness gap

signal_age     = current_timestamp - last_event_timestamp
relevance_loss ≈ f(signal_age, behavior_drift_rate)

Enter fullscreen mode Exit fullscreen mode

Customer behavior shifts daily — sometimes hourly around promotions, seasonal events, or price changes. If your embeddings refresh weekly, you are ranking users against a week-old snapshot of their preferences.

The model is ranking a ghost.

From a real rebuild:

Metric Value
Embedding refresh cadence Weekly
Customer behavior shift Daily (sometimes hourly)
Real retrieval accuracy 38% (not the 0.91 offline score)
After pipeline rebuild (same model) 87%
CAC reduction, next quarter −34.7%

No model changes. Same architecture. Zero new training data. The pipeline feeding the model was wrong.


The identity gap

The staleness problem is the first layer. The identity problem is the second.

How many device keys does your pipeline assign to one customer on a cross-device journey?

customer_A (mobile)  → profile_1 → ranking_1
customer_A (desktop) → profile_2 → ranking_2
customer_A (app)     → profile_3 → ranking_3

Enter fullscreen mode Exit fullscreen mode

Three different recommendation strategies for one converting customer. The engine ranks each in isolation, because the identity layer never merged them.

The fix is upstream of the model: session stitching, device graph resolution, cross-channel event merging. None of it requires retraining.


The 4 audit checks

Run these before scheduling the next training run:

01 — Signal freshness
What is the median age of behavioral signals entering your model at serving time? If signal_age > behavior_drift_window, your ranking is stale by definition.

02 — Identity coverage
What percentage of your user base has more than one unmerged identity key? Run this query on your feature store. The number is almost always higher than expected.

03 — Offline-online metric gap
If offline accuracy is high but online CTR is flat, the distribution shift is coming from the pipeline, not the model. The serving distribution doesn't match the training distribution because the signals changed.

04 — Conversion window alignment
What is the gap between signal capture and recommendation serving? Is it shorter than the typical purchase decision window for your category? If not, you are recommending into the wrong moment.


The principle

A recommendation engine ranks signals. If the signals are stale or fragmented across unresolved identities, the ranking is precise noise.

Fix the pipeline. The model is the last thing to change.


How fresh are the behavioral signals entering your recommendation model at serving time? That single number explains most of the offline-online gap I've seen — curious what it looks like in your stack.

vf-insights.com