Vector Database Search - Hierarchical Navigable Small Worlds (HNSW) Explained

preview_player
Показать описание
In this video, we explore how the hierarchical navigable small worlds (HNSW) algorithm works when we want to index vector databases, and how it can speed up the process of finding the most similar vectors in a database to a given query.

*Related Videos*
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

*Contents*
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
00:00 - Intro
00:17 - Vector database and search
01:42 - Navigable small worlds
03:29 - Skip linked lists
04:49 - Hierarchical Navigable Small Worlds
06:47 - HNSW Search Speed
07:49 - Outro

*Follow Me*
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

*Channel Support*
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
The best way to support the channel is to share the content. ;)

If you'd like to also support the channel financially, donating the price of a coffee is always warmly welcomed! (completely optional and voluntary)
► Bitcoin (BTC): 3C6Pkzyb5CjAUYrJxmpCaaNPVRgRVxxyTq
► Ethereum (ETH): 0x9Ac4eB94386C3e02b96599C05B7a8C71773c9281
► Cardano (ADA): addr1v95rfxlslfzkvd8sr3exkh7st4qmgj4ywf5zcaxgqgdyunsj5juw5
► Tether (USDT): 0xeC261d9b2EE4B6997a6a424067af165BAA4afE1a

#vectordatabase #vectorsearch #rag #hnsw
Рекомендации по теме
Комментарии
Автор

You have explained a complex topic in very simple terms. Keep up the good work.

Andies
Автор

When initially building the small world we need to iteratively look for k nearest neighbors while inserting the new documents. How do we find those neighbors

Omarsayan
Автор

In 6:37 there is an mistake because the "closest to query"-point was in Level 2 already there and not selected. Do you understand?

Lukas-ilxg
Автор

Good Explanation Provided. Thank you vey much for this.

AkshayKadamIN
Автор

Perfect explanation, exactly what I was looking for!

himanikumar
Автор

great explanation, massively underrated video

ZoinkDoink
Автор

Very good explanation with a good use of animations!

parth
Автор

Very nicely explained! Thank you for making this video

emanuelgerber
Автор

Hey, have a question, isnt there a risk of getting stuck in a local optima when comparing similarity between query node and db nodes in the graphs?

maheswaranparameswaran
Автор

How did you go from a group of random vectors to a skip linked list structure?

lynnwilliam
Автор

If the K equals to the total number of documents, will this approach also be like brute force? Because it needs to go through each linked document.

alicetang
Автор

could u please come up with nlp bascis course please. also basics of ML course please.

saisaigraph