Search Engines
从词法检索与索引出发,学习神经检索、RAG、推荐系统与搜索评测。
关于这组笔记
个人自学讲义,按 Fall 2026 的 11-442 / 11-642 公开日程与指定阅读编写;原课 slides 未公开,配套搜索引擎与实验为自行设计。
查看原课程资料适合的起点
建议熟悉 Python、数据结构与算法、线性代数、概率及计算机系统基础。
本系列为个人学习整理,非学校官方发布,不代表学校或授课教师的认可或背书。
沿着目录阅读
当前 26 篇课程讲义
- Lecture 01Lecture 1 · 导论与精确匹配检索 · Introduction to Search and Exact-Match Retrieval
- Lecture 02Lecture 2 · 文档逐个处理(DAAT)、BM25 与查询算子 · Document-at-a-Time Evaluation, BM25, and Query Operators
- Lecture 03Lecture 3 · 一个搜索引擎的内部:查询树、位置索引与排序流水线 · Inside a Search Engine: Query Trees, Positional Indexes, and the Ranking Pipeline
- Lecture 04Lecture 4 · 离线评测:Cranfield、TREC、池化与评测指标 · Offline Evaluation: Cranfield, TREC, Pooling, and Metrics
- Lecture 05Lecture 5 · 查询处理与结构化查询:改写、#WINDOW 与序列依赖模型 · Query Processing and Structured Queries: Reformulation, #WINDOW, and the Sequential Dependence Model
- Lecture 06Lecture 6 · 最佳匹配检索:向量空间模型与语言模型 · Best-Match Retrieval: the Vector Space Model and Language Models
- Lecture 07Lecture 7 · 相关反馈与伪相关反馈:Rocchio、Okapi PRF 与 RM3 · Relevance Feedback and Pseudo-Relevance Feedback
- Lecture 08Lecture 8 · 文档表示:分词、规范化、词干、停用词与字段 · Document Representation: Tokenization, Normalization, Stemming, Stopwords, and Fields
- Lecture 09Lecture 9 · 索引构建:排序与合并、压缩、跳表与影响排序 · Index Construction: Sort-Merge, Compression, Skips, and Impact Ordering
- Lecture 10Lecture 10 · 大规模索引:分布式检索、分片、选择性检索与联邦检索 · Large-Scale Indexes: Distributed Retrieval, Sharding, Selective Search, and Federated Search
- Lecture 11Lecture 11 · 基于特征的排序:学习排序 · Feature-Based Ranking: Learning to Rank
- Lecture 12Lecture 12 · 学习排序的特征与权威度:PageRank、HITS 与网页质量 · Authority Features: PageRank, HITS, and Web Page Quality
- Lecture 13Lecture 13 · 神经排序模型导论:从词向量到交互式与表示式模型 · Neural Ranking Models: An Introduction
- Lecture 14Lecture 14 · BERT 重排序:cross-encoder、段落切分与分数合成 · BERT Reranking
- Lecture 15Lecture 15 · 神经稀疏检索:doc2query、DeepCT / uniCOIL 与 SPLADE · Neural Sparse Retrieval
- Lecture 16Lecture 16 · 稠密检索:双塔编码器、对比学习与难负例 · Dense Retrieval
- Lecture 17Lecture 17 · 稠密索引:近似最近邻——IVF、乘积量化与 HNSW · Dense Indexes and Approximate Nearest Neighbor Search
- Lecture 18Lecture 18 · 大语言模型与检索增强生成:HyDE、LLM 重排与 RAG · Large Language Models and Retrieval-Augmented Generation
- Lecture 19Lecture 19 · RAG 与深度研究:多跳检索、搜索智能体与带引用的报告 · RAG and Deep Research
- Lecture 20Lecture 20 · 结果多样化(一):度量 · Search Result Diversification I: Measurement
- Lecture 21Lecture 21 · 结果多样化(二):优化——MMR、xQuAD 与 PM-2 · Search Result Diversification II: Optimization
- Lecture 22Lecture 22 · 个性化搜索 · Personalized Search
- Lecture 23Lecture 23 · 在线评测:隐式反馈、点击模型、A/B 测试与交错 · Online Evaluation
- Lecture 24Lecture 24 · 推荐系统(一):导论、协同过滤与矩阵分解 · Recommender Systems I
- Lecture 25Lecture 25 · 推荐系统(二):基于特征的模型与两阶段推荐 · Recommender Systems II
- Lecture 26Lecture 26 · 信息获取系统中的公平(+ 全课复习) · Fairness in Information Access, and Course Review
从讲义到代码
按课程目录整理的配套示例,保留各单元的文件结构。阅读讲义时,可以下载整套代码,在本地逐步探索。
下载 CMU11-642 代码请在独立虚拟环境中查看依赖后运行;未附模型权重和运行产物;示例未逐一验证。