TL;DR
This paper introduces a novel kernel-based approach to generative modeling using stochastic interpolants, replacing computationally expensive neural network training with solving linear systems. This method allows for flexible model composition and generation using pre-trained models or feature maps like scattering transforms, achieving impressive results on diverse datasets.
What Problem Does This Paper Address?
Traditional generative diffusion models, such as score-based models and stochastic interpolants, rely on learning a time-dependent "drift" or "score" function. This is typically done by training a neural network, a process that is computationally intensive and time-consuming. The paper addresses this bottleneck by proposing a kernel-based reformulation that replaces neural network training with solving a fixed-size linear system, making the generation process significantly more efficient and enabling easier model combination.
Methods
The core innovation lies in approximating the drift of the generative stochastic differential equation (SDE) using a feature map $\phi: \mathbb{R}^d \to \mathbb{R}^P$. Instead of learning a complex neural network function, the drift $b_t(x)$ is modeled as $b_t(x) = \nabla \phi(x)^\top \eta_t$, where $\eta_t \in \mathbb{R}^P$ is a vector of coefficients. These coefficients are found by solving a $P \times P$ linear system derived from the data, where $P$ is the dimension of the feature map and is independent of the data dimension $d$. This significantly reduces the complexity of the learning problem.
The paper also incorporates an "optimal diffusion coefficient" $D_t^*$, derived from Girsanov's theorem, which is crucial for handling inexact estimates of the drift. This optimal $D_t^*$ has a specific behavior: it's large near $t=0$ (when the distribution is close to Gaussian) and vanishes near $t=1$ (when the process approaches pure data transport). A custom integrator is developed to seamlessly handle these limits without clamping.
A key advantage is the flexibility in choosing the feature map $\phi$. The paper highlights two main choices:
- Scattering Transforms: These are well-suited for capturing multiscale structures in time series and physical fields.
- Pretrained Generative Models: The velocity fields from existing generative models can be directly used as feature gradients. This enables combining models with different architectures or training stages through linear algebra, without any retraining.
Datasets
The paper demonstrates its approach on several datasets:
- Financial Time Series: Daily log-returns of the S&P 500 (January 2000 to February 2024).
- Physical Fields: Four 64x64 datasets: 3D turbulence pressure slices, dark matter log-density slices, magnetic turbulence MHD vorticity, and weak lensing convergence maps.
- Image Generation: MNIST, Fashion-MNIST, EMNIST (letters), and Kuzushiji-MNIST for evaluating cross-domain model composition.
Key Insights and Ideas
- Linear Systems as a Replacement for Neural Networks: The most significant insight is that complex generative modeling problems can be reframed as solving linear systems, drastically reducing computational cost and training complexity.
- Model Composition without Retraining: The ability to combine diverse generative models (even from different domains) by simply solving a linear system over their feature gradients is a powerful paradigm shift for leveraging existing models.
- Optimal Diffusion for Improved Generation: The use of a theoretically derived optimal diffusion coefficient $D_t^*$ is crucial for managing the errors introduced by finite-dimensional feature maps and achieving high-quality generation, especially near the start of the diffusion process.
- Seamless Handling of Diffusion Limits: The custom integrator's ability to handle the singular behavior of $D_t^*$ at $t=0$ without clamping is a practical engineering feat that enables robust generation.
Key Results
- Accurate Generation: The method successfully reproduces complex statistical properties like heavy tails and leverage effects in financial time series, and faithfully captures visual characteristics of physical fields (turbulence, cosmic web, etc.).
- Effective Model Combination: When applied to MNIST, composing 40 weak generative models (trained for only 50-100 steps) resulted in significantly sharper and more coherent digits than using individual models or a smaller ensemble of target-domain models.
- Efficiency: Replacing neural network training with solving a $P \times P$ linear system (where $P$ is independent of data dimension $d$) offers substantial computational savings.
Limitations and Future Work
- Feature Map Dependence: The quality of generation is still dependent on the chosen feature map $\phi$. While scattering transforms and pretrained models are effective, finding optimal feature maps for specific tasks remains an area of exploration.
- Approximation in Hilbert Space: The paper notes that for non-characteristic kernels, the framework operates in a finite-dimensional Hilbert space, leading to an approximation of the true velocity field. Theorem A.1 suggests that characteristic kernels (like Gaussian RBF) can achieve exact recovery but require infinite-dimensional feature spaces.
- Complementarity with Moment-Guided Diffusion: The authors suggest that combining their method with Moment-Guided Diffusion (which constrains moments) is a natural direction for future work, potentially offering even finer control over generated statistics.
Summary updated