Unconstrained Monotonic Neural Networks

Antoine Wehenkel, Gilles Louppe
8/14/2019
cs.LGcs.NEstat.ML

Official code: AWehenkel/UMNN (129 stars, BSD-3-Clause, last commit 2025-12-07).

Abstract

Monotonic neural networks have recently been proposed as a way to define invertible transformations. These transformations can be combined into powerful autoregressive flows that have been shown to be universal approximators of continuous probability distributions. Architectures that ensure monotonicity typically enforce constraints on weights and activation functions, which enables invertibility but leads to a cap on the expressiveness of the resulting transformations. In this work, we propose the Unconstrained Monotonic Neural Network (UMNN) architecture based on the insight that a function is monotonic as long as its derivative is strictly positive. In particular, this latter condition can be enforced with a free-form neural network whose only constraint is the positiveness of its output. We evaluate our new invertible building block within a new autoregressive flow (UMNN-MAF) and demonstrate its effectiveness on density estimation experiments. We also illustrate the ability of UMNNs to improve variational inference.

View on arXivView PDF

Code Implementations(1)

AWehenkel/UMNNOfficial100%
BSD-3-Clause

Implementation of Unconstrained Monotonic Neural Network and the related experiments. These architectures are particularly useful for modelling monotonic transformations in normalizing flows.

12921CSS, HTMLMay 13, 201910 months agoBSD-3-Clause
monotonicneural-networknormalizing-flows

Similar Papers

Cite this paper

@article{wehenkel2019unconstrained,
  title  = {Unconstrained Monotonic Neural Networks},
  author = {Antoine Wehenkel and Gilles Louppe},
  year   = {2019},
  eprint = {1908.05164},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.05164}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1908.05164.svg)](https://codeofpaper.com/paper/1908.05164)

Discussion