potentialpaper

Parameterized Complexity of Stationarity Testing for Piecewise-Affine Functions and Shallow CNN Losses

Yuhan Ye

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We give a dimension-parameterized complexity classification of approximate stationarity test for piecewise-affine functions, proving XP algorithms, W[1]-hardness with ETH lower bounds, and analogous hardness for shallow CNN losses.

Abstract. We study the parameterized complexity of testing approximate first-order stationarity at a prescribed point for continuous piecewise-affine (PA) functions, a basic task in nonsmooth optimization. PA functions form a canonical model for nonsmooth stationarity testing and capture the local polyhedral geometry that appears in ReLU-type training losses. Recent work of Tian and So (2025) shows that testing approximate stationarity notions for PA functions is computationally intractable in the worst case, and identifies fixed-dimensional tractability as an open direction. We address this direction from the viewpoint of parameterized complexity, with the ambient dimension dd as the parameter. In this paper, we give XP algorithms in fixed dimension for the tractable sides, and prove W[1]-hardness for the complementary sides. Moreover, lower bounds under the parameterized kk-Clique hypothesis rule out deterministic algorithms running in time ρ(d)so(d)\rho(d)s^{o(d)} for any computable function ρ\rho, where ss denotes the total binary encoding length of the instance. As a further consequence, our results yield the corresponding parameterized complexity picture for testing local minimality of continuous PA functions. We also extend our hardness results to a family of shallow ReLU CNN training losses, tested in the trainable weight space. Thus, the same parameterized-complexity picture also appears for simple CNN training losses. Notably, our lower bounds assume that kk-Clique on NN-vertex graphs admits no deterministic ρ(k)No(k)\rho(k)N^{o(k)}-time algorithm for any computable function ρ\rho. The recent refutations of the Exponential Time Hypothesis (ETH) (OpenAI, 2026) and the stronger fine-grained kk-Clique hypothesis (Vassilevska Williams and Zamir, 2026) do not contradict this assumption.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
30 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

All reviewers are positive about accepting this paper. Nevertheless, they offer several suggestions for improving the presentation of the submission. Please take these suggestions into consideration and discuss them with the reviewers.

Reviewer s9jv raises several interesting points for discussion in the “Strengths and Weaknesses” section and the “Questions” section, which I find reasonable. Please try to address them.

It is unclear to me why the loss in (2) is referred to as a ReLU CNN training loss. Please elaborate.

Final justification

This paper studies the parameterized complexity of testing approximate stationarity at given points for piecewise-affine functions, treating the ambient dimension dd as the parameter. It gives XP algorithms for the Fréchet-ε\varepsilon-YES and Clarke-ε\varepsilon-NO problems and proves W[1]W[1]-hardness and ETH-based lower bounds for the complementary problems.

The paper also provides a ReLU CNN example, but its implications appear limited: the example concerns testing stationarity at a given point rather than training, uses a highly specific architecture, and it is unclear how often such worst-case instances arise in practice.

After discussion, all reviewers support acceptance, and the authors have addressed my question about interpreting the CNN example. Although the relevance of the CNN example remains unclear, the paper presents a solid theoretical contribution. I therefore recommend acceptance.

Area Chair FYP9 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

All reviewers are positive about accepting this paper. Nevertheless, they offer several suggestions for improving the presentation of the submission. Please take these suggestions into consideration and discuss them with the reviewers.

Reviewer s9jv raises several interesting points for discussion in the “Strengths and Weaknesses” section and the “Questions” section, which I find reasonable. Please try to address them.

It is unclear to me why the loss in (2) is referred to as a ReLU CNN training loss. Please elaborate.

Final justification

This paper studies the parameterized complexity of testing approximate stationarity at given points for piecewise-affine functions, treating the ambient dimension dd as the parameter. It gives XP algorithms for the Fréchet-ε\varepsilon-YES and Clarke-ε\varepsilon-NO problems and proves W[1]W[1]-hardness and ETH-based lower bounds for the complementary problems.

The paper also provides a ReLU CNN example, but its implications appear limited: the example concerns testing stationarity at a given point rather than training, uses a highly specific architecture, and it is unclear how often such worst-case instances arise in practice.

After discussion, all reviewers support acceptance, and the authors have addressed my question about interpreting the CNN example. Although the relevance of the CNN example remains unclear, the paper presents a solid theoretical contribution. I therefore recommend acceptance.

Reviewer f7oPOpenReview ↗
Rating
5/6
Confidence
5/5
Quality
4/4
Clarity
3/4
Significance
4/4
Originality
4/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper considers the parameterized complexity for the problem of determining when a given (non-convex) piecewise-affine function is stationary , where the parameter is the dimension. This is done with respect to two different notions of subdifferential (Fréchet and Clarke), and with respect to two different classes of inputs, namely as difference of two convex functions each given as a tree of max-+ expressions in affine functions, as well as a depth-two max-min-expression of affine functions. The authors obtain parameterized hardness results for all settings, and upper bounds that are in some rough sense best-possible under the given lower bounds. The results are applied and extended to a specific training loss of CNNs, which are piecewise affine.

Strengths and weaknesses

The mathematical claims made in the paper seem sound to me after careful checking. They rely on interesting parts of polyhedral theory and mathematical optimization, and they are clearly described. Care is taken to provide intuition on the subtle differences between different notions of stationarity in the general non-convex setting.

Writing is mostly very clear, but some of the proofs could profit from streamlining, as well as the inclusion of references instead of ad-hoc re-derivations (see my Questions). In particular, many times, the four different combinations of settings are treated one after another, and there seems to be large overlap between them. I found this rather difficult to follow at times.

Still, the paper addresses a very natural and relevant question arising in the training of neural networks with piecewise-linear activations (and hence gradients), which is even more fundamental than gradient computation: just deciding whether the gradient is (approximately) zero. In my view, this is a highly interesting contribution to the developing parameterized complexity theory surrounding this and similar questions, strengthening previous hardness results to the natural setting where dimension is low. In my view, this is a significant insight on the complexity of training neural networks in practical setting. The resulting reductions seem simpler than that of previous works, while accomplishing more.

Both the upper bounds as well as the lower bounds use tools from polyhedral geometry that aren't usually combined with questions from parameterized algorithms, which I find very original.

Questions
  • Please give a citation or description of how to enumerate the full-dimensional cones of a central hyperplane arrangement (e.g. using Edelsbrunner-O'Rourke-Seidel.)

  • Please consider citing a reference for the fact that Minkowski sums of n d-dimensional polytopes have n^O(d) vertices, such as Weibel, C. "Maximal f-Vectors of Minkowski Sums of Large Numbers of Polytopes." Discrete Comput Geom 47, 519–537 (2012). https://doi.org/10.1007/s00454-011-9385-1

  • Please consider reorganizing your proofs to better highlight commonalities between the different treated cases.

  • Consider removing the references to YES/NO-variants of problems in the overall summaries that you give, and discuss these subtle issues in separate remarks. While technically more precise, they obscure the larger message of the paper. This is particularly relevant for the algorithms and ETH-bounds that you give, which naturally apply to the two-sided YES and NO variants simultaneously. Including this distinction here doesn't really make sense technically speaking.

  • discuss that showing hardness for CNN losses when parameterizing by training dimension is stronger than hardness parameterizing by input or output dimension. Do you see a way of showing XP-tractability for these stronger parameters?

Limitations

Yes

Final justification

The rebuttal accurately addressed the little criticism I had for the paper. I maintain my recommendation to accept.

Formatting concerns

An earlier version appeared at the NeurIPS 2023 OPT workshop [Tian and So, 2023] [l. 84f] this constitutes a soft de-anonymization in my view

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for the careful reading and helpful suggestions. We address your comments below.

  1. Hyperplane-arrangement enumeration.

We agree that the enumeration claim should be justified and cited. Let mm be the number of affine leaves in the local model, and hence an upper bound on the number of distinct slopes. Since the leaves are explicitly encoded, m≤sm\le s. Their pairwise equalities induce H=O(m2)H=O(m^2) hyperplanes, whose arrangement has HO(d)=mO(d)≤sO(d)H^{O(d)}=m^{O(d)}\le s^{O(d)} full-dimensional cells and can be constructed within the same fixed-dimensional bound. We will add this explanation and cite [EOS86].

  1. Minkowski-sum vertex bounds.

Thank you for the reference. We will cite Weibel's fixed-dimensional bounds [Wei12] at the Minkowski-sum step of Lemma B.1.

  1. Organization of the proofs.

We agree that the common steps across the different cases should be easier to see. We will add a roadmap before the proofs, state the shared geometric steps only once, and treat the representation-specific enumeration arguments separately. In particular, the Fréchet cases lead to lower-support or containment tests, whereas the Clarke cases lead to convex-hull distance tests.

  1. Terminology in the high-level summaries.

We agree with the suggestion to remove YES/NO labels from the high-level summaries. We will state the XP and ETH bounds there without polarity, while keeping the W[1]/co-W[1] distinction in the theorem statements.

  1. CNN parameters and XP tractability.

For the trainable dimension pp, Corollary 5.2 already gives an MO(p)M^{O(p)}-time XP algorithm. In our one-filter construction, the input-channel dimension is Θ(p)\Theta(p). Thus the same algorithm is XP when parameterized by the channel dimension. If input dimension means the total number of entries in the fixed tensor, it is at least the channel dimension, so the same algorithm is formally XP in that parameter as well, although this is less informative because the tensor size grows with the full instance. By contrast, the output dimension is one on every hard instance. An XP algorithm parameterized only by output dimension would therefore give a polynomial-time algorithm for an NP-hard family, and hence would imply P=NPP=NP. We will clarify these distinctions.

Finally, thank you for flagging the wording at line 84. We will remove that sentence and the workshop citation.

[EOS86] H. Edelsbrunner, J. O'Rourke, and R. Seidel. "Constructing Arrangements of Lines and Hyperplanes with Applications." SIAM Journal on Computing 15(2):341--363, 1986.

[Wei12] C. Weibel. "Maximal f-Vectors of Minkowski Sums of Large Numbers of Polytopes." Discrete & Computational Geometry 47:519--537, 2012.

Reviewer f7oP · CommentOpenReview ↗

Thank you for responding my comments; I feel they are adequately addressed in the rebuttal to my satisfaction.

Reviewer LubMOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
4/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper investigates the parameterized complexity of stationarity resting of picewise-affine (PA) functions ans also of shallow CNN losses. PA functions are a standard model for nonsmooth stationarity testing. They arise natural in neural networks with ReLU-loss functions. Recent work by Tian and So proved that testing approximate stationarity notions for PA functions hard. As on open question, they ask for a study of the problem with fixed dimensions. This paper investigates this question from the perspective of parameterized complexity. The main result is an XP-algorithm with respect to the dimensionality and a complementary W[1]-hardness result and an ETH bound. Finally, the hardness results are extended to hardness results for a family of shallow ReLU CNN training losses.

My main research area is about parameterized complexity. Hence, I am quite happty to see its usage in such a (in some sense) unusal domain. I am not an expert in this domain about PA functions and the relation to ReLU losses. Thus, initially it was quite hard for me to understand the precise definitions and to get a good intution. I think for non-expert readers as me the addition of more examples and intuition would be quite helpful. For example, I liked supplement A which helped me a lot. Here, I would recommend to give the reference to supplement A earlier in the preliminaries. Also (at least for me) it would be good to extend this supplement A by more examples and concrete functions to get a better understanding of the problem.

I didn't check all proofs in details, I only checked the main ideas and they seem correct to me. Overall I think this paper is a nice addition to the conference which has some nice results. My main concern is the readability for non-experts. I think more examples and more intuition/ideas of the results could help to make the paper more readable to a braoder audience.

Strengths and weaknesses

see summary

Questions

Questions for Rebuttal:

Q1: For Theorem 3.1 I wonder where the proof for parts (ii) is. In the papendix I only found proofs for (i) and (iii). Does (ii) follow from (i) and (iii) by simple arguments?

Q2: Theorem 4.1 states that Frechet-Yes and Clark-No are co-W[1]-hard. Then the next sentence about the ETH bound confuses me: Is this ETH bound for both Frechet-Yes and Frechet-No or only for Frechnet-No (similar for Clark)?

Additional Comments:

62: the notions of \mathds{B}, max-min-input, fixed depth explicit n-MD and so an were not clear to me at this point. Here it would help to provide a forward reference to the preliminaries where they are defined (similar for d-Frechet-eps-YES and related problem names in table 1)

for definition 2.1 and 2.2 it would be nice to have concrete examples of functions which fulfill these properties, similar for the definitions in section 2.3

146: so this means for fixed-depth z we have n\leq z? for the statements shown in section 2.4 it would be nice to provide some intution what they mean informally and why they are useful later

252: provide a reference for these output-sensetive algorithm

293 \sigma_Q(z_i) is not clear

In my opinion the presentation of the hardness results of section 4 and 5 can be improved: Currently the construction for Theorem 4.1 is only in the proof sketch and while scanning the appendix this confused me. Here it would help to create a construction environment which is then referenced (similar for the construction used in theorem 5.1)

I have no idea how, but maybe it is possible to add visualizations for both of these constructions?

344: clique position sounds a bit missleading here since you assume that there is no k-clique

568: please provide some intution/outline why these statements help

690: please make these 2 steps explicit

714: why does this s^{O(d)} bound hold?

734: as in the proof of theorem 4.1 means as in the sketch of this proof?

Limitations

yes

Final justification

The rebuttal has not changed my overall positive opinion on this paper and thus I keep my current score.

Formatting concerns

no

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for the positive assessment and detailed suggestions. We address your questions and comments below.

  1. Proof of Theorem 3.1(ii).

Part (ii) follows from part (i) with ϵ=0\epsilon=0 and Lemma 2.3. For every continuous PA function,

w is a local minimizer of f⟺0∈∂Ff(w).w\text{ is a local minimizer of }f\quad\Longleftrightarrow\quad 0\in\partial_F f(w).

Thus, the Fréchet algorithm in part (i), specialized to ϵ=0\epsilon=0, decides local minimality. This implication is currently mentioned only at the end of the Fréchet proofs. We will add an explicit one-line proof and cross-reference for part (ii).

  1. Scope of the ETH lower bound in Theorem 4.1.

The reductions directly establish W[1]-hardness for Fréchet-NO, non-local-minimality, and Clarke-YES. Their complements are therefore co-W[1]-hard. For deterministic running-time lower bounds, however, the two polarities are equivalent by reversing the output of an algorithm. Hence the ETH lower bound rules out ρ(d)so(d)\rho(d)s^{o(d)} time for both Fréchet polarities and for both Clarke polarities. We will state this explicitly in Theorem 4.1.

  1. Clarifications.

We agree that a few additional signposts and examples would help readers outside nonsmooth analysis. We will add earlier references to the preliminaries and Appendix A, together with a small example for each input model.

Fixed depth means that there is an input-independent constant DD such that the two n-MC depths satisfy max⁡nh,ng≤D\max\\{n_h,n_g\\}\le D. We will state this directly after Definition 2.2 and state the geometric point of Section 2.4 more explicitly. Intuitively, the Fréchet test becomes a translate-containment problem, whereas the Clarke test becomes a distance-to-convex-hull problem. These geometric formulations provide the basic framework for both our upper-bound algorithms and our hardness reductions.

  1. Proof presentation.

We agree that the main constructions and deferred proofs should be easier to follow. We will define σQ(z)=max⁡q∈Q⟨q,z⟩\sigma_Q(z)=\max_{q\in Q}\langle q,z\rangle at its first use, place the reductions for Theorems 4.1 and 5.1 in labeled construction blocks, and replace clique position by tuple position. We will also make Lemma C.1 self-contained by restating the definitions of hh, gg, XX, and YY.

We will also add a short roadmap to Appendix B explaining how Lemma B.1 produces the required subdifferential polytopes and how Lemma B.3 performs the final comparisons, and we will expand the currently compressed intermediate steps.

We agree that a visualization could help. We did not find a satisfactory way to draw the two constructions in the current version, but we will try to add one in the revision.

  1. Fixed-dimensional enumeration.

Let mm be the number of affine leaves in the local model, and hence an upper bound on the number of distinct slopes. Since these leaves are explicitly encoded, m≤sm\le s, where ss is the total input length. Their pairwise equalities induce at most H=O(m2)H=O(m^2) hyperplanes, whose arrangement has at most

∑j=0d(Hj)=HO(d)=mO(d)≤sO(d)\sum_{j=0}^d\binom{H}{j}=H^{O(d)}=m^{O(d)}\le s^{O(d)}

full-dimensional cells and can be constructed within the same fixed-dimensional bound. We will include this calculation and cite [EOS86] at the first arrangement-enumeration claim.

At line 252, we will replace the vague appeal to standard output-sensitive routines by a precise description and references. At a convex-hull node, the union of the child vertex lists can be pruned by rational linear programming. At a Minkowski-sum node, we use the output-sensitive construction of [Fuk04], together with the fixed-dimensional vertex bounds of [Wei12].

Thank you again for these helpful suggestions.

[EOS86] H. Edelsbrunner, J. O'Rourke, and R. Seidel. "Constructing Arrangements of Lines and Hyperplanes with Applications." SIAM Journal on Computing 15(2):341--363, 1986.

[Fuk04] K. Fukuda. "From the Zonotope Construction to the Minkowski Addition of Convex Polytopes." Journal of Symbolic Computation 38(4):1261--1272, 2004.

[Wei12] C. Weibel. "Maximal f-Vectors of Minkowski Sums of Large Numbers of Polytopes." Discrete & Computational Geometry 47:519--537, 2012.

Reviewer LubM · CommentOpenReview ↗

Thanks for your clarifications!

I have no further questions and I keep my overall positive score.

Reviewer s9JvOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper takes the stationarity-testing problem from non-smooth optimization and studies it through the lens of parameterized complexity. Rather than asking for an algorithm to find a stationary point, it asks whether a prescribed point can be certified as approximately Fréchet- or Clarke-stationary for an explicitly represented piecewise-affine (PA) objective. I understand the main contribution as giving a parameterized-complexity classification: natural fixed-dimensional enumeration approach gives XP upper bounds for Fréchet approximate-stationarity certification and Clarke approximate-nonstationarity certification, while W[1]-hardness and ETH lower bounds show that the complementary tests are unlikely to admit substantially better dependence on dimension. The paper also extends this hardness picture to a family of shallow ReLU CNN losses, although the PA stationarity-testing classification seems to be the core contribution.

Strengths and weaknesses

Strengths:

  1. The paper asks a clean and meaningful theoretical question: whether fixed ambient dimension makes stationarity testing for non-smooth piecewise-affine (PA) objectives substantially easier.
  2. The results give a coherent fixed-dimensional complexity landscape across the Fréchet and Clarke stationarity tests. In particular, the paper identifies which test polarities admit XP enumeration-based algorithms and which complementary polarities remain W[1]-hard.
  3. If correct, the lower-bound results give useful evidence that the natural dimension-dependent enumeration approach is not merely naive, but may be essentially unavoidable for some of the stationarity-testing problems considered.
  4. The extension to shallow ReLU CNN losses is a useful addition because it shows that the PA-function hardness phenomenon can be embedded into a neural-network loss family, even though the PA stationarity-testing classification seems to be the core contribution.

Weaknesses: My points revolve around clarification and exposition mainly:

  1. If I understand correctly, the main hardness reduction is quite central to the paper and involves a non-trivial geometric encoding of kk-Clique into the relevant subdifferential polytopes. I found the high-level proof strategy plausible, but I think the paper would benefit from a more pedagogical explanation of this construction, especially the way forbidden graph pairs are reflected in the polytopes XX and YY and how this leads to the different Fréchet and Clarke stationarity polarities.
  2. The results are worst-case and representation-dependent. The paper already notes that the input representation matters substantially (Remark 2.6): for e.g. some flatter DC representations admit polynomial-time tests whereas compact PA representations may hide exponentially many affine pieces. I would have appreciated a slightly broader discussion of which parts of the complexity picture are robust to changes in representation, and which parts are specific to the max–min / fixed-depth n-MC DC models studied here.
  3. Relatedly, the lower bounds do not rule out faster algorithms under additional structure. It would be useful to discuss possible geometric or optimization-motivated assumptions under which the hard polarities might become easier.
  4. The CNN extension is useful, but I would appreciate more discussion of how to interpret it: which architectural features are essential for the hardness embedding, and whether the result should be viewed mainly as an embedding of PA hardness into neural-network losses or as evidence about broader practical CNN training settings.
Questions
  1. Could the authors add more high-level intuition for the kk-Clique reduction? In particular, I would appreciate a more geometric explanation of how forbidden graph pairs are encoded into the polytopes XX and YY, and why this leads to the different Fréchet and Clarke stationarity polarities.
  2. How sensitive is the complexity picture to the chosen PA representation? Remark 2.6 already explains why the representation matters, but I would find it helpful to know whether there are other natural PA input models, beyond the flat single-max DC case, where the classification changes.
  3. Are there natural geometric or optimization-motivated assumptions under which the hard polarities might become easier? For example, could restrictions on the local fan, subdifferential polytopes, or regularity of the PA objective change the picture?
  4. For the shallow CNN construction, which architectural features are essential for the hardness embedding? Should the result be interpreted mainly as an embedding of PA hardness into a neural-network loss family, or as evidence about a broader class of practical ReLU/max-pooling training losses?
  5. Could the authors add a short discussion summarizing the algorithmic asymmetry between the Fréchet/Clarke YES and NO tests? This would help readers understand the classification beyond the formal table of results.
Limitations

Yes (specific questions/suggestions in Strengths & Weaknesses" and "Questions" section).

Final justification

The rebuttal has addressed my concerns and I will maintain my current score/rating. I strongly encourage the authors to add the supporting and explanatory text to the paper as discussed during this rebuttal phase to improve readability and accessibility.

Formatting concerns

None.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your thoughtful comments and questions. We address them in turn below.

  1. Geometric intuition for the k-Clique reduction.

The main geometric idea is to represent all ordered k-tuples and all non-clique tuples by two polytopes. Let pv=(v,v2)p_v=(v,v^2), and let QQ be their convex hull. Since these points lie on a strictly convex parabola, every pvp_v is an exposed vertex of QQ. A vertex of Y=QkY=Q^k therefore represents an ordered tuple (v1,…,vk)(v_1,\ldots,v_k) of graph vertices. Thus, YY is the polytope of all possible k-tuples.

For every pair of positions i<ji<j and every forbidden pair (u,v)(u,v), where either u=vu=v or {u,v}∉E\{u,v\}\notin E, we take the face of YY obtained by fixing coordinate ii to pup_u and coordinate jj to pvp_v. We define XX as the convex hull of all these forbidden-pair faces. Geometrically, each such face records one particular way in which a tuple can fail to be a clique.

Consequently, XX is the convex hull of the vertices of YY corresponding to non-clique tuples. If the graph has no k-clique, every k-tuple contains a forbidden pair, so every vertex of YY is included in XX. Since X⊆YX\subseteq Y, it follows that X=YX=Y. Conversely, suppose that a vertex qq of YY corresponds to a k-clique. Since XX is generated by the non-clique vertices of YY, qq is not a vertex of XX. As an exposed vertex of YY, qq cannot lie in the convex hull of the other vertices of YY. Since XX is contained in this convex hull, it follows that q∉Xq\notin X and X⊊YX\subsetneq Y.

As shown in the proof of our Theorem 4.1 and formalized in Appendix C, Lemma C.1, the reduction first translates the graph question into a containment question:

  • if there is no k-clique, then X=YX=Y and the only translation satisfying s+Y⊆Xs+Y\subseteq X is s=0s=0;
  • if there is a k-clique, then no translation s+Ys+Y can be contained in XX.

The translation from containment to Fréchet stationarity is then immediate from our Lemma 2.4, which gives the standard support-function characterization ∂FfF(0)={s:s+Y⊆X}\partial_F f_F(0)=\{s:s+Y\subseteq X\} for fF=σX−σYf_F=\sigma_X-\sigma_Y. Hence Clique maps to Fréchet-NO; see also Lemma C.2.

Although Fréchet and Clarke stationarity are mathematically different notions, the seesaw-gadget idea used in [TS25, Problem 3.11 and Lemma 3.13] allows us to transfer the hardness from the Fréchet polarity to the Clarke polarity. We add one scalar variable and define fC(z,t)=t/2+max⁡{fF(z),−∣t∣/2}f_C(z,t)=t/2+\max\{f_F(z),-|t|/2\}. Without a clique, fFf_F is identically zero, so the Clarke subdifferential stays at distance 1/21/2 from zero. With a clique, the missing exposed vertex produces a direction in which fF<0f_F<0. The seesaw then creates a full-dimensional region with gradient zero adjacent to the origin, implying Clarke stationarity. Thus Clique maps to Clarke-YES. This is proved formally in our Lemma C.4.

  1. Dependence on the PA representation.

Max-min and DC representations are both classical and functionally universal for continuous PA functions. Every continuous PA function admits both forms [Ovc02, KS87, Sch12; see also TS25, Fact 2.9]. A natural alternative is an explicit local-fan model, which lists the full-dimensional cells incident to the query point and their affine gradients. If this list has polynomial size, both tests are polynomial-time solvable. Flat single-max DC input is another model in which the required local polytopes can be obtained directly.

The representation-independent part of our algorithms is the final local-geometric test. Once the local full-dimensional cells and their gradients are available, Lemmas 2.3--2.5 reduce both stationarity tests to linear or convex quadratic programs. By contrast, the cost of obtaining this local data depends on the input syntax. Theorem 3.1 gives an sO(d)s^{O(d)}-time algorithm for explicit max-min input and an sΓ(d)s^{\Gamma(d)}-time algorithm for fixed-depth n-MC DC input. We do not claim the latter bound for arbitrary-depth PA circuits.

On the lower-bound side, our results extend to any input model in which our hard functions have polynomial-size representations and the dimension parameter is preserved. Our shallow CNN construction provides another example through the constant-depth shared-filter ReLU/max-pooling loss class defined below in our response to Question 4.

  1. Structural assumptions that make testing easier.

The reviewer's intuition is exactly right. As noted above, an explicitly available local fan of polynomial size makes both tests tractable by directly enumerating its full-dimensional cells.

Regularity conditions on the subdifferential polytopes can also make Clarke testing polynomial-time solvable. For a DC function f=h−gf=h-g, let X=∂h(w)X=\partial h(w) and Y=∂g(w)Y=\partial g(w). The compatibility condition is introduced in [TS25, Definition 4.6], and [TS25, Theorem 4.11] shows that it exactly characterizes when the Clarke sum rule ∂C(h−g)(w)=X−Y\partial_C(h-g)(w)=X-Y is valid. [TS25, Section 4.5] further introduces the polynomial-time verifiable transversality condition par(X)∩par(Y)={0}\mathrm{par}(X)\cap\mathrm{par}(Y)=\{0\}, which implies compatibility in general and is equivalent to compatibility when XX and YY are zonotopes. When the exact sum rule holds, and XX and YY are explicitly available, Clarke testing reduces to a convex quadratic program, which is solvable in polynomial time.

  1. Interpretation of the shallow CNN result.

The essential mechanism for the hardness embedding is a shared trainable filter followed by ReLU and max selection. To clarify the scope of the result, we define a class of constant-depth CNN losses that contains our hard instances.

Fix a rational input tensor ZZ and flatten its spatial sites into the rows of a matrix. The shared 1-by-1 convolution produces hθ(0)=Zθh_\theta^{(0)}=Z\theta.

For each layer ℓ=1,…,D\ell=1,\ldots,D, define

hθ(ℓ)=Tℓ(hθ(ℓ−1)),ℓ=1,…,D.h_\theta^{(\ell)}=T_\ell(h_\theta^{(\ell-1)}),\qquad \ell=1,\ldots,D.

The depth DD is bounded by an absolute constant, and every TℓT_\ell is either a fixed rational affine map, a coordinatewise ReLU map, or max-pooling over fixed windows. Only the shared filter θ∈Rp\theta\in\mathbb{R}^p is trainable. The final scalar output is used directly as the loss: LN,Z(θ)=hθ(D)L_{\mathcal N,Z}(\theta)=h_\theta^{(D)}. Weight sharing, ReLU, and max-pooling are standard CNN operations [KSH12].

Equations (2)--(3) are direct instances of this class, each using a final global max-pooling layer. Hence the lower bound applies to stationarity testing throughout this class, not only to the two displayed formulas.

A closely related shared-filter ReLU/max-pooling setup appears in [TS25, Appendix B.3]. Their construction derives NP-hardness from 3SAT, whereas our parameter-preserving reduction from kk-Clique yields W[1]- and co-W[1]-hardness together with ETH lower bounds.

We therefore interpret our result as a parameter-preserving hardness result for a natural constant-depth CNN loss family. We will revise Section 5 to state this loss family and its interpretation explicitly.

  1. The YES-NO asymmetry between Fréchet and Clarke testing.

The difference between the two notions lies in the logical form of their geometric conditions.

For Fréchet stationarity, given a local DC model f=h−gf=h-g, let X=∂h(w)X=\partial h(w) and Y=∂g(w)Y=\partial g(w). Lemma 2.4 give

0∈∂Ff(w)+ϵB ⟺ ∃s, ∥s∥≤ϵ, s+Y⊆X.0\in\partial_F f(w)+\epsilon B\ \Longleftrightarrow\ \exists s,\ \|s\|\leq\epsilon,\ s+Y\subseteq X.

For exact stationarity, this reduces to Y⊆XY\subseteq X. This condition requires every point of YY to belong to XX. For ϵ>0\epsilon>0, a small translation is allowed, but the same universal containment condition remains. This structure matches the coNP/co-W[1] direction of the classification. It underlies the coNP-hardness of Fréchet-YES in [TS25, Theorem 3.4(a)]. In our reduction, a kk-clique makes the required containment fail, as shown in Lemma C.2. Thus kk-Clique maps to Fréchet-NO. Theorem 4.1 gives W[1]-hardness for Fréchet-NO and co-W[1]-hardness for Fréchet-YES.

For Clarke stationarity, Lemma 2.5 gives

∂Cf(w)=conv⁡Se(w),\partial_C f(w)=\operatorname{conv} S_e(w),

where Se(w)S_e(w) contains the gradients of the relevant neighboring regions. Clarke-YES asks whether there exist relevant gradients and convex coefficients whose convex combination lies within distance ϵ\epsilon of zero. This existential balancing condition matches the NP/W[1] direction. It underlies the NP-hardness in [TS25, Theorem 3.4(b)]. In our reduction, the seesaw gadget makes such a combination possible exactly when the graph contains a kk-clique, as shown in Lemma C.4. This gives the W[1]-hardness of Clarke-YES in Theorem 4.1.

Once the local PA regions and their gradients have been enumerated, both notions and both polarities can be decided in XP time. Theorem 3.1 gives direct algorithms for Fréchet-YES and Clarke-NO. Reversing their outputs gives the same bounds for the complementary tests. For explicit max-min input, the running time is sO(d)s^{O(d)}.

[KS87] A. Kripfganz and R. Schulze. "Piecewise Affine Functions as a Difference of Two Convex Functions." Optimization 18(1):23-29, 1987.

[KSH12] A. Krizhevsky, I. Sutskever, and G. E. Hinton. "ImageNet Classification with Deep Convolutional Neural Networks." NeurIPS 2012.

[Ovc02] S. Ovchinnikov. "Max-Min Representation of Piecewise Linear Functions." Beiträge zur Algebra und Geometrie 43(1):297-302, 2002.

[Sch12] S. Scholtes. Introduction to Piecewise Differentiable Equations. Springer, 2012.

[TS25] L. Tian and A. M.-C. So. "Testing Approximate Stationarity Concepts for Piecewise Affine Functions." Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2213-2224, 2025. Full version: arXiv:2501.03224.

Reviewer s9Jv · CommentOpenReview ↗

Response to Rebuttal

Thank you to the authors for providing clear explanations in their rebuttal. The rebuttal has addressed my concerns and I will maintain my current score/rating. I strongly encourage the authors to add the supporting and explanatory text to the paper as discussed during this rebuttal phase to improve readability and accessibility.

Comments on the paper

1 comment
Area Chair FYP9 · CommentOpenReview ↗

Dear Reviewers,

The author–reviewer–AC discussion period is coming to an end. Please read the authors’ responses and let us know whether they have satisfactorily addressed your concerns.

Best, AC

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…