Tune HNSW is an intermediate-level course designed for machine learning practitioners and AI engineers looking to master the art of vector search optimization. In modern AI applications, finding the right balance between search accuracy (recall) and speed (latency) is critical, but traditional methods often fall short. This course provides a focused, hands-on deep dive into the Hierarchical Navigable Small World (HNSW) algorithm, empowering you to build and tune high-performance vector indices.

Tune HNSW

Tune HNSW
This course is part of Vector DB Foundations, Embeddings & Search Algorithms Specialization

Instructor: LearningMate
Included with
Recommended experience
What you'll learn
Build and tune HNSW index parameters to balance recall and query speed for specific use cases.
Details to know

Add to your LinkedIn profile
March 2026
See how employees at top companies are mastering in-demand skills

Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate

There are 2 modules in this course
This module lays the groundwork for vector search optimization. You will discover why the initial construction of an HNSW index is critical for performance, using Microsoft Bing's massive scale as a case study. You will learn what the build-time parameters M and efConstruction control, and how to implement them to create a robust index graph. The module concludes with a practice assignment to solidify your understanding of how to build a quality index from the start.
What's included
2 videos1 reading1 assignment
In this module, you will shift your focus to query-time optimization. Using Amazon's visual product search as a guide, you will learn how to tune the efSearch parameter to achieve the right balance between recall and latency for your users. You'll apply this knowledge in a hands-on lab to generate a performance curve and make data-driven decisions. The course culminates in a final project where you will bring all the skills together to tune and justify a complete HNSW implementation for a new, real-world scenario.
What's included
2 videos2 readings1 assignment1 ungraded lab
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor

Offered by
Explore more from Algorithms

Coursera

Coursera

Coursera

Coursera
Why people choose Coursera for their career

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.

Open new doors with Coursera Plus
Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy
Frequently asked questions
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.
More questions
Financial aid available,
¹ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.

