Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Towards Bridging the Performance Gaps of Joint Energy-based Models

About

Can we train a hybrid discriminative-generative model within a single network? This question has recently been answered in the affirmative, introducing the field of Joint Energy-based Model (JEM), which achieves high classification accuracy and image generation quality simultaneously. Despite recent advances, there remain two performance gaps: the accuracy gap to the standard softmax classifier, and the generation quality gap to state-of-the-art generative models. In this paper, we introduce a variety of training techniques to bridge the accuracy gap and the generation quality gap of JEM. 1) We incorporate a recently proposed sharpness-aware minimization (SAM) framework to train JEM, which promotes the energy landscape smoothness and the generalizability of JEM. 2) We exclude data augmentation from the maximum likelihood estimate pipeline of JEM, and mitigate the negative impact of data augmentation to image generation quality. Extensive experiments on multiple datasets demonstrate that our SADA-JEM achieves state-of-the-art performances and outperforms JEM in image classification, image generation, calibration, out-of-distribution detection and adversarial robustness by a notable margin. Our code is available at https://github.com/sndnyang/SADAJEM.

Xiulong Yang, Qing Su, Shihao Ji• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR10 (test)
Accuracy96.1
585
Image GenerationCIFAR-10 (test)
FID9.41
483
Out-of-Distribution DetectionCIFAR100 (test)
AUROC92
57
Out-of-Distribution DetectionSVHN (test)
AUROC0.98
48
Out-of-Distribution DetectionCelebA (test)
AUROC95
36
Out-of-Distribution DetectionCIFAR-10 Interp.
AUROC0.83
35
Image GenerationCIFAR-100 (test)
IS11.63
35
Generative ModelingCIFAR-10
FID9.41
27
ClassificationCIFAR-10
Accuracy95.5
15
Image ClassificationCIFAR-10 (test)
Accuracy96.03
8
Showing 10 of 12 rows

Other info

Code

Follow for update