Abstract
Deep Parameter Interpolation (DPI) introduces a simple yet effective architecture-agnostic approach for conditioning neural networks on scalar variables, such as time or noise levels in generative models. Unlike traditional embedding-based or input-level conditioning, DPI maintains two sets of learnable parameters and dynamically interpolates between them using a learnable monotonic function. This method enables any network architecture to become "time-aware" with minimal computational overhead, achieving superior performance in diffusion and flow matching tasks.
Introduction
Modern generative models, including diffusion and flow matching, rely on a single neural network to execute a sequence of transformations. A critical requirement for these models is scalar conditioning: the network must be aware of its current state, typically represented by a noise level ($\sigma$) or a time step ($t$). Traditional methods for this conditioning often involve architectural constraints or limited expressiveness.
The Conditioning Challenge
Existing conditioning techniques generally fall into three categories:
- Embedding-based: Learned embeddings are injected into specific layers, such as normalization. While powerful, this restricts architecture choice.
- Input-level: The scalar is concatenated as an additional image channel. This is flexible but often lacks the expressiveness needed to drive complex network behavior.
- External rescaling: Output is rescaled based on noise levels, a method largely limited to specific score-based diffusion frameworks.
Deep Parameter Interpolation (DPI) addresses these limitations by being both architecture-agnostic and highly expressive.
Deep Parameter Interpolation (DPI)
The core innovation of DPI is shifting conditioning from the data or feature level to the parameter level. Instead of modifying the input, DPI modifies the network's weights dynamically.
Mechanism
For every learnable layer, the model maintains two independent parameter sets: $\theta^0$ and $\theta^1$. During a forward pass, the effective parameters $\theta(s)$ are calculated via interpolation: $$\theta(s) = [1 - \lambda(s)]\theta^0 + \lambda(s)\theta^1$$ where $\lambda(s)$ is a learnable monotonic function. This ensures that the network's parameters vary smoothly with the scalar input $s$, mirroring the smooth variation of vector fields in diffusion processes. The authors found that a fixed linear interpolation is consistently sub-optimal compared to this learnable transition.
Efficiency
DPI is computationally efficient. While the parameter count doubles, the interpolation occurs once per step. The subsequent forward pass uses standard operations, resulting in a FLOP increase of less than 0.72% and a modest peak GPU memory increase of 5–9%.
Experimental Results
The researchers evaluated DPI using the FFHQ (Flickr-Faces-HQ) dataset at $64 \times 64$ resolution, utilizing 69,000 images for training.
DPI demonstrated superior performance across multiple metrics:
- Denoising Accuracy: DPI achieved lower Mean Squared Error (MSE) compared to $t$-maps or MLP-based embeddings in diffusion tasks.
- Generative Quality: In flow matching frameworks using the ADM architecture, DPI reached an FID of 7.96, significantly outperforming the 8.52 achieved by MLP-based conditioning.
- Architecture Flexibility: The method successfully converted DRUNet—a standard denoiser not originally built for generative modeling—into a high-performing generative backbone.
Discussion and Limitations
While DPI offers a powerful new tool for scalar conditioning, it faces challenges in scaling. Doubling parameters may be a hurdle for multi-billion parameter transformers where VRAM is already constrained. Additionally, extending this parameter-level approach to high-dimensional conditioning (e.g., text prompts or class labels) remains an open research question. Nonetheless, for scalar-conditioned tasks, DPI provides a robust, efficient, and architecture-neutral solution that enforces necessary smoothness at the parameter level.
Summary updated