← Back to System Design Mind Map
🏗️ System DesignID: pre-ranking-architecture

Pre-Ranking Lightweight Architecture

粗排轻量模型与向量相似度剪枝
🎯Core Definition
The Pre-Ranking (Match-Filtering) Architecture is the critical intermediate layer bridging multi-channel retrieval and heavy ranking; within a strict 5ms latency budget, it scores and filters ∼10,000\sim 10,000 candidates from multi-channel recall down to ∼1,000\sim 1,000 high-potential items for heavy ranking; standard architectures include: 1) Vector-based Pre-Ranking (dual-tower dot products); 2) Distilled Lightweight DNNs (e.g., Alibaba COLD: a compact 2-3 layer MLP sharing lower embedding tables with the heavy ranker); 3) Feature-Separated Cross Networks (FSCD).
💡Use Cases
High-concurrency recommendation and ad systems where multi-channel recall yields 50,000+ candidates exceeding heavy ranker compute budgets.
⚡Key Problems Solved
Sending 10,000+ items directly to heavy rankers triggers massive SLA timeouts and infrastructure cost explosions; naive truncation destroys multi-channel diversity; pre-ranking achieves 90%+ heavy-ranker overlap at only 5% compute cost.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Pre-Ranking Lightweight Architecture.
Use Cases
In production engineering, what are the primary use cases for Pre-Ranking Lightweight Architecture and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Compare Two-Tower Pre-ranking vs Lightweight Interactive Pre-ranking (COLD) across expressive power and compute latency?
2
When pre-ranker shares embedding tables with the heavy ranker, how to prevent pre-ranker gradients from corrupting embedding precision?
3
How does Knowledge Distillation train the lightweight pre-ranker using the heavy ranker's soft prediction scores as teacher targets?
4
Why does pre-ranking evaluation prioritize Top-K Hit Rate / Overlap with heavy ranking outputs alongside standalone AUC?
5
How do C++ serving engines leverage AVX-512 SIMD and INT8 quantization to maximize pre-ranking throughput over 1000 items in 5ms?
Updated 2026-08-14
🎯
Verify Mastery: Practice Exam Questions for "Pre-Ranking Lightweight Architecture"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
← Previous CardYouTube DNN Candidate GenerationNext Card →DeepFM Ranking Model

🔗 More System Design Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/System_Design/card/pre-ranking-architecture
中文速览与面试要点

粗排轻量模型与向量相似度剪枝 (Pre-Ranking Lightweight Architecture)

定义: 粗排轻量模型架构 (Pre-Ranking / Match-Filtering Layer) 是连接多路召回与重精排之间的承上启下模块;它在 5ms 极严苛延迟预算 内,对多路召回合并后的上万个候选物品 (10^4) 进行初步打分与快速剪枝,输出最优质的千级候选 (10^3) 送入精排;主流工业架构包括:1) 向量粗排 (双塔粗排模型直接点积排序);2) 蒸馏轻量 DNN / COLD (基于精排复杂模型蒸馏得到的小型 2-3 层 MLP,与精排共享底层 Embedding 表);3) FSCD (特征选择与可分离特征交叉算子)。 使用场景: 召回候选路数多(数十路召回合并后达 50,000+ 物品)、精排算力成本高昂的大型推荐与搜索广告系统。 解决的问题: 若直接让精排模型对 10,000+ 物品打分,算力与耗时超标 10 倍以上;若不设粗排直接暴力截断,会破坏多路召回的跨通道多样性并遗漏大量潜在高价值爆款;粗排以精排 5% 的算力成本筛选出 90% 的精排 Top 候选。

核心要点

  • 详细对比双塔粗排 (Two-Tower Pre-ranking) 与轻量交互粗排 (COLD / Light DNN) 在特征表达力与算力延迟上的权衡?
  • 粗排与精排共享 Embedding 表 (Shared Embedding) 时,如何防止粗排梯度回传破坏精排高精度的 Embedding 表征?
  • 知识蒸馏在粗排模型训练中的应用:如何以精排模型的 Soft-Target 预估分为教师信号训练轻量粗排网络?
  • 粗排的评估指标:为什么粗排的核心指标不仅看单独的 AUC,更要看与精排 Top-K 结果的命中重合率 (Top-K Overlap / Hit Rate)?
  • 在千级候选打分时,如何在 C++ 推理引擎中利用 SIMD 与模型量化 (INT8/FP16) 压榨极致的算力吞吐?