Home

Awesome

Towards Model-Agnostic Dataset Condensation by Heterogeneous Models (ECCV 2024, Oral)

arXiv

Official PyTorch implementation for the ECCV 2024 paper:

Towards Model-Agnostic Dataset Condensation by Heterogeneous Models
Jun-Yeong Moon, Jung Uk Kim $^\dagger$, Gyeong-Moon Park $^\dagger$

Installation

We recommend using a Conda environment to manage dependencies. You can create the required environment by running:

conda create -f environment.yml

Alternatively, you can manually install the necessary packages:

Dataset Condensation

To generate a condensed dataset, execute the following script:

./scripts/run_dual.sh CIFAR10 aug_kmeans 10 128 5e-3 ConvNet 0.01 ViT_Tiny_ft 0.001 ./PATH

ConvNet, ViG-ti, s, b is implemented in the models directory.

Also, ResNets, and Vision Transformers that is available in timm library can be used as a model.

Evaluate the Condensed Dataset

To evaluate the condensed dataset, use the following command:

./scripts/run_test_condensation.sh CIFAR10 2000 128 ./PATH --ft

Acknowledgements

This code is inspired by and builds upon several pioneering works, including:

We are grateful to these authors and the wider research community for their contributions.

Citation

@misc{moon2024modelagnosticdatasetcondensationheterogeneous,
      title={Towards Model-Agnostic Dataset Condensation by Heterogeneous Models}, 
      author={Jun-Yeong Moon and Jung Uk Kim and Gyeong-Moon Park},
      year={2024},
      eprint={2409.14538},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2409.14538}, 
}

If you experience any problems or discover a bug, please feel free to reach out via email, submit an issue, or submit a pull request.

Your feedback is invaluable in helping us improve, and we will review and address the matter as promptly as possible.