REVIEW
Fast Quantum Algorithms for Learning Linear Threshold Functions
Quantum Physics · Submitted 30 Sep 2026
Pith's verdict: Strong paper with a real gap: the tightness proof of the headline Θ(log k) Majority-junta result fails as printed — a numerator/denominator slip in the adversary matrix that the stress test caught and the structured review missed.
T0 · AI review
Why Pith says this
Highlight any text to comment on it.
Referee report
The paper
The paper claims
Quantum membership queries learn linear threshold functions with O(log(n/ε)) queries, against a classical Ω(n log(1/ε)) barrier, and reduce Majority-junta learning to Θ(log k).
The reading
What carries the argument
The paper rests on three mechanisms. (1) For membership queries: the height function h_p(x) = θ/⟨w,p⟩ − ⟨w,x⟩/⟨w,p⟩ along a fixed direction p is exactly affine, so its gradient equals −w/⟨w,p⟩; a coherent binary search approximates h_p and Jordan's grid-based gradient-estimation algorithm recovers all coordinates in parallel with O(1) oracle calls. (2) For Boolean Majority-junta learning: the dual adversary SDP whose optimal value characterizes quantum query complexity, restricted to low-rank 'intersection-free' solutions parametrized by a single (k+1)×(k+1) matrix; feasibility reduces to a polynomial condition solved by Krawtchouk polynomials whose roots partition {1,...,k−1} by residue mod 4, giving objective O(log k). (3) For quantum examples: the Hermite ridge identity h_k(⟨w,x⟩) = Σ_{|α|=k} √(k!/α!) w^α h_α(x), which shows that the degree-k Hermite component of a halfspace encodes k identical copies of |w⟩; the discrete quantum Hermite transform (QHT) exposes this structured high-degree component, amplitude amplification over the degree band accesses it with O($K^{{1/4}}$) queries, a second-to-first-quantization isometry converts it to |w⟩^{⊗K}, and gate-efficient tomography extracts the classical direction.
Extended reading notes
Core claim
The central claim is a trio of query-complexity results for learning LTFs. First, using a geometric reduction from halfspace membership to an affine height function whose gradient is collinear with the unknown normal, a quantum learner estimates both the boundary offset and the gradient in parallel, achieving O(log(n/ε)) membership queries and Õ(n) gates (Theorem 3.4), with a matching Ω(log(1/ε)) lower bound from ordered search (Theorem 3.5). Second, a homogeneous LTF whose weights are equal on an unknown support A is the Majority function on A; the paper constructs feasible solutions to the dual adversary semidefinite program—using Krawtchouk polynomials and a novel mod-4 root-partition construction—showing Θ(log k) bounded-error quantum query complexity for identifying A (Theorem 4.1). Third, from a discretized quantum-example oracle under the Gaussian measure, the paper applies the efficient quantum Hermite transform, projects onto a degree band K..2K whose Hermite mass is Θ($K^{{-1/2}}$), converts the band state via an isometry into K copies of the direction state |w⟩, and recovers w by pure-state tomography, using O($n^{{1/4}}$/√ε) oracle applications (Theorem 5.7).
Load-bearing premise
The example-query result of Section 5 rests on the finite-dimensional quantum Hermite transform of [JIS+26] together with the paper's own discretization and boundary-cell error bounds all holding simultaneously at the chosen grid size M = poly(n, 1/ε), so that the compounded approximation error—discretization, QHT synthesis, band projection, and isometry—stays below the stated η.
Editorial extensions
If this is right
- Exponential quantum–classical separation: learning general halfspaces from membership queries drops from classical Ω(n log(1/ε)) to quantum O(log(n/ε)), and the paper proves a matching Ω(log(1/ε)) quantum lower bound.
- The Majority-junta open problem from the earlier O(k^{1/4}) algorithm is fully resolved: Θ(log k) queries for both the exact-support and bounded-support promises, valid for all n ≥ k.
- This is the first application of the efficient quantum Hermite transform to a natural machine-learning problem, giving a quartic improvement in dimension for learning homogeneous halfspaces from quantum examples under the Gaussian distribution.
- The Hermite-ridge structure (degree-k component = k copies of |w⟩) offers a template for learning other ridge-structured or low-complexity function classes from quantum examples.
Reading between the lines
- The height-function-plus-gradient recipe is likely transferable beyond halfspaces: any convex body whose boundary queries can be turned into an affine or smoothly varying height function should inherit a similar logarithmic quantum query bound, generalizing the convex-optimization separation-query results the paper cites.
- The Θ(log k) Majority-junta result is proven through the dual adversary SDP, which typically yields no gate-complexity guarantee; a concrete span program distilled from the intersection-free solution would be needed before the speedup can be deployed as a circuit-level primitive.
- The quantum-example result uses only the two highest-degree Hermite coefficients' mass; the same band-projection trick may extend to non-homogeneous LTFs if the threshold is treated as a separate scalar to be estimated, though the paper leaves this open.
- The mod-4 polynomial construction is a specific instance of a general root-partition feasibility scheme; analogous constructions might yield log-k algorithms for learning other symmetric k-juntas such as OR or ExactHalf, where polynomial (√k-type) bounds currently prevail.
Original abstract
Linear threshold functions (LTFs) are $\{-1,1\}$-valued functions $f_{w,\theta}(x)=\text{sgn}(\langle w,x\rangle-\theta)$, where $w\in\mathbb R^n$ has unit norm, $\theta\in\mathbb R$, and $x\in\mathbb R^n$ or $\{-1,1\}^n$. If $\theta=0$, the LTF is homogeneous, denoted $f_w=f_{w,0}$. LTFs are fundamental linear classifiers. We give three results: one for general LTFs and two for homogeneous LTFs. (1) With real-domain membership queries evaluating $f_{w,\theta}(x)$ at any chosen $x\in\mathbb R^n$, we learn an LTF with classification error at most $\varepsilon$ under the standard Gaussian distribution using $O(\log(n/\varepsilon))$ queries and $\widetilde{O}(n)$ other gates. Classically, $\Omega(n\log(1/\varepsilon))$ queries are required, giving an exponential quantum query speedup. (2) A homogeneous LTF $f_w$ over $\{-1,1\}^n$ whose $k$ nonzero weights are equal and positive is Majority on the support of $w$. We identify this hidden support exactly using $O(\log k)$ queries, exponentially improving Belovs' $O(k^{1/4})$ upper bound. Our algorithm uses $O(n\log n\log k)$ gates and has $O(\log n\log k)$ non-oracle depth. Classical algorithms require $\Omega(k\log(n/k))$ queries. (3) Suppose a unitary $U$ prepares discretized Gaussian quantum examples, corresponding to $\int_x\sqrt{\gamma_n(x)}|x\rangle|f_w(x)\rangle\,dx$. This is weaker than membership queries. Using the efficient quantum Hermite transform circuit, we learn homogeneous LTFs with classification error at most $\varepsilon$ under the Gaussian distribution using $O(n^{1/4}/\sqrt{\varepsilon})$ applications of $U$ and $U^\dagger$ and $\widetilde{O}\!(\frac{n^{5/4}}{\sqrt{\varepsilon}}+\frac{n}{\varepsilon^2})$ other gates. Classically, $\Omega(n/\varepsilon)$ examples are needed, giving a quartic quantum speedup in $n$. We show that the quantum query complexities in all three cases are optimal by proving matching lower bounds.
The compiled record
The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. Numbers in the tables are the authors', checked by code. No sentence in this record was written by a model.
The abstract, sentence by sentence
Linear threshold functions are $f_{w,\theta}(x)=\text{sign}(\langle x,w \rangle -\theta)$, where the weight vector $w\in\mathbb{R}^n$ is a unit vector, $\theta\in\mathbb R$ is a threshold, and typically $x\in\mathbb{R}^n$ or $x\in\{-1,1\}^n$. When $\theta=0$, the LTF is called homogeneous, and we write $f_w:=f_{w,0}$. Such functions are among the most important objects in machine learning, since they serve to linearly discriminate positive and negative examples. We give three positive results about learning LTFs: 1. Suppose we can make real-domain queries, meaning we can compute $f_{w,\theta}(x)$ at any $x\in\mathbb{R}^n$ of our choice. We give a quantum algorithm that learns $f_{w,\theta}$ up to Euclidean error~$\epsilon$ using $O(\log(n/\epsilon))$ membership queries and $\widetilde{O}(n)$ other gates. Then we have also learned $f_{w,\theta}$ up to error $O(\epsilon)$ when $x$ is Gaussian. Classical algorithms need $\Omega(n\log(1/\epsilon))$ queries. 2. A homogeneous LTF $f_w$ on domain $\{-1,1\}^n$ where $w$ has only $k$ nonzero entries of the same value, is the Majority function on the support of $w$. Belovs gave a bounded-error quantum algorithm that identifies the hidden support exactly (and hence learns $f_w$) using $O(k^{1/4})$ queries. We give an exponential improvement, using $O(\log k)$ queries. 3. Suppose we have a unitary $U$ that can produce (discretized) \emph{quantum examples} under Gaussian measure, corresponding to $\int_x \sqrt{\gamma_n(x)}|x\rangle |f_w(x)\rangle dx$. This is a weaker access model than membership queries. We give a quantum algorithm based on the efficient \emph{Hermite transform} of Jain et al.\ to learn homogeneous LTFs~$f_w$ with error~$\epsilon$ under the Gaussian distribution, using $O(n^{1/4}/\sqrt{\epsilon})$ applications of $U$ and $U^\dagger$ and $\widetilde{O}(n^2/\epsilon^4)$ other gates.
background contribution method result interpretation main claim
| # | sentence | role | the authors' own work | states the main conclusion | strength |
|---|---|---|---|---|---|
| s0 | Linear threshold functions are $f_{w,\theta}(x)=\text{sign}(\langle x,w \rangle -\theta)$, where the weight vector $w\in\mathbb{R}^n$ is a unit vector, $\theta\in\mathbb R$ is a threshold, and typically $x\in\mathbb{R}^n$ or $x\in\{-1,1\}^n$. | background 1.00 | 0.05 | 0.02 | asserted 1.00 |
| s1 | When $\theta=0$, the LTF is called homogeneous, and we write $f_w:=f_{w,0}$. | background 1.00 | 0.20 | 0.02 | asserted 0.99 |
| s2 | Such functions are among the most important objects in machine learning, since they serve to linearly discriminate positive and negative examples. | background 1.00 | 0.04 | 0.02 | asserted 1.00 |
| s3 | We give three positive results about learning LTFs: 1. | contribution 1.00 | 0.88 | 0.27 | asserted 0.95 |
| s4 | Suppose we can make real-domain queries, meaning we can compute $f_{w,\theta}(x)$ at any $x\in\mathbb{R}^n$ of our choice. | method 0.55 | 0.18 | 0.03 | asserted 0.59 |
| s5 | We give a quantum algorithm that learns $f_{w,\theta}$ up to Euclidean error~$\epsilon$ using $O(\log(n/\epsilon))$ membership queries and $\widetilde{O}(n)$ other gates. | contribution 0.56 | 0.95 | 0.30 | asserted 1.00 |
| s6 | Then we have also learned $f_{w,\theta}$ up to error $O(\epsilon)$ when $x$ is Gaussian. | result 0.77 | 0.82 | 0.10 | asserted 0.99 |
| s7 | Classical algorithms need $\Omega(n\log(1/\epsilon))$ queries. 2. | result 0.51 | 0.28 | 0.09 | asserted 1.00 |
| s8 | A homogeneous LTF $f_w$ on domain $\{-1,1\}^n$ where $w$ has only $k$ nonzero entries of the same value, is the Majority function on the support of $w$. | background 0.95 | 0.15 | 0.04 | asserted 1.00 |
| s9 | Belovs gave a bounded-error quantum algorithm that identifies the hidden support exactly (and hence learns $f_w$) using $O(k^{1/4})$ queries. | background 0.98 | 0.03 | 0.06 | asserted 1.00 |
| s10 | We give an exponential improvement, using $O(\log k)$ queries. 3. | result 0.72 | 0.93 | 0.17 | asserted 1.00 |
| s11 | Suppose we have a unitary $U$ that can produce (discretized) \emph{quantum examples} under Gaussian measure, corresponding to $\int_x \sqrt{\gamma_n(x)}|x\rangle |f_w(x)\rangle dx$. | method 0.60 | 0.28 | 0.04 | asserted 0.47 |
| s12 | This is a weaker access model than membership queries. | background 0.55 | 0.35 | 0.02 | asserted 1.00 |
| s13 | We give a quantum algorithm based on the efficient \emph{Hermite transform} of Jain et al.\ to learn homogeneous LTFs~$f_w$ with error~$\epsilon$ under the Gaussian distribution, using $O(n^{1/4}/\sqrt{\epsilon})$ applications of $U$ and $U^\dagger$ and $\widetilde{O}(n^2/\epsilon^4)$ other gates. | contribution 0.82 | 0.93 | 0.20 | asserted 1.00 |
What was examined, and what was not
- arXiv listing abstract v1
- full text
- figures and tables
- references and citing sentences
- relations to other papers
- P abstract
- S sections
- T body sentences
- C citations
- R cross-paper relations
Discussion
Disagree with the review, or know something it missed? Leave a comment, highlight any passage above to comment on it, or challenge this review formally.