{"title":"一种有界度模型变化中的快速性能测试仪","authors":"Isolde Adler, Polly Fahey","doi":"https://dl.acm.org/doi/10.1145/3584948","DOIUrl":null,"url":null,"abstract":"<p>Property testing algorithms are highly efficient algorithms that come with probabilistic accuracy guarantees. For a property <i>P</i>, the goal is to distinguish inputs that have <i>P</i> from those that are <i>far</i> from having <i>P</i> with high probability correctly, by querying only a small number of local parts of the input. In property testing on graphs, the <i>distance</i> is measured by the number of edge modifications (additions or deletions) that are necessary to transform a graph into one with property <i>P</i>. Much research has focused on the <i>query complexity</i> of such algorithms, i. e., the number of queries the algorithm makes to the input, but in view of applications, the <i>running time</i> of the algorithm is equally relevant.</p><p>In (Adler, Harwath, STACS 2018), a natural extension of the bounded degree graph model of property testing to relational databases of bounded degree was introduced, and it was shown that on databases of bounded degree and bounded tree-width, every property that is expressible in monadic second-order logic with counting (CMSO) is testable with constant query complexity and <i>sublinear</i> running time. It remains open whether this can be improved to constant running time.</p><p>In this article we introduce a new model, which is based on the bounded degree model, but the distance measure allows both edge (tuple) modifications and vertex (element) modifications. We show that every property that is testable in the classical model is testable in our model with the same query complexity and running time, but the converse is not true. Our main theorem shows that on databases of bounded degree and bounded tree-width, every property that is expressible in CMSO is testable with constant query complexity and <i>constant</i> running time in the new model. Our proof methods include the semilinearity of the neighborhood histograms of databases having the property and a result by Alon (Proposition 19.10 in Lovász, Large networks and graph limits, 2012) that states that for every bounded degree graph \\(\\mathcal {G}\\) there exists a constant size graph \\(\\mathcal {H}\\) that has a similar neighborhood distribution to \\(\\mathcal {G}\\).</p><p>It can be derived from a result in (Benjamini et al., Advances in Mathematics 2010) that hyperfinite hereditary properties are testable with constant query complexity and constant running time in the classical model (and hence in the new model). Using our methods, we give an alternative proof that hyperfinite hereditary properties are testable with constant query complexity and constant running time in the new model.</p><p>We argue that our model is natural and our meta-theorem showing constant-time CMSO testability supports this.</p>","PeriodicalId":50916,"journal":{"name":"ACM Transactions on Computational Logic","volume":"38 7","pages":""},"PeriodicalIF":0.7000,"publicationDate":"2023-05-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Faster Property Testers in a Variation of the Bounded Degree Model\",\"authors\":\"Isolde Adler, Polly Fahey\",\"doi\":\"https://dl.acm.org/doi/10.1145/3584948\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>Property testing algorithms are highly efficient algorithms that come with probabilistic accuracy guarantees. For a property <i>P</i>, the goal is to distinguish inputs that have <i>P</i> from those that are <i>far</i> from having <i>P</i> with high probability correctly, by querying only a small number of local parts of the input. In property testing on graphs, the <i>distance</i> is measured by the number of edge modifications (additions or deletions) that are necessary to transform a graph into one with property <i>P</i>. Much research has focused on the <i>query complexity</i> of such algorithms, i. e., the number of queries the algorithm makes to the input, but in view of applications, the <i>running time</i> of the algorithm is equally relevant.</p><p>In (Adler, Harwath, STACS 2018), a natural extension of the bounded degree graph model of property testing to relational databases of bounded degree was introduced, and it was shown that on databases of bounded degree and bounded tree-width, every property that is expressible in monadic second-order logic with counting (CMSO) is testable with constant query complexity and <i>sublinear</i> running time. It remains open whether this can be improved to constant running time.</p><p>In this article we introduce a new model, which is based on the bounded degree model, but the distance measure allows both edge (tuple) modifications and vertex (element) modifications. We show that every property that is testable in the classical model is testable in our model with the same query complexity and running time, but the converse is not true. Our main theorem shows that on databases of bounded degree and bounded tree-width, every property that is expressible in CMSO is testable with constant query complexity and <i>constant</i> running time in the new model. Our proof methods include the semilinearity of the neighborhood histograms of databases having the property and a result by Alon (Proposition 19.10 in Lovász, Large networks and graph limits, 2012) that states that for every bounded degree graph \\\\(\\\\mathcal {G}\\\\) there exists a constant size graph \\\\(\\\\mathcal {H}\\\\) that has a similar neighborhood distribution to \\\\(\\\\mathcal {G}\\\\).</p><p>It can be derived from a result in (Benjamini et al., Advances in Mathematics 2010) that hyperfinite hereditary properties are testable with constant query complexity and constant running time in the classical model (and hence in the new model). Using our methods, we give an alternative proof that hyperfinite hereditary properties are testable with constant query complexity and constant running time in the new model.</p><p>We argue that our model is natural and our meta-theorem showing constant-time CMSO testability supports this.</p>\",\"PeriodicalId\":50916,\"journal\":{\"name\":\"ACM Transactions on Computational Logic\",\"volume\":\"38 7\",\"pages\":\"\"},\"PeriodicalIF\":0.7000,\"publicationDate\":\"2023-05-10\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"ACM Transactions on Computational Logic\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://doi.org/https://dl.acm.org/doi/10.1145/3584948\",\"RegionNum\":4,\"RegionCategory\":\"数学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, THEORY & METHODS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM Transactions on Computational Logic","FirstCategoryId":"94","ListUrlMain":"https://doi.org/https://dl.acm.org/doi/10.1145/3584948","RegionNum":4,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0
摘要
属性测试算法是一种具有概率准确性保证的高效算法。对于属性P,目标是通过仅查询输入的一小部分局部部分来区分具有P的输入和具有高概率的输入。在图的属性测试中,距离是通过将图转换为具有属性p的图所必需的边修改(添加或删除)的数量来测量的。许多研究都集中在这类算法的查询复杂性上,即算法对输入的查询次数,但从应用角度来看,算法的运行时间同样相关。在(Adler, Harwath, STACS 2018)中,将属性测试的有界度图模型自然扩展到有界度关系数据库,并证明了在有界度和有界树宽的数据库上,每个可用一元二阶计数逻辑(CMSO)表示的属性都是可测试的,查询复杂度不变,运行时间次线性。是否可以将其改进为恒定的运行时间仍然是开放的。在本文中,我们引入了一个新的模型,该模型基于有界度模型,但距离度量允许边(元组)修改和顶点(元素)修改。我们证明了在经典模型中可测试的每一个属性在我们的模型中都是可测试的,并且具有相同的查询复杂度和运行时间,但反之并非如此。我们的主要定理表明,在有界度和有界树宽的数据库上,在新模型中,在查询复杂度和运行时间不变的情况下,CMSO中可表示的所有属性都是可测试的。我们的证明方法包括数据库的邻域直方图的半线性,具有以下性质和Alon的结果(Lovász, Large networks and graph limits, 2012中的命题19.10),该结果表明,对于每个有界度图\(\mathcal {G}\),存在一个恒定大小的图\(\mathcal {H}\),其邻域分布与\(\mathcal {G}\)相似。在经典模型中(因此在新模型中),超有限遗传特性在恒定的查询复杂度和恒定的运行时间下是可测试的。利用我们的方法,我们给出了一种替代证明,证明在新模型中,超有限遗传性质在查询复杂度和运行时间不变的情况下是可测试的。我们认为我们的模型是自然的,我们的元定理显示恒定时间CMSO可测试性支持这一点。
Faster Property Testers in a Variation of the Bounded Degree Model
Property testing algorithms are highly efficient algorithms that come with probabilistic accuracy guarantees. For a property P, the goal is to distinguish inputs that have P from those that are far from having P with high probability correctly, by querying only a small number of local parts of the input. In property testing on graphs, the distance is measured by the number of edge modifications (additions or deletions) that are necessary to transform a graph into one with property P. Much research has focused on the query complexity of such algorithms, i. e., the number of queries the algorithm makes to the input, but in view of applications, the running time of the algorithm is equally relevant.
In (Adler, Harwath, STACS 2018), a natural extension of the bounded degree graph model of property testing to relational databases of bounded degree was introduced, and it was shown that on databases of bounded degree and bounded tree-width, every property that is expressible in monadic second-order logic with counting (CMSO) is testable with constant query complexity and sublinear running time. It remains open whether this can be improved to constant running time.
In this article we introduce a new model, which is based on the bounded degree model, but the distance measure allows both edge (tuple) modifications and vertex (element) modifications. We show that every property that is testable in the classical model is testable in our model with the same query complexity and running time, but the converse is not true. Our main theorem shows that on databases of bounded degree and bounded tree-width, every property that is expressible in CMSO is testable with constant query complexity and constant running time in the new model. Our proof methods include the semilinearity of the neighborhood histograms of databases having the property and a result by Alon (Proposition 19.10 in Lovász, Large networks and graph limits, 2012) that states that for every bounded degree graph \(\mathcal {G}\) there exists a constant size graph \(\mathcal {H}\) that has a similar neighborhood distribution to \(\mathcal {G}\).
It can be derived from a result in (Benjamini et al., Advances in Mathematics 2010) that hyperfinite hereditary properties are testable with constant query complexity and constant running time in the classical model (and hence in the new model). Using our methods, we give an alternative proof that hyperfinite hereditary properties are testable with constant query complexity and constant running time in the new model.
We argue that our model is natural and our meta-theorem showing constant-time CMSO testability supports this.
期刊介绍:
TOCL welcomes submissions related to all aspects of logic as it pertains to topics in computer science. This area has a great tradition in computer science. Several researchers who earned the ACM Turing award have also contributed to this field, namely Edgar Codd (relational database systems), Stephen Cook (complexity of logical theories), Edsger W. Dijkstra, Robert W. Floyd, Tony Hoare, Amir Pnueli, Dana Scott, Edmond M. Clarke, Allen E. Emerson, and Joseph Sifakis (program logics, program derivation and verification, programming languages semantics), Robin Milner (interactive theorem proving, concurrency calculi, and functional programming), and John McCarthy (functional programming and logics in AI).
Logic continues to play an important role in computer science and has permeated several of its areas, including artificial intelligence, computational complexity, database systems, and programming languages.
The Editorial Board of this journal seeks and hopes to attract high-quality submissions in all the above-mentioned areas of computational logic so that TOCL becomes the standard reference in the field.
Both theoretical and applied papers are sought. Submissions showing novel use of logic in computer science are especially welcome.