Monotone Gradient Networks (mGradNets)
- mGradNets are neural architectures that directly learn gradients of convex functions by enforcing globally positive semidefinite Jacobians.
- They offer two designs—cascaded (mGradNet-C) and modular (mGradNet-M)—balancing depth and parallelism for efficient parameterization.
- Their structure supports scalable applications in optimization, optimal transport, and control with fewer parameters than traditional ICNNs.
Searching arXiv for the primary mGradNet papers and closely related work. Monotone Gradient Networks (mGradNets) are neural architectures for vector-valued maps that are constrained to satisfy for some convex, twice continuously differentiable potential . In the formulations introduced as C-MGN and M-MGN, and later generalized as mGradNet-C and mGradNet-M, the defining property is the global positive semidefiniteness of the Jacobian, for all , which makes the network a direct parameterization of monotone gradients rather than of scalar convex functions that must then be differentiated (Chaudhari et al., 2023, Chaudhari et al., 2024). This design was motivated by applications in gradient-based optimization, normalizing flows, and especially optimal transport, where Brenier’s theorem identifies the squared-Euclidean Monge map as the gradient of a convex potential. Subsequent work used mGradNets to learn such transport maps directly through Monge–Ampère-based objectives and applied them to robot swarm control (Chaudhari et al., 17 Jul 2025).
1. Mathematical characterization and motivation
A vector-valued map is monotone if
By classical results cited in the original formulation—Rockafellar (1970) and Boyd & Vandenberghe (2004)—a continuously differentiable scalar function is convex if and only if its gradient is monotone (Chaudhari et al., 2023). The later GradNet framework restated this in differential form: an mGradNet is precisely a gradient network whose Jacobian is symmetric positive semidefinite everywhere, (Chaudhari et al., 2024).
The immediate motivation for learning monotone gradients directly is operational. Many optimization algorithms require only a gradient oracle. In the Monge problem with squared-Euclidean cost, Brenier’s theorem guarantees that the optimal transport map is the gradient of a convex function. Direct modeling of 0 therefore targets the object of interest itself. This differs from Input Convex Neural Networks (ICNNs), which parameterize a convex potential and require a subsequent differentiation step, and from Input Convex Gradient Networks (ICGNs), which use Hessian factorization (Chaudhari et al., 2023).
In the optimal-transport setting, the Monge formulation seeks a map 1 minimizing
2
Under the regularity conditions stated in the GradNetOT exposition, the unique minimizer has the form
3
and the pushforward condition is equivalent to the Monge–Ampère relation
4
This places monotone gradients at the center of data-driven transport-map learning (Chaudhari et al., 17 Jul 2025).
2. Canonical architectures: cascaded and modular forms
The original paper introduced two architectures for directly learning gradients of convex functions: the Cascaded Monotone Gradient Network (C-MGN) and the Modular Monotone Gradient Network (M-MGN) (Chaudhari et al., 2023). Their later counterparts in the GradNet framework are denoted mGradNet-C and mGradNet-M (Chaudhari et al., 2024).
| Architecture | Core structure | Monotonicity mechanism |
|---|---|---|
| C-MGN / mGradNet-C | Deep cascaded network with shared 5 | Jacobian factors as 6 |
| M-MGN / mGradNet-M | Sum of parallel modules | Each module contributes PSD terms |
For C-MGN, the 2023 construction uses a shared linear weight 7, bias vectors 8, and layer-wise monotonic activations 9. With 0 hidden layers,
1
2
and
3
If each 4 is element-wise increasing, then
5
The 2024 mGradNet-C variant preserves the same shared-6 cascaded logic while introducing nonnegative layer-wise coefficients 7, yielding the factorization 8 with diagonal PSD 9 (Chaudhari et al., 2024).
For M-MGN, the network is built from 0 independent modules. Each module has 1, a bias 2, and a scalar convex function 3 with 4. The model is
5
6
Since each 7 is convex, 8, and the Jacobian becomes
9
The corresponding mGradNet-M formulation in 2024 writes
0
with 1 convex, 2, and 3 nonnegative and nondecreasing, which again ensures that every module contributes PSD terms (Chaudhari et al., 2024).
The contrast between the two families is structural rather than semantic. C-MGN is described as a “deep” cascaded structure with one shared 4 and potentially more nonlinear depth; M-MGN is a “wide” structure with parallel shallow modules whose contributions are summed (Chaudhari et al., 2023).
3. Theoretical guarantees and representational scope
The foundational guarantee is monotonicity. Propositions 1 and 2 in the original paper prove 5 for all 6, hence the learned map is guaranteed to be 7 for some convex 8 (Chaudhari et al., 2023). In the later GradNet formalization, this becomes the defining criterion of an mGradNet, and several closure constructions are given: a single-layer recipe 9 with 0 and 1; a “Lipschitz flip” 2 when a GradNet is 3-Lipschitz; conical combinations of mGradNets; and strong-convex shifts 4, which produce gradients of 5-strongly-convex potentials (Chaudhari et al., 2024).
Strong convexity has immediate consequences for invertibility. The original work notes that adding a linear term 6 can enforce 7 when 8. In that case the map is 9-strongly monotone, the underlying potential is 0-strongly convex, and the resulting 1 is bijective and invertible, which is explicitly identified as useful in normalizing flows (Chaudhari et al., 2023).
A notable point in the development of the literature concerns universal approximation. The original 2023 exposition states that no formal universal-approximation bound was proved for monotone gradients, although empirical expressivity was strong (Chaudhari et al., 2023). The 2024 GradNet paper then established a universal approximation theorem for gradients of convex functions. Specifically, for the class 2, the single-layer mGradNet of Proposition 8 with scaled softmax activation,
3
universally approximates 4 on 5. The proof sketch proceeds through uniform approximation of convex functions by scaled LogSumExp of finitely many affine hyperplanes and then differentiates that representation (Chaudhari et al., 2024).
The same paper also characterizes a larger function family: “monotone convex transformation of a sum of convex ridges,”
6
with 7 convex 8 and 9 nondecreasing. The corresponding gradient can be implemented as an mGradNet by combining a ridge-sum gradient 0 with a scalar multiplier 1 (Chaudhari et al., 2024). This suggests that the architecture is not restricted to a narrow template of convex potentials.
4. Training objectives and computational profile
Three training modes recur across the mGradNet literature. The first is direct gradient regression. In the original formulation, when samples of the true gradient are available, the network is supervised with
2
or an 3 variant (Chaudhari et al., 2023). The 2024 GradNet study uses the same principle in the form
4
and emphasizes that no extra Jacobian-symmetry penalty is needed because symmetry and PSD structure are built into the architecture (Chaudhari et al., 2024).
The second mode is density matching or optimal transport via a change-of-variable objective. In the 2023 paper, 5 is treated as a normalizing flow and trained by minimizing a KL-based objective,
6
Optimization uses standard SGD or Adam, with the same batch sizes and learning rates for all competing models in the experiments (Chaudhari et al., 2023).
The third mode, developed in GradNetOT, imposes the pushforward condition in logarithmic residual form: 7 With residual
8
the optimization problem is
9
The reported implementation uses Adam with batch size 0, a decaying learning rate from 1 to 2, and automatic differentiation to compute both 3 and 4 (Chaudhari et al., 17 Jul 2025).
Computationally, the architecture is intended to avoid the burdens that accompany indirect convex-potential learning. The 2024 study states that forward/backward cost is comparable to an MLP of the same size and that no costly numerical integration or PSD-projection is used. Nonnegativity constraints, such as those on 5 in mGradNet-C and on 6 in mGradNet-M, are enforced by parameterization as squares or via softplus (Chaudhari et al., 2024). This is consistent with the original motivation that direct parameterization of 7 avoids both the extra differentiation step of ICNNs and the heavy Hessian-factorization required by ICGNs (Chaudhari et al., 2023).
5. Empirical performance on gradient fields and transport tasks
The earliest experiments focused on a synthetic two-dimensional gradient field. In the 2023 comparison, ICGN used 15 parameters, ICNN used 78 and 163 parameters, C-MGN used 14 parameters, and M-MGN used 22 parameters. The reported MSEs in dB were: ICGN 8, ICNN (78p) 9, ICNN (163p) 0, C-MGN (14p) 1, and M-MGN (22p) 2. The paper states that C-MGN beats all baselines with an order-of-magnitude fewer parameters (Chaudhari et al., 2023).
The broader 2024 GradNet evaluation used comparable parameter counts in 2D—mGradNet-C with 3, hidden dim 4, had 5 parameters; mGradNet-M with 6 modules, each dim 7, had 8; ICNN had 9, ICGN 00, and CRR 01. On the convex field benchmark over 02, the RMSEs in dB were ICNN 03, ICGN 04, CRR 05, mGradNet-C 06, and mGradNet-M 07, corresponding to an improvement of approximately 08–09 dB over the best baseline (Chaudhari et al., 2024).
Optimal-transport experiments in the original paper evaluated Gaussian optimal coupling in dimensions 10 and 11, with baselines Whitening Transform (WT), Invertible Autoregressive Flow (IAF), and Convex Potential Flow (CP Flow). For 12, the reported NLL and transport cost were WT 13; IAF 14; CP Flow 15; C-MGN 16; M-MGN 17. For 18, they were WT 19; IAF 20; CP Flow 21; C-MGN 22; M-MGN 23. The paper concludes that both C-MGN and M-MGN match or outperform CP Flow and IAF in NLL and incur lower transport cost than IAF, with simpler architectures (Chaudhari et al., 2023).
GradNetOT extended the empirical range to Gaussian-to-Gaussian transport up to 24. In the 2D case, a standard unconstrained feed-forward net is reported to fail because points “cross” under the mapping, whereas both mGradNet-C and mGradNet-M recover the analytic whitening transform. In higher dimensions, the mean squared error between the learned map and the true whitening transform remains near zero, with mGradNet-M slightly outperforming mGradNet-C (Chaudhari et al., 17 Jul 2025). A plausible implication is that the structural bias imposed by PSD Jacobians is especially relevant when the target map is known a priori to be a Brenier map.
6. Applications, distinctions, and open directions
A first applied use case is color domain adaptation for autonomous driving. The task is to map RGB pixel colors of daytime road scenes to sunset-style scenes by learning the Monge map between their color distributions. The reported pipeline fits a multivariate Gaussian to target pixel colors, learns a map 25 from day to Gaussian via M-MGN or C-MGN by minimizing Gaussian NLL, and applies the learned map to test images for visual comparison against a kernel-OT baseline (OTKer). The stated outcome is that C-MGN and M-MGN produce color transforms on par with more complex convex-relaxation OT methods while being learned end-to-end with few parameters (Chaudhari et al., 2023).
A second application is robot swarm control. GradNetOT encodes initial and desired swarm layouts as smooth densities on 26 via MNIST grayscale images and KDE, then learns an mGradNet-M transport map that tracks the exact Wasserstein geodesic between the distributions. In comparison to barycentric projection of the discrete Kantorovich plan, the averaged MSE over 1,000 test points is reported to be on the order of 27 across 28 source-target digit pairs (Chaudhari et al., 17 Jul 2025).
A recurrent point of clarification concerns terminology. mGradNets are not the same object as monotone variational-inequality training methods. The latter construct a monotone operator 29 in parameter space, solve a VI of the form “find 30 such that 31 for all 32,” and apply projected or extragradient schemes for training or fine-tuning FC, GNN, and CNN models (Xu et al., 2022). By contrast, mGradNets constrain the input-output Jacobian 33 so that the network itself represents a monotone gradient field. The shared word “monotone” therefore refers to different mathematical objects in the two lines of work.
Open directions were already identified in the original formulation: convolutional generalization by replacing fully connected 34 or 35 with convolution and its adjoint while preserving PSD Jacobians; richer module compositions; theoretical error bounds; scaling to very high dimensions; and integration into end-to-end task training (Chaudhari et al., 2023). The later GradNet framework partially addressed one earlier limitation by supplying a universal approximation theorem (Chaudhari et al., 2024). This suggests that current research is progressively shifting from existence and feasibility questions toward scalability, compositional design, and task-specific transport objectives.