FaceRec icon indicating copy to clipboard operation
FaceRec copied to clipboard

Vector Embedding Search Optimization

Open devansh-shah-11 opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. Embedding searches in vector databases for face recognition can be slow, especially with large datasets. Faster retrieval methods are essential for efficient model evaluation and experimentation.

Describe the solution you'd like Implement optimizations for embedding search by leveraging indexing strategies like Approximate Nearest Neighbor (ANN) and caching mechanisms. These optimizations should be adaptable across different vector DBs (such as FAISS, Pinecone, Milvus) to ensure faster face recognition queries.

Additional context These optimizations will enhance overall system performance and enable more efficient searches, thereby improving the response time.

Checklist

  • [ ] Research Approximate Nearest Neighbor (ANN) libraries

    • FAISS, Pinecone, Milvus, or other relevant vector DBs.
  • [ ] Ensure support across different vector DBs

    • Test optimizations with different databases (FAISS, Pinecone, Milvus).
  • [ ] Integrate ANN search capabilities

    • Implement ANN indexing in vector DBs used by the system.
  • [ ] Implement caching mechanisms for frequent searches

    • Add caching for common queries to further improve performance.
  • [ ] Test the optimized embedding search on large datasets

    • Benchmark and compare performance before and after the optimizations.
  • [ ] Document the embedding search optimization process

    • Add detailed documentation detailing how to configure and optimize searches.

devansh-shah-11 avatar Oct 07 '24 17:10 devansh-shah-11

Hello I would like to work on this Can you assign it to me

Sai-ganesh-0004 avatar Oct 10 '24 13:10 Sai-ganesh-0004

Hey @Sai-ganesh-0004 , I hope the issue you working on is going well, If you need any help you may reach out to us, we'll be happy to guide you

Devasy avatar Oct 12 '24 11:10 Devasy

Hey, I would love to work on this project. I have worked on fine tuning LLM'S and well as RAG's and have a fair understanding of vector embeddings and vector databases. I would be able to effectively contribute to this project. Could you please assign this to me. Thank you.

Soumyals avatar Oct 31 '24 17:10 Soumyals