Distribution-free Testing for Halfspaces (Almost) Requires PAC Learning
Xi Chen, Shyamal Patel
Abstract
It is well known that halfspaces over ℝn and 0, 1n are PAC-learnable with Θ(n) samples. Recently Blais et al. [4] showed that even the easier task of distribution-free sample-based testing requires Ω(n/log n) samples for halfspaces. In this work we study the distribution-free testing of halfspaces with queries, for which we show that the complexity remains to be . Indeed we prove the following stronger tradeoff result: any distribution-free testing algorithm for halfspaces over 0, 1n that receives k samples must make queries on the input function, when k satisfies n.99 ≤ k ≤ O(n/ log3 n). For halfspaces over ℝn we show that any algorithm that makes a finite number of queries must draw Ω(n/log n) many samples.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get a3f69329-936d-410b-b0de-a15bba65128dCited by top-tier papers5
- Superpolynomial lower bounds for decision tree learning and testingCaleb Koch, Carmen Strassle, Li-Yang TanSODA 2023 · 2 citations
- Low Degree Testing over the RealsVipul Arora, Arnab Bhattacharyya, Noah Fleming, Esty Kelman et al.SODA 2023 · 2 citations
- Halfspaces are hard to test with relative errorXi Chen, Anindya De, Yizhi Huang, Shivam Nadimpalli et al.SODA 2026
- Distribution-Free Testing of Decision Lists with a Sublinear Number of QueriesXi Chen, Yumou Fei, Shyamal PatelSTOC 2024
- Computational Complexity in Property TestingRenato Ferreira Pinto Jr., Diptaksho Palit, Sofya RaskhodnikovaSODA 2026
Related papers
- Learning Functions of HalfspacesJosh Alman, Shyamal Patel, Rocco A. ServedioSTOC 2026 · 3 citations
- DNF Learning via Locally Mixing Random WalksJosh Alman, Shivam Nadimpalli, Shyamal Patel, Rocco A. ServedioSTOC 2025
- VC dimension and distribution-free sample-based testingEric Blais, Renato Ferreira Pinto Jr., Nathaniel HarmsSTOC 2021
- Near-Optimal Bounds for Learning Gaussian Halfspaces with Random Classification NoiseIlias Diakonikolas, Jelena Diakonikolas, Daniel Kane, Puqian Wang et al.NeurIPS 2023 · 5 citations
- A Mysterious Connection between Tolerant Junta Testing and Agnostically Learning ConjunctionsXi Chen, Shyamal Patel, Rocco A. ServedioSTOC 2026 · 4 citations
