Save this video — free

UUtah Fall 2026 | Data Mining | L5 NN Search

UofU Data Science · 1:19:15 · Watch on YouTube

UUtah Fall 2026 | Data Mining | L5 NN Search Watch on YouTube →

Overview

Nearest-neighbor search turns a distance function into a scalable retrieval system by preprocessing data and answering queries without scanning every point. The lecture progresses from exact one-dimensional trees and two-dimensional Voronoi diagrams to approximate KD-trees, locality-sensitive hashing, and Hierarchical Navigable Small World (HNSW) graphs, explaining why HNSW-style vector search works well in high-dimensional practice despite the curse of dimensionality.

Key takeaways

Chapters

0:00 Implementation Efficiency and the Nearest-Neighbor Search Roadmap
3:20 Rich Sutton’s Bitter Lesson: Search Scales with Compute
5:40 Formalizing Exact and K-Nearest-Neighbor Queries
11:00 Preprocessing and Practical Uses of Nearest Neighbors
17:30 Sorted Binary Trees Deliver Logarithmic Search in One Dimension
25:00 Skip Lists Use Random Promotions to Narrow Search
29:40 Voronoi Diagrams Precompute Exact Neighbors in Two Dimensions
37:00 Voronoi Complexity Exposes the Curse of Dimensionality
39:10 KD-Trees Prune Regions for Approximate Nearest Neighbors
48:30 High-Dimensional Balls and Boxes Explain Search Difficulty
57:10 Locality-Sensitive Hashing Makes High-Dimensional Search Sublinear
1:03:20 HNSW Replaces Theory-First Expectations with Practical Performance
1:05:00 Build a K-Nearest-Neighbor Graph as HNSW’s Base Layer
1:09:00 Beam Search Maintains Multiple Candidate Paths
1:12:00 Layered HNSW Graphs Power Modern Vector Databases

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, UofU Data Science.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.