Constructive conditional normalizing flows
Borjan Geshkovski, Domènec Ruiz-Balet
TL;DR
This work constructs explicit, flow-based transports that approximate a target diffeomorphism $\upphi$ and the resulting pushforward $\upphi_{\#}\upmu$ within controlled errors. It hinges on a constructive pipeline: approximate $\upphi$ by a Lagrange interpolant, factor it into measure-preserving and compressible components via a polar-like decomposition, and realize each factor as neural-ODE flows or permutation-based swap flows, with stability ensuring TV closeness of the pushforwards. Two complementary results are proved: a general theorem yielding $L^p$-approximation and TV control with finitely many switches (scaling at best like $\varepsilon^{-d}$ in general), and a second, Maurey-inspired construction giving $1/\varepsilon^{2}$ switch costs for smoother maps such as Knöthe–Rosenblatt or Barron-represented flows. The paper also validates the Knöthe–Rosenblatt rearrangement within this framework and discusses the role of activation choices (e.g., ReLU) in preserving exact log-Jacobian increments, highlighting practical implications for conditional sampling and measure-preserving transport.
Abstract
Motivated by applications in conditional sampling, given a probability measure $μ$ and a diffeomorphism $φ$, we consider the problem of simultaneously approximating $φ$ and the pushforward $φ_{\#}μ$ by means of the flow of a continuity equation whose velocity field is a perceptron neural network with piecewise constant weights. We provide an explicit construction based on a polar-like decomposition of the Lagrange interpolant of $φ$. The latter involves a compressible component, given by the gradient of a particular convex function, which can be realized exactly, and an incompressible component, which -- after approximating via permutations -- can be implemented through shear flows intrinsic to the continuity equation. For more regular maps $φ$ -- such as the Knöthe-Rosenblatt rearrangement -- we provide an alternative, probabilistic construction inspired by the Maurey empirical method, in which the number of discontinuities in the weights doesn't scale inversely with the ambient dimension.
