Second-Order Complexity Theory for Neural Networks
Yoshihiro Maruyama
TL;DR. Smooth local neural-network training primitives are second-order polynomial-time computable, while discontinuous selection, global optimization, and continuous-time flow solving introduce higher complexity.
Abstract. Machine learning relies on gradient-based training procedures whose empirical efficiency is usually analyzed through finite-dimensional arithmetic counts rather than formal complexity over continuous real-valued data. This paper studies neural-network training primitives as represented-real operators in the second-order complexity framework of Kawamura and Cook. Here, second-order polynomial time () means computing a real-valued operator to accuracy in time polynomial in the requested precision, architecture size, primitive evaluation costs, and analytic bounds encoded with the input. We prove that dense backpropagation, convolutional backpropagation, soft attention, a fixed number of SGD- or Adam-style updates, and related smooth local primitives are -computable over the relevant represented real spaces. More precisely, dense one-sample backpropagation has tight arithmetic-and-output complexity for weights and polynomial bit complexity; convolutional backpropagation is polynomial in the number of active convolution incidences; dense soft-attention backpropagation for sequence length and model dimension has arithmetic cost using classical matrix multiplication; and fixed finite optimizer updates remain -computable, with polynomial precision moduli and denominator bounds determining the required precision. Higher complexity enters through three distinct mechanisms: discontinuous selection, global optimization, and continuous-time flow solving. For example, hard routing, top- sparsification, argmax decisions, ReLU kink conventions, exact line search, and idealized gradient flow change the second-order complexity of the training operator. Overall, this work provides a rigorous mathematical language for establishing tractability guarantees and identifying computational barriers in neural-network training, thus enabling a unified account of computational complexity for dense networks, CNNs, attention, Transformers, and standard optimizers.
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 paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:50 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Summary
The paper provides a unified complexity account for various neural network architectures, optimizers and other blocks and operations. It studies neural-network training primitives as operators over represented real spaces using the second-order complexity framework of Kawamura-Cook, which actively considers precision as part of the complexity analysis.
First it is show that the smooth local primitives used in standard training are second-order polynomial-time computable ( computable), which means that the operator can be computed to accuracy in time polynomial in the required precision (and other constraints). Examples are convolutional backpropagation, dense soft-attention backpropagation, SGD and Adam style updates. Therefore, the backpropagation used for fixed precision can support represented-real statement with explicit consideration with polynomial complexity. It is also shown that primitives like hard routing, top-k sparsification and argmax decisions are examples that are not in general computable. The results are summarized in the table of Page 9.
Strengths and weaknesses
Actively considering precision in the complexity analysis of neural networks is an interesting point that can provide guideline for future computational paradigms and hardware. The paper presents the theoretical framework of Kawamura-Cook with adequate details, and the results seem to be correct.
A recurring question among the reviewers where the insight behind the provided results, the implications of the result both for theoretical research and machine learning practitioners. What is the importance of the second-order complexity framework both theoretically and practically? What is the impact of difference architecture choices on the complexity? Can the authors provide actionable guidance on architecture design or compute implementation for practitioners? For the primitive such as discontinuous selection, global optimization, and continuous-time flow solving, what are the implications of not being computable? Are there any solutions to address the limitation, for instance with using smooth approximation of these primitives?
The authors are encouraged to clarify all these details during the rebuttal.
Final justification
During the rebuttal, the authors provided a clear answer for the importance of the second-order complexity framework: the goal is to explicitly include in the complexity analysis the cost of accurate output computation (discontinuous selection, exact global optimization) beyond addition and multiplication. The take-aways from the theory is specified: Finite compositions of smooth local primitives are second-order polynomial-time computable under the given conditions, while discontinuous branch identification, global optimization, and unrestricted flow solving introduce additional difficulties. The authors provided a numerical example of their bounds for dense networks, CNNs, self-attention mechanisms, and transformers, and SGD update. The authors further explained the impact of hard attention, argmax routing, top-k selection, and derivative conventions at non-smooth boundaries, and how numerical errors may be amplified by poor conditioning.
Nonetheless, despite further clarifications by the authors, the findings and take-aways of the paper still require deeper and additional discussions, particularly because the theoretical framework is not the predominant framework in the field.
The paper’s main contribution is a formal model of deep-learning computation that incorporates real-valued data, approximation accuracy, conditioning, and the certificates needed to guarantee efficient computation. The work leverages computability theory, which is a seemingly new framework for analyzing deep learning computation. I believe the presentation of these ideas is useful for the community. I propose acceptance of the paper.
Read meta-review
Meta-review
Summary
The paper provides a unified complexity account for various neural network architectures, optimizers and other blocks and operations. It studies neural-network training primitives as operators over represented real spaces using the second-order complexity framework of Kawamura-Cook, which actively considers precision as part of the complexity analysis.
First it is show that the smooth local primitives used in standard training are second-order polynomial-time computable ( computable), which means that the operator can be computed to accuracy in time polynomial in the required precision (and other constraints). Examples are convolutional backpropagation, dense soft-attention backpropagation, SGD and Adam style updates. Therefore, the backpropagation used for fixed precision can support represented-real statement with explicit consideration with polynomial complexity. It is also shown that primitives like hard routing, top-k sparsification and argmax decisions are examples that are not in general computable. The results are summarized in the table of Page 9.
Strengths and weaknesses
Actively considering precision in the complexity analysis of neural networks is an interesting point that can provide guideline for future computational paradigms and hardware. The paper presents the theoretical framework of Kawamura-Cook with adequate details, and the results seem to be correct.
A recurring question among the reviewers where the insight behind the provided results, the implications of the result both for theoretical research and machine learning practitioners. What is the importance of the second-order complexity framework both theoretically and practically? What is the impact of difference architecture choices on the complexity? Can the authors provide actionable guidance on architecture design or compute implementation for practitioners? For the primitive such as discontinuous selection, global optimization, and continuous-time flow solving, what are the implications of not being computable? Are there any solutions to address the limitation, for instance with using smooth approximation of these primitives?
The authors are encouraged to clarify all these details during the rebuttal.
Final justification
During the rebuttal, the authors provided a clear answer for the importance of the second-order complexity framework: the goal is to explicitly include in the complexity analysis the cost of accurate output computation (discontinuous selection, exact global optimization) beyond addition and multiplication. The take-aways from the theory is specified: Finite compositions of smooth local primitives are second-order polynomial-time computable under the given conditions, while discontinuous branch identification, global optimization, and unrestricted flow solving introduce additional difficulties. The authors provided a numerical example of their bounds for dense networks, CNNs, self-attention mechanisms, and transformers, and SGD update. The authors further explained the impact of hard attention, argmax routing, top-k selection, and derivative conventions at non-smooth boundaries, and how numerical errors may be amplified by poor conditioning.
Nonetheless, despite further clarifications by the authors, the findings and take-aways of the paper still require deeper and additional discussions, particularly because the theoretical framework is not the predominant framework in the field.
The paper’s main contribution is a formal model of deep-learning computation that incorporates real-valued data, approximation accuracy, conditioning, and the certificates needed to guarantee efficient computation. The work leverages computability theory, which is a seemingly new framework for analyzing deep learning computation. I believe the presentation of these ideas is useful for the community. I propose acceptance of the paper.
- Rating
- 4/6
- Confidence
- 1/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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
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.
Formatting concerns
No
1 comment
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies neural-network training primitives as represented-real operators in the second-order complexity framework of Kawamura and Cook. It proves that smooth neural-network training operations, like dense backpropagation, convolutional backpropagation, and soft-attention are FP₂-computable when supplied with explicit analytic certificates. It further shows that local differentiation through smooth networks is not the source of higher complexity, and that the complexity status changes only through three specific mechanisms, i.e., discontinuous selection, global optimization, and continuous-time flow solving. By making precision, conditioning, and certificate dependencies explicit, the paper provides a mathematical foundation that unifies complexity analyses of dense networks, CNNs, attention mechanisms, Transformers, and standard optimizers.
Strengths and weaknesses
The paper's core strength is its rigorous and unifying theoretical contribution. It formally establishes that standard neural-network training primitives are computationally efficient in an exact-real model, while specific non-local mechanisms, such as discontinuous selection, global optimization, and continuous-time dynamics, are precisely identified as the factors that pushes training complexity beyond polynomial time. The theoretical analysis is sound and consistent.
The main weakness of the paper is its exclusively theoretical nature, which is fully noticed by the reviewer. However, impacts or implications of the presented theory in real-world applications are not clearly discussed.
Questions
-
Despite rigorous derivation of the 2nd-order complexity theory of various neural network primitives, i.e., closed form expression of the complexity analysis, can you provide concrete exemplification of dense networks, CNNs, attention mechanisms, Transformers, and standard optimizers for a better illustration of the results? For example, given fixed architecture of dense network, how can the result in Eq. (21) be visualised for its impact on complexity.
-
The analysis is merely on gradient descent algorithm that trains most neural network models studied in the paper. However, the most dominant training algorithm used in real-world applications is Stochastic Gradient Descent. What are implications or values of the presented analysis on 2nd-order complexity theory on gradient descent to Stochastic Gradient Descent?
Limitations
Yes
Final justification
Based on the rebuttal from the authors, I raise my rating of the paper to be Accept.
Formatting concerns
No clear violation of formatting.
3 comments
Rebuttal
We are grateful to the reviewer for your careful reading of the paper and constructive feedback.
- To answer Q1, please let us give a concrete complexity illustration.
Consider a smooth dense network with widths ---. It has weights and trainable parameters. For discrete labels, . Under the normalized stability hypothesis of the precision-propagation lemma underlying Eq.~(21), an illustrative sufficient bound is
$p \ge n+\lceil\log_2(1+qH_{\mathrm{dense}})\rceil +\lceil\log_2(1+A)\rceil+3,$
where is the computation-trace length. Taking the coarse leading-order proxy , requesting output bits gives working bits when and bits when . Thus the scalar-operation count is independent of , while the required precision grows only logarithmically with this derivative-sensitivity envelope. The resulting bit complexity nevertheless depends on through the per-operation cost .
Representative one-sample backpropagation costs are as follows.
-
Dense network: ---; leading count operations, with the coarser bound plus lower-order terms.
-
Convolutional layer: output positions, a kernel, and input and output channels; approximately operations, plus lower-order terms.
-
Self-attention: sequence length , model dimension , and heads; approximately operations, plus the lower-order softmax contribution.
-
Transformer block: sequence length , model dimension , and feedforward width ; approximately operations for attention and the two feedforward linear maps, excluding lower-order activation, normalization, and residual costs.
-
SGD update: parameters; approximately additional operations.
The reviewer asked for visualization, so we will include visualization in the paper. Equation~(21) can be visualized by plotting the working precision against . For attention backpropagation, plotting the coefficient-weighted projection cost and token-interaction cost separately shows that the quadratic sequence-length term becomes dominant when .
- Answering Q2, the paper actually addresses the complexity of SGD updates; we will clarify this in the paper. Please let us explain the details below.
Theorem 2 in Section 4 (p. 6), titled “Bit complexity and second-order polynomial time,” proves that the one-sample gradient computed by backpropagation is -computable.
This result is extended to mini-batch optimization in Theorem 5 of Section 7 (p. 8), titled “Local smooth optimizers.” In particular, Equation (38) gives the cost of one mini-batch update.
The paragraph following Theorem 5 (p. 9) explicitly states that the result covers SGD, mini-batch SGD, momentum, Nesterov momentum, RMSProp, and Adam.
Thus, the paper establishes the precision-aware complexity of each realized SGD update and any fixed finite sequence of such updates. We will clarify these in the paper.
Many thanks again for your review. We will improve the paper taking all of your precious comments into account.
The authors addressed my two questions in sufficient details. A revised version of the paper with the example given in the rebuttal and further clarification on the impacts on SGD will be recommended by the reviewer to be acceptable to ICLR. Hence I raise my rating to be Accept.
Yes, we will improve the paper according to your recommendations. We really appreciate the constructive recommendations. Many thanks again for your careful review and constructive feedback.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 4/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper under review applies the second-order complexity framework of Kawamura-Cook to neural network training primitives. In particular, it shows that a variety of operations: backpropagation, convolution, soft attention, and fixed smooth optimizer updates are second-order polynomial-time computable. Moreover, precise bounds are given.
Machine learning is a major enterprise which requires an enormous division-of-labor. The same can be said for the mathematical models and levels of abstraction we use to view and study the basic primitives of machine learning. Here is my naive summary of three such levels in decreasing order of abstraction:
Level 1: At this first level we view all quantities as legitimate real numbers in , we assume all operations are exact, and we take for granted that we have automatic sign-testing and zero-testing. For computability questions, we may resort to the Blum-Schub-Smale (BSS) model of real computation. At this level, we may freely use the ideas of real analysis, optimization, variational analysis, etc., which work perfectly well over the real numbers.
Level 2: At this level, we acknowledge that we are working with floating point numbers (or some other data type) and not idealized real numbers. It is here where issues such as machine precision, conditioning of matrices, numerical stability and accuracy, etc., come into the picture.
Level 3: At this level, we are investigating what the hardware is physically doing when we run the computations. I view this as the purview of physics, electrical engineering, materials science, etc.
In my understanding, the Kawamura-Cook framework for complexity theory occupies some level between 1 and 2 above. It permits us to: *replace exact real numbers with dynamic approximations by dyadic numbers; thus helping to bridge the gap between Level 1 and Level 2 above; *rigorously associate complexity costs to common processes which are uniform in the size of the architecture and desired precision
The paper under review takes the first steps at introducing this computational model to the world of machine learning.
Strengths and weaknesses
Strengths:
-
The paper provides a nice summary in Section 2 of the second-order complexity framework which they use.
-
The results describe a delineation of the boundary between those operations which are -computable, versus those which are merely piecewise -computable (see the table on page 9). This helps build intuition for what types of operations one would expect to be -computable.
Weaknesses:
-
One possible weakness is that the results might not seem very surprising. I think the results are carefully stated and the precise bounds could be valuable, but \emph{a priori} I don't think there would be much doubt that these primitives would be -computable.
-
I think the paper could do more to explain the importance of the second-order complexity framework. What are the stakes? Can you elaborate on what you mean on p.2 lines 39-42?
My judgment of the paper is based on the belief that the second-order complexity framework is important and should be more widely understood and considered; thus I view the paper as necessary and it should exist in the literature in some form.
Questions
-
Are there operations where it is not known whether it is second-order polynomial-time computable? What about piecewise ?
-
What is the definition of piecewise -computable? Is it meant to be inferred from the statement of Proposition 3?
-
My understanding of
second-order polynomial in $|\varphi|$ and $n$'' (e.g., lines 120-121) is that when $|\varphi|$ is fixed, the bound need not be polynomial in $n$, e.g., if $|\varphi(n)|=2^{2^n}$ then thepolynomial'' could still be super-exponential in ? Does such a situation ever occur in the paper, or all 's under consideration always assumed to be polynomially-bounded?
Limitations
yes
Final justification
My questions and concerns have all been addressed; the justification of the importance of the second-order complexity framework and the other responses leads me to maintain the score of accept and raise the significance and my confidence.
Formatting concerns
no
3 comments
Rebuttal
We are grateful to the reviewer for your careful reading of the paper and constructive feedback.
Let us first address the broader question raised in the Strengths and Weaknesses section: “I think the paper could do more to explain the importance of the second-order complexity framework. What are the stakes? Can you elaborate on what you mean on p. 2, lines 39–42?”
First of all, ordinary arithmetic counts measure the additions, multiplications, and comparisons performed by an implementation, but they can conceal the cost of obtaining sufficiently accurate approximations to real-valued inputs. For example, a comparison or hard-routing decision may be counted as a single operation even though resolving it near a decision boundary can require arbitrarily high precision. Likewise, treating exact line search as a primitive operation hides the complexity of the underlying global optimization problem.
The second-order framework exposes these costs by measuring complexity as the requested output accuracy increases and by making the necessary conditioning, margin, and nondegeneracy assumptions explicit. It thus prevents the low arithmetic cost of backpropagation from being mistaken for evidence that an entire training procedure is uniformly polynomial-time computable over real-valued inputs.
The stakes are both theoretical and practical. Conditions such as smoothing, positive margins, and finite stopping rules are not merely implementation choices: they can determine whether a training operator admits a certified polynomial-time guarantee. The framework thus identifies the boundary between efficiently computable local operations, such as differentiation under suitable regularity conditions, and qualitatively harder operations involving discontinuous selection, exact global optimization, or unrestricted continuous-time dynamics. It also reveals when an apparently efficient training method is computationally fragile and when smoothing, regularization, soft routing, or finite stopping is necessary for uniform efficiency rather than merely a useful heuristic.
The results of the paper also suggest a compositional complexity principle for learning over continuous data. Finite compositions of smooth local primitives remain second-order polynomial-time computable when their moduli of continuity and nondegeneracy scales are supplied explicitly. By contrast, discontinuous branch identification, global optimization, and unrestricted flow solving introduce qualitatively different operator-level difficulties. Margins, conditioning bounds, and stabilizers thus function as computational certificates, rather than merely numerical implementation details. This reframes neural-training complexity as depending jointly on arithmetic structure, requested precision, and the quantitative information available about the problem.
More broadly, this work connects two largely separate disciplines. Second-order complexity theory studies computation over continuous objects while accounting explicitly for representation and precision costs, whereas much of deep-learning theory analyzes training through finite-dimensional arithmetic counts. Combining these perspectives produces a formal model of deep-learning computation that incorporates real-valued data, approximation accuracy, conditioning, and the certificates needed to guarantee efficient computation.
We hope this work opens a new direction in deep learning theory. As a foundation for this direction, we have developed the first systematic second-order complexity theory of neural-network training operators, treating backpropagation, convolution, attention, and standard finite-step optimizers within a common represented-real framework. We hope this foundation will ultimately lead to an end-to-end theory integrating real-valued operator complexity theory with optimization and generalization, clarifying when a learning method is statistically sound, uniformly implementable, and computationally efficient over real-valued data.
Let us also answer the clarification questions below:
-
For example, the convex-hull operator on closed subsets of is second-order NP-complete, and whether it is -computable is open.
-
Yes, an operator is piecewise -computable if its restrictions to all fixed-branch regions with a supplied positive branch margin are uniformly -computable.
-
Yes, pathological super-exponential names could exist. The represented neural quantities in the paper have polynomial-length canonical Cauchy names.
Many thanks again for your review. We will improve the paper taking all of your precious comments into account.
I thank the authors for their thoughtful response to my questions and concerns, which have all been addressed. I especially appreciate the detailed elaboration on the importance of the second-order complexity framework. I think comments like this in the introduction will broaden the motivation and appeal of the paper. I will maintain the score of accept and increase the significance and my confidence.
An additional question, just out of curiosity; it is even open whether the convex-hull operator on closed semialgebraic (or even basic closed semialgebraic) subsets of is -computable?
Thank you very much for giving us the opportunity to improve the paper. We will add the comments in the paper.
As to the additional question, the answer is yes. It indeed remains open even for basic closed semialgebraic sets.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
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.