CMU / CMU11-642已收录

Search Engines

从词法检索与索引出发,学习神经检索、RAG、推荐系统与搜索评测。

关于这组笔记

个人自学讲义,按 Fall 2026 的 11-442 / 11-642 公开日程与指定阅读编写;原课 slides 未公开,配套搜索引擎与实验为自行设计。

查看原课程资料

适合的起点

建议熟悉 Python、数据结构与算法、线性代数、概率及计算机系统基础。

本系列为个人学习整理,非学校官方发布,不代表学校或授课教师的认可或背书。

沿着目录阅读

当前 26 篇

课程讲义

  1. Lecture 01Lecture 1 · 导论与精确匹配检索 · Introduction to Search and Exact-Match Retrieval
  2. Lecture 02Lecture 2 · 文档逐个处理(DAAT)、BM25 与查询算子 · Document-at-a-Time Evaluation, BM25, and Query Operators
  3. Lecture 03Lecture 3 · 一个搜索引擎的内部:查询树、位置索引与排序流水线 · Inside a Search Engine: Query Trees, Positional Indexes, and the Ranking Pipeline
  4. Lecture 04Lecture 4 · 离线评测:Cranfield、TREC、池化与评测指标 · Offline Evaluation: Cranfield, TREC, Pooling, and Metrics
  5. Lecture 05Lecture 5 · 查询处理与结构化查询:改写、#WINDOW 与序列依赖模型 · Query Processing and Structured Queries: Reformulation, #WINDOW, and the Sequential Dependence Model
  6. Lecture 06Lecture 6 · 最佳匹配检索:向量空间模型与语言模型 · Best-Match Retrieval: the Vector Space Model and Language Models
  7. Lecture 07Lecture 7 · 相关反馈与伪相关反馈:Rocchio、Okapi PRF 与 RM3 · Relevance Feedback and Pseudo-Relevance Feedback
  8. Lecture 08Lecture 8 · 文档表示:分词、规范化、词干、停用词与字段 · Document Representation: Tokenization, Normalization, Stemming, Stopwords, and Fields
  9. Lecture 09Lecture 9 · 索引构建:排序与合并、压缩、跳表与影响排序 · Index Construction: Sort-Merge, Compression, Skips, and Impact Ordering
  10. Lecture 10Lecture 10 · 大规模索引:分布式检索、分片、选择性检索与联邦检索 · Large-Scale Indexes: Distributed Retrieval, Sharding, Selective Search, and Federated Search
  11. Lecture 11Lecture 11 · 基于特征的排序:学习排序 · Feature-Based Ranking: Learning to Rank
  12. Lecture 12Lecture 12 · 学习排序的特征与权威度:PageRank、HITS 与网页质量 · Authority Features: PageRank, HITS, and Web Page Quality
  13. Lecture 13Lecture 13 · 神经排序模型导论:从词向量到交互式与表示式模型 · Neural Ranking Models: An Introduction
  14. Lecture 14Lecture 14 · BERT 重排序:cross-encoder、段落切分与分数合成 · BERT Reranking
  15. Lecture 15Lecture 15 · 神经稀疏检索:doc2query、DeepCT / uniCOIL 与 SPLADE · Neural Sparse Retrieval
  16. Lecture 16Lecture 16 · 稠密检索:双塔编码器、对比学习与难负例 · Dense Retrieval
  17. Lecture 17Lecture 17 · 稠密索引:近似最近邻——IVF、乘积量化与 HNSW · Dense Indexes and Approximate Nearest Neighbor Search
  18. Lecture 18Lecture 18 · 大语言模型与检索增强生成:HyDE、LLM 重排与 RAG · Large Language Models and Retrieval-Augmented Generation
  19. Lecture 19Lecture 19 · RAG 与深度研究:多跳检索、搜索智能体与带引用的报告 · RAG and Deep Research
  20. Lecture 20Lecture 20 · 结果多样化(一):度量 · Search Result Diversification I: Measurement
  21. Lecture 21Lecture 21 · 结果多样化(二):优化——MMR、xQuAD 与 PM-2 · Search Result Diversification II: Optimization
  22. Lecture 22Lecture 22 · 个性化搜索 · Personalized Search
  23. Lecture 23Lecture 23 · 在线评测:隐式反馈、点击模型、A/B 测试与交错 · Online Evaluation
  24. Lecture 24Lecture 24 · 推荐系统(一):导论、协同过滤与矩阵分解 · Recommender Systems I
  25. Lecture 25Lecture 25 · 推荐系统(二):基于特征的模型与两阶段推荐 · Recommender Systems II
  26. Lecture 26Lecture 26 · 信息获取系统中的公平(+ 全课复习) · Fairness in Information Access, and Course Review

从讲义到代码

按课程目录整理的配套示例,保留各单元的文件结构。阅读讲义时,可以下载整套代码,在本地逐步探索。

下载 CMU11-642 代码

请在独立虚拟环境中查看依赖后运行;未附模型权重和运行产物;示例未逐一验证。

返回全部课程