Halfspaces are hard to test with relative error
Xi Chen, Anindya De, Yizhi Huang, Shivam Nadimpalli, Rocco A. Servedio, Tianqi Yang
Abstract
Several recent works [CDH + 25, CPPS25a, CPPS25b, CPPS26] have studied a model of property testing of Boolean functions under a relative-error criterion. In this model, the distance from a target function f : 0, 1 n → 0, 1 that is being tested to a function g is defined relative to the number of inputs x for which f (x) = 1; moreover, testing algorithms in this model have access both to a black-box oracle for f and to independent uniform satisfying assignments of f . The motivation for this model is that it provides a natural framework for testing sparse Boolean functions that have few satisfying assignments, analogous to well-studied models for property testing of sparse graphs.
The main result of this paper is a lower bound for testing halfspaces (i.e., linear threshold functions) in the relative error model: we show that Ω(log n) oracle calls are required for any relative-error halfspace testing algorithm over the Boolean hypercube 0, 1 n . This stands in sharp contrast both with the constant-query testability (independent of n) of halfspaces in the standard model [MORS10], and with the positive results for relative-error testing of many other classes given in [CDH + 25, CPPS25a, CPPS25b, CPPS26]. Our lower bound for halfspaces gives the first example of a well-studied class of functions for which relative-error testing is provably more difficult than standard-model testing.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 1e81db82-e044-4dc7-928a-197bd5056ef3Cited by top-tier papers1
Ask how each one uses itBuilds on9
- Efficient Testable Learning of Halfspaces with Adversarial Label NoiseIlias Diakonikolas, Daniel Kane, Vasilis Kontonis, Sihan Liu et al.NeurIPS 2023 · 24 citations
- The Complexity of Adversarially Robust Proper Learning of Halfspaces with Agnostic NoiseIlias Diakonikolas, Daniel M. Kane, Pasin ManurangsiNeurIPS 2020 · 23 citations
- Random Restrictions of High Dimensional Distributions and Uniformity Testing with Subcube ConditioningClément L. Canonne, Xi Chen, Gautam Kamath, Amit Levi et al.SODA 2021 · 10 citations
- Robust testing of low dimensional functionsAnindya De, Elchanan Mossel, Joe NeemanSTOC 2021 · 4 citations
- Distribution-free Testing for Halfspaces (Almost) Requires PAC LearningXi Chen, Shyamal PatelSODA 2022 · 2 citations
Related papers
- Relative-error monotonicity testingXi Chen, Anindya De, Yizhi Huang, Yuhao Li et al.SODA 2025 · 1 citation
- Computational Complexity in Property TestingRenato Ferreira Pinto Jr., Diptaksho Palit, Sofya RaskhodnikovaSODA 2026
- Approximating the Distance to Monotonicity of Boolean FunctionsRamesh Krishnan S. Pallavoor, Sofya Raskhodnikova, Erik WaingartenSODA 2020 · 6 citations
- Learning Functions of HalfspacesJosh Alman, Shyamal Patel, Rocco A. ServedioSTOC 2026 · 3 citations
- Testing Fourier Sparsity via Implicit SensingArijit Ghosh, Subhamoy Maitra, Manmatha RoyICLR 2026
