当前位置:首页 > 报告详情

【微软】A Unified Database for Scalar-Vector Data.pdf

上传人: 张** 编号:153283 2024-01-15 25页 3.21MB

1、A Unified Database for Scalar-Vector Data Management张虔熙目录 Approximate Nearest Neighbor Search Query Support-VBase Index Update-SPFreshApproximate Nearest Neighbor SearchPART 1Vectorization:An Important Trend In AI Era 1,3,5,4,.2,8,1,0,.9,2,5,6,.High-dimensional VectorsDeep Learning ModelRaw DataQARe

2、commendationLLM Retrieval PluginVector similarity search empowers semantic-understanding tasksQuery AnsweringVector Similarity SearchANNS for Large-scale Vector SearchVector Search:finding k nearest vectors to a query vectorExact search is extremely expensive and unscalable!Approximate Nearest Neigh

3、bor Search(ANNS)The only viable system solution to large-scale vector searchLow query latency(milliseconds)and high search accuracy(90%+)Indices are invented to achieve ANNSIVFFlatHNSWSPANNDiskANNTopK PrimitiveANNS query primitive:TopKSELECT*FROM items ORDER BY embedding 3,1,2 LIMIT 5;Current“vector

4、 database”is still far from perfectANNS Index(IVFFlat,HNSW)TopK-K tuplesN=5?YesDoneIndex ScanCRUD operationsCurrent solutionsReadLimited Query SupportUpdate/DeleteInefficient Update/DeleteQuery Support-VBasePART 2Limited Query Support SELECT*FROM items WHERE category_id=123 ORDER BY embedding 3,1,2

5、LIMIT 5;Inefficient!Optimal K is hard to predict.But this kind of query demand is very common.SELECT*FROM items WHERE embedding 3,1,2=5?YesDoneANNS IndexTopK-K tuplesIndex ScanTopK primitive is insufficient to support complex vector analytics systematicallyHow Scalar Index WorksSELECT*FROM items WHE

6、RE category_id=123 ORDER BY score LIMIT 5;B+tree index traversal data exhibits monotonicity,so it can use an iteratorinterface to traverse data to decide K during runtime.Filtercategory_id=123N tuplesN=5?YesDoneB+treeIndex ScanIterator-GetNextOSDI 23 VBase:Unifying Online Vector Similarity Search an

word格式文档无特别注明外均可编辑修改,预览文件经过压缩,下载原文更清晰!
三个皮匠报告文库所有资源均是客户上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作商用。
本文主要探讨了在人工智能时代,如何构建一个统一的数据库来管理标量-向量数据。文章指出,在处理高维向量数据时,精确搜索成本过高且不可扩展,因此提出了近似最近邻搜索(ANNS)的方法。ANNS通过索引实现,如IVFFlat、HNSW等,能够在毫秒级提供高准确度的搜索结果。文章还提到了现有数据库在处理复杂向量分析查询方面的不足,并引入了向量相似度搜索的概念。 VBase是一种结合了在线向量相似度搜索和关系查询的数据库。它基于迭代向量索引扫描,构建在放松单调性原理之上,该原理适用于标量和高清向量索引。VBase能够高效执行各种查询,并优化索引。 针对大数据量下的向量索引更新问题,文章介绍了SPFresh算法。SPFresh是一种平衡的基于簇的向量索引,通过近似最近的分区分配(NPA)和轻量级增量再平衡(LIRE)协议,实现了高效、低延迟的在线更新,同时保持搜索的稳定性和准确性,资源消耗低。 综上所述,文章提出了一种统一的数据库管理方案,结合了标量和向量索引的优势,通过VBase和SPFresh算法,实现了高效、可扩展的标量-向量数据管理。
如何实现高维向量的高效搜索? 向量数据库的查询支持有哪些局限性? SPFresh算法如何实现高维向量的增量更新?
客服
商务合作
小程序
服务号
折叠