Introduction
Current generative modeling paradigms primarily focus on "mode coverage"—the ability of a model to approximate the underlying probability distribution of a training dataset. While effective for producing high-fidelity samples that mirror the "average" data point, this approach inherently favors majority features. Consequently, rare or "minority" examples are often under-represented or ignored entirely, leading to a lack of creative novelty and the reinforcement of existing data biases.
This paper proposes a shift toward mode balancing, where the objective is to equalize the representation of different data types regardless of their frequency in the training set. By introducing a novel "diversity weights" training scheme, the authors demonstrate how generative models can be steered toward greater output diversity and fairer representation without the need for explicit class labels.
The Diversity Weights Framework
The authors introduce a two-step training methodology designed to re-weight training data to prioritize diversity.
1. Vendi Score Optimization
The core of the method lies in the Vendi Score (VS), a metric that quantifies diversity by calculating the Shannon entropy of the eigenvalues of a similarity matrix. To implement mode balancing, the authors formulate an optimization problem to assign a specific weight to every individual training example. These weights are calculated to maximize the overall Vendi Score of the weighted dataset. Essentially, if an image is "lonely" in the feature space (i.e., it has few similar neighbors), it receives a higher weight.
2. Importance Sampling
Once the diversity weights are established, they are integrated into the training process (demonstrated here using Generative Adversarial Networks, or GANs). Instead of the standard uniform sampling—where every image has an equal chance of being selected—the model employs importance sampling. Images with higher diversity weights are sampled more frequently, forcing the model to allocate more "learning capacity" to rare and unique features.
Evaluation: Beyond Standard Metrics
Standard evaluation metrics like the Fréchet Inception Distance (FID) measure how closely a model's output matches the original, often biased, dataset. To accurately assess mode balancing, the authors introduce the Weighted Fréchet Inception Distance (wFID). This metric adjusts the ground truth statistics to reflect the intended balanced distribution, providing a more meaningful benchmark for models designed to deviate from the raw data's frequency biases.
Experimental Results
The researchers validated their approach using controlled subsets of the MNIST dataset, focusing on digit pairs with varying degrees of similarity (e.g., 0-1 for dissimilar shapes and 3-8 or 4-9 for similar shapes). To avoid the biases inherent in standard InceptionV3 features, they utilized CLIP (ViT-L/14) embeddings for similarity calculations.
Key Findings
- Enhanced Diversity: Models trained with Diversity Weights (DivW) consistently outperformed standard GANs in terms of Vendi Scores across all tested digit pairs.
- Qualitative Variety: Visual analysis revealed that DivW models produced a wider array of "interesting" variations—such as digits with unusual tilts or unique structural features—that are typically suppressed in standard training.
- Targeted Distribution Matching: Using the wFID metric, the authors confirmed that DivW models more accurately captured the intended balanced distribution than standard models.
- The Typicality-Diversity Trade-off: The study noted a slight decrease in standard precision and fidelity as diversity increased. This suggests a fundamental tension: as a model explores the "rare" edges of the data space, its outputs become less "typical" of the average training sample. The authors provide a hyperparameter ($\gamma$) to allow users to tune this balance according to their needs.
Discussion and Future Work
The Diversity Weights approach offers a powerful, unsupervised tool for mitigating bias and enhancing creativity in generative AI. By identifying under-represented features based on similarity rather than manual labels, it provides a scalable path toward fairer AI.
However, several challenges remain. While diversity is improved, the fidelity of individual samples can sometimes decrease. Future research will focus on refining training procedures to maintain high realism while balancing modes. Additionally, while this proof-of-concept utilized MNIST and GANs, the method is theoretically model-agnostic. Applying diversity weights to large-scale Diffusion models or Large Language Models (LLMs) represents a significant next step for improving AI safety and representation in complex, real-world applications.
Summary updated