Abstract
Standard machine learning models typically predict the conditional expectation of a distribution, a strategy that fails in multimodal scenarios where multiple valid outcomes exist. This paper introduces Conditional Competitive Learning Vector Quantization (CCLVQ), a framework that trains an ensemble of neural network experts to collaboratively approximate the full conditional distribution. By optimizing for the Wasserstein distance, CCLVQ enables diverse, high-quality, and structurally coherent outputs in tasks ranging from image inpainting to generative modeling.
Introduction: The Challenge of Multimodality
In many predictive tasks, an input $X$ may correspond to several plausible outputs $Y$. For instance, in image inpainting, an occluded facial feature could be reconstructed in multiple realistic ways. Traditional models trained to minimize mean squared error tend to output the conditional mean, which often results in blurry or unrealistic "average" predictions that do not exist in the true data distribution.
Existing uncertainty quantification methods, such as pixel-wise variance maps, often fail to capture global spatial correlations, leading to locally noisy results. To address this, the authors propose a method to model the full multimodal conditional distribution $\mathcal{L}(Y|X)$, allowing a model to generate multiple distinct and plausible hypotheses.
Methodology: Conditional Competitive Learning Vector Quantization
CCLVQ extends the principles of vector quantization to functional mappings. Instead of a single model, the system employs an ensemble of $n$ neural network "experts."
The training process is governed by three core components:
- Competitive Training: For every training pair $(X, Y)$, the algorithm identifies the "winning" expert—the one whose prediction is closest to the ground truth $Y$. Only this expert’s parameters are updated, encouraging specialization across different modes of the data.
- Probability Classification: A separate classifier network learns to predict the probability of each expert being the correct mode for a given input, providing a structured measure of uncertainty.
- Dynamic Splitting: To optimize training, the system can start with a single model and dynamically "split" (duplicate) heavily utilized experts to increase the resolution of the distribution approximation.
Mathematically, the authors demonstrate that minimizing the CCLVQ distortion function is equivalent to minimizing the expected squared Wasserstein distance between the true distribution and the quantized approximation. This geometric alignment is particularly beneficial for high-dimensional data like images.
Experimental Results
Image Restoration and Inpainting
The efficacy of CCLVQ was demonstrated on the CelebA-HQ dataset. By splitting a baseline model into four experts and fine-tuning for just one epoch, the researchers achieved highly diverse facial reconstructions. As shown in the results, different experts specialized in variations such as eye color and eyebrow shape, while the classifier provided the relative likelihood of each version.
Generative Modeling
CCLVQ can also be integrated into existing generative architectures. By replacing a standard BigGAN generator with a CCLVQ-based mixture of experts, the authors observed a significant reduction in mode collapse. On the CelebA dataset, the Fréchet Inception Distance (FID) improved from 5.19 to 4.75, while diversity metrics (Recall) increased. Similar improvements were noted on CIFAR-10, where FID dropped from 8.21 to 7.34.
Conclusion and Future Work
CCLVQ provides a robust framework for capturing structured, global uncertainty by learning distinct functional mappings of a conditional distribution. While the method shows great promise in producing diverse and coherent outputs, its performance is inherently tied to the capacity of the underlying networks and the density of the training data. Future research will focus on the theoretical limits of these approximations under finite sample sizes and varying architectural constraints.
Summary updated