Publication: The Impact of Diversity On Generalization Performance in Classification
Files
Date
Authors
Journal Title
Journal ISSN
Volume Title
Publisher
Access Restrictions
Abstract
The Empirical Risk Minimization (ERM) Principle, a foundational concept in machine learning, traditionally guides the training of classification models. However, the inherent assumptions of ERM, such as no distribution shift, often fail in real-world applications, limiting its effectiveness. We use the Vendi Score, a reference-free diversity metric derived from principles in ecology and quantum mechanics, to measure diversity in machine learning. We propose several novel approaches to incorporate the Vendi Score and diversity weights directly into the loss function, enabling models to account for diversity during training. Through comparative analysis on two classification datasets, CIFAR-10 and ISIC-2018, we demonstrate that these diversity-focused methods can enhance model performance, particularly on the most diverse inputs, without compromising the accuracy on the least diverse inputs. Additionally, our results suggest that incorporating diversity can help in faster convergence across both balanced and imbalanced datasets. Our results also highlight how diverse samples can be more difficult to classify, specifically in the case of balanced datasets. Overall, this investigation underscores the potential of integrating diversity measures like the Vendi Score into the ERM framework to foster the development of more robust and generalizable models.