3 ms·
That looks great for speed, but what about recall?
by binarymax 2y ago
That looks great for speed, but what about recall?
- Quizzical4230 2y agoThat's has a major downgrade. For binary embeddings, the top 10 results are same as fp32, albeit shuffled. However after the 10th result, I think quality degrades quite a bit. I was planning to add a reranking strategy for binary embeddings. What do you think?
- intalentive 2y agoRecommend reranking. You basically get full resolution performance for a negligible latency hit. (Unless you need to make two network calls…) MixedBread supports matryoshka embeddings too so that’s another option to explore on the latency-recall curve.
- Quizzical4230 2y ago> Recommend reranking. Will explore it thoroughly then! > MixedBread supports matryoshka embeddings too so that’s another option to explore on the latency-recall curve. Yes, exactly why I went with this model!
- amitness 2y agoTry this trick that I learned from Cohere: - Fetch top 10*k (i.e. 100) results using the hamming distance - Rerank by taking dot product between query embedding (full precision) and binary doc embeddings - Show top-10 results after re-ranking
- Quizzical4230 2y agoThis is pretty cool. The dot product would give the unnormalized cosine similarity from a smaller pool. Thank you so much!