Yikai Zhao;Wei Zhou;Wenchen Han;Zheng Zhong;Yinda Zhang;Xiuqi Zheng;Tong Yang;Bin Cui
{"title":"Achieving Top-$K$K-fairness for Finding Global Top-$K$K Frequent Items","authors":"Yikai Zhao;Wei Zhou;Wenchen Han;Zheng Zhong;Yinda Zhang;Xiuqi Zheng;Tong Yang;Bin Cui","doi":"10.1109/TKDE.2024.3523033","DOIUrl":null,"url":null,"abstract":"Finding top-<inline-formula><tex-math>$K$</tex-math></inline-formula> frequent items has been a hot topic in data stream processing with wide-ranging applications. However, most existing sketch algorithms focus on finding local top-<inline-formula><tex-math>$K$</tex-math></inline-formula> in a single data stream. In this paper, we tackle finding global top-<inline-formula><tex-math>$K$</tex-math></inline-formula> across multiple data streams. We find that using prior sketch algorithms directly is often unfair in global scenarios, degrading global top-<inline-formula><tex-math>$K$</tex-math></inline-formula> accuracy. We define top-<inline-formula><tex-math>$K$</tex-math></inline-formula>-fairness and show its importance for finding global top-<inline-formula><tex-math>$K$</tex-math></inline-formula>. To achieve this, we propose the Double-Anonymous (DA) sketch, where double-anonymity ensures fairness. We also propose two techniques, hot-filtering and early-freezing, to improve accuracy further. We theoretically prove that the DA sketch achieves top-<inline-formula><tex-math>$K$</tex-math></inline-formula>-fairness while maintaining high accuracy. Extensive experiments verify top-<inline-formula><tex-math>$K$</tex-math></inline-formula>-fairness in disjoint data streams, showing that the DA sketch's error is up to 129 times (60 times on average) smaller than the state-of-the-art. To enhance the applicability and technical depth, we also investigate how to extend the DA sketch to general distributed data stream scenarios and how to provide a fairer and more accurate global ranking for top-<inline-formula><tex-math>$K$</tex-math></inline-formula> items. The experimental results show that the extended version of the DA sketch can indeed compute better rankings and still has significant advantages in general data streams.","PeriodicalId":13496,"journal":{"name":"IEEE Transactions on Knowledge and Data Engineering","volume":"37 4","pages":"1508-1526"},"PeriodicalIF":8.9000,"publicationDate":"2024-12-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Knowledge and Data Engineering","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10816554/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Finding top-$K$ frequent items has been a hot topic in data stream processing with wide-ranging applications. However, most existing sketch algorithms focus on finding local top-$K$ in a single data stream. In this paper, we tackle finding global top-$K$ across multiple data streams. We find that using prior sketch algorithms directly is often unfair in global scenarios, degrading global top-$K$ accuracy. We define top-$K$-fairness and show its importance for finding global top-$K$. To achieve this, we propose the Double-Anonymous (DA) sketch, where double-anonymity ensures fairness. We also propose two techniques, hot-filtering and early-freezing, to improve accuracy further. We theoretically prove that the DA sketch achieves top-$K$-fairness while maintaining high accuracy. Extensive experiments verify top-$K$-fairness in disjoint data streams, showing that the DA sketch's error is up to 129 times (60 times on average) smaller than the state-of-the-art. To enhance the applicability and technical depth, we also investigate how to extend the DA sketch to general distributed data stream scenarios and how to provide a fairer and more accurate global ranking for top-$K$ items. The experimental results show that the extended version of the DA sketch can indeed compute better rankings and still has significant advantages in general data streams.
期刊介绍:
The IEEE Transactions on Knowledge and Data Engineering encompasses knowledge and data engineering aspects within computer science, artificial intelligence, electrical engineering, computer engineering, and related fields. It provides an interdisciplinary platform for disseminating new developments in knowledge and data engineering and explores the practicality of these concepts in both hardware and software. Specific areas covered include knowledge-based and expert systems, AI techniques for knowledge and data management, tools, and methodologies, distributed processing, real-time systems, architectures, data management practices, database design, query languages, security, fault tolerance, statistical databases, algorithms, performance evaluation, and applications.