Active learning (AL) is a powerful paradigm for training machine learning models with minimal labeled data. By iteratively selecting the most informative samples for human annotation, AL aims to maximize performance while minimizing labeling costs. However, traditional AL methods often falter in "open-world" scenarios characterized by extreme class imbalance. In fields like medical imaging or autonomous driving, the classes of interest are often "needles in a haystack," making up less than 1% of the total data.
Standard AL strategies, such as uncertainty sampling, typically select points near the model's current decision boundary. In imbalanced settings, this boundary is often heavily biased toward the majority class. Consequently, the model remains "certainly wrong" about rare classes, and the AL process becomes stuck querying redundant majority-class samples.
To address this, researchers at UW-Madison have introduced GALAXY (Graph-based Active Learning At the eXtrEme), a novel strategy that combines deep learning with a graph-based bisection approach to identify examples that are both highly uncertain and class-diverse.
The GALAXY Methodology
GALAXY bridges the gap between uncertainty-based and diversity-based active learning by forcing a class-balanced search process. The algorithm operates through several key steps:
- Linear Graph Construction: For each class, GALAXY constructs a linear graph by ranking unlabeled examples based on the model's confidence margin (the difference between the highest and second-highest predicted probabilities).
- Bisection Strategy: Instead of simply querying the most uncertain points, GALAXY employs a bisection search (based on the $S^2$ algorithm) to find the "shortest path" between two nodes known to have different labels. By querying the midpoint of this path, the algorithm efficiently narrows down the location of the true decision boundary.
- Higher-Order Connectivity: To maintain search momentum after initial boundaries are found, GALAXY can increase the "order" of the graph, connecting nodes that are further apart to explore new regions of the feature space.
Experimental Evaluation
GALAXY was evaluated on several computer vision benchmarks—including CIFAR-10, CIFAR-100, SVHN, and PathMNIST—modified to simulate extreme imbalance (imbalance factors as low as 0.01).
The results demonstrate that GALAXY consistently outperforms state-of-the-art methods like BADGE and BAIT. On the SVHN dataset, GALAXY achieved 92% balanced accuracy with 32% fewer labels than the next best competitor.
A critical factor in GALAXY's success is its ability to discover rare "in-distribution" classes. While other methods are often "tricked" into over-sampling the majority class, GALAXY's bisection approach naturally gravitates toward the boundaries of rare classes, significantly increasing the percentage of minority-class labels in the training set.
Key Insights and Future Work
GALAXY's effectiveness stems from its adaptive search space. Unlike traditional graph-based AL that uses static graphs, GALAXY rebuilds its linear graphs every round based on the latest neural network embeddings. This allows the search structure to refine itself as the model's internal representations improve. Furthermore, despite the graph-based approach, GALAXY is computationally efficient, adding less than 5% overhead compared to simple confidence sampling.
Currently, GALAXY is designed for sequential and synchronous labeling. Future research aims to adapt the algorithm for asynchronous, batch-based labeling to support large-scale distributed annotation teams while maintaining surgical precision in finding rare data.
Summary updated