通过优化损失曲面平滑性提升合成数据泛化能力
Enhancing Generalization via Sharpness-Aware Trajectory Matching for Dataset Condensation
- 提出新方法SATM,同时优化损失曲面尖锐度与轨迹匹配
- 在多种任务中实现接近原始数据集的模型性能
- 计算开销可控,易集成到其他优化器中
数据浓缩旨在用少量代表性样本合成能有效代表原数据集的紧凑数据集,从而实现高效训练并获得接近原始数据训练的模型性能。现有方法多基于双层优化(内层-外层)进行数据学习,但受限于复杂的损失景观和内层迭代的高昂时空开销,泛化能力有限。尤其当通过长时程内层迭代匹配真实与合成数据集网络轨迹时,问题更为严重。为此,本文提出尖锐度感知轨迹匹配(SATM),通过联合优化损失曲面的尖锐度与目标函数,显著增强合成数据的泛化能力。该方法采用数学严谨且易于实现的超梯度近似,计算开销可控。实验表明,SATM在多种场景下均有效,涵盖同域基准与跨域设置。其简便性使其可灵活集成至其他先进尖锐度感知优化器。代码将公开。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。