Liang Zhu, Peng Li, Yonggang Wei, Xin Song, Yu Wang
{"title":"Processing Approximate KNN Query Based on Data Source Selection","authors":"Liang Zhu, Peng Li, Yonggang Wei, Xin Song, Yu Wang","doi":"10.1109/ICAA53760.2021.00121","DOIUrl":null,"url":null,"abstract":"A KNN query over a relation is to find its $K$ nearest neighbors/tuples from a dataset/relation according to a distance function. In this paper, we discuss approximate KNN query processing based on the selection of many data sources with various dimensions. We propose algorithms to construct a UBR- Tree and a Centroid Base for selecting related data sources and retrieving $K$ NN tuples. For a $K$ NN query $Q$, (1) the related data sources are selected by using the Centroid Base, (2) these data sources are sorted according to their representative tuple in the Centroid Base, (3) local $K$ NN tuples in the related data sources are retrieved, and (4) a heap structure is used to merge the local $K$ NN tuples to form global $K$ NN tuples of $Q$. Extensive experiments over low-dimensional and high-dimensional datasets are conducted to demonstrate the performances of our proposed approaches.","PeriodicalId":121879,"journal":{"name":"2021 International Conference on Intelligent Computing, Automation and Applications (ICAA)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 International Conference on Intelligent Computing, Automation and Applications (ICAA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICAA53760.2021.00121","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
A KNN query over a relation is to find its $K$ nearest neighbors/tuples from a dataset/relation according to a distance function. In this paper, we discuss approximate KNN query processing based on the selection of many data sources with various dimensions. We propose algorithms to construct a UBR- Tree and a Centroid Base for selecting related data sources and retrieving $K$ NN tuples. For a $K$ NN query $Q$, (1) the related data sources are selected by using the Centroid Base, (2) these data sources are sorted according to their representative tuple in the Centroid Base, (3) local $K$ NN tuples in the related data sources are retrieved, and (4) a heap structure is used to merge the local $K$ NN tuples to form global $K$ NN tuples of $Q$. Extensive experiments over low-dimensional and high-dimensional datasets are conducted to demonstrate the performances of our proposed approaches.