Testable Learning of General Halfspaces under Massart Noise
Ilias Diakonikolas, Giannis Iakovidis, Daniel Kane, Sihan Liu
NeurIPS 2026
TL;DR. We give the first testable algorithm for learning general halfspaces under Gaussian marginals and Massart noise, using new multiplicative sandwiching polynomials to certify near-optimal error.
Abstract. We study the algorithmic task of testably learning general Massart halfspaces under the Gaussian distribution. In the testable learning setting, the aim is the design of a tester-learner pair satisfying the following properties: (1) if the tester accepts, the learner outputs a hypothesis and a certificate that it achieves near-optimal error, and (2) it is highly unlikely that the tester rejects if the data satisfies the underlying assumptions. Our main result is the first testable learning algorithm for general halfspaces with Massart noise and Gaussian marginals. The complexity of our algorithm is , where is the excess error and is the bias of the target halfspace, which qualitatively matches the known quasi-polynomial Statistical Query lower bound for the non-testable setting. The analysis of our algorithm hinges on a novel sandwiching polynomial approximation to the sign function with multiplicative error that may be of broader interest.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (spotlight) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:44 UTC.
- Decision
- Accept (spotlight)
Read decision
Meta-review
This paper studies the testable learning general Massart halfspaces under the Gaussian distribution. The reviewers are uniformly appreciative of this submission. They had some questions regarding future directions and possible applications of the techniques developed, which the authors successfully responded to in their rebuttal.
This paper develops a novel sandwiching approximation technique which has the potential of being influential in the nascent area of "testable learning". It is also quite well-written. We are happy to recognize the work as a spotlight.
Final justification
Please see above.
- Final justification
- Please see above.
Read meta-review
Meta-review
This paper studies the testable learning general Massart halfspaces under the Gaussian distribution. The reviewers are uniformly appreciative of this submission. They had some questions regarding future directions and possible applications of the techniques developed, which the authors successfully responded to in their rebuttal.
This paper develops a novel sandwiching approximation technique which has the potential of being influential in the nascent area of "testable learning". It is also quite well-written. We are happy to recognize the work as a spotlight.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies the task of testable learning general Massart halfspaces under the Gaussian distribution. Evidence is given that the complexity of the algorithm is optimal via the SQ framework. The main technical innovations are (1) a new result on sandwiching polynomial approximations for the sign function, and (2) a partition of space into sufficiently fine strips for the certification needed for testable learning.
Strengths and weaknesses
This work builds upon previous work in the testable learning literature by giving and analyzing an algorithm for general Massart halfspaces. Some core aspects of the algorithm seem to be fairly standard techniques in the literature, including using the algorithm of [DKK+22] as a subroutine, the orthogonal moment matching test, and the non-negativity certificate. The main algorithmic innovation is to run these tests on slices, leading to an additional slice mass test. A new result on sandwiching polynomials is given by directly constructing the polynomials from Chebyshev polynomials. These new results are strong and lead to increased control over the parameters in the problem, resulting in algorithmic complexity matching an evidenced lower bound.
The paper overall is a strong, but can be quite hard to parse, especially as someone who is not an expert in this field. Moreover, it is unclear what the avenues for future work are (one is briefly mentioned in the paragraph right before Section 1.2).
Questions
- How do you compare your result on sandwiching polynomials to "Sandwiching Polynomials for Geometric Concepts with Low Intrinsic Dimension" by Klivans, et al?
- How might your slicing technique be relevant for other testable learning problems?
- How might your result be improved, given the purported lower bound?
Limitations
yes
Final justification
The authors adequately addressed my comments. I am interested to see if the sandwiching polynomials result will be more broadly utilized, and if suitable modifications will work for other marginal distributions and concept classes. I am keeping my rating.
Formatting concerns
N/A
1 comment
- Rating
- 5/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies the problem of testable learning of general halfspaces when the input distribution has Massart noise. In general, in many tasks, when the input distribution does not satisfy the underlying noise assumption, the output behavior of the learning algorithm may not have any sound theoretical guarantee. To address this, the framework of testable learning was introduced (Rubinfeld and Vasilyan, 23). In this framework, if the underlying distribution satisfies the assumption guarantees, then the learning algorithm will produce an output with sound guarantees. Additionally, if the input distribution does not satisfy the assumption, then the tester will reject it with high probability.
The current paper studies the problem of learning general halfspaces in this framework, where Massart noise is added to the distribution. While the problem of testable learning of homogeneous halfspaces has been studied before (Goel, Klivans, Stavropoulos, Vasilyan, 25), this work generalizes it for general halfspaces. This is important since in the standard distribution specific learning, there is a wide gap between learning homogeneous and general halfspaces.
The main result of this paper states that under the assumptions that the marginal of the input distribution is standard Gaussian and Massart noise is present, there is a testable learner that takes samples and runs in polynomial time (Theorem 4). Moreover, this is nearly tight due to lower bounds from Statistical Query algorithms. The authors also show a similar lower bound in Appendix E.
The overall approach of their algorithm is to first obtain a candidate halfspace using a known subroutine for learning general halfspaces under Massart noise without the testable learning guarantees (Diakonikolas, Kane, Kontonis, Tzamos, Za, 22). Then the bulk of the argument is in certifying the near optimality of this candidate halfspace. The authors use low-degree polynomials for this purpose. Overall, the space is partitioned into thin stripes, and over each stripe, the goal is to find suitable low-degree polynomials that have appropriate mass, are non-negative, and match the moments suitably. For proving near optimality, the authors prove a structural result on sandwiching polynomials (Theorem 5), which obtains a multiplicative approximation, as compared to additive approximations from prior works. The authors use Chebyshev polynomials for this purpose.
Strengths and weaknesses
Strengths:
- I think this is an important result in this newly introduced testing learning framework.
- The sample complexity bound of the main algorithm is almost tight, based on the statistical query lower bounds.
Weakeness: The overall approach of this paper is quite similar to a prior work (Goel, Klivans, Stavropoulos, Vasilyan, 25), except for the new result of sandwiching polynomials. The authors also mention this in Section 1.
Questions
- The analysis uses the assumption that the x-marginal of the input distribution is standard Gaussian. Does this result hold for other well-behaved distributions as well?
- There is no explicit discussion and open problems section in the paper. I suggest that the authors add a brief discussion.
Limitations
NA
Final justification
The authors have appropriately addressed all of my concerns. I suggest the authors to mention about the difficulty of extending their approach to other well-behaved distributions in their final version and also include an open problem section. I am keeping my score.
Formatting concerns
NA
2 comments
Rebuttal
We thank the reviewer for their positive assessment of our work and for raising these questions.
Our present result does not immediately extend to general well-behaved distributions. The Gaussian assumption is used both by the underlying learning algorithm and by the certification argument, particularly through Gaussian conditional independence and the Gaussian-weighted sandwiching theorem. We emphasize that this limitation is not specific to the testability requirement: even without testability, we do not currently know how to obtain complexity better than agnostically learning general halfspaces under broad classes of non-Gaussian well-behaved distributions. Thus, extending our result beyond Gaussian marginals appears to require progress on a more fundamental open problem in distribution-specific learning, rather than merely overcoming a limitation of our certification framework.
We expect that the need for multiplicative sandwiching approximations will remain important in such extensions. This requirement arises from the nature of Massart noise: the advantage of the ground truth labeling is proportional to the probability mass of the disagreement region.
We also thank the reviewer for suggesting an explicit discussion of open problems. We agree that such a discussion would improve the paper. In a revision, we will add a dedicated discussion highlighting both the extension of our results beyond Gaussian marginals and the improvement of the degree bound for the multiplicative sandwiching polynomials, which would sharpen the complexity of our learner, as important directions for future work.
Thank you for your response. I am keeping my score.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 4/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies "testable" learning of general halfspaces () under Massart noise with Gaussian features. In the testable-learning setting, one does not assume that the data is Massart noise with Gaussian features. In this case, if the algorithm can output either Reject or (Accept, ) as follows: If the data is Gaussian plus Massart noise, it should accept with high probability. On any distribution, if it accepts, then the returned must be near optimal among the allowed half-spaces. This problem has been studied in the case of (), but not in the case of (). The shift adds difficultly (provably) as shown by SQ lower bounds. For halfspaces whose smaller side has Gaussian mass at leat , and small Massart noise, their complexity is , which matches (at least qualitatively) known SQ hardness for non-testable learning of general Massart halfspaces. To achieve this bound, they use a standard slicing technique: Learn a candidate halfspace , then to guarantee performance against any other halfspace , consider the regions where they differ and decompose them into "stripes". For each stripe, centrify that no competing halfspace can improve its error by more than via moment tests and a new multiplicative sandwiching polynomials for halfspaces in a stripe where they differ. The multiplicative sandwiching polynomials for halfspaces is the key here otherwise you could have the error .
Strengths and weaknesses
The paper is well-written, and gives a good high-level view of the problem. The paper sovles a very natural open problem of testable learning for general halfspaces. The paper clearly tells the improvements that can be done and also showed lower bound for factors that cannot be improved: It also gives a clear direction for future work to match the best SQ lower bounds, proving their result is also quantitatively matches the case of non-testable learning for general halfspaces. The multiplicative sandwiching approximation idea seems novel and reusable across other problems. I am happy with the paper, and as such there is no apparent weakness that has not been addressed already in the paper.
Questions
Could you tell where the sandwhiching polynomial theorem can be used in other areas?
Limitations
yes
Formatting concerns
none
2 comments
Rebuttal
We thank the reviewer for their positive assessment of our work, and in particular for finding the paper well written and the problem natural.
One immediate application is agnostic learning of highly biased halfspaces. It is known that an polynomial approximation with error yields an agnostic learner with error at most , typically via polynomial regression [KKMS08]. For general halfspaces, obtaining additive error requires degree . In contrast, if the halfspace is biased, with its minority region having probability mass , our multiplicative approximation gives error using degree . For example, when , this gives degree , improving the exponent of compared with the general additive guarantee.
More generally, the multiplicative guarantee is useful in learning and certification problems where the relevant signal is supported on a low-probability region. Unlike an additive approximation, whose error may overwhelm that region, the error in our theorem decreases proportionally with its probability mass.
[KKMS08] Agnostically Learning Halfspaces, Adam Tauman Kalai, Adam R. Klivans, Yishay Mansour, and Rocco A. Servedio, 2008.
Thank you for the response. I will stick my score.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We thank the reviewer for their positive assessment of our work and for these thoughtful questions.
Klivans et al. provide a more general construction that applies to low-intrinsic-dimensional geometric concepts, whereas our theorem provides a stronger relative-error guarantee specialized to Gaussian halfspaces, which improves upon the corresponding constructions given in [DGJ+10] and the subsequent works [KNW10], [DKN10]. Notably, the additive approximation guarantees given by these works is not sufficient for our application when the disagreement halfspace has very small probability mass, since the approximation error may overwhelm the advantage that must be certified. In contrast, our multiplicative guarantee was designed precisely for this rare-event regime. At the technical level, Klivans et al. rely on a black-box approximation theorem for Lipschitz functions, while our work strengthens earlier sandwiching-polynomial constructions through a tailored argument that achieves the multiplicative guarantee.
We view slicing as a general localization technique: it transforms a globally complicated disagreement region into a simpler conditional concept that can be certified using low-degree moments. This approach may be useful in other testable-learning problems whenever conditioning on the candidate hypothesis’s score simplifies the geometry while preserving tractable conditional distributions.
Finally, some interesting open questions involve proving similar certification results for other well-behaved marginal distributions and extending our results to other concept classes beyond halfspaces.
[DGJ+10] Ilias Diakonikolas, Parikshit Gopalan, Ragesh Jaiswal, Rocco A. Servedio, and Emanuele Viola.“Bounded Independence Fools Halfspaces.”SIAM Journal on Computing, 2010.
[KNW10] Kane, Daniel M., Jelani Nelson, and David P. Woodruff. "On the exact space complexity of sketching and streaming small norms." Proceedings of the twenty-first annual ACM-SIAM symposium on Discrete Algorithms. Society for Industrial and Applied Mathematics, 2010.
[DKN10] Diakonikolas, Ilias, Daniel M. Kane, and Jelani Nelson. "Bounded independence fools degree-2 threshold functions." 2010 IEEE 51st Annual Symposium on Foundations of Computer Science. IEEE, 2010.