Your classifier is secretly an energy based model and you should treat it like one
Will Grathwohl Affiliation: University of Toronto、Vector Institute Affiliation: Google Research Email: Kuan-Chieh Wang、Jörn-Henrik Jacobsen††Thanks: Equal Contribtuion Affiliation: University of Toronto、Vector Institute Email: Email: David Duvenaud Affiliation: University of Toronto、Vector Institute Email: Kevin Swersky、Mohammad Norouzi Affiliation: Google Research Affiliation: {kswersky,
Abstract
We propose to reinterpret a standard discriminative classifier of $p(y|\mathbf{x})$ as an energy based model for the joint distribution $p(\mathbf{x},y)$ . In this setting, the standard class probabilities can be easily computed as well as unnormalized values of $p(\mathbf{x})$ and $p(\mathbf{x}|y)$ . Within this framework, standard discriminative architectures may be used and the model can also be trained on unlabeled data. We demonstrate that energy based training of the joint distribution improves calibration, robustness, and out-of-distribution detection while also enabling our models to generate samples rivaling the quality of recent GAN approaches. We improve upon recently proposed techniques for scaling up the training of energy based models and present an approach which adds little overhead compared to standard classification training. Our approach is able to achieve performance rivaling the state-of-the-art in both generative and discriminative learning within one hybrid model.
原文 arXiv:1912.03263;中英对照 + 大白话阅读 https://aha.fim.ai/paper/1912.03263v3