← Back to System Design Mind Map
⚡Flashcard Drill➔
🏗️ System DesignID: query-understanding-pipeline

Query Understanding Pipeline

Query 理解、分词与意图分类
🎯Core Definition
The Query Understanding Pipeline (QU) is the front-end NLP intelligence hub of search engines and e-commerce portals that structurally decodes raw search intents within <5ms<5\text{ms} before physical indexing: 1) Normalization (punctuation stripping, case folding, unicode normalization); 2) Spelling Correction (edit distance, phonetic pinyin mapping, and n-gram LM correction); 3) NER & Term Weighting (extracting brands, categories, attributes, and computing information entropy weights); 4) Synonym Expansion & Rewriting (e.g., expanding 'Apple phone' to 'iPhone'); 5) Intent & Category Classification (predicting transactional, navigational, or informational categories with confidence logits).
💡Use Cases
E-commerce search bars (Amazon/Taobao), general web search (Google), and vertical enterprise documentation search.
⚡Key Problems Solved
Raw search queries are ultra-short (2-3 words), noisy, typo-riddled, and ambiguous; QU translates unstructured queries into structured boolean query trees with category filters and weighted tokens, establishing the ceiling of retrieval accuracy.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Query Understanding Pipeline.
Use Cases
In production engineering, what are the primary use cases for Query Understanding Pipeline and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Detail Term Weighting algorithms calculating importance weights between core entity nouns and modifier adjectives?
2
Design low-latency C++ inference acceleration for Transformer sequence-labeling NER models identifying e-commerce entities?
3
Explain the two-stage Query Spelling Correction architecture: Trie/phonetic candidate recall followed by n-gram/LM re-scoring?
4
How does synonym expansion prevent over-generalization via context-aware disambiguation (e.g. 'Apple' as fruit vs tech giant)?
5
How does Category Prediction enforce hard category filtering or soft boosting in e-commerce search to prevent irrelevant results?
Updated 2026-08-14
🎯
Verify Mastery: Practice Exam Questions for "Query Understanding Pipeline"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
⚡
Test muscle memory on this topic via 3-Layer Flashcards
Active Recall: Mentally formulate Prompt ➔ Math Derivation ➔ Benchmark Implementation in 3 minutes.
🎯 Drill This Card Now➔
← Previous CardOnline A/B Testing & InterleavingNext Card →Distributed Inverted Index & Skip-List

🔗 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/query-understanding-pipeline