arXiv:2611.01530cs.LGNov 2026

Manuscript Offprint

arXiv:2611.01530

Learning Gradients of Homogeneous Functions

Mayur S. Gowda, Srinivasa Pranav, Shreyas Chaudhari, José M. F. Moura

ABSTRACT

Homogeneous gradient functions have widespread significance, including applications in maximum energy subspace selection and retrieval problems. Euler's homogeneous function theorem specifies how the potential associated with a positively kk-homogeneous gradient field can be recovered directly from the field itself. We use Euler's theorem to build on GradNets [1] and propose a homogeneous gradient network architecture that is guaranteed to correspond to the gradient of a homogeneous function. Then, we describe how monotone homogeneous GradNets universally approximate the gradients of kk-homogeneous convex functions. The inductive bias of homogeneous GradNets enables them to outperform baseline ICNNs by up to 7dB in our max energy subspace projection experiment and by up to 13% higher accuracy, 98% fewer parameters, and 70% fewer FLOPS in our amortized inner product search experiment.

Index Terms— Homogeneous Functions, Convex Functions, Monotone Gradient, Inner Product Search, Neural Network

1. INTRODUCTION

Many signal processing and machine learning problems have structured solutions that leverage prior knowledge about the problem. Vector fields for physics and optimization problems often obey common properties like scaling consistently with the input (positive homogeneity) and corresponding to the gradient of an underlying scalar potential (conservativity). Such requirements arise in learned convex regularizers [2, 3], optimal transport [4, 5], and in retrieval problems where the optimal map is the gradient of a convex support function [6]. Specifically, controlling the degree of positive homogeneity of the underlying potential is an important design requirement in applications where the target field has known scaling behavior.

Maximum inner product search (MIPS): The support function of a fixed database, σy(x)=max⁡i⟨x,yi⟩\sigma_y(\mathbf{x}) = \max_i \langle \mathbf{x}, \mathbf{y}_i \rangle, is convex and positively 1-homogeneous, and its gradient at x\mathbf{x} is exactly the maximizing database vector. The runtime scales linearly in the dimension and the database size; amortizing MIPS requires learning the gradient of a 1-homogeneous convex function [6]. Maximum-energy subspace selection and projection in array and radar applications: candidate signal or interference subspaces can be compared by the energy they capture from a received snapshot x\mathbf{x} [7, 8]. For a candidate subspace with projection matrix Pi⪰0P_i \succeq 0, this energy is ∥Pix∥22=x⊤Pix\|P_i \mathbf{x}\|_2^2 = \mathbf{x}^\top P_i \mathbf{x}. The resulting pointwise maximum of quadratic forms is convex and positively 2-homogeneous. Efficient amortized identification of dominant signal or interference subspaces is useful in high-throughput radar processing. Convex regularizers used in

inverse problems (e.g., norms, gauge functions, and total variation-type penalties) are positively 1-homogeneous by design, as the scaling enables consistent behavior across signal amplitudes [9]; computing their proximal or gradient steps requires exactly the structure we study in this paper. Global optimization guarantees have also been prove using positive homogeneity [10].

Neural network architectures have been proposed to approximate gradient functions, but they do not explicitly parameterize the degree of positive homogeneity of the underlying potential. For examples, input convex neural networks [11] guarantee convexity of the potential by construction, but leave the scaling behavior of the learned field unconstrained. A natural solution is to use an unconstrained (or convexity-constrained) neural network and encourage homogeneity through regularization or a wrapper function. This strategy struggles to simultaneously guarantee that the learned field is integrable and corresponds to a convex homogeneous function.

In this work, we encode prior knowledge into the neural network architecture to guarantee homogeneity, conservativity, and monotonicity. By enforcing the correct functional properties in neural network architectures, we guarantee that every parameter setting yields a valid gradient field with the desired structure. Instead of first parameterizing the potential function, we directly parameterize the gradient function with a modular gradient network (GradNet-M) that we proposed in [1]. Crucially, we leverage Euler's homogeneous function theorem and use homogeneous module activations to express each module's potential as an inner product.

Contributions: Our contributions are threefold. (1) We propose a gradient network architecture [1] whose output is guaranteed to be the gradient of a positively kk-homogeneous (convex) function. (2) We prove that the proposed network universally approximates (sub)gradients of positively kk-homogeneous convex functions. (3) We evaluate on two tasks with different homogeneity degrees: amortized maximum quadratic energy subspace selection (k=2k=2) and amortized maximum inner product search (k=1k=1), comparing against unconstrained and convexity-constrained baselines.