betaFeedback

WorksComputer Science

Polynomial Learning of Positive ReLU Networks under Gaussian Inputs

Abstract

We study positive, bias-free, one-hidden-layer ReLU networks under standard Gaussian inputs. We obtain algorithms with polynomial sample and real-arithmetic complexity, without separation or conditioning assumptions on the hidden directions. When the conditional label mean is a width-kk network with total output weight at most one, the learner achieves squared prediction error ε\varepsilon with output width at most k+min⁡{k,d}k+\min\{k,d\} and complexity linear in one plus the residual second moment. For arbitrary labels with bounded second moment, we obtain a positive ReLU network of width O(klog⁡(2/ε))O(k\log(2/\varepsilon)). Its risk is bounded by the irreducible noise variance plus Ck3log⁡9/2(2k/ε)Ck^3\log^{9/2}(2k/\varepsilon) times the squared distance of the conditional mean to the target class, plus ε\varepsilon. The proofs combine implicit Hermite moments, orthogonal tensor-train compression, and a direction decoder whose probability of returning a direction far from every atom is bounded linearly in the compression and estimation errors. Exact Gaussian localization refines the resulting direction covers. In the agnostic setting, a cone-constrained convex program with a scale-dependent penalty produces a positive network; in the conditional-mean setting, exact sparsification yields the smaller width. We also establish projective direction recovery and confidence amplification with sample complexity proportional to the logarithm of the reciprocal failure probability.

Introduction

Learning neural networks in time jointly polynomial in dimension, width, and inverse accuracy is a central problem in computational learning theory. Positive sums of ReLU activations have useful structure even when their hidden directions are arbitrarily close or linearly dependent. After normalization, their even Hermite moments are positive semidefinite mixtures of tensor powers. To exploit this structure, one must represent high-order moments efficiently and turn coarse estimates of the hidden directions into accurate predictors.

We consider two noise models. In the conditional-mean model, E[Y∣X]=f(X)\mathbb{E}[Y \mid X] = f(X) for a target positive ReLU network ff, with input-dependent residual noise of finite unconditional variance. In the agnostic model, the conditional mean g=E[Y∣X]g = \mathbb{E}[Y \mid X] may lie outside the target class, and the benchmark is its best approximation by a network in that class. The mean approximation error g−fg-f vanishes in the first model and perturbs the population moments in the second. Separating this error from label noise leads to an agnostic risk bound in which the irreducible variance has coefficient one.

Both algorithms rely on a complete and sound cover of the hidden directions: every sufficiently heavy atom is approximated, and every returned center is close to an atom of the comparator network. Ordered tensor-train compression maintains exact orthogonality and bounds the total weighted squared projection error by the sum of the errors at individual stages. Successive Gaussian contractions concentrate the posterior distribution on nearby projective directions. Perturbation bounds and a frequency test then yield a robust cover with at most kk centers. Gaussian localization magnifies neighborhoods of these centers, and an inverse-map estimate converts coarse estimates in the localized coordinates into finer estimates in the original coordinates.

In the conditional-mean model, the direction estimates can be refined to arbitrary accuracy. Convex coefficient fitting followed by exact sparsification then gives a network of width k+min⁡{k,d}k+\min\{k,d\}. In the agnostic model, each atom is approximated at a scale determined by its weight and the mean approximation error. A tangent approximation with cubic squared error under Gaussian inputs leads to a convex fitting problem. A scale-dependent penalty controls the error when the fitted predictor is converted into a positive ReLU network. The resulting network satisfies the same positivity and total weight constraints as the target class, with a logarithmic increase in width.

Relation to prior work. Diakonikolas and Kane [1] developed implicit high-order moment estimation and recursive compression for latent-variable models. Their positive-ReLU learner has complexity poly⁡(d,k)2poly⁡(1/ε)\operatorname{poly}(d,k)2^{\operatorname{poly}(1/\varepsilon)}. We build on their moment framework and complex Hermite queries, using an orthogonal tensor-train representation and estimates that require only a finite second moment of the labels. Polynomial reweighting and spectral rounding also appear in tensor decomposition [7]. Appendix § 8 gives a cover based on complex Gaussian reweighting for the conditional-mean model. The sequential decoder in § 4 also accommodates perturbations of the conditional mean.

Exact Gaussian soft localization is an established change-of-measure technique; the sampling identity below specializes Lemma 14 of Diakonikolas et al. [2]. The present analysis combines it with a sound multi-atom cover, a local inverse map, and pruning that controls the number of active centers at every scale. For agnostic learning, the analysis relates the increase in mean error under localization to the cubic error of the tangent approximation.

For a single arbitrarily biased ReLU, Guo and Vijayaraghavan [6] obtain constant-factor agnostic learning under Gaussian marginals. Our setting allows variable width but assumes zero hidden biases, and our approximation factor depends on width. Related results for multi-index models cover different structural assumptions: Diakonikolas et al. [4] treat finite-range models, while Diakonikolas et al. [3] give algorithms for real-valued models with exponential dependence on latent dimension and accuracy. The positive-sum structure considered here allows polynomial dependence on dimension, width, and inverse accuracy simultaneously.

Cone-constrained convex formulations of neural networks and conversions between gated and ReLU models have been studied by Mishkin et al. [8] and Dwaraknath et al. [5]. We use circular cones centered at direction estimates from several localization scales. A penalty weighted by these scales bounds the population error introduced by conversion to a positive network.

Models and main results

Throughout, d,k≥1d,k\ge1 are integers, X∼N(0,Id)X\sim\mathcal{N}(0,I_d), and ReLU⁡(z)=max⁡{z,0}\operatorname{ReLU}(z)=\max\{z,0\}. Define

Fk={f(x)=∑i=1k0aiReLU⁡(uiTx):k0≤k, ai≥0, ∑iai≤1, ui∈Sd−1}.(1)\mathcal{F}_k=\left\{f(x)=\sum_{i=1}^{k_0}a_i\operatorname{ReLU}(u_i^\mathsf{T}x): k_0\le k,\ a_i\ge0,\ \sum_i a_i\le1,\ u_i\in\mathbb{S}^{d-1}\right\}. \tag*{(1)}

We refer to uiu_i as atoms and omit zero-weight atoms. No separation or lower singular-value bound is imposed. The norm ∥h∥2\lVert h\rVert_2 denotes the L2(N(0,Id))L^2(\mathcal{N}(0,I_d)) norm unless a finite-dimensional space is specified. Positive homogeneity allows any nonzero hidden vector to be normalized by transferring its norm to the output coefficient. Every f∈Fkf \in\mathcal{F}_k is continuous, convex, nonnegative, and 1-Lipschitz, and Ef(X)2≤1/2\mathbb{E}f(X)^2 \le1/2.

For labels with EY2<∞\mathbb{E}Y^2 < \infty, let

g(X)=E[Y∣X],V=E[(Y−g(X))2],Ak=inf⁡f∈Fk∥g−f∥22.(2)g(X) = \mathbb{E}[Y \mid X], \qquad\mathcal{V} = \mathbb{E}[(Y-g(X))^2], \qquad A_k = \inf_{f \in\mathcal{F}_k} \lVert g-f \rVert_2^2. \tag*{(2)}

The risk R(h)=E[(Y−h(X))2]\mathcal{R}(h) = \mathbb{E}[(Y-h(X))^2] satisfies the exact orthogonal decomposition

R(h)=V+∥g−h∥22,OPTk:=inf⁡f∈FkR(f)=V+Ak.(3)\mathcal{R}(h) = \mathcal{V} + \lVert g-h \rVert_2^2, \qquad\mathrm{OPT}_k := \inf_{f \in\mathcal{F}_k} \mathcal{R}(f) = \mathcal{V} + A_k. \tag*{(3)}

The infimum is attained. After padding with zero coefficients to kk units, the parameter space is the product of a compact coefficient simplex and unit spheres. The parameterization is continuous in Gaussian L2L^2, since the ReLU Lipschitz inequality gives ∥ReLU⁡(u⊤X)−ReLU⁡(v⊤X)∥2≤∥u−v∥2\lVert\operatorname{ReLU}(u^\top X)-\operatorname{ReLU}(v^\top X)\rVert_2 \le\lVert u-v\rVert_2.

Theorem 2.1 (Agnostic learning by positive ReLU networks). Suppose B≥1B \ge1 is a known bound with EY2≤B\mathbb{E}Y^2 \le B. For 0<ε≤10 < \varepsilon\le1 and 0<δ<10 < \delta< 1, there is a randomized algorithm using independent samples that, with probability at least 1−δ1-\delta, returns

H(x)=∑r=1mαrReLU⁡(vr⊤x),m≤Cklog⁡(2/ε),αr≥0,∑rαr≤1,vr∈Sd−1,(4)H(x) = \sum_{r=1}^{m} \alpha_r \operatorname{ReLU}(v_r^\top x), \qquad m \le C_k \log(2/\varepsilon), \qquad\alpha_r \ge0, \qquad\sum_r \alpha_r \le1, \qquad v_r \in\mathbb{S}^{d-1}, \tag*{(4)}

satisfying

R(H)≤V+Ck3log⁡9/2(2k/ε)Ak+ε.(5)\mathcal{R}(H) \le\mathcal{V} + C k^3 \log^{9/2}(2k/\varepsilon) A_k + \varepsilon. \tag*{(5)}

It uses at most poly⁡(d,k,B,ε−1,log⁡(2/δ))\operatorname{poly}(d,k,B,\varepsilon^{-1},\log(2/\delta)) samples and real-arithmetic operations, with universal exponents. The algorithm requires no knowledge of V\mathcal{V}, AkA_k, or OPTk\mathrm{OPT}_k. The coefficient and width constraints hold for every output.

In particular, HH is continuous, convex, nonnegative, and 1-Lipschitz. After increasing a universal constant, (5) implies the polynomial-factor agnostic guarantee

R(H)≤Ck3log⁡5(2k/ε)OPTk+ε.(6)\mathcal{R}(H) \le C k^3 \log^5(2k/\varepsilon)\mathrm{OPT}_k + \varepsilon. \tag*{(6)}

It also gives ∥H−g∥22≤ε\lVert H-g\rVert_2^2 \le\varepsilon when g∈Fkg \in\mathcal{F}_k, even with irreducible label noise. The following result provides a smaller output width and a sharper dependence on that noise in the conditional-mean setting.

Theorem 2.2 (Learning a positive ReLU conditional mean). Suppose independent examples satisfy

X∼N(0,Id),E[Y∣X]=f(X),f∈Fk,E[(Y−f(X))2]≤σ2,(7)X \sim\mathcal{N}(0,I_d), \qquad\mathbb{E}[Y \mid X] = f(X), \qquad f \in\mathcal{F}_k, \qquad\mathbb{E}[(Y-f(X))^2] \le\sigma^2, \tag*{(7)}

where a bound σ2≥0\sigma^2 \ge0 is supplied. For ε,δ∈(0,1/10)\varepsilon,\delta\in(0,1/10), a randomized algorithm returns, with probability at least 1−δ1-\delta,

h(x)=∑j=1mcjReLU⁡(vj⊤x),m≤k+min⁡{k,d},cj≥0,∑jcj≤1,vj∈Sd−1,(8)h(x) = \sum_{j=1}^{m} c_j \operatorname{ReLU}(v_j^\top x), \qquad m \le k+\min\{k,d\}, \qquad c_j \ge0, \qquad\sum_j c_j \le1, \qquad v_j \in\mathbb{S}^{d-1}, \tag*{(8)}

with ∥h−f∥22≤ε\lVert h-f\rVert_2^2 \le\varepsilon, using at most

(1+σ2)poly⁡(d,k,ε−1,log⁡(1/δ))(9)(1+\sigma^2)\operatorname{poly}(d,k,\varepsilon^{-1},\log(1/\delta)) \tag*{(9)}

samples and real-arithmetic operations. The coefficient and width constraints hold for every output. If the final direction matrix has s≤ks \le k columns and rank rr, the output width is at most s+rs+r. Evaluating hh requires O(dk)O(dk) basic operations.

The conditional variance may be unbounded as a function of XX; only the unconditional residual second moment is bounded. Section 6 also gives parameterized projective direction recovery and reduces the confidence dependence in the sample count to a single factor log⁡(1/δ)\log(1/\delta).

Computational model. Complexity is measured in a real-arithmetic model allowing exact real and complex arithmetic, comparisons, square roots, Gaussian sampling, and symmetric eigendecompositions. These operations suffice for the agnostic algorithm. Uniform sampling and the localization acceptance test can be implemented using Gaussian squares, as described in Section 5. The conditional-mean algorithm additionally evaluates the Gaussian ReLU kernel, including its inverse-cosine term; the construction in Appendix § 8 also evaluates exponentials. Adaptive estimation uses independent samples at each stage. Prescribed polynomial upper bounds on sample counts and matrix and list sizes ensure polynomial running time for every outcome. If a bound would be exceeded, the algorithm terminates with the zero network or the empty direction set.

Notation. For unit vectors define the projective metric

D(u,v)=min⁡{∥u−v∥2,∥u+v∥2}=2(1−∣u⊤v∣).(10)D(u,v)=\min\{\lVert u-v\rVert_2,\lVert u+v\rVert_2\}=\sqrt{2(1-\lvert u^\top v\rvert)}. \tag*{(10)}

This is a metric on directions modulo sign. We fix θ=10−3\theta=10^{-3} throughout the cover and refinement arguments. Constants denoted by C,cC,c are universal and may change from line to line. Sample counts are rounded up to integers. Logarithmic factors in complexity bounds may be replaced by log⁡(2+⋅)\log(2+\cdot) to keep them positive. Tensor norms and inner products are Frobenius norms and inner products; the polynomial contractions are defined in § 3.

Observable moments and ordered tensor compression

We construct a direction cover whose accuracy depends on the population discrepancy ζ=∥g−f∥L2\zeta=\lVert g-f\rVert_{L^2}, where g(x)=E[Y∣X=x]g(x)=\mathbb{E}[Y\mid X=x] and f(x)=∑iaiReLU⁡(ui⊤x)∈Fkf(x)=\sum_i a_i\operatorname{ReLU}(u_i^\top x)\in\mathcal{F}_k is a fixed comparator. The sample and operation bounds improve when g=fg=f. We omit zero-weight atoms throughout and allow the atom set and output list to be empty.

Our moment estimates build on the implicit-moment framework of Diakonikolas and Kane [1]. We equip ordered tensor spaces with the Frobenius inner product. For a real order-qq tensor TT, write

pT(z)=∑i1,…,iqTi1⋯iqzi1⋯ziq.p_T(z)=\sum_{i_1,\ldots,i_q}T_{i_1\cdots i_q}z_{i_1}\cdots z_{i_q}.

References

  1. [1]Ilias Diakonikolas and Daniel M. Kane. Implicit high-order moment tensor estimation and learning latent variable models, 2025. URL https://arxiv.org/abs/2411.15669v2. arXiv:2411.15669, version 2, April 12, 2025; first posted in 2024.
  2. [2]Ilias Diakonikolas, Daniel M. Kane, Vasilis Kontonis, Christos Tzamos, and Nikos Zarifis. Agnostic proper learning of halfspaces under Gaussian marginals. In Mikhail Belkin and Samory Kpotufe, editors, Proceedings of Thirty Fourth Conference on Learning Theory, volume 134 of Proceedings of Machine Learning Research, pages 1522–1551. PMLR, 2021. URL https://proceedings.mlr.press/v134/diakonikolas21b.html.arxiv.org/abs/2102.05629
  3. [3]Ilias Diakonikolas, Giannis Iakovidis, Daniel M. Kane, and Lisheng Ren. Algorithms and SQ lower bounds for robustly learning real-valued multi-index models. In Advances in Neural Information Processing Systems, volume 38, 2025. doi: 10.52202/085713-2177.DOI
  4. [4]Ilias Diakonikolas, Giannis Iakovidis, Daniel M. Kane, and Nikos Zarifis. Robust learning of multi-index models via iterative subspace approximation, 2025. URL https://arxiv.org/abs/2502.09525v2.
  5. [5]Rajat Vadiraj Dwaraknath, Tolga Ergen, and Mert Pilanci. Fixing the NTK: From neural network linearizations to exact convex programs. In Advances in Neural Information Processing Systems, 2023. URL https://arxiv.org/abs/2309.15096.
  6. [6]Anxin Guo and Aravindan Vijayaraghavan. Agnostic learning of arbitrary ReLU activation under Gaussian marginals. In Proceedings of Thirty Eighth Conference on Learning Theory, volume 291 of Proceedings of Machine Learning Research, pages 2592–2631. PMLR, 2025. URL https://proceedings.mlr.press/v291/guo25a.html.arxiv.org/abs/2411.14349
  7. [7]Tengyu Ma, Jonathan Shi, and David Steurer. Polynomial-time tensor decompositions with sum-of-squares, 2016. URL https://arxiv.org/abs/1610.01980. arXiv:1610.01980.
  8. [8]Aaron Mishkin, Arda Sahiner, and Mert Pilanci. Fast convex optimization for two-layer ReLU networks: Equivalent model classes and cone decompositions. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 15770–15816. PMLR, 2022. URL https://proceedings.mlr.press/v162/mishkin22a.html.arxiv.org/abs/2202.01331

Paper details

vlnc:W_t3vdkz3x
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents