Re:Embeddings: What they are and why they matter
by simonw on Monday October 23, 2023 @12:07PM
(#37987675)
If you've been wondering why there's so much hype around vector databases at the moment this article should help explain that too - embeddings and vector databases both occupy the same space.
[ Parent
| on HN ]
Re:Embeddings: What they are and why they matter
by williamcotton on Tuesday October 24, 2023 @11:10PM
(#38008723)
The same… vector space?
I’ll show myself out…
Re:Embeddings: What they are and why they matter
by quickthrower2 on Wednesday October 25, 2023 @01:45AM
(#38009535)
Is it because with transformers and LLMs the embeddings are more powerful than they have been before (they can seem to understand more)?
Re:Embeddings: What they are and why they matter
by jaggederest on Wednesday October 25, 2023 @04:34AM
(#38010606)
Broadly, as I understand it, the way the embeddings are generated "needs" LLMs to produce the superior results you'd see with e.g. OpenAI's text-embedding-ada-002 - we've been working with vectors at least as long as I've been programming, but until recently they didn't mean anything particular. LLMs let the vectors have semantic meaning and relate similar conceptual text, instead of (as in the article) using gzip to generate vectors where the similarity is entirely textual, i.e. similar words and passages and characters, even if they have different meanings.
So ultimately they're not at all new (embedding data into a hamming space to compare it to other data), but the underlying meaning is much more useful in a world where you can peek into the internal state of a LLM to generate them.