Online Versus Offline Adversaries in Property Testing

Authors Esty Kelman , Ephraim Linder , Sofya Raskhodnikova



PDF
Thumbnail PDF

File

LIPIcs.ITCS.2025.65.pdf
  • Filesize: 0.79 MB
  • 18 pages

Document Identifiers

Author Details

Esty Kelman
  • Boston University, MA, USA
  • Massachusetts Institute of Technology, Cambridge, MA, USA
Ephraim Linder
  • Boston University, MA, USA
Sofya Raskhodnikova
  • Boston University, MA, USA

Acknowledgements

The authors thank Uri Meir for fruitful discussions regarding the online model.

Cite As Get BibTex

Esty Kelman, Ephraim Linder, and Sofya Raskhodnikova. Online Versus Offline Adversaries in Property Testing. In 16th Innovations in Theoretical Computer Science Conference (ITCS 2025). Leibniz International Proceedings in Informatics (LIPIcs), Volume 325, pp. 65:1-65:18, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2025) https://doi.org/10.4230/LIPIcs.ITCS.2025.65

Abstract

We study property testing with incomplete or noisy inputs. The models we consider allow for adversarial manipulation of the input, but differ in whether the manipulation can be done only offline, i.e., before the execution of the algorithm, or online, i.e., as the algorithm runs. The manipulations by an adversary can come in the form of erasures or corruptions. We compare the query complexity and the randomness complexity of property testing in the offline and online models. Kalemaj, Raskhodnikova, and Varma (Theory Comput. `23) provide properties that can be tested with a small number of queries with offline erasures, but cannot be tested at all with online erasures. We demonstrate that the two models are incomparable in terms of query complexity: we construct properties that can be tested with a constant number of queries in the online corruption model, but require querying a significant fraction of the input in the offline erasure model. We also construct properties that exhibit a strong separation between the randomness complexity of testing in the presence of offline and online adversaries: testing these properties in the online model requires exponentially more random bits than in the offline model, even when they are tested with nearly the same number of queries in both models. Our randomness separation relies on a novel reduction from randomness-efficient testers in the adversarial online model to query-efficient testers in the standard model.

Subject Classification

ACM Subject Classification
  • Theory of computation → Streaming, sublinear and near linear time algorithms
Keywords
  • Property Testing
  • Online Adversary
  • Offline Adversary
  • Query Complexity
  • Randomness Complexity
  • Separations

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Tomer Adar and Eldar Fischer. Refining the adaptivity notion in the huge object model. In Amit Kumar and Noga Ron-Zewi, editors, Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, APPROX/RANDOM 2024, August 28-30, 2024, London School of Economics, London, UK, volume 317 of LIPIcs, pages 45:1-45:16. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2024. URL: https://doi.org/10.4230/LIPICS.APPROX/RANDOM.2024.45.
  2. Tomer Adar, Eldar Fischer, and Amit Levi. Support testing in the huge object model. In Amit Kumar and Noga Ron-Zewi, editors, Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, APPROX/RANDOM 2024, August 28-30, 2024, London School of Economics, London, UK, volume 317 of LIPIcs, pages 46:1-46:16. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2024. URL: https://doi.org/10.4230/LIPICS.APPROX/RANDOM.2024.46.
  3. Vipul Arora, Esty Kelman, and Uri Meir. On optimal testing of linearity. In Symposium on Simplicity in Algorithms (SOSA). SIAM, 2025. To appear. Google Scholar
  4. Aleksandrs Belovs. Adaptive lower bound for testing monotonicity on the line. In Proceedings of Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM), pages 31:1-31:10, 2018. URL: https://doi.org/10.4230/LIPIcs.APPROX-RANDOM.2018.31.
  5. Omri Ben-Eliezer, Eldar Fischer, Amit Levi, and Ron D. Rothblum. Hard properties with (very) short PCPPs and their applications. In Proceedings, Innovations in Theoretical Computer Science (ITCS), pages 9:1-9:27, 2020. URL: https://doi.org/10.4230/LIPIcs.ITCS.2020.9.
  6. Omri Ben-Eliezer, Esty Kelman, Uri Meir, and Sofya Raskhodnikova. Property testing with online adversaries. In Venkatesan Guruswami, editor, 15th Innovations in Theoretical Computer Science Conference, ITCS 2024, January 30 to February 2, 2024, Berkeley, CA, USA, volume 287 of LIPIcs, pages 11:1-11:25. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2024. URL: https://doi.org/10.4230/LIPICS.ITCS.2024.11.
  7. Arnab Bhattacharyya, Elena Grigorescu, Kyomin Jung, Sofya Raskhodnikova, and David P. Woodruff. Transitive-closure spanners. SIAM Journal on Computing, 41(6):1380-1425, 2012. URL: https://doi.org/10.1137/110826655.
  8. Deeparnab Chakrabarty and C. Seshadhri. An optimal lower bound for monotonicity testing over hypergrids. Theory of Computing, 10:453-464, 2014. URL: https://doi.org/10.4086/toc.2014.v010a017.
  9. Kashyap Dixit, Sofya Raskhodnikova, Abhradeep Thakurta, and Nithin Varma. Erasure-resilient property testing. SIAM Journal on Computing, 47(2):295-329, 2018. URL: https://doi.org/10.1137/16M1075661.
  10. Yevgeniy Dodis, Oded Goldreich, Eric Lehman, Sofya Raskhodnikova, Dana Ron, and Alex Samorodnitsky. Improved testing algorithms for monotonicity. In Proceedings of Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM), pages 97-108, 1999. URL: https://doi.org/10.1007/978-3-540-48413-4_10.
  11. Funda Ergün, Sampath Kannan, Ravi Kumar, Ronitt Rubinfeld, and Mahesh Viswanathan. Spot-checkers. J. Comput. Syst. Sci., 60(3):717-751, 2000. URL: https://doi.org/10.1006/JCSS.1999.1692.
  12. Eldar Fischer. On the strength of comparisons in property testing. Inf. Comput., 189(1):107-116, 2004. URL: https://doi.org/10.1016/j.ic.2003.09.003.
  13. Eldar Fischer and Lance Fortnow. Tolerant versus intolerant testing for boolean properties. Theory Comput., 2(9):173-183, 2006. URL: https://doi.org/10.4086/TOC.2006.V002A009.
  14. Oded Goldreich. Introduction to property testing. Cambridge University Press, 2017. URL: https://doi.org/10.1017/9781108135252.
  15. Oded Goldreich, Shafi Goldwasser, and Dana Ron. Property testing and its connection to learning and approximation. J. ACM, 45(4):653-750, 1998. URL: https://doi.org/10.1145/285055.285060.
  16. Oded Goldreich and Dana Ron. On sample-based testers. In Tim Roughgarden, editor, Proceedings of the 2015 Conference on Innovations in Theoretical Computer Science, ITCS 2015, Rehovot, Israel, January 11-13, 2015, pages 337-345. ACM, 2015. URL: https://doi.org/10.1145/2688073.2688080.
  17. Oded Goldreich and Dana Ron. Testing distributions of huge objects. CoRR, abs/2212.12802, 2022. URL: https://doi.org/10.48550/arXiv.2212.12802.
  18. Oded Goldreich and Or Sheffet. On the randomness complexity of property testing. Computational Complexity, 19:99-133, 2010. URL: https://doi.org/10.1007/S00037-009-0282-4.
  19. Madhav Jha and Sofya Raskhodnikova. Testing and reconstruction of Lipschitz functions with applications to data privacy. SIAM Journal on Computing, 42(2):700-731, 2013. URL: https://doi.org/10.1137/110840741.
  20. Renato Ferreira Pinto Jr. and Nathaniel Harms. Testing support size more efficiently than learning histograms. CoRR, 2024. https://arxiv.org/abs/2410.18915, URL: https://doi.org/10.48550/arXiv.2410.18915.
  21. Iden Kalemaj, Sofya Raskhodnikova, and Nithin Varma. Sublinear-time computation in the presence of online erasures. Theory Comput., 19 (1):1-48, 2023. URL: https://theoryofcomputing.org/articles/v019a001/v019a001.pdf, URL: https://doi.org/10.4086/TOC.2023.V019A001.
  22. Esty Kelman, Ephraim Linder, and Sofya Raskhodnikova. Online versus offline adversaries in property testing. CoRR, 2024. URL: https://arxiv.org/abs/2411.18617.
  23. Amit Levi, Ramesh Krishnan S. Pallavoor, Sofya Raskhodnikova, and Nithin Varma. Erasure-resilient sublinear-time graph algorithms. ACM Trans. Comput. Theory, 14(1):1:1-1:22, 2022. URL: https://doi.org/10.1145/3488250.
  24. Dor Minzer and Kai Zhe Zheng. Adversarial low degree testing. In David P. Woodruff, editor, Proceedings of the 2024 ACM-SIAM Symposium on Discrete Algorithms, SODA 2024, Alexandria, VA, USA, January 7-10, 2024, pages 4395-4409. SIAM, 2024. URL: https://doi.org/10.1137/1.9781611977912.154.
  25. Michal Parnas, Dana Ron, and Ronitt Rubinfeld. Tolerant property testing and distance approximation. J. Comput. Syst. Sci., 72(6):1012-1042, 2006. URL: https://doi.org/10.1016/j.jcss.2006.03.002.
  26. Sofya Raskhodnikova. Monotonicity testing. Masters Thesis, MIT, 1999. Google Scholar
  27. Sofya Raskhodnikova. Testing if an array is sorted. Encyclopedia of Algorithms, pages 2219-2222, 2016. URL: https://doi.org/10.1007/978-1-4939-2864-4_700.
  28. Sofya Raskhodnikova, Dana Ron, Amir Shpilka, and Adam Smith. Strong lower bounds for approximating distribution support size and the distinct elements problem. In Proceedings of the 48th Annual IEEE Symposium on Foundations of Computer Science, FOCS '07, pages 559-569. IEEE Computer Society, 2007. URL: https://doi.org/10.1109/FOCS.2007.67.
  29. Sofya Raskhodnikova, Noga Ron-Zewi, and Nithin Varma. Erasures versus errors in local decoding and property testing. Random Structures and Algorithms, 59(4):640-670, 2021. URL: https://doi.org/10.1002/rsa.21031.
  30. Sofya Raskhodnikova and Nithin Varma. Brief announcement: Erasure-resilience versus tolerance to errors. In Proceedings, International Colloquium on Automata, Languages and Programming (ICALP), pages 111:1-111:3, 2018. URL: https://doi.org/10.4230/LIPIcs.ICALP.2018.111.
  31. Ronitt Rubinfeld and Madhu Sudan. Robust characterizations of polynomials with applications to program testing. SIAM Journal on Computing, 25(2):252-271, 1996. URL: https://doi.org/10.1137/S0097539793255151.
  32. Gregory Valiant and Paul Valiant. A CLT and tight lower bounds for estimating entropy. Electron. Colloquium Comput. Complex., TR10-179, 2010. URL: https://eccc.weizmann.ac.il/report/2010/179.
  33. Alek Westover, Edward Yu, and Kai Zheng. New direct sum tests. CoRR, abs/2409.10464, 2024. URL: https://doi.org/10.48550/arXiv.2409.10464.
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail