arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.07746cs.LGcs.AI
收藏

一步梯度匹配凝聚图

Condensing Graphs via One-Step Gradient Matching

Michigan State University(密歇根州立大学);Amazon(亚马逊)

Wei Jin, Xianfeng Tang, Haoming Jiang, Zheng Li, Danqing Zhang, Jiliang Tang, Bing Yin

摘要:

由于在大型数据集上训练深度学习模型需要花费大量的时间和资源,因此希望构建一个小的合成数据集,以便我们可以充分训练深度学习模型。最近有一些工作已经探索了通过复杂的双层优化来压缩图像数据集的解决方案。例如,数据集压缩(DC)匹配网络梯度w.r.t.大真实数据和小合成数据,其中网络权重在每次外部迭代时针对多个步骤进行优化。然而,现有的方法有其固有的局限性:(1)它们不直接适用于数据是离散的图;(2)由于涉及嵌套优化,凝聚过程在计算上是昂贵的。为了弥补这一差距,我们研究了为图数据集量身定制的高效数据集浓缩,其中我们将离散图结构建模为概率模型。我们进一步提出了一个单步梯度匹配方案,该方案只进行单步的梯度匹配,而不需要训练网络权重。我们的理论分析表明,该策略可以生成合成图,导致较低的分类损失的真实图。在多种图数据集上的实验证明了该方法的有效性和高效性。特别是,我们能够将数据集大小减少90%,同时近似达到原始性能的98%,并且我们的方法比多步梯度匹配快得多(例如,CIFAR 10中合成500个图的速度为15倍)。代码可在\url{https://github.com/amazon-research/DosCond}上获得。

英文摘要:

As training deep learning models on large dataset takes a lot of time and resources, it is desired to construct a small synthetic dataset with which we can train deep learning models sufficiently. There are recent works that have explored solutions on condensing image datasets through complex bi-level optimization. For instance, dataset condensation (DC) matches network gradients w.r.t. large-real data and small-synthetic data, where the network weights are optimized for multiple steps at each outer iteration. However, existing approaches have their inherent limitations: (1) they are not directly applicable to graphs where the data is discrete; and (2) the condensation process is computationally expensive due to the involved nested optimization. To bridge the gap, we investigate efficient dataset condensation tailored for graph datasets where we model the discrete graph structure as a probabilistic model. We further propose a one-step gradient matching scheme, which performs gradient matching for only one single step without training the network weights. Our theoretical analysis shows this strategy can generate synthetic graphs that lead to lower classification loss on real graphs. Extensive experiments on various graph datasets demonstrate the effectiveness and efficiency of the proposed method. In particular, we are able to reduce the dataset size by 90% while approximating up to 98% of the original performance and our method is significantly faster than multi-step gradient matching (e.g. 15x in CIFAR10 for synthesizing 500 graphs). Code is available at \url{https://github.com/amazon-research/DosCond}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑