JacNet: Learning Functions with Structured Jacobians
Jonathan Lorraine, Safwan Hossain
TL;DR
JacNet tackles the challenge of enforcing derivative structure in neural mappings by learning the Jacobian $J^{\boldsymbol{y}}_{\boldsymbol{x}}$ with a neural network and reconstructing the target function via a line integral. By designing activations that enforce properties like non-singularity or $k$-Lipschitzness, it guarantees invertibility or Lipschitz bounds and computes inverses through integration of the inverse Jacobian. The approach leverages Hadamard-type conditions for global invertibility and differentiable neuralODE-based backpropagation to train the model. Initial experiments on simple 1D functions, including $y=\exp(x)$ and $y=|x|$, illustrate accurate inversion and adherence to the specified Jacobian regularities. Overall, JacNet enables explicit incorporation of Jacobian priors into learned mappings, with potential for improved stability and interpretability in derivative-constrained applications.
Abstract
Neural networks are trained to learn an approximate mapping from an input domain to a target domain. Incorporating prior knowledge about true mappings is critical to learning a useful approximation. With current architectures, it is challenging to enforce structure on the derivatives of the input-output mapping. We propose to use a neural network to directly learn the Jacobian of the input-output function, which allows easy control of the derivative. We focus on structuring the derivative to allow invertibility and also demonstrate that other useful priors, such as $k$-Lipschitz, can be enforced. Using this approach, we can learn approximations to simple functions that are guaranteed to be invertible and easily compute the inverse. We also show similar results for 1-Lipschitz functions.
