You Only Condense Once: Two Rules for Pruning Condensed Datasets

Dataset condensation is a crucial tool for enhancing training efficiency by reducing the size of the training dataset, particularly in on-device scenarios. However, these scenarios have two significant challenges: 1) the varying computational resources available on the devices require a dataset size different from the pre-defined condensed dataset, and 2) the limited computational resources often preclude the possibility of conducting additional condensation processes. We introduce You Only Condense Once (YOCO) to overcome these limitations. On top of one condensed dataset, YOCO produces smaller condensed datasets with two embarrassingly simple dataset pruning rules: Low LBPE Score and Balanced Construction. YOCO offers two key advantages: 1) it can flexibly resize the dataset to fit varying computational constraints, and 2) it eliminates the need for extra condensation processes, which can be computationally prohibitive. Experiments validate our findings on networks including ConvNet, ResNet and DenseNet, and datasets including CIFAR-10, CIFAR-100 and ImageNet. For example, our YOCO surpassed various dataset condensation and dataset pruning methods on CIFAR-10 with ten Images Per Class (IPC), achieving 6.98-8.89% and 6.31-23.92% accuracy gains, respectively. The code is available at: https://github.com/he-y/you-only-condense-once.

Paper

References (54)

Scroll for more · 38 remaining

Similar papers

Peer review

Reviewer hpsG7/10 · confidence 5/52023-07-01

Summary

This paper proposes a combination method for dataset pruning and dataset condensation. Both methods could reduce the size of training datasets. Experiments show that the proposed method achieves state-of-the-art performance on several datasets regardless of networks. The proposed rules are simple and effective, which might be commonly used in future works.

Strengths

- This paper studies an interesting yet rarely studied problem, which is important for on-device scenarios. In addition, the authors have comprehensively analyze the challenges of this problem and the drawback of existing methods. - This paper is well-written and easy to follow. I generally enjoy reading the story, motivation, method and experiments of this paper. - Two novel, simple, and effective rules/metrics are introduced to select informative and balanced samples. Importantly, with this two rules, one can carry on various size requirements by one process. - Extensive experiments, including results and visualization, demonstrate the effectiveness and efficiency of the proposed method, and show the superiority over the state-of-the-art methods.

Weaknesses

Generally, I think the paper is strong. However, I have the following questions. - In Table 1, the ImageNet-10 on the DREAM method is not listed. - Some proofs, such as Proof of Theorem 1, can be shortened. - The core idea is first to condense the dataset before pruning the dataset. How about pruning the dataset first and then condensing it? Which way is better and why?

Questions

- From Figure 1, previous methods require 200K *(N-1) epochs for extra condensation. Is there any way to reduce the extra condensation process without using dataset pruning? Dataset Pruning is just like a selection method. - Will the code be open-sourced?

Rating

7: Accept: Technically solid paper, with high impact on at least one sub-area, or moderate-to-high impact on more than one areas, with good-to-excellent evaluation, resources, reproducibility, and no unaddressed ethical considerations.

Confidence

5: You are absolutely certain about your assessment. You are very familiar with the related work and checked the math/other details carefully.

Soundness

4 excellent

Presentation

4 excellent

Contribution

3 good

Limitations

Yes.

Reviewer hLEg8/10 · confidence 4/52023-07-04

Summary

This paper target at the dataset condensation for on-device scenarios. It proposes two novel rules to prune the condensed dataset. The first rule is to rank the condensed images. The rule believes easy examples are better for pruning condensed dataset. The second rule is to choose balanced samples for different classes. The overall writing is clear. The experiments are sufficient.

Strengths

1. This is the first work to consider pruning the condensed dataset. The novelty is good. 2. The illustration and writing are clear. The motivation is clearly explained in the figures. 3. The paper provides solid proof for the LBPE metric for ranking the condensed images. 4. The balanced construction is reasonable expecially when the dataset size is small. 5. The experiment looks good. On CIFAR-10, CIFAR-100, and ImageNet, the proposed YOCO method surpasses other methods by a large margin. For example, on CIFAR-10, the improvements are from 6.57% to 24.33%. On CIFAR-100, the improvements are from 4.77% to 22.13%. 6. The analysis is interesting. It's interesting to see that the rules are different between the condensed dataset and the full dataset.

Weaknesses

1. The LBPE score and balanced construction. Which rule is more important? 2. If we view the condensed dataset as a full dataset, will the rules change? Is there any threshold for when the rules will change? 3. The LBPE Score is from the Top-K Training Epochs with the Highest Accuracy. Why not use the loss to extract the LBPE score?

Questions

Please see the Weaknesses.

Rating

8: Strong Accept: Technically strong paper, with novel ideas, excellent impact on at least one area, or high-to-excellent impact on multiple areas, with excellent evaluation, resources, and reproducibility, and no unaddressed ethical considerations.

Confidence

4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.

Soundness

3 good

Presentation

3 good

Contribution

4 excellent

Limitations

The limitation part is covered in section 5.

Reviewer 9GkH6/10 · confidence 4/52023-07-06

Summary

This paper employs a dataset pruning approach on a condensed dataset. Specifically, the intent is to evaluate and rank the data within this condensed dataset based on their respective significance. This enables users to selectively choose any number of condensed datasets, offering both efficacy and flexibility in training the model.

Strengths

This paper claims that it's the first work to conduct dataset pruning on condensed datasets to fit varying computational constraints. LBPE score is a reasonable metric to measure the importance of data in the condensed dataset.

Weaknesses

1. The main weakness is the evaluation part. This paper compares their method: (1). dataset condensation + dataset pruning with the previous method (2). dataset condensation + random selection (line 202), which is not fair. For example, it's better to show the effectiveness of the proposed method by comparing (1) with IPCF = 10 to IPCT=1 or 2 or 5 with (3): directly generating the dataset condensation with the IPC=1 or 2 or 5. If it can get similar performance, this paper can claim its advantages of training time. 2. It's unclear—the whole pipeline in Fig 1 or the rest of the paper. I can only understand the paper after reading the Appendix. It's more critical than putting the algorithm part in the main body. 3. Proof of Theorem 1 is not solid. 4. The imbalanced part is not thoroughly analyzed. The equal number of each class is a standard setting in the condensed dataset. This paper does not provide new insight from Section 3.3

Questions

Please refer to Weakness.

Rating

6: Weak Accept: Technically solid, moderate-to-high impact paper, with no major concerns with respect to evaluation, resources, reproducibility, ethical considerations.

Confidence

4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.

Soundness

2 fair

Presentation

2 fair

Contribution

3 good

Limitations

N/A

Reviewer h1cK6/10 · confidence 3/52023-07-23

Summary

--- Post-Rebuttal Edit --- After author rebuttals, I have updated my rating from 5 to 6 and confidence from 2 to 3. --- End Post-Rebuttal Edit --- This paper considers a practical problem in dataset condensation/distillation, where edge devices have varying constraints that need to be flexibly met by a data distillation method. The authors propose two rules to prune the condensed datasets in order to save computational costs. The first rule uses logit-based prediction error (LBPE) to identify useful examples, where low LBPE samples are useful for smaller datasets and high LBPE samples are useful for larger datasets. The second rule focuses on the construction of balanced classes by ensuring an equal number of samples in each class via Rademacher complexity and generalization error.

Strengths

- The writing is generally easy to follow and the experiments are thorough. - The proposed approaches are logical and appear useful. The first rule based on LBPE scores allows for flexible treatment based on dataset size and other characteristics; the second rule incorporates Rademacher complexity in a novel way in order to set up a theoretical foundation for the significance of balanced class construction.

Weaknesses

- Perhaps this is because I am unfamiliar with data distillation literature, but the motivation and setting are somewhat unclear to me. There is not a single citation or brief explanation of what is meant by “on-device scenarios.” Even if this is obvious to well-informed readers, I believe that at minimum a citation or definition is needed. - In what scenario would one need to store a training set on a device? Typically when deploying a machine learning model to a hardware-constrained device, the only thing being deployed is the model weights. - Related to the above point, I don’t understand the motivation for the experimental setting, where we are condensing an already-condensed dataset. If one of the central motivations mentioned in the Abstract is to “[eliminate] the need for extra condensation processes,” then I don’t see how this method achieves said goal – we are still ultimately performing two condensation steps! - The mixture of theoretical- and prose-style writing is awkward at times. For example, Theorem 1 on line 122 would be much more appropriately written as simple explanatory text. I don’t understand in what sense this is a theorem or how lines 123-124 constitute a “proof” for this claim. There is no need to present content in a mathematical style when it is not necessary.

Questions

- What is an “on-device scenario?” What is the motivation for storing a training set (rather than, say, the trained model weights) on said device? - What is the motivation for condensing an already-condensed dataset? - How does this method avoid extra condensation steps if all experiments are performed after an initial condensation step with another method? - Why not perform a single condensation step with the proposed method (from full -> desired size)? How does the method perform in this setting?

Rating

6: Weak Accept: Technically solid, moderate-to-high impact paper, with no major concerns with respect to evaluation, resources, reproducibility, ethical considerations.

Confidence

3: You are fairly confident in your assessment. It is possible that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work. Math/other details were not carefully checked.

Soundness

3 good

Presentation

3 good

Contribution

3 good

Limitations

- See Questions above - There is no clear definition of what is meant by “small” and “large” datasets. A definition or rough empirical guideline would be useful.

Reviewer h1cK2023-08-10

Thank you for the clarifications regarding the motivation and problem setting. I believe that including such explanations and references in the revised Introduction will enable readers who are not experts in this specific sub-field (like myself) to better access and understand the contributions of the paper. I will be updating my rating from a 5 to a 6.

Reviewer 9GkH2023-08-10

Thank you for the clarification

I appreciate the effort put forth in this paper and recognize the novelty in exploring dataset pruning, a direction that I believe remains relatively under-researched. I do have several points of contention and suggestions that I would like to highlight: Q1. The main concern still exists. Referring to Table 1, the paper demonstrates that using IDC directly to produce IPC=10 results in an accuracy of 67.5%. However, when the proposed dataset pruning is employed on a condensed dataset with IPC=10 from IPC=50, the accuracy drops to 60.31%. Such a significant decrease in accuracy challenges the practicality of this pruning method. The primary objective of pruning is to derive a compact model (dataset in this paper) with only a slight compromise on accuracy when compared to a pre-trained model. And this pruned model should outperform training from scratch. While I acknowledge that pruning can speed up the process when leveraging a pre-trained dataset, this significant drop in accuracy remains concerning. My central point here is, I'd prefer comparisons between the Pruned Condensed Dataset and directly obtaining a Small Condensed Dataset with the same IPC. If the latter yields better results without requiring the intermediate step of dataset pruning, then what merits does the pruning method offer? Q2. I do not have any major concerns here. This isn't a critical issue but more of a suggestion for improvement. Q3. The proof provided for Theorem 1 doesn't strike me as formal proof; it seems more like an elucidation. I'd recommend refining this section to meet the standards of rigorous proof. Q4. I acknowledge and commend the analysis of the imbalanced part. My primary issue lies in "The equal number of each class is a standard setting in the condensed dataset." this is not a new insight. In my understanding, the primary aim of dataset pruning is to extract a succinct yet informative condensed dataset. So the goal is to compare with the methods of the condensed dataset. Previous methods of condensed datasets seem to consistently adopt the Balanced construction. For this point, there is not a technical concern but only a novelty concern. In summary, I do acknowledge and commend the contributions of 1, 2, and partial 3 in the paper. However, because this paper is to focus on the first work using dataset pruning on the condensed dataset, authors should emphasize the effectiveness of dataset pruning in this field, such as litter accuracy drop from pre-trained condensed dataset or better than generated condensed dataset directly generated from scratch (IPC, DREAM), instead of focusing on comparing with other unproposed dataset pruning condensed dataset method. Regarding the experimental results, It would be more compelling to demonstrate superior performance when using the Pruned Large Pre-trained Condensed Dataset compared to directly generating the Small Condensed Dataset persist.

Authorsrebuttal2023-08-11

Response to Q1 (the main concern)

> Regarding the experimental results, It would be more compelling to demonstrate superior performance when using the Pruned Large Pre-trained Condensed Dataset compared to directly generating the Small Condensed Dataset persist. > Referring to Table 1, the paper demonstrates that using IDC directly to produce IPC=10 results in an accuracy of 67.5%. However, when the proposed dataset pruning is employed on a condensed dataset with IPC=10 from IPC=50, the accuracy drops to 60.31%. Such a significant decrease in accuracy challenges the practicality of this pruning method. Thank you very much for your reply. We totally agree that the mentioned **superior performance** is a very good direction to explore. However, what we want to present in this paper is **increasing flexibility** for already condensed datasets. Let us look into the example the reviewer gave. We add setting C for comparison, and analysis point by point. **A**. IDC directly produces IPC=10 results, and the accuracy is **67.5%**. **B**. The proposed dataset pruning method selects IPC=10 from IPC=50, and the accuracy is **60.31%**. **C**. Based on IPC-10, our pruning method improves the accuracy of IPC 1, 2, 3,...,9. At the same time, IPC-10 still holds the accuracy of **67.5%**. The extra time required is just **one minute**. The analysis of setting A, B and C is listed below: 1. We admit that on a **single** IPC-10, setting A is much better than setting B. But please consider the scenario that we need **multiple** IPC for on-device applications. Therefore, please compare setting A with setting C: our method holds the 67.5% accuracy of the IPC-10, and improves all the accuracy of IPC 1,2,...9. All the improvements are achieved with **one extra minute**. 2. We hope you don't mind us saying this, but setting B you brought up is a little unfair. This is because we can select IPC-10 from **any larger IPC-X** including IPC-20, IPC-50, IPC-100, IPC-200, IPC-500 and so on. We find that if the number of IPC-X **increases**, the performance of the selected IPC-10 will **decrease**. This found pattern can be understood by the increasing pruning ratio. For example, selecting IPC-10 from IPC-20 leads to pruning ratio = 50%. And selecting IPC-10 from IPC-50 leads to pruning ratio = 80%. Considering the pruning ratio is 80%, it means that **80% of the information from the original dataset is abandoned**. It is very difficult to achieve comparable performance to a “directly condensed IPC-10”, which has the full dataset information. 3. Following point 2, the pruning ratio defined in setting B is actually **80%** (IPC-10 from IPC-50). We want to share that when pruning **80%** images from **full** CIFAR-10 dataset, the state-of-the-art pruning method [1] still has an accuracy drop of **4.30%** (from 95.23% to 90.93%). These numbers are shown in Table 2 and Figure 5 (a) in [1]. Please note this 4.30% accuracy drop is for **full** **dataset**, and pruning **condensed** **dataset** is much more difficult. Therefore, we believe our **7.19%** accuracy drop (from 67.5% to 60.31%) is a very good result. 4. The table below shows the accuracy of selecting IPC-10 from IPC-50. We totally understand the reviewer wants to compare **column to column** using 67.5% with 60.31%. This comparison is actually **unfair** since their pruning ratio is different (0% vs 80%). Our achievement is obtained by comparing **row to row** using 60.31% with 54.72%. We believe it is **fair** because these two numbers (60.31% with 54.72%) are obtained under the same pruning ratio (80%). Our pruning method beats random selection by a large margin. | | IPC10 (baseline) | Select IPC10 from IPC50 | | ----------------------- | ---------------- | ----------------------- | | Pruning ratio (\%) | 0 | 80\% | | Random selection (\%) | 67.50 | 54.72 | | Our pruning method (\%) | 67.50 | **60.31** | In conclusion, for any given IPC-X, using our pruning method will produce better accuracy for IPC-1, IPC-2, IPC-3,... IPC-(X-1). At the same time, we maintain the accuracy of IPC-X. We sincerely hope the reviewer can recognize our contribution regarding **increasing flexibility**. We thank you again for the valuable discussion brought by the reviewer. We will incorporate these discussions to revise our submission and make it more clear. Thank you! ## Reference [1] Zheng, Haizhong, et al. "Coverage-centric Coreset Selection for High Pruning Rates." in ICLR, 2023.

Authorsrebuttal2023-08-11

Response to Q2, Q3, and Q4

> Q2. I do not have any major concerns here. This isn't a critical issue but more of a suggestion for improvement. > Q3. The proof provided for Theorem 1 doesn't strike me as formal proof; it seems more like an elucidation. I'd recommend refining this section to meet the standards of rigorous proof. Thank you for your insightful suggestions. We will follow these suggestions to improve our paper. > Q4. I acknowledge and commend the analysis of the imbalanced part. My primary issue lies in "The equal number of each class is a standard setting in the condensed dataset." this is not a new insight. In my understanding, the primary aim of dataset pruning is to extract a succinct yet informative condensed dataset. So the goal is to compare with the methods of the condensed dataset. Previous methods of condensed datasets seem to consistently adopt the Balanced construction. For this point, there is not a technical concern but only a novelty concern. Thank you for the comments. First, please find the table below to conclude the previous literature. Dataset Condensation methods use **balanced** construction, while Dataset Pruning methods [1,2,3,4,5] use **imbalanced** construction. | Previous Literature | Balance or Imbalance | | ----------------------- | ----- | | Dataset Condensation | Balance | | Dataset Pruning | Imbalance | Second, please note that our target is to do dataset **condensation** first, and do dataset **pruning** after. The table below lists two possible ways to achieve our target. | | Direct Combination | Ours Contribution | | -------------------- | ------------------ | ----------------- | | Dataset Condensation | Balance | Balance | | Dataset Pruning | Imbalance | **Balance** | - "Direct Combination" is a direct combination of two previous methods to achieve our target. This combination provides no novel contribution. - "Ours Contribution" shows we are the **first** to use **balanced** construction for pruning condensed dataset. In conclusion, our novelty is that we are the **first** to discover the pruning rules are **different** for **full** dataset and **condensed** dataset. We believe our discovery will inspire the community to do more exploration about the different rules of full and condensed datasets. We hope this response solves your concerns properly. Thank you! ## Reference [1] Selection via Proxy: Efficient Data Selection for Deep Learning, ICLR 2020 [2] Identifying Mislabeled Data using the Area Under the Margin Ranking, NeurIPS 2020 [3] An Empirical Study of Example Forgetting during Deep Neural Network Learning, ICLR 2019 [4] Deep Learning on a Data Diet: Finding Important Examples Early in Training, NeurIPS 2021 [5] Coverage-centric Coreset Selection for High Pruning Rates, ICLR 2023.

Reviewer 9GkH2023-08-11

Thank you once more for the prompt reply.

Thank you once more for the prompt reply. Regarding Q1, if the paper cites flexibility as its primary advantage, I believe it's a valid point. While the decrease in accuracy is concerning, I'd be interested in hearing the perspective of other reviewers. For Q4, I'm glad that the explanations have provided clarity and addressed my concern. Overall, I am inclined to raise my score to 4. However, I still have some concerns about the accuracy drop, which I believe should be discussed further with other reviewers. If there is a consensus among the reviewers that the accuracy drop is not important compared to the flexibility, I would be willing to raise my score to 6. Or, If you can give some results that the proposed method can generate IPC=30 or 40 or even 45 from pre-trained IPC=50 with only a little accuracy drop or no drop, it would be a shred of strong evidence. I would also raise my score to 6.

Authorsrebuttal2023-08-12

Experiments Regarding Q1

> Or, If you can give some results that the proposed method can generate IPC=30 or 40 or even 45 from pre-trained IPC=50 with only a little accuracy drop or no drop, it would be a shred of strong evidence. I would also raise my score to 6. Thanks a lot for your positive feedback about our rebuttal. Regarding the required experiment, please take a look at **Figure 4** of our submission. The red line shows how the **accuracies** vary towards **pruning ratios** on IPC-50. For a more straightforward explanation, we add a table below to show detailed numbers. When selecting IPC-45 from IPC-50, the accuracy drop is just **0.28%**. | IPC | 50 (baseline) | 45 | 40 | 35 | 30 | | ------------- | ------------- | ----- | ----- | ----- | ----- | | pruning ratio | 0% | 10% | 20% | 30% | 40% | | Accuracy (\%) | 74.50 | 74.22 | 73.52 | 71.97 | 69.19 | | Acc Drop (\%) | \- | 0.28 | 0.98 | 2.53 | 5.31 | We hope the experiments can properly solve your concerns. And we will make this more clear in our revision. Thank you!

Reviewer 9GkH2023-08-12

Thank you for the response.

Good explanation. I raised my score. If possible, please enhance the proof and figure.

Authorsrebuttal2023-08-13

Thank you very much for your positive feedback

Thank you very much for your positive feedback and for raising your score. We are glad to hear that the explanation was satisfactory. Your insights and suggestions are highly valuable, and we will ensure they are fully addressed in the revised manuscript. **Enhancing the Proof**: We will carefully review the relevant section and make necessary improvements. **Improving the Figure**: We will work on improving the visualization, making it more informative and aesthetically pleasing. Thank you once again for your time and thoughtful review.

Reviewer hpsG2023-08-12

Response to rebuttal

Thanks for your effort in rebuttal. My concerns have been well addressed in the response.

Program Chairsdecision2023-09-21

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC