Hi everyone! Over the years, I've found myself building hacky solutions to serve and manage my embeddings. I’m excited to share Embeddinghub, an open-source vector database for ML embeddings. It is built with four goals in mind: Store embeddings durably and with high availability Allow for approximate nearest neighbor operations Enable other operations like partitioning, sub-indices, and averaging Manage versioning,…
Show HN: Embeddinghub: A vector database built for Machine Learning embeddings
21–30 of 35 posts
Re: Show HN: Embeddinghub: A vector database built for Machine Learning embeddings
#22How is this different from Pinecone, Milvus, and Faiss?
Faiss is solving the approximate nearest neighbor problem, not the storage problem. It’s not a database, it’s an index. We use a lightweight version of Faiss (HNSWLIB) to index embeddings in Embeddinghub.
Re: Show HN: Embeddinghub: A vector database built for Machine Learning embeddings
#23Great work! Looks like you are using HNSWLIB. From what I understand HNSW graph based approach can be memory intensive compared PQ code based approach. FAISS has support for both HNSW and PQ codes. Any plans on extending your work to support PQ code based index in future?
Re: Show HN: Embeddinghub: A vector database built for Machine Learning embeddings
#24Great work! Looks like you are using HNSWLIB. From what I understand HNSW graph based approach can be memory intensive compared PQ code based approach. FAISS has support for both HNSW and PQ codes. Any plans on extending your work to support PQ code based index in future?
Yes! We plan to bring Faiss in and utilize a lot of its functionality, our goal for this release was to get an end-to-end working to get feedback on the API. HNSW was a good default with this in mind.
Re: Show HN: Embeddinghub: A vector database built for Machine Learning embeddings
#25How is this different from Pinecone, Milvus, and Faiss?
The biggest difference, as cyrusthegreat pointed out, is that we're a fully managed service. You sign up, spin up a database service with a single API call[0], and go from there. There's no infrastructure to build and keep available, even as you scale to billions of items.
Pinecone also comes with features like metadata filtering[1] for better control over results, and hybrid storage for up to 10x lower compute costs. EmbeddingHub has a few features Pinecone doesn't yet have, like versioning -- though with our architecture it's straightforward to add if someone asks.
Hope that helps! And I'm glad to see more projects in this space, especially from the feature-store side.
[0] https://www.pinecone.io/docs/api/operation/create_index/
Re: Show HN: Embeddinghub: A vector database built for Machine Learning embeddings
#26Re: Show HN: Embeddinghub: A vector database built for Machine Learning embeddings
#27Earlier quoted context omitted.
Yes! We plan to bring Faiss in and utilize a lot of its functionality, our goal for this release was to get an end-to-end working to get feedback on the API. HNSW was a good default with this in mind.
How does it compare to the OpenDistro for Elastic KNN plugin - which also uses HNSW (and also includes scalable storage, high availability, backups, and filtering)?
Re: Show HN: Embeddinghub: A vector database built for Machine Learning embeddings
#28Re: Show HN: Embeddinghub: A vector database built for Machine Learning embeddings
#29Earlier quoted context omitted.
In the "Definitive Guide to Embeddings", in the figure "An illustration of One Hot Encoding", the "One Hot Encoding" table doesn't make any sense whatsoever. Am I wrong?
no you're right ahahah wth are these
Re: Show HN: Embeddinghub: A vector database built for Machine Learning embeddings
#30Earlier quoted context omitted.
Curious about how your solution is different / better than nmslib which I've tried in the past?
We actually use HNSWLIB by NMSLIB on the backend. NMSLIB is solving the approximate nearest neighbor problem, not the storage problem. It’s not a database, it’s an index. We handle everything needed to turn their index into a full fledged database with a data science workflow around it (versioning, monitoring, etc.)