- Rating
- 4
- Clarity
- 2
- Confidence
- 1
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
To address the issue that complexity analysis for deep learning training has long been limited to discrete arithmetic counting and lacks formal evaluation criteria in the continuous domain, this work constructs an FP_2-computability analysis framework for neural network training primitives based on second-order complexity theory. It proves that dense backpropagation, convolutional backpropagation, soft attention, and mainstream smooth optimizers all fall into the class of second-order polynomial-time computable operators, and identifies three categories of operations — discontinuous selection, global optimization, and continuous-time flow solving — that drive complexity escalation. This work provides a unified theoretical foundation of computable analysis for the precision dependence and computational efficiency of deep learning training.
Strengths and weaknesses
Strengths
This paper provides a novel perspective from the lens of computational complexity, and its conclusions cover the current mainstream neural network architectures.
Weaknesses
1.While the perspective proposed in the paper is valuable, it is more abstract compared with traditional analytical approaches. It offers little actionable guidance for practitioners to implement or adjust neural networks in practice. Furthermore, the paper does not further elaborate on the broader significance of its conclusions.
2.The mathematical reasoning in the paper is explicit, yet the mathematical results come across as pessimistic. Since non-continuous activation functions are practically indispensable in neural networks, the complexity of neural networks would escalate when such activations are adopted. It leaves readers wondering how to address this issue, and the result seems rather discouraging.
3.For globally defined operators that are of real practical concern, such as global continuous optimization, the paper does not provide corresponding boundary conclusions.
Questions
see weakness.
Limitations
yes
Paper formatting concerns
No
Final justification
I'm sticking with my rating score, as I consider it my final assessment of this job. I provide a relevant explanation to AC.
We are grateful to the reviewer for your careful reading of the paper and constructive feedback. Let us address your concerns below. (Please note that the following comments are quite lengthy. Please understand that we still tried to make it as succinct as possible.)
(a) Active interaction count.
Parameter count alone does not determine training cost because a parameter may be reused across many spatial positions or interactions. For a dense network with s weights, explicitly computing a full one-sample gradient costs Θ(s) scalar operations, in addition to evaluating activation and loss primitives at the required precision (Theorem 1, p. 6). In convolutional networks, grouping into g equal groups reduces the leading multiply-accumulate term by a factor of g, although data movement and gradient-materialization costs need not decrease proportionally. Depthwise-separable convolution replaces the leading dependence on KCinCout by KCin+CinCout (Theorem 3, p. 7). Dense self-attention costs Θ(ℓd2+ℓ2d), whereas fixed sparse attention with at most r keys per query costs O(ℓd2+rℓd+hrℓ). This becomes Θ(ℓd2+rℓd) when each query has Θ(r) active keys and the projections remain dense (Theorem 4, p. 8). Architecture selection should thus consider active operations, interaction patterns, and data movement rather than parameter count alone.
(b) Branch margins.
Hard attention, argmax routing, top-k selection, and derivative conventions at nonsmooth boundaries can produce discontinuous selection or gradient maps (Proposition 2, p. 16). Relevant local margins include γtop-k=s(k)−s(k+1) for top-k selection and γsign=∣z∣ for a sign decision. When a computation contains several branch tests, its stability is governed by the smallest margin. If this margin is small, rounding errors, reduced precision, or minor input perturbations may alter the selected branch and the resulting gradient. On a domain with a positive minimum margin γ, additional working precision O(log(1/γ)) is sufficient to resolve the decisions reliably (Proposition 3, p. 16). Monitoring branch margins, using fixed masks or smooth relaxations, and maintaining positive branch separation can thus improve stability and reproducibility.
(c) Numerical conditioning.
Even when the operation count is moderate and all branch decisions are fixed, numerical errors may be amplified by poor conditioning. Useful diagnostics include activation and preactivation ranges, layer operator norms, local Jacobian or Hessian estimates, attention-score ranges, routing margins, and normalization or optimizer denominators. Gradient magnitude measures the scale of an update but does not by itself measure the sensitivity of the gradient map. Large local derivative estimates indicate potential error amplification, while small denominators can make normalization and adaptive updates numerically sensitive.
For dense backpropagation, a sufficient working-precision bound has the form p=n+O(log(2+Hdense)+log(2+q)+log(2+A)), where 2−n is the target coordinatewise error, Hdense bounds second derivatives, q is the number of scalar inputs, and A measures the arithmetic work (Theorem 2, p. 6). Thus, the required precision depends on both the desired accuracy and the conditioning of the computation. Rescaling, normalization, norm control, and positive denominator safeguards may reduce numerical risk.
(d) Bounded approximate optimization.
Practical optimization should be implemented as a finite sequence of explicitly approximate operations. Under the assumptions stated in the paper, any prescribed finite sequence of SGD-, momentum-, RMSProp-, or Adam-style updates is efficiently computable (Theorem 5, p. 8). Fixed-iteration curvature-based methods are similarly covered when derivative bounds are available, generated directions remain in the declared domain, denominators have positive lower bounds, and inner iteration counts are explicitly bounded (Section 7, pp. 8-9; Appendix A.10, p. 18).
By contrast, exact line search introduces global continuous minimization, while unrestricted gradient flow requires solving a continuous-time initial-value problem. Implementations should thus use finite iteration budgets, bounded approximate line searches, safeguarded denominators, explicit tolerances, and maximum iteration counts. Data-dependent stopping and acceptance tests should also use numerical margins or robust equality handling. These measures provide predictable termination and prevent singular operations or unresolved comparisons from dominating the computation.
These four principles address excessive computational cost, unstable branch decisions, numerical error amplification, and unpredictable optimization procedures. They identify conditions under which prescribed training updates can be evaluated efficiently and reproducibly.
Nonsmoothness does not make neural-network differentiation intrinsically expensive. The obstruction is localized to numerically unstable branch boundaries. Away from those boundaries, nonsmooth backpropagation remains second-order polynomial-time, with inverse margin acting as a condition parameter. The theory consequently suggests concrete routes to certified tractability: maintain or verify branch margins, use smooth or soft relaxations when margins collapse, and employ finite approximate optimization procedures rather than exact global or continuous-time idealizations.
Theorem (oracle-complexity boundary for global optimization). Let G be the class of smooth real-valued functions f on 0,1 such that ∣f(x)∣≤1 and ∣f(x)−f(y)∣≤∣x−y∣ for all x,y∈[0,1]. Represent f by a dyadic value oracle which, on input a dyadic q∈[0,1] and a precision request p, returns a dyadic approximation to f(q) with error at most 2−p; the Lipschitz bound 1 is assumed known. Let V(f)=min0≤x≤1f(x). A point x∈[0,1] is an ϵ-minimizer if f(x)≤V(f)+ϵ.
(i) For all sufficiently small ϵ>0, both approximating V(f) with absolute error at most ϵ and finding an ϵ-minimizer have deterministic worst-case value-oracle query complexity Θ(1/ϵ). Consequently, when ϵ=2−n, both problems require Θ(2n) oracle queries in the worst case and hence are not uniformly FP2-computable.
(ii) Let ϕ:[0,1]→R be differentiable, and suppose that g=ϕ′ is supplied through a uniformly FP2-computable evaluation oracle. Suppose also that an explicit positive dyadic certificate μ>0 is supplied such that g(y)−g(x)≥μ(y−x) whenever 0≤x<y≤1. Then ϕ has a unique minimizer xϕ. Moreover, the operator (g,μ)↦xϕ is uniformly FP2-computable.
Please note that the theoretical significance of the paper is explained in the comments for Reviewer bYxD.
Many thanks again for your review. We will improve the paper taking all of your precious comments into account.