TL;DR
This paper introduces a novel method for Coreset Selection (CS) that uses Large Language Models (LLMs) to generate human-understandable concepts for identifying important training data samples. This approach bypasses the need to train the downstream model on the full dataset, offering significant computational savings and more interpretable results compared to existing methods.
What Problem Does This Paper Address?
Training large machine learning models requires massive datasets and substantial computational resources. Coreset Selection (CS) aims to alleviate this by identifying a smaller, representative subset of the training data that yields comparable performance to using the entire dataset. However, many current state-of-the-art CS methods rely on analyzing the training dynamics of the downstream model. This involves training the model on the full dataset first, which is computationally expensive and time-consuming, especially for large models and datasets. Furthermore, these training dynamics-based scores are often difficult to interpret, as they don't reveal why a sample is important or if it's important for a general learning task or just for a specific downstream model. The authors address this by proposing a CS method that is efficient, interpretable, and independent of the downstream model.
Methods
The core of the proposed method lies in using LLM-generated concepts to score the difficulty of training samples. Here's a breakdown:
- Concept Bottleneck Generation: LLMs (specifically LLaVA) are prompted with class names to generate descriptive attributes (concepts) for each class. These concepts form a "concept bottleneck."
- Concept Similarity Score: A visual encoder (like CLIP) extracts visual features from an image. These visual features are then aligned with the LLM-generated concept embeddings using a linear concept bottleneck layer.
- Difficulty Score (AUM): The difficulty of a sample is quantified by the Area Under the Margin (AUM), calculated during the training of this linear concept bottleneck layer. This score reflects how well the visual features align with the concepts associated with the sample's true label, relative to other labels. Crucially, this training is much cheaper than training the full downstream model.
- Coreset Selection: The computed difficulty scores are used with a stratified sampling strategy (specifically, Coverage-centric Coreset Selection - CCS) to select the final coreset. This ensures a good balance of easy and hard examples.
This approach is notable because it avoids training the downstream model on the full dataset and uses interpretable concepts rather than opaque training dynamics.
Datasets
The authors evaluated their method on several standard benchmark datasets:
- CIFAR-10: A dataset of 60,000 32x32 color images in 10 classes.
- CIFAR-100: A dataset of 60,000 32x32 color images in 100 classes.
- ImageNet-1K: A large-scale dataset with 1.28 million images across 1000 classes.
They also demonstrated its effectiveness on tasks beyond object recognition, including:
- AffectNet: For emotion recognition.
- BloodMNIST: For biomedical image recognition.
Key Insights and Ideas
- LLMs as Concept Generators for CS: The paper pioneers the use of LLMs to generate human-understandable concepts for coreset selection, offering a more intuitive and interpretable way to assess sample importance.
- Concept Bottlenecks for Sample Difficulty: By aligning visual features with LLM-generated concepts, the method can effectively gauge a sample's difficulty, independent of any specific downstream model's training behavior.
- Computational Efficiency: Training a simple linear concept bottleneck layer is orders of magnitude faster than training a full downstream model, leading to significant speedups in coreset generation.
- Model-Agnostic Coresets: Coresets generated by this method are effective across various downstream model architectures, eliminating the need to re-compute coresets for different models.
- Interpretability of Sample Importance: The concept-based scores provide a clear rationale for why a sample is considered easy or difficult, enhancing the explainability of the CS process.
Key Results
- Performance: Coresets selected by the proposed method consistently achieved higher accuracy than random subsets, especially at high pruning rates (e.g., 90% removal).
- Competitiveness: The method achieved performance comparable to or better than state-of-the-art methods that rely on training dynamics, even outperforming them on Imagenet for smaller pruning rates.
- Label-Free CS: The approach demonstrated strong performance in label-free coreset selection scenarios, outperforming existing methods like ELFS.
- Transferability: Coresets generated by this method showed superior performance when used to train downstream models with diverse architectures (ResNets, MobileNets, ViTs).
- Efficiency: The concept-based approach offered an ~8x speedup in coreset computation compared to training dynamics-based methods, with Imagenet coreset generation taking minutes rather than hours.
Limitations and Future Work
- LLM Concept Quality: The authors acknowledge that LLMs might sometimes generate noisy or non-discriminative concepts for certain classes, which could negatively impact the coreset quality. Future work could focus on methods to prompt LLMs for more reliable concept generation.
- VLM Dependence: The method relies on VLMs (like CLIP) for measuring visual-concept similarity. While evaluated across various backbones and tasks, it's possible that these similarity scores might not be optimal for all domains, potentially requiring fine-tuning of the VLM for specific applications.
- Concept Bottleneck Size: While the paper shows that even a small number of concepts (k=1) can be effective, further exploration into optimal concept selection strategies and sizes could be beneficial.
- Adaptive Subset Selection: While the proposed method can be integrated with adaptive subset selection techniques, further research could explore more sophisticated adaptive strategies tailored to concept-based scores.
Summary updated