CS Paper Radar

Testable Testing: Distribution-Robust Property Testing

Xi Chen, Renato Ferreira Pinto, Nathaniel Harms, Rocco A. Servedio

cs.DS ·submitted 2026-11-20 03:06 UTC · v1
publishedhot direction

Abstract

We introduce a new model for property testing of Boolean functions, which we call distribution-robust testing. Distribution-robust testing is motivated by the hope of designing testers whose output can be trusted even when the underlying probability distribution does not satisfy the assumptions of the tester, while still being more efficient than distribution-free testers that make no assumptions at all. The purpose of this paper is to perform a broad initial exploration of this new model. In particular, we present a variety of general algorithmic techniques, which we apply to show that several well-studied properties admit distribution-robust testers that are significantly more efficient than their distribution-free counterparts. For example, we obtain constant-query distribution-robust testers for conjunctions, decision lists, and unions of intervals, all of which are known to require significantly more queries in the distribution-free model. These encouraging results suggest a range of questions for future work.

Comment
51 pages. To appear at ITCS 2027

Closest papers

Nearest neighbours by meaning across the whole index.

Distribution-Robust Halfspace Testing

cs.DS ·2026-11-20 ·Xi Chen, Renato Ferreira Pinto, Nathaniel Harms, Rocco A. Servedio
theory similarity 0.74
Abstract · 60 pages

Standard property testing algorithms are typically designed either for a specific input distribution (distribution-specific algorithms) or for an arbitrary unknown distribution (distribution-free algorithms). Halfspaces are an important example where distribution-specific testers can be extremely efficient, while distribution-free testers are expensive and essentially require learning. We introduce an intermediate type of algorithm, a distribution-robust halfspace tester, which must provide the same guarantees as a distribution-specific tester when the input distribution is the one specified, but must also provide a trustworthy answer under arbitrary distributions. This is achieved by allowing the tester to report that its input distribution is not what it expected (inspired by the recent testable learning framework of Rubinfeld and Vasilyan). We prove that distribution-robust testing of halfspaces under the standard Gaussian requires only $O(n^{2/3})$ queries, compared to the known $\widetilde Ω(n)$ required for distribution-free testing. We also prove that sample-based distribution-robust testing of halfspaces is harder than sample-based testing under the standard Gaussian, requiring at least $Ω(n^{2/3})$ samples compared to the known $\widetilde Θ(\sqrt n)$ bound for the latter. In fact, we show that the latter $\widetilde Θ(\sqrt n)$ bound becomes $Ω(n^{2/3})$ when the covariance matrix is only mildly perturbed.

0.46

Verification of Statistical Properties: Redefining the Possible

cs.CC ·2026-11-20 ·Clément Canonne, Sam Polgar, Aditya Vikram Singh, Aravind Thyagarajan, Qiping Yang
similarity 0.61
Abstract

We revisit the setting of Interactive Proof Systems for Distribution Testing, introduced by Chiesa and Gur (2018), showing that a simple twist on the task requirements may lead to dramatic improvements, allowing verifiers with constant sample complexity. We define and investigate the multi-prover and zero-knowledge versions of these interactive proof systems, using as flagship example the task of farness verification - the "dual" version of closeness testing. We hope our results will inspire others to investigate and analyze the power and limitations of multiple provers for distribution verification.

0.43

Underpinning Property-Based Testing

cs.PL ·2026-11-16 ·Ernest Ng, Segev Elazar Mittelman, Joshua M. Cohen, Katherine Hough, Michael Hicks +1 more
theory similarity 0.59
Abstract

As the property-based testing community strives to automate challenging parts of the process away from users --- in particular, the construction of generators --- it is critical that we can clearly state what it means for that automation to be correct. We present a new framework for PBT, implemented in the Lean theorem prover, that provides a more solid foundation to build on. Our generators are interpretable: interpreted one way, they can be run efficiently as programs that sample randomness; and interpreted another way, they enable a wide range of correctness proofs, including proofs about distributions that other foundational PBT models do not support. We evaluate our framework extensively, with both small and large benchmarks and case studies, arguing that the extra power brought by distributional proofs is practically important for the next generation of generator automation.

0.29

Testing Implies Distance Estimation with Polynomial Loss

cs.DS math.CO ·2026-11-03 ·Gaia Carenini, Cameron Seth
similarity 0.59
Abstract

A tester decides whether a graph has a property or is far from having it. A distance estimator asks for more: it must approximately determine how many edges need to be changed. A property is said to be testable if there is a tester with a number of queries bounded independently of the graph's order for each conceivable distance. Similarly, if a property admits an estimator with a number of queries bounded independently of the graph's order, it is said to be estimable. Fischer and Newman proved that, in the dense graph model, every testable property is also estimable. We show that the passage from testing to estimation requires only a polynomial increase in query complexity. This resolves a long-standing open problem in property testing, previously tackled by Fiat and Ron, by Hoppen, Kohayakawa, Lang, Lefmann, and Stagni, and by Gishboliner, Kushnir, and Shapira.

0.27

Privacy-Preserving Robustness-Guided Testing

cs.CR cs.LO ·2026-10-20 ·Charles Koll, Houssam Abbas, Mike Rosulek
published similarity 0.57
Abstract · 5 pages, 3 figures, presented at IEEE/ACM Embedded Systems Week (ESWEEK) 2026 for ACM SIGBED International Conference on Embedded Software (…

In industries like semi-conductors and aerospace, it is common for the design company to contract out part of the testing process to a Testing-as-a-Service (TaaS) company. In such a setup, both parties want to keep their intellectual property private (i.e. unknown to the other party): namely the design and its output traces for the designer, and the detailed correctness specifications for the tester. We demonstrate a practical way for conducting provably private TaaS using a cryptographically secure multi-party computation protocol. We do so for the common setup where the specification is in Signal Temporal Logic, and testing is done using robustness-guided falsification. Our implementation carefully separates the steps of falsification, and manages to be $\textit{maximally secure}$, in the sense that the parties learn the absolutely minimum necessary for falsification. For up to a 100-dimensional input search space, the generation of one test takes less than 80 msec, and the overhead of the privacy-preserving protocol is less than 6x. These numbers mean that privacy-preserving TaaS is practical, thus enabling TaaS in security-sensitive industries.

0.19

Learning the Robustness Mechanism with Bilevel Optimization

cs.LG ·2026-09-28 ·Yiyang Shen, Qihang Lin, Weiran Wang
similarity 0.57
Abstract

We propose a distributionally robust learning framework where parameters defining the robustness mechanism are learned from held-out data instead of extensively tuned. Using bilevel optimization with both upper and lower level minimax problems, we create two instances of our framework to tackle setups with and without group labels in the training set. Theoretically, we provide sample complexity analysis for our robustness mechanism learning paradigm, showing that it achieves generalization guarantees comparable to exhaustive grid search while being more computationally efficient. Empirically, we evaluate our framework under a challenging setup when both intra-group and inter-group test distribution shifts occur at the same time, thereby demonstrating the efficacy and scalability of our method.

0.31

Derandomized Sunflowers and Radical Lower Bounds

cs.CC math.CO ·2026-11-17 ·Bruno Cavalar, Théo Borém Fabris, Partha Mukhopadhyay, Srikanth Srinivasan, Amir Yehudayoff
publishedtheory similarity 0.55
Abstract · Full version of FOCS 2026 paper

Robust Sunflower lemmas imply that any large enough monotone DNF of width $w$ contains a sunflower, i.e., a DNF equivalent to the conjunction of a common core with a DNF that is heavily biased towards $1$. While these lemmas are typically proved in the context of the uniform distribution or i.i.d. distributions, they also hold for $O(w^2)$-wise independent distributions by Bazzi's theorem (Bazzi (SICOMP 2009); Tal (CCC 2017)), which states that width-$w$ DNFs cannot distinguish between such distributions and the uniform distribution. We prove a derandomization of robust sunflower lemmas for $O(w)$-wise independent distributions, which recovers the derandomization above with slightly weaker parameters. Notably, our result also holds for distributions whose marginals are "locally independent" and "approximately identically" distributed. It is not known whether such distributions fool general DNFs, which makes the derandomization via DNF-fooling techniques unavailable. Our proof of this derandomization is via the method of moments, which might be of independent interest. We apply this result to obtain improved separations between non-monotone arithmetic circuits and the radical of monotone circuits. Specifically, we construct an explicit family of multilinear polynomials $P_n$ that have small non-monotone arithmetic circuits such that any power of $P_n$ cannot be computed by monotone arithmetic circuits of sub-exponential size. This improves on a recent result of Cavalar, Fabris, Mukhopadhyay, Srinivasan and Yehudayoff (STOC 2026), who proved a non-explicit separation that was quasipolynomial. Our construction uses Nisan-Wigderson designs with an additional linear-algebraic expansion property.

0.59

Testability of Homomorphism Inadmissibility: Property Testing Meets Database Theory

cs.DB cs.CCcs.DS ·2026-11-19 ·Hubie Chen, Yuichi Yoshida
top venue similarity 0.55
Abstract · Version of an article that appeared in PODS '19

In this paper, we utilize the perspective of property testing to consider the testability of relational database queries. A primary motivation is the desire to avoid reading an entire database to decide a property thereof. We focus on conjunctive queries, which are the most basic and heavily studied database queries. Each conjunctive query can be represented as a relational structure $\mathbf{A}$ such that deciding if the conjunctive query is satisfied by a relational structure $\mathbf{B}$ is equivalent to deciding if there exists a homomorphism from $\mathbf{A}$ to $\mathbf{B}$. We phrase our results in terms of homomorphisms. Precisely, we study, for each relational structure $\mathbf{A}$, the testability of homomorphism inadmissibility from $\mathbf{A}$. We consider algorithms that have oracle access to an input relational structure $\mathbf{B}$ and that distinguish, with high probability, the case where there is no homomorphism from $\mathbf{A}$ to $\mathbf{B}$, from the case where one needs to remove a constant fraction of tuples from $\mathbf{B}$ in order to suppress all such homomorphisms. We provide a complete characterization of the structures $\mathbf{A}$ from which one can test homomorphism inadmissibility with one-sided error by making a constant number of queries to $\mathbf{B}$. Our characterization shows that homomorphism inadmissibility from $\mathbf{A}$ is constant-query testable with one-sided error if and only if the core of $\mathbf{A}$ is $α$-acyclic. We also show that the injective version of the problem is constant-query testable with one-sided error if $\mathbf{A}$ is $α$-acyclic; this result generalizes existing results for testing subgraph-freeness in the general graph model.

0.38