Sample-Based Distance-Approximation for Subsequence-Freeness

IF 0.9 4区 计算机科学 Q4 COMPUTER SCIENCE, SOFTWARE ENGINEERING Algorithmica Pub Date : 2024-05-13 DOI:10.1007/s00453-024-01233-4
Omer Cohen Sidon, Dana Ron
{"title":"Sample-Based Distance-Approximation for Subsequence-Freeness","authors":"Omer Cohen Sidon,&nbsp;Dana Ron","doi":"10.1007/s00453-024-01233-4","DOIUrl":null,"url":null,"abstract":"<div><p>In this work, we study the problem of approximating the distance to subsequence-freeness in the sample-based distribution-free model. For a given subsequence (word) <span>\\(w = w_1 \\ldots w_k\\)</span>, a sequence (text) <span>\\(T = t_1 \\ldots t_n\\)</span> is said to contain <i>w</i> if there exist indices <span>\\(1 \\le i_1&lt; \\cdots &lt; i_k \\le n\\)</span> such that <span>\\(t_{i_{j}} = w_j\\)</span> for every <span>\\(1 \\le j \\le k\\)</span>. Otherwise, <i>T</i> is <i>w</i>-free. Ron and Rosin (ACM Trans Comput Theory 14(4):1–31, 2022) showed that the number of samples both necessary and sufficient for one-sided error testing of subsequence-freeness in the sample-based distribution-free model is <span>\\(\\Theta (k/\\epsilon )\\)</span>. Denoting by <span>\\(\\Delta (T,w,p)\\)</span> the distance of <i>T</i> to <i>w</i>-freeness under a distribution <span>\\(p:[n]\\rightarrow [0,1]\\)</span>, we are interested in obtaining an estimate <span>\\(\\widehat{\\Delta }\\)</span>, such that <span>\\(|\\widehat{\\Delta }- \\Delta (T,w,p)| \\le \\delta \\)</span> with probability at least 2/3, for a given error parameter <span>\\(\\delta \\)</span>. Our main result is a sample-based distribution-free algorithm whose sample complexity is <span>\\(\\tilde{O}(k^2/\\delta ^2)\\)</span>. We first present an algorithm that works when the underlying distribution <i>p</i> is uniform, and then show how it can be modified to work for any (unknown) distribution <i>p</i>. We also show that a quadratic dependence on <span>\\(1/\\delta \\)</span> is necessary.</p></div>","PeriodicalId":50824,"journal":{"name":"Algorithmica","volume":"86 8","pages":"2519 - 2556"},"PeriodicalIF":0.9000,"publicationDate":"2024-05-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://link.springer.com/content/pdf/10.1007/s00453-024-01233-4.pdf","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Algorithmica","FirstCategoryId":"94","ListUrlMain":"https://link.springer.com/article/10.1007/s00453-024-01233-4","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

In this work, we study the problem of approximating the distance to subsequence-freeness in the sample-based distribution-free model. For a given subsequence (word) \(w = w_1 \ldots w_k\), a sequence (text) \(T = t_1 \ldots t_n\) is said to contain w if there exist indices \(1 \le i_1< \cdots < i_k \le n\) such that \(t_{i_{j}} = w_j\) for every \(1 \le j \le k\). Otherwise, T is w-free. Ron and Rosin (ACM Trans Comput Theory 14(4):1–31, 2022) showed that the number of samples both necessary and sufficient for one-sided error testing of subsequence-freeness in the sample-based distribution-free model is \(\Theta (k/\epsilon )\). Denoting by \(\Delta (T,w,p)\) the distance of T to w-freeness under a distribution \(p:[n]\rightarrow [0,1]\), we are interested in obtaining an estimate \(\widehat{\Delta }\), such that \(|\widehat{\Delta }- \Delta (T,w,p)| \le \delta \) with probability at least 2/3, for a given error parameter \(\delta \). Our main result is a sample-based distribution-free algorithm whose sample complexity is \(\tilde{O}(k^2/\delta ^2)\). We first present an algorithm that works when the underlying distribution p is uniform, and then show how it can be modified to work for any (unknown) distribution p. We also show that a quadratic dependence on \(1/\delta \) is necessary.

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于样本的无后续距离近似法
在这项工作中,我们研究了在基于样本的无分布模型中近似无子序列距离的问题。对于一个给定的子序列(词)(w = w_1 \ldots w_k\),如果存在索引 \(1 \le i_1< \cdots < i_k \le n\) ,使得对于每一个 \(1 \le j \le k\) \(t_{i_{j}} = w_j\),一个序列(文本)(T = t_1 \ldots t_n\)被认为包含 w。否则,T 是无 w 的。罗恩和罗辛(ACM Trans Comput Theory 14(4):1-31, 2022)指出,在基于样本的无分布模型中,对子序列无缺陷进行单边误差测试所必需且充分的样本数是 \(\Theta (k/\epsilon )\).用 \(\Delta (T,w,p)\)表示 T 在分布 \(p.[n]/rightarrow])下与 w 无性的距离:[n]\rightrow [0,1]\),对于给定的误差参数 \(\widehat\{Delta }\) ,我们感兴趣的是得到一个估计值 \(\widehat{Delta }- \Delta (T,w,p)| \le \delta \),概率至少为 2/3。我们的主要成果是一种基于样本的无分布算法,其样本复杂度为 \(\tilde{O}(k^2/\delta ^2)\)。我们首先介绍了一种在底层分布 p 是均匀分布时有效的算法,然后展示了如何将其修改为适用于任何(未知)分布 p。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Algorithmica
Algorithmica 工程技术-计算机:软件工程
CiteScore
2.80
自引率
9.10%
发文量
158
审稿时长
12 months
期刊介绍: Algorithmica is an international journal which publishes theoretical papers on algorithms that address problems arising in practical areas, and experimental papers of general appeal for practical importance or techniques. The development of algorithms is an integral part of computer science. The increasing complexity and scope of computer applications makes the design of efficient algorithms essential. Algorithmica covers algorithms in applied areas such as: VLSI, distributed computing, parallel processing, automated design, robotics, graphics, data base design, software tools, as well as algorithms in fundamental areas such as sorting, searching, data structures, computational geometry, and linear programming. In addition, the journal features two special sections: Application Experience, presenting findings obtained from applications of theoretical results to practical situations, and Problems, offering short papers presenting problems on selected topics of computer science.
期刊最新文献
Energy Constrained Depth First Search Recovering the Original Simplicity: Succinct and Exact Quantum Algorithm for the Welded Tree Problem Permutation-constrained Common String Partitions with Applications Reachability of Fair Allocations via Sequential Exchanges On Flipping the Fréchet Distance
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1