Introduction
Generative modeling has advanced significantly with architectures like StyleGAN, which can be interpreted mathematically as deep polynomial neural networks (PNNs). While PNNs excel at unsupervised generation—mapping a single noise vector $z$ to an image—they have historically struggled with conditional generation. In conditional tasks, models must integrate at least two inputs: a noise sample ($z$) and a condition ($c$), such as a class label or a low-resolution image.
The standard approach of concatenating $z$ and $c$ is often suboptimal. It destroys spatial correlations in image conditions, leads to parameter explosion in fully connected layers, and fails to capture high-order "cross-talk" between noise and conditions. To address these issues, we introduce CoPE (Conditional Polynomial Expansions), a framework that extends deep polynomial networks to conditional tasks by explicitly modeling complex cross-correlations.
Methods
CoPE captures higher-order auto- and cross-correlations between multiple input variables using an elegant recursive formulation. To avoid the exponential parameter growth typical of high-order polynomials, CoPE updates representations layer-by-layer:
$$x_n = x_{n-1} + (U_{n,I}^T z_I + U_{n,II}^T z_{II}) \odot x_{n-1}$$
In this architecture, the representation at each layer is updated by adding a version of itself scaled (via element-wise multiplication, $\odot$) by a combination of the noise ($z_I$) and the condition ($z_{II}$).
Key Innovations
- Multivariate Expansion: Unlike previous PNNs, CoPE explicitly models the interaction between noise and conditions.
- Flexible Embeddings: The framework supports different inductive biases for different inputs, such as dense layers for noise and convolutional layers for images.
- Product of Polynomials: Stacking $\Phi$ blocks allows for an expansion order of $2^\Phi$, enabling complex function approximation with relatively few parameters.
- Stability: To prevent high-order polynomials from diverging, the authors employ uniform noise sampling, batch normalization, and $tanh$ output activations.
Notably, the core CoPE framework can synthesize realistic images without standard non-linear activation functions like ReLU, relying entirely on the non-linearity of polynomial products.
Experiments and Datasets
The effectiveness of CoPE was evaluated across eight datasets and five distinct tasks, including class-conditional generation (CIFAR10, SVHN, Cars196), attribute-guided synthesis (CelebA, Anime Characters), and image-to-image translation (MNIST to SVHN, Edges-to-Shoes/Handbags).
Key Results
CoPE consistently outperformed established baselines such as SPADE and sBN. On the Cars196 dataset, CoPE achieved a 53.9% reduction in FID compared to the best-performing baseline. In 16x super-resolution tasks on the same dataset, CoPE reached an FID of 60.42, significantly better than SPADE's 111.75.
Qualitatively, CoPE produces sharper and more realistic images. In interpolation tasks, it avoids the blurry artifacts common in concatenation-based methods. Furthermore, CoPE-VAE experiments demonstrated a natural ability to disentangle attributes, successfully generating novel combinations (e.g., "Smiling Female") even when absent from the training set.
Conclusion and Future Work
CoPE demonstrates that multiplicative interactions are superior to simple additive or concatenation methods for conditional generation. By allowing noise to modulate specific features of a condition, the model achieves higher fidelity and better disentanglement.
Future work includes scaling CoPE to massive datasets like ImageNet and exploring "piecewise" polynomial expansions by re-introducing activation functions. The framework's ability to model complex cross-modal correlations also suggests potential applications in Text-to-Speech and Visual Question Answering.
Summary updated