通过锐度感知轨迹匹配增强数据集压缩的泛化能力
Enhancing Generalization via Sharpness-Aware Trajectory Matching for Dataset Condensation
AI总结:
本文提出锐度感知轨迹匹配(SATM)方法,通过同时优化损失景观锐度与目标函数,并引入高效超梯度近似,解决数据集压缩中双层优化的泛化差和计算开销高的问题,在域内外场景中均验证了有效性。
摘要:
数据集压缩旨在合成包含少量代表性样本的数据集,使其能够有效表示原始数据集,从而实现高效训练,并使所得模型性能接近在原始数据集上训练的模型。现有的大多数数据集压缩方法基于双层(内层与外层循环)优化进行数据集学习。然而,由于双层优化中内层循环展开具有众所周知的复杂损失景观和高昂的时间-空间复杂度,前述方法的数据集泛化能力有限。当通过匹配在真实数据集和合成数据集上训练的网络轨迹、且内层循环具有较长视野时,这些问题会进一步恶化。为解决这些问题,我们提出了锐度感知轨迹匹配(SATM),通过同时优化损失景观的锐度和目标函数来增强所学合成数据集的泛化能力。此外,我们的方法结合了一种高效的超梯度近似方法,该方法具有充分的数学依据,易于实现,并且计算开销可控。SATM 的实证评估证明了其在多种应用中的有效性,包括域内基准测试和域外设置。此外,其易于实现的特性提供了灵活性,使其能够与其他先进的锐度感知最小化器集成。我们的代码将公开发布。
英文摘要:
Dataset condensation aims to synthesize datasets with a few representative samples that can effectively represent the original datasets. This enables efficient training and produces models with performance close to those trained on the original sets. Most existing dataset condensation methods conduct dataset learning under the bilevel (inner- and outer-loop) based optimization. However, the preceding methods perform with limited dataset generalization due to the notoriously complicated loss landscape and expensive time-space complexity of the inner-loop unrolling of bilevel optimization. These issues deteriorate when the datasets are learned via matching the trajectories of networks trained on the real and synthetic datasets with a long horizon inner-loop. To address these issues, we introduce Sharpness-Aware Trajectory Matching (SATM), which enhances the generalization capability of learned synthetic datasets by optimising the sharpness of the loss landscape and objective simultaneously. Moreover, our approach is coupled with an efficient hypergradient approximation that is mathematically well-supported and straightforward to implement along with controllable computational overhead. Empirical evaluations of SATM demonstrate its effectiveness across various applications, including in-domain benchmarks and out-of-domain settings. Moreover, its easy-to-implement properties afford flexibility, allowing it to integrate with other advanced sharpness-aware minimizers. Our code will be released.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。