frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Graph-based vector indices explained through the "FES theorem"

https://blog.kuzudb.com/post/vector-indices/
7•semihsalihoglu•7h ago

Comments

semihsalihoglu•7h ago
I wrote a blog post on the HNSW vector index design, perhaps the most popular vector index design adopted by databases at this point. The post is based on several lectures I gave in a graduate course at UWaterloo last fall. This is intended for people who are interested in understanding how these indices work internally.

My goal was to explain the intuitions behind HNSW indices as a natural relaxation of two prior indices: kd trees and the (not much appreciated) sa trees.

I also place these three vector indices in a framework that I call the "FES Theorem", which states that any vector index design can provide at most two of the following three properties: - Fast: returns vectors that are similar to a query vector q quickly. - Exact: correctly returns the most similar vectors to q (instead of "approximate" indices that can make mistakes) - Scalable: can index vectors with large number of dimensions, e.g., 1000s of dimensions.

Kd trees, sa trees, and HNSW satisfy each 2 possible combinations of these 3 properties.

Needless to say, I intentionally picked the term "FES Theorem" to sound like the famous "CAP Theorem". Fes (Turkish) or a fez (English), just like cap, is a headdress. You can see a picture in the post.

I hope you find the explanation of HNSW as a sequence of relaxation of kd trees useful.

Enjoy!

Vibe coding turned this Swedish AI unicorn into the fastest growing startup ever

https://www.forbes.com/sites/iainmartin/2025/07/23/vibe-coding-turned-this-swedish-ai-unicorn-into-the-fastest-growing-software-startup-ever/
1•myth_drannon•11m ago•0 comments

I Eat

https://taylor.town/how-i-eat
2•paulpauper•12m ago•0 comments

Show HN: Voice-First AI Code Review Platform (Looking for OSS Beta testers)

https://www.lightlayer.dev/
1•changisaac•20m ago•0 comments

Ask HN: Has anyone deployed LLMs to production?

1•saaspirant•21m ago•0 comments

Surprising Science: How Electric Cars Transform Urban Air

https://modernengineeringmarvels.com/2025/07/22/surprising-science-how-electric-cars-quietly-transform-urban-air/
1•tzs•25m ago•0 comments

What is X-Forwarded-For and when can you trust it?

https://httptoolkit.com/blog/what-is-x-forwarded-for/
1•thunderbong•26m ago•0 comments

Spaghetti All'assassina

https://en.wikipedia.org/wiki/Spaghetti_all%27assassina
1•jameslk•26m ago•0 comments

Show HN: Marchat – Terminal-based chat app written in Go

https://github.com/Cod-e-Codes/marchat
2•Cod-e-Codes•27m ago•0 comments

Donald Trump Is Fairy-Godmothering AI

https://www.theatlantic.com/technology/archive/2025/07/donald-trump-ai-action-plan/683647/
4•CharlesW•31m ago•0 comments

Could you swap your mouse and keyboard for a smart bracelet?

https://www.scimex.org/newsfeed/could-you-swap-your-mouse-and-keyboard-for-a-smart-bracelet
1•geox•31m ago•0 comments

Anyone building P2P alternatives to capitalism?

https://github.com/contribution-protocol/contribution-protocol-project
1•mzk_pi•33m ago•1 comments

Ending 'woke AI' isn't enough: fight the 'monster' within it

https://nypost.com/2025/07/23/opinion/ending-woke-ai-isnt-enough-fight-the-monster-within-it/
2•kvee•36m ago•1 comments

Show HN: Synthetic Users that test your app, catch bugs, and provide feedback

https://synthetic.usejina.com/
1•fearlessboi•40m ago•1 comments

What's That Splatter on Your Windshield?

https://www.nytimes.com/interactive/2025/07/23/science/23xp-bugquiz.html
2•avalys•47m ago•1 comments

When photography was born, fascination, obsession, and danger followed

https://www.washingtonpost.com/books/2025/07/12/flashes-brilliance-history-early-photography-anika-burgess-review/
1•prismatic•47m ago•0 comments

Cluely Paying $1M Salaries

https://twitter.com/im_roy_lee/status/1948112169503207774
6•thisismytest•48m ago•0 comments

The Largest Ever Solar Storm Detected In 14,300-year-old Tree Rings (2023)

https://astrobiology.com/2023/10/the-largest-ever-solar-storm-detected-in-14300-year-old-tree-rings.html
2•georgecmu•51m ago•0 comments

Contextual.ai

https://contextual.ai/
1•handfuloflight•51m ago•0 comments

Guide to PDF security

https://www.unicornforms.com/blog/complete-guide-to-pdf-security
1•waldopat•54m ago•0 comments

A Small Web July

https://smallcypress.bearblog.dev/a-small-web-july/
29•debo_•56m ago•6 comments

Low cost mmWave 60GHz radar sensor for advanced sensing

https://www.infineon.com/part/BGT60TR13C
2•teleforce•56m ago•0 comments

Why Are We Pretending AI Is Going to Take All the Jobs?

https://www.thebignewsletter.com/p/why-are-we-pretending-ai-is-going
12•pseudolus•1h ago•0 comments

BYD Bets on Budget EV Boom with Atto 1 Debut in Indonesia

https://jakartaglobe.id/business/byd-bets-on-budget-ev-boom-with-atto-1-debut-in-indonesia
3•breve•1h ago•0 comments

Ask HN: Does an RSS-based Read-It-Later service exist?

2•fargoth•1h ago•1 comments

At Victoria Park Model Boat Club

https://spitalfieldslife.com/2025/07/21/at-victoria-park-model-boat-club-i/
2•zeristor•1h ago•0 comments

Don't Use External CSS

https://maurycyz.com/misc/inline_css/
2•LorenDB•1h ago•3 comments

Ask HN: WASM Profiling Icache vs. Dcache

1•dapperdrake•1h ago•0 comments

A 1995 IC Program Helped Invent Google's Surveillance-Scale Search Engine

https://keystoneweb.dev/mdds_story.html
1•aubreyhayes47•1h ago•1 comments

Discovering and recovering from PostgreSQL corruption on Matrix.org

https://matrix.org/blog/2025/07/postgres-corruption-postmortem/
2•pabs3•1h ago•0 comments

Superchargers are the only part of Tesla's business seeing growth

https://electrek.co/2025/07/23/superchargers-are-the-only-part-of-teslas-business-seeing-growth-right-now/
5•breve•1h ago•0 comments