arXiv:2608.24865cs.CCAug 2026

Manuscript Offprint

arXiv:2608.24865

Parameterized Complexity of LpL_p-Lipschitz Constants for Input Convex Neural Networks and LpL_p-Norm Maximization over Zonotopes

Aritra Das, Vincent Froese, Moritz Grillo, Debayan Gupta, Christoph Hertrich, Tharrshann Jayan Logarajah, Georg Loho, Mihir More, Moritz Stargalla

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Lipschitz constants are a standard way to quantify the sensitivity of neural networks to small input perturbations, but computing them is difficult even for shallow ReLU networks. We study this problem for two-layer input-convex neural networks (ICNNs), a restricted architecture where nonnegative output weights enforce convexity. Computing the LpL_p-Lipschitz constant for these networks is equivalent to maximizing the dual norm over a zonotope. While L1L_1- and L∞L_\infty-norm maximization on zonotopes admit fixed-parameter and polynomial-time algorithms, respectively, the parameterized complexity of the remaining LpL_p-norms was open. We prove that, for every fixed p∈(1,∞)∩Qp \in (1, \infty) \cap \mathbb{Q}, maximizing the LpL_p-norm over a zonotope in Rd\mathbb{R}^d is W[1]-hard with respect to the dimension dd. Moreover, our hardness results imply that brute-force enumeration algorithms are essentially optimal for this problem under the Exponential Time Hypothesis. By duality, the same hardness results hold for computing the LpL_p-Lipschitz constant of two-layer ReLU ICNNs. Our proof first establishes the result for the L2L_2-norm and then transfers the construction to arbitrary fixed p∈(1,∞)∩Qp \in (1, \infty) \cap \mathbb{Q} using a suitable Taylor approximation. These results resolve the corresponding questions regarding the parameterized complexity status for zonotope norm maximization and two-layer ICNN Lipschitz constants.

Our paper resolves an open problem posted at COLT'25 [Froese et al., 2025a]. There are several independent concurrent papers resolving the same problem. Our paper prioritizes a clear exposition of the underlying mathematics and conceptual intuitions behind the proof. Additionally, we explicitly describe our research process including the use of LLMs.

1 Introduction

Neural networks with rectified linear unit (ReLU) activations play an important role in machine learning. In practice, such networks are trained on finite datasets and are expected to generalize reliably to unseen inputs. Nevertheless, even small input perturbations can lead to large changes in the output [Szegedy et al., 2014]. The LpL_{p}-Lipschitz constant of a neural network computing a function f is

Lp(f):=sup⁡x≠y∥f(x)−f(y)∥p∥x−y∥p,L_{p}(f):=\sup_{x\neq y}\frac{\|f(x)-f(y)\|_{p}}{\|x-y\|_{p}},

and gives a quantitative measure of how sensitive the network is to small input perturbations. Neural networks with small Lipschitz constants have been observed to be more robust to adversarial attacks and to have better generalization properties. The problem of approximating and computing the exact LpL_{p}-Lipschitz constant of neural networks has therefore received substantial attention [Virmaux and Scaman, 2018, Weng et al., 2018, Fazlyab et al., 2019, Jordan and Dimakis, 2020].

Computing the LpL_p-Lipschitz constant exactly for p∈(0,∞]p \in (0, \infty] is NP-hard already for two-layer ReLU networks [Virmaux and Scaman, 2018, Froese et al., 2026], and approximation within any multiplicative factor is NP-hard for three-layer ReLU networks [Jordan and Dimakis, 2020, Froese et al., 2025b]. The hardness of this problem is closely connected to the curse of dimensionality which also afflicts many other problems in machine learning: the size of the search space of these problems grows exponentially with the input dimension dd. In practice, however, high-dimensional data is often assumed to lie near some low-dimensional submanifold of the input space. Therefore, a natural follow-up question is whether these problems become tractable when the input dimension is small.

This viewpoint has motivated recent work on the parameterized complexity of neural network problems, including training [Arora et al., 2018, Froese et al., 2022, Brand et al., 2023, Froese and Hertrich, 2023, Ganian et al., 2026] and verification [Froese et al., 2025b, 2026]; see also the survey [Ganian, 2026]. When allowing arbitrary weights, computing the LpL_p-Lipschitz constant is W[1]-hard with respect to the input dimension dd already for two-layer ReLU networks, approximation is W[1]-hard for three-layer ReLU networks, and the problems are not solvable in time no(d)n^{o(d)} poly(N) (where nn is the width and NN the encoding size) under the Exponential Time Hypothesis (ETH), matching the running times of brute-force enumeration algorithms Froese et al. [2026]. The known hardness reductions, however, use both positive and negative output weights and therefore do not imply hardness when putting additional restrictions on the network architecture.

One important such restricted architecture is input-convex neural networks (ICNNs) with ReLU activations, where the weights of all but the first layer are restricted to be nonnegative [Amos et al., 2017]. This restriction ensures that an ICNN computes a convex function. ICNNs provide a direct way to incorporate prior knowledge into the network architecture and have been used, for example, in optimal control, optimal transport, and convex optimization [Chen et al., 2019, Makkuva et al., 2020, Huang et al., 2021].

Another feature of ICNNs is that the architectural restriction can make computational problems easier. For example, minimizing the function represented by a ReLU ICNN is polynomial-time solvable, whereas the same problem is NP-hard and W[1]-hard with respect to the input dimension for general ReLU networks [Amos et al., 2017, Froese et al., 2026]. Further, the L1L_{1}-Lipschitz constant of ReLU ICNNs can be computed in polynomial time, and the L∞L_{\infty}-Lipschitz constant is fixed-parameter tractable with respect to the input dimension, while the same problems for general ReLU networks are NP-hard and W[1]-hard with respect to the input dimension [Froese et al., 2026].

This raises the natural question whether the restriction to ICNNs also makes the problem tractable for the remaining LpL_p-norms with p∈(1,∞)p \in (1, \infty). In particular, this range includes the L2L_2-norm, which, unlike the L1L_1- and L∞L_\infty-norms, is invariant under orthogonal transformations and has been studied extensively in the context of robustness of neural networks [Moosavi-Dezfooli et al., 2016, Cisse et al., 2017, Cohen et al., 2019]. Moreover, the question whether the LpL_p-Lipschitz constant of a (two-layer) ReLU ICNN is fixed-parameter tractable with respect to the input dimension dd for p∈(1,∞)p \in (1, \infty) has been posed as an open problem at COLT 2025 [Froese et al., 2025a], and, in the equivalent language of norm-maximization over zonotopes, in [Shenmaier, 2020].

References (33)