Pith. Sign in

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

How this review was made: An AI referee (deepseek/deepseek-v4-flash) read the paper on October 1, 2026 and answered a fixed list of questions about it. T0 is the starting level every paper gets. The levels describe how deeply Pith has checked the paper, never the authors.

  1. T0 AI review An AI read the paper and answered a fixed list of questions.
  2. T1 Audit Automatic checks that the references and files the paper relies on exist and match.
  3. T2 Compute The paper's code or calculations re-run with the same results.
  4. T3 Formal statement The claims written out in a formal math language a computer can read.
  5. T4 Proof Those claims proved, and the proof checked by computer.

How Pith checks papers →

· 3 major objections · 4 minor · Ask about this paper · The compiled record · Read the full review →
Challenge this review Comment (0) Read on arXiv ↗
Cite ▾
arXiv ID2609.40331 (version 3)
Pith IDC3LLXNBL, Pith's permanent record of this paper and its review
CitationAleksandrs Krivcenko, Ronald de Wolf, Tuyen Nguyen. "Fast Quantum Algorithms for Learning Linear Threshold Functions." arXiv:2609.40331 (2026). https://pith.science/paper/C3LLXNBL
Cite this reviewBibTeX for Pith's review of this paper
Claim paper

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

This paper tries to establish that coherent quantum access collapses the query cost of learning linear threshold functions (halfspaces) in three settings where classical learners are far weaker. In the real-domain membership-query model, a quantum learner recovers the unknown weight vector and threshold with O(log(n/ε)) queries and Õ(n) gates, versus the classical Ω(n log(1/ε)) query bound. In the Boolean membership-query model, the special case of learning an equal-weight Majority-junta is shown to need Θ(log k) queries, closing a gap left open by prior work that only achieved O($k^{{1/4}}$). In the weaker quantum-example model under the Gaussian distribution, homogeneous halfspaces are learned with O($n^{{1/4}}$/√ε) queries via a quantum Hermite transform, a quartic improvement over the classical dimension dependence. If these proofs hold, they are exact, closed-form query-complexity statements rather than empirical or asymptotic guesses.

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

Editorial extensions of the paper, not claims the author makes directly.

  • 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.

Compiled by classifier-1.13.0 via TypeSafe API, question bank abstract-p1-20260923, 2026-10-01: 1 request, 10,654 input tokens.

What the abstract itself states, as probabilities: claims first 0.09 · states limitation 0.62 · human participants 0.01 · controlled comparison 0.24 · randomized assignment 0.02 · states quantitative result 0.99 · compares with prior results 0.97 · mentions code or data availability 0.02.

The abstract, sentence by sentence

arXiv listing abstract v1. Results and the main claim are underlined; .

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

What the classifier reports for each sentence. The number is the probability it gave the label.
#sentencerolethe authors' own workstates the main conclusionstrength
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 kind of paper the classifier reports this is: method or tool 0.67 · evidence from proof or derivation 0.99.

What was examined, and what was not

sources read
  • arXiv listing abstract v1
not examined
  • full text
  • figures and tables
  • references and citing sentences
  • relations to other papers
levels run
  • P abstract
not run
  • S sections
  • T body sentences
  • C citations
  • R cross-paper relations

Every quoted sentence on this record is the authors'. Every label is from Pith's closed vocabulary, with the probability shown beside it. Every number in the measurements table is the authors', checked by code. Record as JSON

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.