Learning-Augmented Frequency Estimation in Sliding Windows

Rana Shahout, Ibrahim Sabek, Michael Mitzenmacher
{"title":"Learning-Augmented Frequency Estimation in Sliding Windows","authors":"Rana Shahout, Ibrahim Sabek, Michael Mitzenmacher","doi":"arxiv-2409.11516","DOIUrl":null,"url":null,"abstract":"We show how to utilize machine learning approaches to improve sliding window\nalgorithms for approximate frequency estimation problems, under the\n``algorithms with predictions'' framework. In this dynamic environment,\nprevious learning-augmented algorithms are less effective, since properties in\nsliding window resolution can differ significantly from the properties of the\nentire stream. Our focus is on the benefits of predicting and filtering out\nitems with large next arrival times -- that is, there is a large gap until\ntheir next appearance -- from the stream, which we show improves the\nmemory-accuracy tradeoffs significantly. We provide theorems that provide\ninsight into how and by how much our technique can improve the sliding window\nalgorithm, as well as experimental results using real-world data sets. Our work\ndemonstrates that predictors can be useful in the challenging sliding window\nsetting.","PeriodicalId":501525,"journal":{"name":"arXiv - CS - Data Structures and Algorithms","volume":"26 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Data Structures and Algorithms","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.11516","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

We show how to utilize machine learning approaches to improve sliding window algorithms for approximate frequency estimation problems, under the ``algorithms with predictions'' framework. In this dynamic environment, previous learning-augmented algorithms are less effective, since properties in sliding window resolution can differ significantly from the properties of the entire stream. Our focus is on the benefits of predicting and filtering out items with large next arrival times -- that is, there is a large gap until their next appearance -- from the stream, which we show improves the memory-accuracy tradeoffs significantly. We provide theorems that provide insight into how and by how much our technique can improve the sliding window algorithm, as well as experimental results using real-world data sets. Our work demonstrates that predictors can be useful in the challenging sliding window setting.
滑动窗口中的学习增强频率估计
我们展示了如何在 "有预测的算法 "框架下,利用机器学习方法改进滑动窗口算法,以解决近似频率估计问题。在这种动态环境中,以往的学习增强算法效果较差,因为滑动窗口分辨率的属性可能与整个流的属性大相径庭。我们的重点是预测和过滤掉流中下次到达时间较长(即距离下次出现时间有较大间隔)的项目的好处,我们的研究表明,这能显著改善记忆与准确性之间的权衡。我们提供的定理揭示了我们的技术如何以及能在多大程度上改进滑动窗口算法,我们还提供了使用真实世界数据集的实验结果。我们的工作证明,预测器可以在具有挑战性的滑动窗口设置中发挥作用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信