Saved in:
Bibliographic Details
Main Author: Fauber, Ben
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.07983
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916478338465792
author Fauber, Ben
author_facet Fauber, Ben
contents We demonstrate that Gini coefficients can be used as unified metrics to evaluate many-versus-many (all-to-all) similarity in vector spaces. Our analysis of various image datasets shows that images with the highest Gini coefficients tend to be the most similar to one another, while images with the lowest Gini coefficients are the least similar. We also show that this relationship holds true for vectorized text embeddings from various corpuses, highlighting the consistency of our method and its broad applicability across different types of data. Additionally, we demonstrate that selecting machine learning training samples that closely match the distribution of the testing dataset is far more important than ensuring data diversity. Selection of exemplary and iconic training samples with higher Gini coefficients leads to significantly better model performance compared to simply having a diverse training set with lower Gini coefficients. Thus, Gini coefficients can serve as effective criteria for selecting machine learning training samples, with our selection method outperforming random sampling methods in very sparse information settings.
format Preprint
id arxiv_https___arxiv_org_abs_2411_07983
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Gini Coefficient as a Unified Metric for Evaluating Many-versus-Many Similarity in Vector Spaces
Fauber, Ben
Artificial Intelligence
We demonstrate that Gini coefficients can be used as unified metrics to evaluate many-versus-many (all-to-all) similarity in vector spaces. Our analysis of various image datasets shows that images with the highest Gini coefficients tend to be the most similar to one another, while images with the lowest Gini coefficients are the least similar. We also show that this relationship holds true for vectorized text embeddings from various corpuses, highlighting the consistency of our method and its broad applicability across different types of data. Additionally, we demonstrate that selecting machine learning training samples that closely match the distribution of the testing dataset is far more important than ensuring data diversity. Selection of exemplary and iconic training samples with higher Gini coefficients leads to significantly better model performance compared to simply having a diverse training set with lower Gini coefficients. Thus, Gini coefficients can serve as effective criteria for selecting machine learning training samples, with our selection method outperforming random sampling methods in very sparse information settings.
title Gini Coefficient as a Unified Metric for Evaluating Many-versus-Many Similarity in Vector Spaces
topic Artificial Intelligence
url https://arxiv.org/abs/2411.07983