potentialpaper

Distribution Free Fourier Sparsity Testing

Arijit Ghosh, Manmatha Roy

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We give the first distribution-free tester for Fourier sparsity, using few queries and samples, enabling efficient validation of sparsity assumptions for agnostic learning.

Abstract. Learning functions $ f : \mathbb{F}_2^n \to \mathbb{R} $ with sparse Fourier representations plays a central role in computational learning theory, as such functions capture many natural concept classes in machine learning. In recent years, Fourier sparsity has also been studied from the related perspective of property testing, where the goal is to determine, given query access to a function, whether it is $ s $-Fourier-sparse or far from every such function under an appropriate distance measure. Such testers can serve as a preprocessing step for model selection in agnostic learning of Fourier-sparse functions, where validating the structural assumption is crucial before applying computationally expensive learning algorithms. However, all prior work on testing Fourier sparsity considers distance with respect to the uniform distribution over the hypercube.

In this work, we initiate the study of Fourier sparsity testing in the distribution-free setting, the property-testing analogue of the PAC+MQ learning framework. In this model, the tester is given oracle access to an unknown function and sample access to an arbitrary and unknown input distribution, and must distinguish $ s $-Fourier-sparse functions from those that are $ \delta $-far from every such function with respect to the underlying distribution. We design a nonadaptive randomized tester that succeeds with high probability using $ \widetilde{O}((s/\delta)^4) $ oracle queries and $ \widetilde{O}(1/\delta) $ samples from the unknown distribution.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
1 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper studies testing algorithms for Fourier-sparse functions under an arbitrary distribution. It extends the classical Fourier-sparse algorithms (including both testing and learning) to arbitrary distributions. There are two major questions: the first one is about tolerant testing. Will this framework provide a tolerant tester? The second question is about the techinical contribution. In some sense, its algorithms is an extension of classical Fourier-sparse algorithms for the uniform distribution.

Final justification

This paper studies testing algorithms for Fourier-sparse functions under an arbitrary distribution, which generalizes classical learning and testing algorithms for the uniform distribution. Its main contribution is the first distribution-free tester whose key idea is to design a self-correcting procedure. Because Fourier-sparses functions are fundamental learning objects in learning theory, this problem might find applications elsewhere. I would recommend acceptance.

Area Chair CvD7 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper studies testing algorithms for Fourier-sparse functions under an arbitrary distribution. It extends the classical Fourier-sparse algorithms (including both testing and learning) to arbitrary distributions. There are two major questions: the first one is about tolerant testing. Will this framework provide a tolerant tester? The second question is about the techinical contribution. In some sense, its algorithms is an extension of classical Fourier-sparse algorithms for the uniform distribution.

Final justification

This paper studies testing algorithms for Fourier-sparse functions under an arbitrary distribution, which generalizes classical learning and testing algorithms for the uniform distribution. Its main contribution is the first distribution-free tester whose key idea is to design a self-correcting procedure. Because Fourier-sparses functions are fundamental learning objects in learning theory, this problem might find applications elsewhere. I would recommend acceptance.

1 comment
Authors · CommentOpenReview ↗

As the discussion period concludes, we provide a brief summary of our responses, in case it is helpful for the final assessment.

Main contribution: We give the first distribution-free tester for Fourier sparsity, resolving the natural distribution-free analogue of a central problem in learning theory. Distribution-free property testing is the property-testing counterpart of the PAC+MQ learning model; while it is understood for several subclasses of Fourier-sparse functions (e.g., juntas), the question for Fourier sparsity itself --- one of the most fundamental complexity measures in the area --- had remained open. Our tester is nonadaptive, uses a polynomial number of queries and samples, and extends distribution-free testing to one of the broadest classes of efficiently learnable Boolean functions.

Moreover, for junta testing there is a provably exponential gap between the best adaptive upper bound and the nonadaptive lower bound in the distribution-free setting. Our result shows this does not extend to the far broader class of Fourier-sparse functions, for which we obtain an efficient nonadaptive tester --- a contrast we believe merits further study.

We now summarize our responses to the two main questions raised in the meta-review.

On tolerant testing: We agree tolerant testing is an important direction. We identified the precise obstruction in the completeness analysis: closeness under an unknown distribution D\mathcal{D} gives no control over the Fourier mass captured by the top-kk coefficients under the uniform distribution. We further argued that the distribution-free tolerant setting is currently of limited algorithmic utility, since no known algorithm efficiently learns functions that are far from Fourier-sparse under the uniform distribution but close under some arbitrary D\mathcal{D}. Our non-tolerant formulation is therefore the natural one aligned with the current state of the art: every YES instance our tester accepts is efficiently learnable by known technique.

On the technical contribution: Our framework is not merely an extension of classical uniform-distribution algorithms. Its core is a new primitive: a pointwise self-corrector for real-valued Fourier-sparse functions, providing oracle access to the closest kk-sparse function with query complexity independent of the ambient dimension nn. This dimension-independence --- unattainable by reconstruction-based methods such as Kushilevitz--Mansour, which necessarily incur poly(n)\mathrm{poly}(n) cost --- is precisely what enables the distribution-free reduction, and we believe the primitive is of independent interest for robust learning settings. We also clarified that the self-corrector, presented as Assumption 6 in the proof sketch, is explicitly constructed in Section 4.

We would be grateful if our rebuttal could be taken into account in the final assessment, and we remain happy to provide any further clarification.

Reviewer DsYjOpenReview ↗
Rating
5/6
Confidence
3/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

The main result is a nonadaptive membership-query algorithm for testing Fourier sparsity in the distribution-free setting, which makes a polynomial number of queries. The algorithm is given membership query access to some unknown real-valued function over the Boolean hypercube, but is nonadaptive, meaning that the queries are decided before any of them is answered. Related prior work existed only in the distribution-specific setting, or tested different properties.

The proposed algorithm is based on two main components. First, a Fourier sparsity tester that works with respect to the uniform distribution. Second, an algorithm that can produce accurate approximations of the values of the sparse function that is closest to the unknown function under the uniform distribution. The analysis utilizes a technique called sketching by hashing from the relevant literature.

Strengths and weaknesses

The paper provides an interesting new result that is well-motivated and has not been studied before. The message of the paper is clear. The techniques used are nontrivial, but they are largely inspired by prior work. The algorithmic framework used also draws from [Halevy and Kushilevitz, 2007], so I would encourage the authors to add a relevant technical comparison. Overall, I believe that the contribution, presentation, and significance of the result are good and I recommend acceptance.

Questions
  • What is the time complexity of your algorithm?

  • You mention in lines 51-53 that “these tools can serve as effective preprocessing tools”. Do you have any concrete applications in mind? If not, I recommend removing this claim, or changing it to reflect your actual contributions.

  • Could your techniques be used to test sparsity with respect to the basis corresponding to the input distribution?

Limitations

yes

Final justification

The authors answered all of my questions, and I do not have any outstanding concerns. I would like to keep my positive score unchanged.

Formatting concerns

No major formatting concerns.

3 comments
Authors · CommentOpenReview ↗

Rebuttal (1/2)

We thank the reviewer for the positive assessment and the thoughtful questions. We address each below.

On time complexity.

The time complexity is dominated by FOURIER-SIEVE and LIST-CORRECTION. FOURIER-SIEVE estimates the spectral weight of each of the 2t2^t cosets (with t=log⁡(32/θ8)t = \log(32/\theta^8)), requiring O~(1/θ4)\tilde{O}(1/\theta^4) queries and comparable time. LIST-CORRECTION runs in O~(1/θ2)\tilde{O}(1/\theta^2) time per evaluation. The overall time complexity is O~(s4/(ε8δ4))\tilde{O}(s^4/(\varepsilon^8 \delta^4)), matching the query complexity up to logarithmic factors. We will add an explicit time complexity statement in the revision.

On testing sparsity with respect to the input distribution.

This is an excellent question, also raised by Reviewer VDhF.

We begin by emphasizing that our formulation is fully consistent with the standard paradigm of distribution-free property testing. In this model, the property itself is distribution independent, while only the distance measure is defined with respect to the unknown input distribution DD. This is precisely the framework adopted in prior work on distribution-free testing (e.g., Halevy--Kushilevitz, 2007; Liu et al., 2019). Our formulation therefore follows this well-established viewpoint: the structural property is Fourier sparsity with respect to the canonical Fourier basis, while closeness is measured under the unknown distribution.

With that said, we greatly appreciate the reviewer's suggestion and believe it points toward an interesting and worthwhile research direction. We would like to offer our perspective on why we chose to formulate the problem in terms of the canonical Fourier basis.

Fourier sparsity is fundamentally a structural property defined with respect to the Fourier basis under the uniform distribution. The Fourier characters form an orthonormal basis with rich algebraic structure—they are group homomorphisms and admit natural notions of subspaces, cosets, and restrictions. These structural properties have been central to the development of Fourier analysis of Boolean functions for decades and underpin essentially all existing algorithms for learning and testing Fourier-sparse functions. For an arbitrary distribution DD, one can indeed construct an orthonormal basis (for example, via Gram--Schmidt). However, such a basis is specific to the distribution DD and generally lacks the algebraic and combinatorial structure enjoyed by the canonical Fourier basis. Consequently, most of the existing theory and algorithmic techniques developed for Fourier-sparse functions no longer apply. Moreover, sparsity with respect to the DD-induced basis is not known to correspond to any natural or well-studied concept class. For these reasons, while studying Fourier analysis with respect to arbitrary distributions is certainly an important theoretical direction, its algorithmic implications for learning are, to the best of our knowledge, not yet well understood.

Finally, we note that there has been important progress on learning Fourier-sparse functions under certain structured distributions, most notably product distributions. We believe extending our framework to such settings is a particularly promising direction. For product distributions, the adapted orthonormal basis retains much of the algebraic structure exploited by our algorithms. Consequently, our general strategy of "locate up to a coset, then self-correct" appears adaptable. The primary technical challenge lies in the self-correction step, which currently relies on the shift-invariance of the uniform distribution and would require careful modification to handle non-uniform marginals. Another natural extension is to bounded-density distributions satisfying ∣dD/dU∣∞≤K|dD/dU|_\infty \le K. In this setting, one can continue to work with the standard Fourier basis and transfer spectral estimates with only poly⁡(K)\operatorname{poly}(K) distortion. We believe our algorithms can be extended to this regime with only a polynomial increase in query complexity.

Therefore, we believe our formulation captures the natural distribution-free analogue of Fourier sparsity while remaining closely aligned with the existing literature and current algorithmic understanding. We would be grateful if the reviewer could share any perspective, as we would be happy to revise our discussion accordingly.

Authors · CommentOpenReview ↗

Rebuttal (2/2)

On comparison with Halevy–Kushilevitz [2007].

At a high level, our framework follows the same paradigm: first verify the structural property using tools under the uniform distribution, and then check consistency with the unknown distribution DD through sampling. We believe the principal technical contribution of our work is the construction of a pointwise self-corrector for real-valued Fourier-sparse Boolean functions. Classical algorithms, such as the Kushilevitz--Mansour algorithm, obtain a stronger guarantee by explicitly reconstructing the Fourier representation, but necessarily incur a query complexity of poly⁡(n,s)\operatorname{poly}(n,s). In contrast, our algorithm deliberately avoids reconstruction. Instead, it provides approximate oracle access to the closest ss-Fourier-sparse function g⋆g^\star: given any query point xx, it returns an approximation to g⋆(x)g^\star(x) using only a small number of queries to the original function ff, with query complexity independent of the ambient dimension nn. This dimension independence is precisely what enables our distribution-free reduction, since the tester only needs to evaluate the hypothesis on points sampled from the unknown distribution DD, rather than reconstructing its entire Fourier representation.

More broadly, we believe this pointwise self-correction primitive may be of independent interest beyond the testing problem studied here. Since it provides black-box oracle access to the closest Fourier-sparse function without explicitly reconstructing its Fourier representation, it is naturally suited to settings where only local evaluations of the corrected function are required. Examples include learning with erasures, adversarial or corrupted labels, and other robust learning scenarios in which queries are chosen adaptively or according to an unknown distribution. We hope this pointwise self-correction framework will motivate further investigation into these and related applications.

Reviewer DsYj · CommentOpenReview ↗

Thank you for your thorough response. I appreciate the clarifications, and would like to keep my score unchanged.

Reviewer VDhFOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
2/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

The paper studies the problem of testing sparse Boolean Fourier functions. Specifically, given query access to a black-box function, the goal is to determine whether the function has at most ss nonzero Fourier coefficients (with respect to the uniform distribution) or is far from any such function.

The paper claims to provide a sparsity-testing algorithm for the following distribution-free problem: given black-box access to an unknown function ff, determine whether ff is ss-sparse or is ϵ\epsilon-far from every ss-sparse function gg. Here, ff is said to be ϵ\epsilon-far from gg if

Pr⁡x∼D[∣f(x)−g(x)∣≥ϵ]≥δ.\Pr_{x \sim D}\big[|f(x)-g(x)| \ge \epsilon\big] \ge \delta.
Strengths and weaknesses

The paper attempts to address an important problem by removing the restriction to the uniform distribution in sparsity testing. Existing works typically rely on distance measures defined with respect to the uniform distribution.

However, I do not believe the paper establishes the claimed result in its full generality. The property being tested is still sparsity with respect to the uniform-distribution Fourier expansion. While the distance metric is generalized to the distribution-free setting, sparsity itself remains defined under the standard uniform Boolean Fourier basis. The motivation for this asymmetry is not clearly explained, and it is therefore unclear why the resulting notion should be regarded as fully distribution-free.

The proposed algorithm relies on two assumptions:

  1. The existence of a Fourier sparsity tester under the uniform distribution.
  2. The existence of a self-approximator for Fourier-sparse functions.

The first assumption is well justified, given the existence of state-of-the-art sparsity testers in the uniform-distribution setting. My main concern is with the second assumption. The paper assumes the existence of a learner that provides a worst-case approximation guarantee for every input xx. This is a very strong requirement, and I could not find any discussion establishing the existence of such a learner or explaining under what conditions the assumption is satisfied.

At a high level, the proposed algorithm combines a parity-recovery procedure, which appears essentially equivalent to the classical KM’91 algorithm, with a learner satisfying the self-approximator property for Fourier-sparse functions. Given these ingredients, I do not find the overall approach particularly novel, nor do I see a substantial new technical contribution beyond combining existing components.

Minor comments:

  • The authors should cite recent work on non-uniform Fourier analysis, such as Learning DNF through Generalized Fourier Representations (COLT 2025).
  • Line 48: “however” is repeated in the same sentence.
  • Line 213: “teh” should be corrected to “the”.
  • Line 213: “Under this” should be appropriately capitalized.
Questions
  • Q1. Is FOURIER-SIEVE fundamentally different from the classical Kushilevitz–Mansour (KM) algorithm, or is it essentially a reformulation of KM?

  • Q2. How do the authors justify the assumption that a self-approximator for Fourier-sparse functions exists? Are there known algorithms that satisfy this assumption, particularly with the required worst-case guarantee for every input xx? If so, what are their sample and computational complexities?

  • Q3. What is the motivation for studying sparsity with respect to the uniform-distribution Fourier basis while adopting a distribution-free distance measure? Would it not be more natural to study sparsity (or parity structure) with respect to a Fourier representation induced by the underlying non-uniform distribution?

Limitations

The presented work relies on the assumption of self approximating sparse function, which I don't believe is being discussed as one of the limitations of this work.

Final justification

The reviewer's partially addressed my main concerns. Hence I increased my score. They addressed some confusion specifically around the two assumptions:

  1. The existence of a Fourier sparsity tester under the uniform distribution.
  2. The existence of a self-approximator for Fourier-sparse functions.

I suggest the authors to clarify that these assumptions will be proved later in the paper with proper cross references.

Also I urge the authors to provide a discussion on the comparison with the KM algorithm.

Formatting concerns

n/a

4 comments
Authors · CommentOpenReview ↗

Rebuttal (1/2)

We thank the reviewer for the detailed review. We address each concern below.

On the self-approximator

We believe there may be a misunderstanding regarding the organization of the paper. Assumption 6 is introduced in Section 3 purely as a proof-sketch device to convey the high-level intuition. The self-approximator is explicitly constructed in Section 4 through FOURIER-SIEVE (Algorithm 2, Lemma 1), LIST-CORRECTION (Algorithm 3, Lemma 2), and ESTIMATE-HEAVY-FOURIER-COEFFS (Algorithm 4, Lemma 3). Together, these procedures provide an oracle that, for any query point xx, evaluates

g~⋆(x)=∑C∈Sf^~(αC) χαC(x),\tilde{g}^\star(x) = \sum_{C \in \mathcal{S}} \tilde{\hat{f}}(\alpha_C)\, \chi_{\alpha_C}(x),

with the required worst-case pointwise guarantee. The resulting query complexity is O~(s4/(ε8δ4))\tilde{O}(s^4/(\varepsilon^8 \delta^4)), independent of the ambient dimension nn. All proofs are given in Section 4 and the appendix. We agree that presenting this as an "Assumption" before its construction may have caused confusion, and we will restructure the presentation in the revision to make the dependency clear.

We sincerely apologize for this lack of clarity and are grateful to the reviewer for pointing out this gap in the presentation. In the revised version, we will restructure the exposition so that the role of Assumption 6 and its subsequent construction are made explicit, thereby avoiding similar confusion for future readers. We believe this revision will substantially improve the readability and presentation of the paper.

FOURIER-SIEVE vs. Kushilevitz–Mansour

This is a very insightful question. Although both algorithms share several conceptual similarities, they differ fundamentally in their objectives and, consequently, in the information they recover.

The Kushilevitz--Mansour (KM) algorithm is a Fourier learning algorithm whose goal is to explicitly identify every heavy Fourier coefficient together with its magnitude. To achieve this, KM recursively partitions the Fourier domain and refines each surviving branch until every heavy Fourier coefficient is identified exactly. Since identifying a Fourier coefficient requires determining its entire nn-bit index, the algorithm must progressively resolve all nn coordinates. As a result, both its running time and query complexity necessarily depend polynomially on the ambient dimension nn, yielding a complexity of poly⁡(n,s)\operatorname{poly}(n,s).

In contrast, FOURIER-SIEVE is designed for a fundamentally different objective. Our goal is not to reconstruct the Fourier spectrum, but merely to obtain sufficient information about the heavy Fourier coefficients. Instead of exactly identifying individual heavy Fourier coefficients, FOURIER-SIEVE randomly partitions the Fourier domain into a collection of low-codimension cosets and estimates the total Fourier weight contained in each coset. The key observation is that when ff is ss-Fourier-sparse, choosing a sufficiently large collection of cosets (polynomial in ss but independent of nn) ensures that, with high probability, every heavy Fourier coefficient is isolated in a distinct coset. Moreover, one can show that the Fourier weight of each such coset is dominated by the Fourier coefficient of largest magnitude contained in that coset. Consequently, identifying the heavy cosets is sufficient to localize the heavy Fourier coefficients, even though the algorithm never determines which specific Fourier coefficient within the coset is responsible for the observed weight. At this point, the algorithm deliberately stops. It records only the cosets containing heavy Fourier coefficients, rather than explicitly recovering the corresponding Fourier coefficients themselves.

Main crux of our technique is that such a coarse localization is precisely the information required by the subsequent LIST-CORRECTION and ESTIMATE-HEAVY-FOURIER-COEFFS procedures, which together provide pointwise oracle access to the nearest Fourier-sparse function without ever reconstructing its Fourier representation.

Thus, the key conceptual difference is that KM solves an exact Fourier recovery problem, whereas FOURIER-SIEVE solves a coarse localization problem for the heavy Fourier coefficients of a Fourier-sparse function. By avoiding explicit identification of individual Fourier coefficients, FOURIER-SIEVE completely eliminates the dependence on the ambient dimension nn, leading to query complexity that depends only on the sparsity and accuracy parameters. This distinction is precisely what enables our tester to achieve dimension-independent query complexity, whereas algorithms based on explicit Fourier reconstruction, such as KM, inherently incur a polynomial dependence on nn.

Authors · CommentOpenReview ↗

Rebuttal (2/2)

On Fourier sparsity with respect to arbitrary distributions Fourier Basis

We begin by emphasizing that our formulation is fully consistent with the standard paradigm of distribution-free property testing. In this model, the property itself is distribution independent, while only the distance measure is defined with respect to the unknown input distribution DD. This is precisely the framework adopted in prior work on distribution-free testing (e.g., Halevy--Kushilevitz, 2007; Liu et al., 2019). Our formulation therefore follows this well-established viewpoint: the structural property is Fourier sparsity with respect to the canonical Fourier basis, while closeness is measured under the unknown distribution.

That said, we would like to offer our perspective on why we chose to formulate the problem in terms of the canonical Fourier basis.

Fourier sparsity is fundamentally a structural property defined with respect to the Fourier basis under the uniform distribution. The Fourier characters form an orthonormal basis with rich algebraic structure—they are group homomorphisms and admit natural notions of subspaces, cosets, and restrictions. These structural properties have been central to the development of Fourier analysis of Boolean functions for decades and underpin essentially all existing algorithms for learning and testing Fourier-sparse functions. For an arbitrary distribution DD, one can indeed construct an orthonormal basis (for example, via Gram--Schmidt). However, such a basis is specific to the distribution DD and generally lacks the algebraic and combinatorial structure enjoyed by the canonical Fourier basis. Consequently, most of the existing theory and algorithmic techniques developed for Fourier-sparse functions no longer apply. Moreover, sparsity with respect to the DD-induced basis is not known to correspond to any natural or well-studied concept class. For these reasons, while studying Fourier analysis with respect to arbitrary distributions is certainly an important theoretical direction, its algorithmic implications for learning are, to the best of our knowledge, not yet well understood.

Finally, we note that there has been important progress on learning Fourier-sparse functions under certain structured distributions, most notably product distributions. We believe extending our framework to such settings is a particularly promising direction. For product distributions, the adapted orthonormal basis retains much of the algebraic structure exploited by our algorithms. Consequently, our general strategy of "locate up to a coset, then self-correct" appears adaptable. The primary technical challenge lies in the self-correction step, which currently relies on the shift-invariance of the uniform distribution and would require careful modification to handle non-uniform marginals. Another natural extension is to bounded-density distributions satisfying ∣dD/dU∣∞≤K|dD/dU|_\infty \le K. In this setting, one can continue to work with the standard Fourier basis and transfer spectral estimates with only poly⁡(K)\operatorname{poly}(K) distortion. We believe our algorithms can be extended to this regime with only a polynomial increase in query complexity.

Therefore, we believe our formulation captures the natural distribution-free analogue of Fourier sparsity while remaining closely aligned with the existing literature and current algorithmic understanding. We would be grateful if the reviewer could share any references or perspectives suggesting an alternative formulation, as we would be happy to incorporate them and revise our discussion accordingly.

We hope this clarifies the reviewer's concerns, particularly regarding the construction of the self-approximator and arbitrary distributions Fourier Basis. We are happy to address any further questions.

Authors · CommentOpenReview ↗

Follow-up on our rebuttal

We wanted to briefly follow up after posting our rebuttal. We hope that our responses have addressed the concerns raised in your review. If any aspect of our rebuttal remains unclear, or if you have additional questions, we would be happy to provide any further clarification.

If you believe that our rebuttal has satisfactorily resolved your concerns, we would greatly appreciate it if you could reflect this in your updated evaluation of the paper.

Thank you again for your time and thoughtful consideration.

Authors · CommentOpenReview ↗

Thank you again for your detailed reading. As the discussion period nears its end, we briefly consolidate our responses.

Our rebuttal addressed your main concerns: (i) the self-approximator - we clarified that Assumption 6 is only a proof-sketch device, and that the self-corrector is explicitly constructed in Section 4 (Fourier-Sieve, List-Correction, Estimate-Heavy-Fourier-Coeffs), with the required worst-case pointwise guarantee and query complexity independent of nn; (ii) Fourier-Sieve vs.\ KM - we explained that KM performs exact Fourier recovery and incurs poly(n)\mathrm{poly}(n) cost, whereas Fourier-Sieve solves only a coarse coset-localization problem, which is precisely what eliminates the dependence on nn; and (iii) Justifying our problem formulation --- why testing sparsity in the canonical Fourier basis while measuring distance under D\mathcal{D} is the more natural formulation.

Beyond these, we would earnestly request you consider two broader points.

First, while distribution-free testing is understood for subclasses like juntas, the question for Fourier sparsity - one of the most fundamental complexity measures in learning theory - has remained open. To our knowledge this is the first such tester, extending distribution-free testing to one of the broadest classes of efficiently learnable Boolean functions.

Second, and more strikingly, for junta testing there is a provably exponential gap between the best adaptive upper bound and the nonadaptive lower bound in the distribution-free setting. Our tester shows this does not extend to the far broader class of Fourier-sparse functions: we obtain a nonadaptive tester with polynomial query complexity, and no such penalty.

We hope these points are helpful in your final assessment, and remain happy to clarify anything further.

Reviewer MUXaOpenReview ↗
Rating
4/6
Confidence
4/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

Summary of the paper

This paper designs a non-adaptive tester for the following problem:

Consider the Fourier expansion of a boolean function f:F2n→Rf: \mathbb{F}_2^n \to \mathbb{R}, as

f(x)=∑α∈F2nf^(α)(−1)⟨α,x⟩f(x) = \sum_{\alpha \in \mathbb{F}_2^n} \widehat{f}(\alpha) (-1)^{\langle \alpha, x \rangle}

where the Fourier coefficient f^(α)≜12n∑x∈F2n[f(x)⋅(−1)⟨α,x⟩]\widehat{f}(\alpha) \triangleq \frac{1}{2^n} \sum_{x \in \mathbb{F}_2^n} \left[f(x) \cdot (-1)^{\langle \alpha, x \rangle}\right].

Problem: Given sample access to an arbitrary distributon D\mathcal{D} on F2n\mathbb{F}_2^n and query access to a function f:F2n→Rf: \mathbb{F}_2^n \to \mathbb{R}, distinguish between the following cases with success probability ≥2/3\geq 2/3:

  • YES: ff has ≤s\leq s non-zero Fourier coefficients (is ss-Fourier sparse).
  • NO: dD,ε(f,g)≥δd_{\mathcal{D},\varepsilon}(f, g) \geq \delta for all ss-Fourier sparse functions gg, where dD,ε(f,g)≜Pr⁡x∼D[∣f(x)−g(x)∣≥ε]d_{\mathcal{D},\varepsilon}(f, g) \triangleq \Pr_{x \sim \mathcal{D}}\left[|f(x) - g(x)| \geq \varepsilon\right].

This paper designs a tester for the above problem that uses O~(s4δ4ε8)\widetilde{O}(\frac{s^4}{\delta^4\varepsilon^8}) queries to f(⋅)f(\cdot) and O~(1/δ)\widetilde{O}(1/\delta) samples from D\mathcal{D}.

Note: In relation to Euclidean distance, we would have (Ex∼D[∣f(x)−g(x)∣2])12(\mathbb{E}_{x \sim \mathcal{D}}[|f(x)-g(x)|^2])^{\frac12}

≥dD,ε(f,g)⋅ε\geq d_{\mathcal{D},\varepsilon}(f,g) \cdot \varepsilon.

Techniques: The high level design of the tester is via

(i) a tester for the uniform distribution case

(ii) approximate self-correction (w.r.t standard Euclidean distance in the real-valued case rather than Hamming distance) for the class of ss-Fourier-sparse functions.

The tester checks whether the sum of the squares of the estimated top-ss heavy Fourier coefficients are close to 11 (the input function is scaled so that the Fourier coefficient squares should sum to 11 via Parseval), and also whether the function is close to the self-corrected function on O(1/δ)O(1/\delta) random points.

Strengths and weaknesses

Strengths

  • Nice property testing result. The techniques are interesting, especially the approximate self correction approach with dimension independent query complexity, and the overall approach could have more general applicability in designing distribution-free testers.

Weaknesses

  • The exact tester can be used as a preprocessing subroutine for exact proper learning algorithms. But many practical machine learning applications would still require tolerant testing, i.e. distance ≤δ′\leq \delta^\prime v.s. distance ≥δ\geq \delta. But the framework does not seem to extend to tolerant testing. The completeness of the tester piggy-backs the uniform distribution case. For instance, it is not clear to me how dU,ε(f,Ps)≤δ′≪δd_{U,\varepsilon}(f, \mathcal{P}_s) \leq \delta^\prime \ll \delta would imply that the top ss Fourier coefficent estimates squared would sum to something like 1−cε2δ′1-c\varepsilon^2\delta^\prime, which would be needed in a tolerant tester based on this framework. The authors have given a more detailed discussion of these aspects in the rebuttals.

  • The proofs and pseudocode are not very well-written. For instance, In the proof of Lemma 1 (line 406), D(b+z)D(b+z) is not well-defined (but can be inefrred from context). More seriously, neither is the set SS properly defined (line 411 etc), WCW_C is defined after its first use (in the lemma statement) etc. In the main paper, WCW_C and PCP_C used in Algorithms 2 and 3 are not defined (only in the appendix). On a minor note, there also seems to be a notational mismatch of PC\mathcal{P}_C in the algorithm vs PC\mathsf{P}_C in the appendix.

  • (Not so serious) The tester follows fairly standard constructions in the property testing literature. So the technical novelty is non-trivial but not so much that the work has ground-breaking theoretical ideas.

  • (Not so serious) The Fourier sieve (Algorithm 2) etc. would not be very useful in practical machine learning since the iteration over all cosets would go over a prohibitively large number (232/θ82^{32}/\theta^8).

Note: Typo in line 261: "guaranty" to "guarantee" (not serious).

Questions
  • What are your thoughts on this framework and techniques being applied to (distribution free) tolerant testing in the same dD,εd_{D,\varepsilon} distance or some other form of robust testing; Or some other form that establishes this as a useful tool for machine learning applications?
Limitations

Yes

Final justification

Regarding ML applications, I will consider the point that it can be used as a preprocessing subroutine for exact proper learning, even without tolerant testing. One drawback that I still see is that many of the exact learning algorithms still have some "robustness" in the sense that they give semi-agnostic learning in practice and under some appropriate assumptions. This exact tester (as opposed to a tolerant tester) would not serve to identify such cases. But I will reconsider the point about the work not being a good fit for NeurIPS.

The other major negative aspect is the quality of the writing, especially in the appendix. I have no qualms about the correctness of the results, but I am very much afraid that the quality of the writing in the appendix, as I mentioned in the review, falls below the standards I would expect of a theory paper. But all the substantive contributions of this paper are in the appendix.

So I would still consider this paper as borderline, and I will raise my score to "borderline accept". I would still strongly recommend that appendix be written in a better way, perhaps even with the help of AI since all the right ideas are present.

Formatting concerns

None

6 comments
Authors · CommentOpenReview ↗

Rebuttal (1/2)

We thank the reviewer for the thoughtful and constructive comments. We will correct all notational inconsistencies and typographical errors in the revision, including the undefined notation, delayed definitions, and mismatched parameters highlighted by the reviewer. We address the main concerns below.

On the question of tolerant testing.

We agree that tolerant testing is an important direction, particularly when testing is used as a preprocessing step for agnostic or other robust learning frameworks, where the target function is only approximately guaranteed to satisfy the desired property. In contrast, non-tolerant testers naturally serve as preprocessing for PAC learning settings, where the target function is assumed to satisfy the property exactly.

Our framework, however, does not immediately extend to the distribution-free tolerant setting. As the reviewer correctly points out, the primary obstacle lies in the completeness analysis. Our proof relies crucially on the fact that when f∈Psf\in\mathcal P_s, Parseval's identity implies that the top-ss Fourier coefficients capture all of the Fourier mass. In the tolerant YES case, however, ff is only guaranteed to be close (under an unknown distribution DD) to some g∈Psg\in\mathcal P_s. Such closeness under DD provides no guarantee that the top-ss Fourier coefficients of ff capture most of its Fourier mass under the uniform distribution. Consequently, the spectral acceptance criterion used in Step 3 of our algorithm can no longer distinguish tolerant YES instances from NO instances. Overcoming this obstacle appears to require fundamentally new techniques.

That said, while we fully agree that tolerant testing is an important and desirable direction, we would like to offer a perspective on why the distribution-free tolerant setting for Fourier sparsity may currently be less compelling from an algorithmic standpoint than in many other property-testing contexts. A distribution-free tolerant tester must accept functions that are close to being Fourier-sparse under an arbitrary distribution DD, even if they are far from Fourier-sparse under the uniform distribution, while rejecting functions exhibiting the opposite behavior. However, the main point of consideration here is that essentially all existing algorithms for learning Fourier-sparse Boolean functions are designed for the uniform distribution, with only a few extensions to restricted distribution classes such as product distributions. More generally, there is currently no known algorithm for efficiently learning functions that are far from being Fourier-sparse under the uniform distribution (but close to some Fourier sparse function under some arbitrary distribution DD), unless additional structural assumptions are imposed (for example, sparsity with respect to another basis).

Consequently, even if a distribution-free tolerant tester were available, its YES instances would not, in general, be efficiently learnable by the current state of the art. In contrast, our tester is aligned with current state of art of existing Fourier learning algorithms: every YES instance accepted by our tester is guaranteed to be efficiently learnable using known techniques. Thus, while distribution-free tolerant testing of Fourier sparsity is certainly an important theoretical direction, its algorithmic utility is currently limited by the absence of corresponding learning algorithms. We therefore view our work as addressing the practically relevant regime supported by the current state of the art, while leaving the tolerant setting as an interesting direction for future research.

We would sincerely appreciate the reviewer's thoughts on this point and would be grateful to be corrected if our understanding is incomplete or if we have overlooked relevant prior work. Regardless, we fully agree that distribution-free tolerant testing of Fourier sparsity remains an important theoretical direction for future research.

Authors · CommentOpenReview ↗

Rebuttal (2/2)

On the significance of our framework.

We would like to emphasize that non-tolerant distribution-free testing is itself a natural and important problem. It arises in standard PAC learning and its variants (e.g., proper and exact learning), where subsequent algorithms assume that the target function satisfies a structural property exactly. In such settings, one must first certify that the target indeed belongs to the desired class. Our work provides precisely such a certification procedure for Fourier sparsity under arbitrary unknown input distributions. Since Fourier-sparse functions capture many natural function classes studied in learning theory, we believe this problem is well motivated in its own right.

On the broader applicability of our techniques. Beyond the testing result itself, we believe the principal technical contribution of our work is the construction of a pointwise self-corrector for real-valued Fourier-sparse Boolean functions. Classical Kushilevitz–Mansour-type algorithms obtain similar (in fact stronger) guarantees only by explicitly reconstructing the Fourier representation, requiring poly(n,s)\text{poly}(n, s) queries. In contrast, our algorithm provides only oracle access to the closest ss-Fourier-sparse function g⋆g^\star: given any query point xx, it outputs an approximation to g⋆(x)g^\star(x) using only a small number of queries to the original function ff, with query complexity independent of the ambient dimension nn.This nn-independence is precisely what enables our distribution-free reduction, since the tester must evaluate g⋆g^\star on points sampled from an unknown distribution DD.

We believe this primitive may have applications beyond testing. Since it provides blackbox oracle access to the closest Fourier-sparse function without reconstructing the entire Fourier representation, it is naturally suited to settings such as learning with erasures and adversarial label noise, where one wishes to evaluate the corrected function at adaptively or distributionally chosen points. We hope this pointwise self-correction framework will stimulate further investigation in these and related directions.

We hope these responses adequately address the reviewer's concerns, and we would be happy to clarify any remaining questions. We sincerely thank the reviewer once again for the careful reading of our paper and for raising these insightful questions, particularly regarding the tolerant testing setting. Reflecting on these comments has helped us better articulate the scope of our results. We believe that incorporating parts of this discussion into the appropriate places in the paper will improve its presentation, clarify the motivation and limitations of our approach, and make the paper more accessible to readers.

Authors · CommentOpenReview ↗

Follow-up on our rebuttal

We wanted to briefly follow up after posting our rebuttal. We hope that our responses have addressed the concerns raised in your review. If any aspect of our rebuttal remains unclear, or if you have additional questions, we would be happy to provide any further clarification.

If you believe that our rebuttal has satisfactorily resolved your concerns, we would greatly appreciate it if you could reflect this in your updated evaluation of the paper.

Thank you again for your time and thoughtful consideration.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…