# Optimal Control of RKHS Diffeomorphic Flows for Classification and Generative Modeling

arXiv: https://arxiv.org/abs/2611.23497 · HTML: https://mlsanity.com/paper/2611.23497/

## Key facts

- No citing papers in the map yet (data through 24 Nov 2026).
- Builds on 3 of its 94 references that are in the map.
- Submitted 17 Nov 2026, announced 19 Nov 2026.

## Builds on (most cited first, 3 of 3)

- [Weight-Parameterization in Continuous Time Deep Neural Networks for Surrogate Modeling](https://mlsanity.com/paper/2507.22045/) (2025)
- [Fast and Flexible Probabilistic Forecasting of Dynamical Systems using Flow Matching and Physical Perturbation](https://mlsanity.com/paper/2508.01101/) (2025)
- [A generalized alternating NGMRES method for PDE-constrained optimization problems governed by transport equations](https://mlsanity.com/paper/2510.08782/) (2025)

## Abstract (arXiv)

We develop a unified optimal-control framework that solves supervised classification and likelihood-based density estimation with a single diffeomorphic flow whose velocity lives in a reproducing kernel Hilbert space (RKHS); the two tasks share all structure except the objective. Variable projection eliminates the terminal model (a classifier, or a Gaussian-mixture (GMM) reference), leaving a reduced control problem whose gradient comes from an analytic discrete adjoint. The RKHS parameterization makes the flow's divergence exact and deterministic at the cost of one kernel matrix-vector product, avoiding the stochastic trace estimators and potential-flow restrictions of existing continuous normalizing flows. Because the objective and gradient are deterministic, matrix-free reduced Gauss-Newton (GN) and related second-order solvers are practical for both tasks, which we benchmark against a range of first- and second-order optimizers; the learned map is a diffeomorphism with explicitly controlled regularity. In experiments from dimension 2 to 256, the reduced GN solvers use the fewest iterations of any optimizer tested and, together with joint L-BFGS, the least work; a multiscale kernel improves the density fit, and a trainable GMM reference reduces the deformation needed for multimodal transport at comparable likelihood while lowering the likelihood on real data. The full-model solve is quadratic in the particle count and sub-linear in dimension; a control-point reduction makes the particle-count scaling linear at near-lossless accuracy.
