Abstract
We consider distribution-free property-testing of graph connectivity. In this setting of property testing, the distance between functions is measured with respect to a fixed but unknown distribution D on the domain, and the testing algorithm has an oracle access to random sampling from the domain according to this distribution D. This notion of distribution-free testing was previously defined, and testers were shown for very few properties. However, no distribution-free property testing algorithm was known for any graph property.
We present the first distribution-free testing algorithms for one of the central properties in this area—graph connectivity (specifically, the problem is mainly interesting in the case of sparse graphs). We introduce three testing models for sparse graphs:
-
•
A model for bounded-degree graphs,
-
•
A model for graphs with a bound on the total number of edges (both models were already considered in the context of uniform distribution testing), and
-
•
A model which is a combination of the two previous testing models; i.e., bounded-degree graphs with a bound on the total number of edges.
We prove that connectivity can be tested in each of these testing models, in a distribution-free manner, using a number of queries that is independent of the size of the graph. This is done by providing a new analysis to previously known connectivity testers (from “standard”, uniform distribution property-testing) and by introducing some new testers.
Similar content being viewed by others
References
Alon, N., Shapira, A.: Testing satisfiability. J. Algorithms 47(2), 87–103 (2003) (also appeared in SODA, pp. 645–654, 2002)
Alon, N., Shapira, A.: Testing subgraphs in directed graphs. J. Comput. Syst. Sci. 69(3), 354–382 (2004) (also appeared in STOC, pp. 700–709, 2003)
Alon, N., Shapira, A.: A characterization of easily testable induced subgraphs. SODA, pp. 942–951 (2004)
Alon, N., Shapira, A.: A characterization of the (natural) graph properties testable with one-sided error. FOCS, pp. 429–438 (2005)
Alon, N., Shapira, A.: Every monotone graph property is testable. STOC, pp. 128–137 (2005)
Alon, N., Fischer, E., Krivelevich, M., Szegedy, M.: Efficient testing of large graphs. Combinatorica 20(4), 451–476 (2000) (also appeared in FOCS, pp. 656–666, 1999)
Alon, N., Krivelevich, M., Newman, I., Szegedy, M.: Regular languages are testable with a constant number of queries. SIAM J. Comput. 30, 1842–1862 (2001) (also appeared in FOCS, pp. 645–655, 1999)
Alon, N., Dar, S., Parnas, M., Ron, D.: Testing of clustering. SIAM J. Discrete Math. 16(3), 393–417 (2003) (also appeared in FOCS, pp. 240–251, 2001)
Alon, N., Kaufman, T., Krivelevich, M., Litsyn, S., Ron, D.: Testing low-degree polynomials over GF(2). RANDOM-APPROX, pp. 188–199 (2003)
Alon, N., Kaufman, T., Krivelevich, M., Ron, D.: Testing triangle-freeness in general graphs. SODA, pp. 279–288 (2006)
Arora, S., Sudan, M.: Improved low-degree testing and its applications. Combinatorica 23(3), 365–426 (2003) (also appeared in STOC, pp. 485–495, 1997)
Batu, T., Rubinfeld, R., White, P.: Fast approximation PCPs for multidimensional bin-packing problems. Inf. Comput. 196(1), 42–56 (2005) (also appeared in RANDOM-APPROX, pp. 246–256, 1999)
Blum, M., Luby, M., Rubinfeld, R.: Self testing/correcting with applications to numerical problems. J. Comput. Syst. Sci. 47, 549–595 (1993)
Bogdanov, A., Obata, K., Trevisan, L.: A lower bound for testing 3-colorability in bounded-degree graphs. FOCS, pp. 93–102 (2002)
Czumaj, A., Sohler, C.: Testing hypergraph colorability. Theor. Comput. Sci. 331(1), 37–52 (2005) (also appeared in ICALP, pp. 493–505, 2001)
Dodis, Y., Goldreich, O., Lehman, E., Raskhodnikova, S., Ron, D., Samorodnitsky, A.: Improved testing algorithms for monotonicity. RANDOM-APPROX, pp. 97–108 (1999)
Ergün, F., Kannan, S., Kumar, R., Rubinfeld, R., Viswanathan, M.: Spot-checkers. J. Comput. Syst. Sci. 60, 717–751 (2000) (a preliminary version appeared in STOC, 1998)
Fischer, E.: On the strength of comparisons in property testing. Manuscript, available at ECCC TR00-083
Fischer, E.: The art of uninformed decisions: a primer to property testing. Comput. Complex. Column Bull. Eur. Assoc. Theor. Comput. Sci. 75, 97–126 (2001)
Fischer, E., Newman, I.: Testing of matrix properties. STOC, pp. 286–295 (2001)
Fischer, E., Lehman, E., Newman, I., Raskhodnikova, S., Rubinfeld, R., Samorodnitsky, A.: Monotonicity testing over general poset domains. STOC, pp. 474–483 (2002)
Fischer, E., Kindler, G., Ron, D., Safra, S., Samorodnitsky, A.: Testing juntas. J. Comput. Syst. Sci. 68(4), 753–787 (2004) (also appeared in FOCS, pp. 103–112, 2001)
Gemmell, P., Lipton, R., Rubinfeld, R., Sudan, M., Wigderson, A.: Self testing/correcting for polynomials and for approximate functions. J. Comput. Syst. Sci. 47(3), 549–595 (1993) (also appeared in STOC, pp. 32–42, 1991)
Goldreich, O.: Combinatorical property testing—a survey. In: Pardalos, P., Rajasekaran, S., Rolim, J. (eds.) Randomized Methods in Algorithms Design. AMS-DIMACS, pp. 45–61 (1998)
Goldreich, O., Ron, D.: On testing expansion in bounded-degree graphs. Electron. Colloq. Comput. Complex. 7(20) (2000)
Goldreich, O., Ron, D.: Property testing in bounded degree graphs. Algorithmica 32(2), 302–343 (2002) (also appeared in STOC, pp. 406–415, 1997)
Goldreich, O., Trevisan, L.: Three theorems regarding testing graph properties. Random Struct. Algorithms 23(1), 23–57 (2003) (also appeared in FOCS, pp. 302–317, 2001)
Goldreich, O., Goldwasser, S., Ron, D.: Property testing and its connection to learning and approximation. JACM 45(4), 653–750 (1998) (a preliminary version appeared in FOCS, 1996)
Goldreich, O., Goldwasser, S., Lehman, E., Ron, D., Samorodnitsky, A.: Testing monotonicity. Combinatorica 20(3), 301–337 (2000) (a preliminary version appeared in FOCS, 1998)
Halevy, S., Kushilevitz, E.: Distribution free property testing. RANDOM-APPROX, pp. 341–353 (2003)
Halevy, S., Kushilevitz, E.: Testing monotonicity over graph products. ICALP, pp. 721–732 (2004)
Kaufman, T., Krivelevich, M., Ron, D.: Tight bounds for testing bipartiteness in general graphs. SIAM J. Comput. 33(6), 1441–1483 (2004) (also appeared in RANDOM-APPROX, pp. 341–353, 2003)
Kohayakawa, Y., Nagle, B., Rodl, V.: Efficient testing of hypergraphs. ICALP, pp. 1017–1028 (2002)
Newman, I.: Testing of functions that have small width branching programs. SIAM J. Comput. 31(5), 1557–1570 (2002) (also appeared in FOCS, pp. 251–258, 2000)
Parnas, M., Ron, D.: Testing the diameter of graphs. Random Struct. Algorithms 20(2), 165–183 (2002) (also appeared in RANDOM-APPROX, pp. 85–96, 1999)
Parnas, M., Ron, D.: Testing metric properties. Inf. Comput. 187(2), 155–195 (2003) (also appeared in STOC, pp. 276–285, 2001)
Parnas, M., Ron, D., Samorodnitsky, A.: Proclaiming dictators and juntas or testing boolean formulae. RANDOM-APPROX, pp. 273–284 (2001)
Parnas, M., Ron, D., Rubinfeld, R.: Testing membership in parenthesis languages. Random Struct. Algorithms 22(1), 98–138 (2003) (also appeared in RANDOM-APPROX, pp. 261–272, 2001)
Ron, D.: Property testing (a tutorial). In: Rajasekaran, S., Pardalos, P.M., Reif, J.H., Rolin, J.D.P. (eds.) Handbook of Randomized Computing. Kluwer Academic, Dordrecht (2001)
Rubinfeld, R.: Robust functional equations and their applications to program testing. SIAM J. Comput. 28(6), 1972–1997 (1999) (appeared in FOCS, 1994)
Rubinfeld, R., Sudan, M.: Robust characterization of polynomials with applications to program testing. SIAM J. Comput. 25(2), 252–271 (1996) (first appeared as a technical report, Cornell University, 1993)
Author information
Authors and Affiliations
Corresponding author
Additional information
An extended abstract of this work appeared in the proceedings of RANDOM-APPROX 2004.
Rights and permissions
About this article
Cite this article
Halevy, S., Kushilevitz, E. Distribution-Free Connectivity Testing for Sparse Graphs. Algorithmica 51, 24–48 (2008). https://doi.org/10.1007/s00453-007-9054-1
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-007-9054-1