18 research outputs found

    Monotonicity Testing for Boolean Functions over Graph Products

    Get PDF
    We establish a directed analogue of Chung and Tetali's isoperimetric inequality for graph products. We use this inequality to obtain new bounds on the query complexity for testing monotonicity of Boolean-valued functions over products of general posets

    Isoperimetric Inequalities for Real-Valued Functions with Applications to Monotonicity Testing

    Get PDF
    We generalize the celebrated isoperimetric inequality of Khot, Minzer, and Safra (SICOMP 2018) for Boolean functions to the case of real-valued functions f:{0,1}^d ? ?. Our main tool in the proof of the generalized inequality is a new Boolean decomposition that represents every real-valued function f over an arbitrary partially ordered domain as a collection of Boolean functions over the same domain, roughly capturing the distance of f to monotonicity and the structure of violations of f to monotonicity. We apply our generalized isoperimetric inequality to improve algorithms for testing monotonicity and approximating the distance to monotonicity for real-valued functions. Our tester for monotonicity has query complexity O?(min(r ?d,d)), where r is the size of the image of the input function. (The best previously known tester makes O(d) queries, as shown by Chakrabarty and Seshadhri (STOC 2013).) Our tester is nonadaptive and has 1-sided error. We prove a matching lower bound for nonadaptive, 1-sided error testers for monotonicity. We also show that the distance to monotonicity of real-valued functions that are ?-far from monotone can be approximated nonadaptively within a factor of O(?{d log d}) with query complexity polynomial in 1/? and the dimension d. This query complexity is known to be nearly optimal for nonadaptive algorithms even for the special case of Boolean functions. (The best previously known distance approximation algorithm for real-valued functions, by Fattal and Ron (TALG 2010) achieves O(d log r)-approximation.

    Optimal Unateness Testers for Real-Valued Functions: Adaptivity Helps

    Get PDF
    We study the problem of testing unateness of functions f:{0,1}^d -> R. We give an O(d/epsilon . log(d/epsilon))-query nonadaptive tester and an O(d/epsilon)-query adaptive tester and show that both testers are optimal for a fixed distance parameter epsilon. Previously known unateness testers worked only for Boolean functions, and their query complexity had worse dependence on the dimension both for the adaptive and the nonadaptive case. Moreover, no lower bounds for testing unateness were known. We generalize our results to obtain optimal unateness testers for functions f:[n]^d -> R. Our results establish that adaptivity helps with testing unateness of real-valued functions on domains of the form {0,1}^d and, more generally, [n]^d. This stands in contrast to the situation for monotonicity testing where there is no adaptivity gap for functions f:[n]^d -> R

    Nearly Optimal Bounds for Sample-Based Testing and Learning of kk-Monotone Functions

    Full text link
    We study monotonicity testing of functions f ⁣:{0,1}d{0,1}f \colon \{0,1\}^d \to \{0,1\} using sample-based algorithms, which are only allowed to observe the value of ff on points drawn independently from the uniform distribution. A classic result by Bshouty-Tamon (J. ACM 1996) proved that monotone functions can be learned with exp(O(min{1εd,d}))\exp(O(\min\{\frac{1}{\varepsilon}\sqrt{d},d\})) samples and it is not hard to show that this bound extends to testing. Prior to our work the only lower bound for this problem was Ω(exp(d)/ε)\Omega(\sqrt{\exp(d)/\varepsilon}) in the small ε\varepsilon parameter regime, when ε=O(d3/2)\varepsilon = O(d^{-3/2}), due to Goldreich-Goldwasser-Lehman-Ron-Samorodnitsky (Combinatorica 2000). Thus, the sample complexity of monotonicity testing was wide open for εd3/2\varepsilon \gg d^{-3/2}. We resolve this question, obtaining a tight lower bound of exp(Ω(min{1εd,d}))\exp(\Omega(\min\{\frac{1}{\varepsilon}\sqrt{d},d\})) for all ε\varepsilon at most a sufficiently small constant. In fact, we prove a much more general result, showing that the sample complexity of kk-monotonicity testing and learning for functions f ⁣:{0,1}d[r]f \colon \{0,1\}^d \to [r] is exp(Θ(min{rkεd,d}))\exp(\Theta(\min\{\frac{rk}{\varepsilon}\sqrt{d},d\})). For testing with one-sided error we show that the sample complexity is exp(Θ(d))\exp(\Theta(d)). Beyond the hypercube, we prove nearly tight bounds (up to polylog factors of d,k,r,1/εd,k,r,1/\varepsilon in the exponent) of exp(Θ~(min{rkεd,d}))\exp(\widetilde{\Theta}(\min\{\frac{rk}{\varepsilon}\sqrt{d},d\})) on the sample complexity of testing and learning measurable kk-monotone functions f ⁣:Rd[r]f \colon \mathbb{R}^d \to [r] under product distributions. Our upper bound improves upon the previous bound of exp(O~(min{kε2d,d}))\exp(\widetilde{O}(\min\{\frac{k}{\varepsilon^2}\sqrt{d},d\})) by Harms-Yoshida (ICALP 2022) for Boolean functions (r=2r=2)

    Parameterized Property Testing of Functions

    Get PDF
    We investigate the parameters in terms of which the complexity of sublinear-time algorithms should be expressed. Our goal is to find input parameters that are tailored to the combinatorics of the specific problem being studied and design algorithms that run faster when these parameters are small. This direction enables us to surpass the (worst-case) lower bounds, expressed in terms of the input size, for several problems. Our aim is to develop a similar level of understanding of the complexity of sublinear-time algorithms to the one that was enabled by research in parameterized complexity for classical algorithms. Specifically, we focus on testing properties of functions. By parameterizing the query complexity in terms of the size r of the image of the input function, we obtain testers for monotonicity and convexity of functions of the form f:[n]to mathbb{R} with query complexity O(log r), with no dependence on n. The result for monotonicity circumvents the Omega(log n) lower bound by Fischer (Inf. Comput., 2004) for this problem. We present several other parameterized testers, providing compelling evidence that expressing the query complexity of property testers in terms of the input size is not always the best choice

    An ~O(n) Queries Adaptive Tester for Unateness

    Get PDF
    We present an adaptive tester for the unateness property of Boolean functions. Given a function f:{0,1}^n -> {0,1} the tester makes O(n log(n)/epsilon) adaptive queries to the function. The tester always accepts a unate function, and rejects with probability at least 0.9 if a function is epsilon-far from being unate

    Erasure-Resilient Property Testing

    Get PDF
    Property testers form an important class of sublinear algorithms. In the standard property testing model, an algorithm accesses the input function f:D -> R via an oracle. With very few exceptions, all property testers studied in this model rely on the oracle to provide function values at all queried domain points. However, in many realistic situations, the oracle may be unable to reveal the function values at some domain points due to privacy concerns, or when some of the values get erased by mistake or by an adversary. The testers do not learn anything useful about the property by querying those erased points. Moreover, the knowledge of a tester may enable an adversary to erase some of the values so as to increase the query complexity of the tester arbitrarily or, in some cases, make the tester entirely useless. In this work, we initiate a study of property testers that are resilient to the presence of adversarially erased function values. An alpha-erasure-resilient epsilon-tester is given parameters alpha, epsilon in (0,1), along with oracle access to a function f such that at most an alpha fraction of function values have been erased. The tester does not know whether a value is erased until it queries the corresponding domain point. The tester has to accept with high probability if there is a way to assign values to the erased points such that the resulting function satisfies the desired property P. It has to reject with high probability if, for every assignment of values to the erased points, the resulting function has to be changed in at least an epsilon-fraction of the non-erased domain points to satisfy P. We design erasure-resilient property testers for a large class of properties. For some properties, it is possible to obtain erasure-resilient testers by simply using standard testers as a black box. However, there are more challenging properties for which all known testers rely on querying a specific point. If this point is erased, all these testers break. We give efficient erasure-resilient testers for several important classes of such properties of functions including monotonicity, the Lipschitz property, and convexity. Finally, we show a separation between the standard testing and erasure-resilient testing. Specifically, we describe a property that can be epsilon-tested with O(1/epsilon) queries in the standard model, whereas testing it in the erasure-resilient model requires number of queries polynomial in the input size
    corecore