Skip to main content
QUICK REVIEW

[Paper Review] Selectivity Drives Productivity: Efficient Dataset Pruning for Enhanced Transfer Learning

Yihua Zhang, Yimeng Zhang|arXiv (Cornell University)|Oct 13, 2023
Domain Adaptation and Few-Shot LearningComputer Science3 citations
TL;DR

This paper proposes two novel dataset pruning methods—label mapping (LM) and feature mapping (FM)—for transfer learning, enabling up to 80% pruning of source datasets without performance loss. By leveraging source-target domain alignment, the methods achieve 2–5× faster pretraining while preserving downstream accuracy across diverse tasks and models.

ABSTRACT

Massive data is often considered essential for deep learning applications, but it also incurs significant computational and infrastructural costs. Therefore, dataset pruning (DP) has emerged as an effective way to improve data efficiency by identifying and removing redundant training samples without sacrificing performance. In this work, we aim to address the problem of DP for transfer learning, i.e., how to prune a source dataset for improved pretraining efficiency and lossless finetuning accuracy on downstream target tasks. To our best knowledge, the problem of DP for transfer learning remains open, as previous studies have primarily addressed DP and transfer learning as separate problems. By contrast, we establish a unified viewpoint to integrate DP with transfer learning and find that existing DP methods are not suitable for the transfer learning paradigm. We then propose two new DP methods, label mapping and feature mapping, for supervised and self-supervised pretraining settings respectively, by revisiting the DP problem through the lens of source-target domain mapping. Furthermore, we demonstrate the effectiveness of our approach on numerous transfer learning tasks. We show that source data classes can be pruned by up to 40% ~ 80% without sacrificing downstream performance, resulting in a significant 2 ~ 5 times speed-up during the pretraining stage. Besides, our proposal exhibits broad applicability and can improve other computationally intensive transfer learning techniques, such as adversarial pretraining. Codes are available at https://github.com/OPTML-Group/DP4TL.

Motivation & Objective

  • To address the gap in dataset pruning for transfer learning, where existing in-domain methods fail due to indirect source-target influence.
  • To develop efficient, low-overhead pruning techniques tailored for transfer learning, including both supervised and self-supervised pretraining.
  • To enable significant pretraining speedups while maintaining or improving downstream fine-tuning accuracy.
  • To establish a unified framework linking dataset pruning with transfer learning through source-target domain mapping.
  • To demonstrate broad applicability across diverse architectures, datasets, and pretraining paradigms, including adversarial pretraining.

Proposed method

  • Label mapping (LM) selects source classes based on their semantic and feature-level alignment with target classes using a small surrogate model.
  • Feature mapping (FM) extends the approach to self-supervised pretraining by matching feature representations between source and target domains.
  • Both methods use a small, fast surrogate model (e.g., ResNet-18) to estimate the influence of source classes on downstream performance, avoiding full model retraining.
  • The pruning process is guided by a score function that ranks source classes based on their relevance to the target task, minimizing computational cost.
  • The framework is designed to be agnostic to the final backbone model, enabling reuse across different architectures and pretraining objectives.
  • Loss landscape flatness is analyzed using metrics like ε-sharpness and Hessian norms to validate improved generalization from pruned data.
Figure 1 : Left : An illustration of the proposed dataset pruning methods (LM and FM) and their performance overview. Large scale source dataset is pruned by LM and FM through a small surrogate model (ResNet-18). Large foundation models can achieve up to $5\times$ speed-up on pretraining without no
Figure 1 : Left : An illustration of the proposed dataset pruning methods (LM and FM) and their performance overview. Large scale source dataset is pruned by LM and FM through a small surrogate model (ResNet-18). Large foundation models can achieve up to $5\times$ speed-up on pretraining without no

Experimental results

Research questions

  • RQ1Can dataset pruning be effectively extended to the transfer learning paradigm, where source and target domains differ?
  • RQ2Why do conventional in-domain dataset pruning methods fail in transfer learning settings?
  • RQ3Can we design a low-complexity, scalable method to identify and remove harmful or redundant source data classes for transfer learning?
  • RQ4To what extent can source data be pruned without degrading downstream performance across diverse tasks and models?
  • RQ5How does pruning based on source-target domain alignment affect the generalization and flatness of the loss landscape in downstream tasks?

Key findings

  • The proposed label mapping (LM) and feature mapping (FM) methods achieve up to 80% pruning of ImageNet without performance drop on downstream tasks like OxfordPets and StanfordCars.
  • Pretraining speedups of 2–5× are achieved on large models like ResNet-101, with no loss in downstream accuracy across multiple benchmarks.
  • At a 40% pruning ratio, LM successfully identifies winning subsets across most transfer learning tasks, including few-shot settings.
  • The pruned source datasets lead to flatter loss landscapes in downstream tasks, as measured by ε-sharpness, Hessian norms, and Fisher-Rao norm, indicating improved generalization.
  • Feature visualization via t-SNE confirms that retained source classes are semantically and spatially closer to target classes, while pruned classes are dispersed and distant.
  • The method generalizes well: even with different surrogate models (e.g., VGG, ResNet-32s), the selected source classes show high overlap (up to 97.7%) with the default ResNet-18 baseline at 80% pruning.
Figure 3 : Preliminary studies on the usage of surrogate models for LM . ( a ) The downstream performance (on Flowers102) of using the source model ResNet-101 trained on the pruned ImageNet delivered by LM at different pruning ratios. Here LM is conducted using either RN-101 or a smaller surrogate m
Figure 3 : Preliminary studies on the usage of surrogate models for LM . ( a ) The downstream performance (on Flowers102) of using the source model ResNet-101 trained on the pruned ImageNet delivered by LM at different pruning ratios. Here LM is conducted using either RN-101 or a smaller surrogate m

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.