TLDR: This research introduces “class-difficulty separability,” a concept where data difficulty varies significantly across different classes, especially in real-world datasets like those for cybersecurity and medical imaging. Traditional data pruning methods, which assume uniform difficulty, often fail in such scenarios by discarding rare but important examples. The study proposes “class-proportional” sampling strategies that allocate data selection budgets per class, demonstrating significant performance improvements and better generalization, even at extreme pruning rates, by preserving informative examples from all classes.
In the world of machine learning, having high-quality training data is crucial for building effective and efficient systems. However, working with massive datasets can be time-consuming and resource-intensive. This is where “coreset selection” comes in – a technique that aims to pick a smaller, representative subset of the training data while maintaining or even improving the performance of machine learning models.
Traditional coreset selection methods often make a simplifying assumption: that the difficulty of learning examples is evenly distributed across different categories (or “classes”) within the data. For instance, in a dataset of images, they might assume that recognizing a cat is just as difficult as recognizing a dog, on average, across all cat and dog images. However, recent research challenges this idea, especially in real-world scenarios like network intrusion detection or medical imaging.
A new study titled Class-Proportional Coreset Selection for Difficulty-Separable Data by Elisa Tsai, Haizhong Zheng, and Atul Prakash, highlights that data difficulty often clusters by class. This means some categories of data are consistently harder to learn than others. For example, in network security, identifying common, benign network traffic might be much easier than detecting rare, sophisticated cyberattacks. Similarly, in medical imaging, common conditions might be straightforward to identify, while rare diseases or ambiguous cell types pose a greater challenge.
The researchers formalize this phenomenon as “class-difficulty separability.” To quantify this, they introduce a new measure called the Class Difficulty Separability Coefficient (CDSC). This coefficient helps determine how distinctly different the difficulty scores are across various classes. A high CDSC value indicates that class-agnostic coreset methods – those that don’t consider class differences – are likely to perform poorly. These methods tend to over-select easy examples from large, common classes, while neglecting rare but highly informative examples from smaller, harder classes.
To address this issue, the study proposes “class-proportional” variants of several existing sampling strategies. Instead of applying a single selection rule across the entire dataset, these new methods apply the selection process independently within each class. This ensures that the sampling budget is allocated fairly across all classes, preventing important rare examples from being discarded. This modular approach can be easily integrated with other techniques that rely on “training dynamics” – how a model learns over time – to score data difficulty.
The effectiveness of these class-proportional methods was tested on five diverse datasets from security and medical domains, including network intrusion detection datasets like CICIDS2017, CTU-13, and UNSW-NB15, as well as medical imaging datasets like BloodMNIST and DermaMNIST. These datasets were chosen because they exhibit significant class-wise difficulty differences, unlike more balanced standard benchmarks.
The results were compelling. The class-proportional methods consistently outperformed their class-agnostic counterparts, especially when a large portion of the data (90% or more) was pruned. For instance, on the CTU-13 dataset, a class-proportional variant called Coverage-centric Coreset Selection (CCS-CP) showed remarkable stability. Even at an extreme 99% pruning rate, its accuracy dropped by only 2.58%, precision by 0.49%, and recall by 0.19%. In stark contrast, the class-agnostic CCS baseline, which was the next best method, saw much sharper declines: 7.59% in accuracy, 4.57% in precision, and 4.11% in recall.
Beyond just maintaining performance, the study also found that aggressive pruning can sometimes improve a model’s ability to generalize to new, unseen data, especially in noisy, imbalanced, and large datasets. This happens because removing overly easy and redundant examples, or overly hard and potentially noisy outliers, allows the model to focus on more informative samples, leading to better overall performance.
Also Read:
- Enhancing Data Privacy in Machine Learning with Focal Entropy
- Advancing 3D Classification of Outdoor Scenes with Multispectral Point Clouds
In conclusion, this research underscores the critical importance of explicitly considering “class-difficulty separability” when designing data pruning strategies. By doing so, machine learning systems can achieve greater efficiency, robustness, and generalization, particularly in high-stakes applications like cybersecurity and medical diagnostics where every data point, especially rare ones, can be crucial.


