[论文解读] A Closer Look at Smoothness in Domain Adversarial Training
该论文分析了对任务损失进行平滑处理(但对抗损失不平滑)如何稳定域对抗训练(DAT),并提出平滑域对抗训练(SDAT),在多数据集和骨干网下提升分类和目标检测的目标域泛化能力。
Domain adversarial training has been ubiquitous for achieving invariant representations and is used widely for various domain adaptation tasks. In recent times, methods converging to smooth optima have shown improved generalization for supervised learning tasks like classification. In this work, we analyze the effect of smoothness enhancing formulations on domain adversarial training, the objective of which is a combination of task loss (eg. classification, regression, etc.) and adversarial terms. We find that converging to a smooth minima with respect to (w.r.t.) task loss stabilizes the adversarial training leading to better performance on target domain. In contrast to task loss, our analysis shows that converging to smooth minima w.r.t. adversarial loss leads to sub-optimal generalization on the target domain. Based on the analysis, we introduce the Smooth Domain Adversarial Training (SDAT) procedure, which effectively enhances the performance of existing domain adversarial methods for both classification and object detection tasks. Our analysis also provides insight into the extensive usage of SGD over Adam in the community for domain adversarial training.
研究动机与目标
- 研究任务损失景观的平滑性如何影响域对抗训练的性能。
- 在 DAT 中界定平滑有益或有害的条件,聚焦任务损失与对抗损失。
- 提出一个在 DAT 中实现任务损失平滑性的理论驱动方法。
- 在多个数据集和任务上证明所提方法的经验收益。
提出的方法
- 分析任务损失的 Hessian 基曲率(迹与特征值最大值)以评估平滑性。
- 证明在 DAT 中 SGD 比 Adam 能产生更平滑的任务损失极小值,与更好的目标域泛化相关。
- 证明平滑对抗损失会降低目标域泛化,而仅平滑任务损失(非对抗项)是有益的。
- 引入 Smooth Domain Adversarial Training (SDAT),对任务损失应用 sharpness-aware minimization (SAM) 风格的方法,同时保持对抗距离项不变。
- 给出一个理论泛化界,表明 SDAT 的一致性与靶域风险降低(Eq. 12)。
- 在分类任务(Office-Home、VisDA-2017、DomainNet)以 ResNet 和 ViT 骨干,以及在对象检测的 DA-Faster 变体上对 SDAT 进行经验验证。
实验结果
研究问题
- RQ1任务损失的平滑性是否与域对抗训练的目标域泛化的改进相关?
- RQ2平滑对抗损失对 DAT 在目标域上的性能有帮助还是有害?
- RQ3我们能否设计一个训练目标,仅平滑任务损失以在 DAT 上实现更好的泛化?
- RQ4SDAT 的增益是否在不同数据集和骨干架构(ResNet 与 ViT)以及对象检测任务中成立?
主要发现
- 对任务损失的平滑极小值收敛能稳定 DAT 并改善目标域泛化。
- 对抗损失的平滑并无帮助,甚至可能降低目标域性能,使对所有损失的平滑都不可取。
- 仅通过 SAM 风格的方法平滑任务损失的 SDAT 能实现稳定训练,并在不同数据集与骨干上显著优于基线。
- 在 ViT 骨干下,SDAT 在无监督域适应任务中相较基线平均提升约 3.1%。
- SDAT 联合 CDAN 或 CDAN+MCC 在 Office-Home 和 VisDA-2017 上达到最新状态,并提升 DomainNet 的结果。
- SDAT 也对目标检测显示出益处,其中 SDAT-Classification 提供显著的 mAP 增益。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。