CS 594: Vector Databases

Fall 2026: M-W 9:30 am -- 10:45 am, CDRLC 1409


Instructor:
Abolfazl Asudeh
Office: CDRLC 5452 (email, home page)
Office Hours: M, 1:00 pm-3:00 pm.

Potential Research Project Directions

Acknowledgment: Chameleon Cloud sponsored the research projects by providing computational resources (allocation ID: CHI-261767).


Programming Project Instructions
Programming Projects Repository

Course Proposal

Course Description:

The rapid rise of large language models (LLMs) and Retrieval-Augmented Generation (RAG) for tasks such as information retrieval, question answering, and knowledge-intensive reasoning, together with the increasing prevalence of large-scale unstructured data, has driven the emergence of vector database management systems. These systems are designed to extend traditional database architectures by efficiently storing, indexing, and querying vector representations such as embeddings, which are central to modern machine learning and AI-driven applications.

This course explores advanced topics in Vector Databases and Retrieval-Augmented Generation (RAG), with a focus on the underlying data structures, algorithms, and system designs. Students will learn about information retrieval fundamentals, embedding models, vector database architectures, indexing techniques for high-dimensional data, and modern approaches for efficient query processing in vector databases. The course also covers other data models, such as knowledge graphs, and a practical implementation of RAG pipelines using vector databases.

Week Date Topic Course Materials References, Further Reading
1M. 8/24Course IntroductionSlides
W. 8/26Learning Vector Representations: Part I: Word Embedding: SVD for embeddingSlides: Learning Embeddings Part I
2M. 8/31No Classes (Conference)
W. 9/2Learning Vector Representations: Part I: Word Embedding: Word2Vec
3M. 9/7Labor Day Holiday -- No Class
W. 9/9Learning Vector Representations: Part II: Contextual Embedding, Image Embedding, CLIPSlides: Learning Embeddings Part II
4W. 9/14Similarity and Evaluation MetricsPrinceton COS579A: Introduction to vector search
M. 9/16Vector Database Models, Architecture, and ChallengesPan, James Jie, Jianguo Wang, and Guoliang Li. Survey of Vector Database Management Systems. The VLDB Journal 33, no. 5 (2024): 1591-1615. [slides]
W. 9/23Vector Database Architecture: Query Types Class Notes: VecDB Architecture
6M. 9/28Low Dimensional Indices for Range Queries and NN-search: KD-Trees and Voronoi DiagramsClass Notes: LowD SearchKD-Tree: Edo Liberty and Matthijs Douze; Low Dimensional Vector Search, COS 597A class note.
Voronoi Diagrams: David M. Mount: CMSC 754 Computational Geometry -- Lecture 11 (page 53)
W. 9/30Locality-Sensitive Hashing (LSH)Class Notes: LSHGionis, Indyk & Motwani Similarity Search in High Dimensions via Hashing
7M. 10/5 Tree- and Partition-Based ANN Indexes and Product Quantization Class Notes: Product QuantizationYusuke Matsui and others, A Survey of Product Quantization ITE Transactions on Media Technology and Applications 6.1 (2018).
Pan, James Jie, Jianguo Wang, and Guoliang Li. Survey of Vector Database Management Systems. The VLDB Journal 33, no. 5 (2024): 1591-1615.
W. 10/7Graph-Based ANN Search, Part I: Basics, Properties, Graph Construction in Lower Dimensions (Delunay Trangulation)Delaunay Triangulation: David M. Mount: CMSC 754 Computational Geometry -- Lecture 12
8M. 10/12Graph-Based ANN Search, Part II: Graph Construction in Higher DimensionsClass Notes: Graph-ANN
9,10,11W. 9/23 - W 11/4Research Project Presentations
12M. 11/9ANN at Billions Scale: PQ-IVF, DiskANNClass Notes: Ann at SclaeY Matsui and others, A Survey of Product Quantization ITE 2018.
Jayaram Subramanya, et al. Diskann: Fast accurate billion-point nearest neighbor search on a single node. NeurIPS 2019.
W. 11/11Filtered ANN: Serf, IRangeGraphClass Notes: FilteredANNM. Li, et al. "Attribute filtering in approximate nearest neighbor search: An in-depth experimental study." SIGMOD 2025.
Ch.Zuo, et. al. "Serf: Segment graph for range-filtering approximate nearest neighbor search." SIGMOD 2024.
Y. Chu, et al. "iRangeGraph: Improvising range-dedicated graphs for range-filtering nearest neighbor search" SIGMOD 2024.
13M. 11/16Retrieval-Augmented Generation (RAG)Slides: RAGGao et al.: Retrieval-Augmented Generation for Large Language Models: A Survey
W. 11/18Guest Lecture by Mahdi Erfanian
14M. 11/23Knowledge Graphs and Graph-Based Retrieval
W. 11/25Student Wellness Day -- No Class
15M. 11/30Student Project Presentations / Research Discussions
W. 12/2Student Project Presentations / Course Wrap-up