SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.00093 · ICCV · 2023

DataDAM: Efficient Dataset Distillation with Attention Matching

Konstantinos Plataniotis, Lucy Liu, Samir Khaki, Ahmad Sajedi, Ehsan Amjadian, Yuri Lawryshyn

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 43 functions out of this paper's own repositories and ran 35 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
datadistillation/datadam — 35 of 43
FunctionStatusWhere it lives
AlexNet Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("3a77313e815f4446")
AlexNetBN Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("e115409c4e00e969")
Attention Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("4e14cbaa48d8cc75")
BasicBlock Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("0e55526126f5ac6a")
BasicBlock_AP Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("881b5b714601c990")
ConvNet Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("cacbe6eda6096eec")
FeedForward Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("450f5b303bbc3417")
LeNet Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("8ac93772f8b62582")
MLP Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("2632cd271d2b1d41")
PreNorm Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("9b66b60a7704b891")
ResNet Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("87825ad2fefad289")
ResNet18 Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("7c9efcd20eaa83da")
ResNet18BN Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("a356b663f3ac431b")
ResNet18BN_AP Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("2c1568b6ce72e1c9")
ResNet_AP Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("812296fd5aaf4e41")
Swish Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("7266bcefd6533fab")
TensorDataset Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("3c2e1728144bb05d")
Transformer Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("fd9a30700758c3bc")
VGG Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("ab31aadcda7a9603")
VGG11 Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("d0f0d585cc626bd7")
VGG11BN Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("9e7a6f74075e564f")
ViT Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("d5630ef1d9988d5a")
ViTModel Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("2c7c8872bf76354a")
get_attention Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("cd229917ccd77249")
get_default_convnet_setting Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("19457c962ab49bdd")
get_eval_pool Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("21792c325f5769e6")
get_time Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("e98b4502952690a9")
rand_brightness Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("1cad5517390bb5b5")
rand_contrast Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("b551aeb91085de7c")
rand_crop Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("e2b5b619f5661137")
rand_cutout Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("e7e9168fac4fe2a7")
rand_flip Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("ab6f69dd3438d7cf")
rand_rotate Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("94b4020af89df30d")
rand_saturation Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("c464d3d7b7e65175")
rand_scale Ran datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("ce2cd9ed7e80e7e5")
DiffAugment Not yet run datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("351e66f1c6171f1f")
ParamDiffAug Not yet run datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("59602e0b7b844b46")
epoch Not yet run datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("d420983fabce48c3")
evaluate_synset Not yet run datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("4116a89fdeeb7778")
get_dataset Not yet run datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("4fa3d915bca9fa98")
get_network Not yet run datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("736fa42944cf4c63")
main Not yet run datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("a34fe411a5565754")
set_seed_DiffAug Not yet run datadistillation/datadam/main_DataDAM.py
pointer only (licence: NONE) · get_code("e11ae486efd933fd")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Researchers have long tried to minimize training costs in deep learning while maintaining strong generalization across diverse datasets. Emerging research on dataset distillation aims to reduce training costs by creating a small synthetic set that contains the information of a larger real dataset and ultimately achieves test accuracy equivalent to a model trained on the whole dataset. Unfortunately, the synthetic data generated by previous methods are not guaranteed to distribute and discriminate as well as the original training data, and they incur significant computational costs. Despite promising results, there still exists a significant performance gap between models trained on condensed synthetic sets and those trained on the whole dataset. In this paper, we address these challenges using efficient Dataset Distillation with Attention Matching (DataDAM), achieving state-of-the-art performance while reducing training costs. Specifically, we learn synthetic images by matching the spatial attention maps of real and synthetic data generated by different layers within a family of randomly initialized neural networks. Our method outperforms the prior methods on several datasets, including CIFAR10/100, TinyImageNet, ImageNet-1K, and subsets of ImageNet-1K across most of the settings, and achieves improvements of up to 6.5% and 4.1% on CIFAR100 and ImageNet-1K, respectively. We also show that our high-quality distilled images have practical benefits for downstream applications, such as continual learning and neural architecture search.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2310.00093")
get_code_for_paper("2310.00093")
have("2310.00093")

Connect an agent — have() is free.