arXiv:2608.23461cs.LGAug 2026

Manuscript Offprint

arXiv:2608.23461

Diversity-Based Active Learning: An Evaluation of Metric Spaces for Active Learning Selection

Siddharth Chilamkur, Dorit S. Hochbaum

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Siddharth Chilamkur

University of California, Berkeley

schilamkur@berkeley.edu

Dorit S. Hochbaum

University of California, Berkeley

dhochbaum@berkeley.edu

Abstract—With rapid advancement over the last few years, many different methods are now widely used for classification. However, training these models requires substantial labeled data. Active Learning is a potential solution to this problem. Pool-based active learning minimizes costs by querying only the most informative samples from an unlabeled dataset. Diversity-based approaches, on the other hand, attempt to select a representative subset of the data. There are many different objectives for determining the selection process, including exact K-center, exact K-median, and Greedy K-center. In this paper, we will focus on evaluating the performance of Greedy K-center across a variety of metric spaces: the raw feature space, a Linear Discriminant Analysis (LDA) space, and a model-derived probability space (with and without entropy-based weighting). Using Random Forest classifiers as a baseline evaluator, our empirical results on synthetic and real-world datasets demonstrate that mapping unlabeled instances into a predictive probability space and weighting the result by entropy often dominates the other options for active learning selection with Greedy K-center.

Index Terms—Active Learning, Greedy K-center, Random Forest, Dimensionality Reduction, Classification

I. INTRODUCTION

Supervised machine learning relies quite heavily on the availability of large datasets that are correctly labeled. In domains where acquiring these labels becomes prohibitively expensive (e.g. medical images, specialized financial datasets) or where conducting the physical experiments to generate ground-truth is too time-consuming, the manual data labeling process frequently becomes the primary bottleneck in model deployment. Active learning (AL) provides a mathematical framework to strategically query only the most informative data points from a large, static pool of unlabeled data. By doing so, AL allows models to achieve competitive predictive accuracy with a minimal budget of labels, directly reducing the associated time and financial costs.

Among the different AL frameworks, pool-based active learning is overwhelmingly common in modern applications due to its alignment with how data is naturally collected and stored. With a pool-based setup, an algorithm iteratively evaluates a large, static set of unlabeled instances, scoring them using a specific mathematical heuristic. The algorithm then selects a batch of the highest-scoring samples to be labeled, usually by a human oracle or an expensive secondary process. Once these specific samples are labeled, they are incorporated into the training set, the model is retrained on the updated data, and the cycle repeats until the desired amount of labeled data is reached or a performance threshold is met.

The heuristics used to evaluate and score the unlabeled samples traditionally rely heavily on measures of uncertainty or model disagreement. A foundational framework for identifying these informative samples is the Query-by-Committee (QBC) algorithm, which measures the disagreement among a committee of differing models to perform selective sampling [5]. Similarly, margin-based uncertainty sampling queries points closest to a support vector machine's decision boundary. However, methods that exclusively query near the decision boundary or strictly prioritize uncertainty can suffer heavily from sampling bias. They are prone to querying localized clusters of outliers, overlapping noise, or redundant samples, effectively ignoring large, unmapped regions of the underlying data distribution.

To deal with some of these issues, diversity-based methods look to select a subset of points that represent the global data distribution, making sure that the model explores all of the data domain evenly. These approaches utilize a variety of combinatorial objective functions that attempt to maximize the dispersion or the representative relationship between the selected facilities (the samples) and the remaining unlabeled pool. Common objective functions in this domain include minimizing the sum of distances (the K-median problem), minimizing the maximum distance to a center (the K-center problem), and maximizing the minimum distance between any pair of selected centers (K-max-min-dispersion).

Recent theoretical and empirical work by Bodine and Hochbaum [3] discusses these different objectives and evaluates their heuristic performance in these contexts. A key finding from their work, which heavily influences the direction of this paper, is that optimizing for the exact K-center is not only computationally expensive, but empirically seems to perform worse for active learning tasks compared to a Greedy approximation. They also show that optimizing for exact K-median provides theoretically (see (1)) a lower loss function and better performance empirically than that of the optimal K-center solution. Specifically, using the notation S for the set of queried points, ℓ(xi,yi;S)\ell(x_i, y_i; S) the loss function for sample xix_i with true label yiy_i when trained on set S, δi=min⁡j∈S∥xi−xj∥\delta_i = \min_{j \in S} \|x_i - x_j\| the distance from a point to its closest selected center, λl\lambda_l and λμ\lambda_\mu the Lipschitz constants, L the loss bound, and C the number of classes, it was proved in [3] that:

1n∑i∈[n]ℓ(xi,yi;S)−1∣S∣∑j∈Sℓ(xj,yj;S)≤[1n∑i∈[n]δi](λl+λμLC)+L2log⁡(1/γ)2n\begin{align*}\frac{1}{n}\sum_{i\in[n]}\ell(x_{i},y_{i};S)-\frac{1}{|S|}\sum_{j\in S}\ell(x_{j},y_{j};S)\\\leq\left[\frac{1}{n}\sum_{i\in[n]}\delta_{i}\right]\left(\lambda_{l}+\lambda_{\mu}LC\right)+\sqrt{\frac{L^{2}\log(1/\gamma)}{2n}}\end{align*}

(1)

The coefficient 1n∑i∈[n]δi\frac{1}{n}\sum_{i\in[n]}\delta_i in the right hand side is the K-median objective, which is always lower than the respective K-center objective, max⁡i∈[n]δi\max_{i\in[n]}\delta_i, which was the coefficient in the bound proved in the Core-Set approach [9] and used as justification for using the K-center objective. Although exact K-median empirically dominates in performance, it is computationally too expensive and fast heuristics for K-median perform badly. In addition, the tests in [3] show that the Greedy K-center approach dominates the exact K-center formulation for the active learning set selection problem. Because of this, the main focus of this paper is not on attempting to solve the exact K-median or exact K-center objectives, but rather on evaluating the metric spaces in which it is necessary to consider aspects of the data beyond just geometric projections.

The exact K-center problem is NP-Hard. Hochbaum and Shmoys [7] provided a best possible 2-approximation algorithm (in this case, best possible refers to the fact that the 2−ε2-\varepsilon approximation to the K-center problem is NP-hard for any ε>0\varepsilon > 0). An alternative simple Greedy algorithm was devised by Gonzales, also achieving 2-approximation [6]. The Gonzalez algorithm, referred to here as the Greedy K-center algorithm, achieves this by iteratively selecting the unlabeled point whose distance to the closest previously selected cluster center is maximal.

The connection between active learning and Greedy K-center solution was shown under the name “Core-Set approach” [9]. The effectiveness of the Greedy K-center heuristic was shown there by applying it to the learned feature embeddings of Convolutional Neural Networks. While this Core-Set paper demonstrated the effectiveness of Greedy K-center using these feature embeddings, the literature at large is unspecific regarding the best generalized metric space for these calculations across different data types. In practice, the Greedy K-center approach has been shown to be a strong baseline for active learning that is difficult to consistently beat. However, as we show here, its success is determined by the space in which the distances are calculated. If the space does not accurately reflect the classification task, maximizing distance might simply maximize the selection of noise.

In high-dimensional spaces, standard physical distance metrics (e.g. L2L_{2} norm) suffer from the curse of high dimensionality, becoming significantly less informative as the distance between any two random points begins to converge, [1]. To address this, dimensionality reduction is frequently applied before attempting any type of clustering or sampling. Principal Component Analysis (PCA) is a standard unsupervised technique used to project data into a lower-dimensional space that maximizes overall variance. However, because PCA does not incorporate knowledge about class labels, the directions of maximum variance often do not align with the directions that maximize class separability. This can lead to projecting distinct classes onto the same axis and collapsing them together in the new space, leading to suboptimal active learning selection in a PCA-reduced space.

On the other hand, Linear Discriminant Analysis (LDA) can outperform Principal Component Analysis (PCA) in certain classification-focused tasks because it maximizes between-class separability rather than simply total variance. A classic paper providing a direct comparative analysis where LDA outperforms PCA is the work by Belhumeur, Hespanha, and Kriegman [2]. In the context of active learning, this geometric advantage is necessary. Recent evaluations demonstrate that active learning strategies geometrically based on LDA significantly leads to the active learner explicitly focusing on boundary points between classes, maximizing class separation and improving classification performance even when operating on highly imbalanced data with a restricted query budget [11].

However, as shown here, to fully capture the characteristics of the most effective active learning methods, it is necessary to consider aspects of the data beyond geometric projection. Here we incorporate a quantification of the degree of uncertainty in each unlabeled sample as well. A key method established in the literature is to derive a probability space directly from the predicted class probability vectors of the current model [10]. The question then becomes how to most effectively and efficiently derive this space during the active learning selection process.

Neural networks (NNs) can be effective for the task of generating the probability space, but they require extensive hyperparameter tuning and robust architectural design to achieve the necessary performance. We evaluated various NN architectures, including standard Multi-Layer Perceptrons and basic feedforward networks, but found them inferior to Random Forests for generating a reliable and well-calibrated probability space in this specific active learning setup. While modern Pre-Activation Tabular ResNet architectures eventually produce high-quality probability spaces, they require hundreds of training epochs to reach stability at each active learning query step. This drastically increases the time it takes to complete the active learning cycle, making it prohibitive for deployment in practice.

On the other hand, Random Forests (RF) [4] provide an effective, fast, and stable baseline evaluator. Random Forests resist overfitting and do not require many epoch-based training loops, making them ideal for the iterative nature of active learning, especially scenarios where the labeled set grows in small batches. In addition, established research shows that standard random forests can be used in active learning to create a computationally efficient approach for maximizing the joint entropy of a batch of samples while achieving maximal information gain and minimizing information redundancy [8]. Because of this, while we test both NNs and RFs to confirm these findings empirically, we emphasize Random Forests as the primary engine for generating the probability space and evaluating dataset accuracy.

Lastly, we test a hybrid approach of integrating predictive entropy with the probability space methodology. For a given sample xx, the probability space is derived from its predicted class probability vector p^(x)\hat{p}(x), where the probability for class cc over TT trees is expressed as p^c(x)=1T∑t=1TI(y^t(x)=c)\hat{p}_{c}(x) = \frac{1}{T} \sum_{t=1}^{T} I(\hat{y}_{t}(x) = c). Entropy is a classic metric for uncertainty sampling [12], representing the impurity in the model's prediction. It is computed as a function of this assigned probability vector: H(x)=−∑i=1Cp^i(x)log⁡p^i(x)H(x) = -\sum_{i=1}^{C} \hat{p}_{i}(x) \log \hat{p}_{i}(x), where CC is the total number of classes. By weighting the probability space distances by the predictive entropy of the samples, we force the Greedy K-center algorithm to prioritize points that are both spatially diverse across the model's learned probability distribution and highly uncertain to the current model. This combined objective balances exploration (diversity via Greedy K-center) and exploitation (uncertainty via Entropy).

In Section 2, we formally define the various active learning selection algorithms, specifically looking at how the Greedy K-center selection operates across raw feature spaces, LDA-reduced spaces, predictive probability spaces, and an entropy-weighted probability space. In Section 3, we demonstrate why the Random Forest is the optimal baseline we use for this task, followed by an empirical evaluation across synthetic and real-world datasets. Ultimately, our results show that the calculation of diversity within a model-derived predictive probability space, especially when weighted by entropy, consistently outperforms the other options for active learning selection with Greedy K-center.