Sparse Transformer Architectures via Regularized Wasserstein Proximal Operator with $L_1$ Prior
Fuqun Han, Stanley Osher, Wuchen Li
TL;DR
The paper addresses the challenge of incorporating structural priors, notably sparsity, into high-dimensional generative modeling. It introduces a sparse transformer architecture built from the regularized Wasserstein proximal operator (RWPO), embedding a prior-driven proximal update into each layer and coupling it with a learnable transport potential to realize a probability-flow framework. Theoretical results show that a sparse L1 prior accelerates convergence in KL divergence and contracts mass more effectively under a viscous (diffusive) regularization, while numerical experiments across synthetic benchmarks, Bayesian inverse problems, and MNIST demonstrate improved accuracy and faster convergence relative to traditional neural ODE–based flows. This approach unifies optimal transport, mean-field dynamics, and transformer-style interactions, offering a scalable, prior-informed alternative for generative modeling and posterior estimation with practical impact for scientific computing and inverse problems.
Abstract
In this work, we propose a sparse transformer architecture that incorporates prior information about the underlying data distribution directly into the transformer structure of the neural network. The design of the model is motivated by a special optimal transport problem, namely the regularized Wasserstein proximal operator, which admits a closed-form solution and turns out to be a special representation of transformer architectures. Compared with classical flow-based models, the proposed approach improves the convexity properties of the optimization problem and promotes sparsity in the generated samples. Through both theoretical analysis and numerical experiments, including applications in generative modeling and Bayesian inverse problems, we demonstrate that the sparse transformer achieves higher accuracy and faster convergence to the target distribution than classical neural ODE-based methods.
