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

通过对抗训练实现可扩展的能量模型:统一判别与生成

Scalable Energy-Based Models via Adversarial Training: Unifying Discrimination and Generation

MIT(麻省理工学院)

Xuwang Yin, Claire Zhang, Julie Steele, Nir Shavit, Tony T. Wang

AI总结:

本文提出一种结合对抗训练的框架,解决传统能量模型在稳定性与生成质量上的不足,实现高分辨率数据集上的高效判别与生成性能。

摘要:

同时在单一框架内实现鲁棒分类和高质量生成模型是一个重大挑战。混合方法,如联合能量模型(JEM),将分类器视为能量模型(EBM),但受限于基于随机梯度兰格-多夫动力学(SGLD)的训练的不稳定性及生成样本质量差。我们通过提出一种新的训练框架,整合对抗训练(AT)原则,以提高判别鲁棒性和稳定的生成学习。所提方法引入三个关键创新:(1)用稳定的AT方法替代基于SGLD的JEM学习,通过二元交叉熵(BCE)损失优化能量函数,该损失区分真实数据和通过投影梯度下降(PGD)生成的对比样本;(2)对抗训练判别部分以增强分类鲁棒性,同时隐含提供稳定EBM训练所需的梯度正则化;(3)两阶段训练策略解决归一化相关不稳定性,并允许利用预训练的鲁棒分类器,有效泛化到不同架构。在CIFAR-10/100和ImageNet上的实验表明,本文方法:(1)是首个能扩展到高分辨率数据集的EBM混合方法,同时在ImageNet 256x256上实现最先进的判别和生成性能;(2)独特地结合了生成质量与对抗鲁棒性,使能够产生忠实的反事实解释;(3)作为竞争性的独立生成模型,匹配自回归模型并超越扩散模型,同时提供额外的灵活性。

英文摘要:

Simultaneously achieving robust classification and high-fidelity generative modeling within a single framework presents a significant challenge. Hybrid approaches, such as Joint Energy-Based Models (JEM), interpret classifiers as EBMs but are often limited by the instability and poor sample quality inherent in training based on Stochastic Gradient Langevin Dynamics (SGLD). We address these limitations by proposing a novel training framework that integrates adversarial training (AT) principles for both discriminative robustness and stable generative learning. The proposed method introduces three key innovations: (1) the replacement of SGLD-based JEM learning with a stable, AT-based approach that optimizes the energy function through a Binary Cross-Entropy (BCE) loss that discriminates between real data and contrastive samples generated via Projected Gradient Descent (PGD); (2) adversarial training for the discriminative component that enhances classification robustness while implicitly providing the gradient regularization needed for stable EBM training; and (3) a two-stage training strategy that addresses normalization-related instabilities and enables leveraging pretrained robust classifiers, generalizing effectively across architectures. Experiments on CIFAR-10/100 and ImageNet demonstrate that our approach: (1) is the first EBM-based hybrid to scale to high-resolution datasets with high training stability, simultaneously achieving state-of-the-art discriminative and generative performance on ImageNet 256x256; (2) uniquely combines generative quality with adversarial robustness, enabling faithful counterfactual explanations; and (3) functions as a competitive standalone generative model, matching autoregressive models and surpassing diffusion models while offering additional versatility.

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

↑