Dense Vector and Sparse Vector and Fulltext and Tensor Reranker = Best for RAG?
1–10 of 13 posts
Re: Dense Vector and Sparse Vector and Fulltext and Tensor Reranker = Best for RAG?
#2Re: Dense Vector and Sparse Vector and Fulltext and Tensor Reranker = Best for RAG?
#3Re: Dense Vector and Sparse Vector and Fulltext and Tensor Reranker = Best for RAG?
#4Many vector database vendors claim sparse vector is enough for precise retrieval, bm25 is not necessary.
Re: Dense Vector and Sparse Vector and Fulltext and Tensor Reranker = Best for RAG?
#5How do you compare with other vector databases? some of them have already implemented both dense vector and sparse vector search.
Re: Dense Vector and Sparse Vector and Fulltext and Tensor Reranker = Best for RAG?
#6Re: Dense Vector and Sparse Vector and Fulltext and Tensor Reranker = Best for RAG?
#7What are the advantages and potential challenges of combining dense vectors, sparse vectors, and full-text search in a hybrid retrieval method, as implemented in Infinity v0.2, and how does this approach compare to traditional vector search or other retrieval methods?
The major challenges are how to implement and manage such many indices within single database. That's why we build this database start from scratch. Infinity is actually a kind of "indexing" database, based on a columnar store. The executor also requires refined design to fuse these hybrid search approaches effectively.
Re: Dense Vector and Sparse Vector and Fulltext and Tensor Reranker = Best for RAG?
#8Re: Dense Vector and Sparse Vector and Fulltext and Tensor Reranker = Best for RAG?
#9Re: Dense Vector and Sparse Vector and Fulltext and Tensor Reranker = Best for RAG?
#10What's your advantages over paradedb? it also has dense+sparse+bm25
1. Performance
The performance of pg_vector is far slower than vector search of Infinity due to the vector index design. The performance of pg_sparse is also slower than sparse vector search of infinity. The performance of pg_search is much slower than full text search of infinity. pg_search is based on Tantivy, which is much slower than the inverted index of infinity.
Detailed benchmark could be seen in this article : https://infiniflow.org/blog/fastest-hybrid-search or github repo.
2. Infinity has all the builtin implementation of the above three search approaches. These indices could work smoothly together with the executor of infinity. The users could use any combination of the search approaches, together with the fused ranking algorithms, in a very efficient approach.
3. Infinity has also builtin support for tensor, which makes it possible to deliver an in-database colbert reranker compared with the cross encoder based reranker outside. The colbert reranker could bring much benefits for search qualities.
4. Infinity is much easier to use, it could be deployed as either a standalone server, or as an embedded python library just through pip install.
5. Infinity is designed start from scratch, it does not have the burden of postgresql, and is evolving fast. It will run on cloud in very near future which could save the cost a lot.