paper-with-me

Papers

Traditional Classification Neural Networks are Good Generators: They are Competitive with DDPMs and GANs

2022-11-27 · Guangrun Wang, Philip H. S. Torr

Classifiers and generators have long been separated. We break down this separation and showcase that conventional neural network classifiers can generate high-quality images of a large number of categories, being comparable to the state-of-the-art generative models (e.g., DDPMs and GANs). We achieve this by computing the partial derivative of the classification loss function with respect to the input to optimize the input to produce an image. Since it is widely known that directly optimizing the inputs is similar to targeted adversarial attacks incapable of generating human-meaningful images, we propose a mask-based stochastic reconstruction module to make the gradients semantic-aware to synthesize plausible images. We further propose a progressive-resolution technique to guarantee fidelity, which produces photorealistic images. Furthermore, we introduce a distance metric loss and a non-trivial distribution loss to ensure classification neural networks can synthesize diverse and high-fidelity images. Using traditional neural network classifiers, we can generate good-quality images of 256$\times$256 resolution on ImageNet. Intriguingly, our method is also applicable to text-to-image generation by regarding image-text foundation models as generalized classifiers. Proving that classifiers have learned the data distribution and are ready for image generation has far-reaching implications, for classifiers are much easier to train than generative models like DDPMs and GANs. We don't even need to train classification models because tons of public ones are available for download. Also, this holds great potential for the interpretability and robustness of classifiers. Project page is at \url{https://classifier-as-generator.github.io/}.

📄 PDF Abstract BibTeX arXiv:2211.14794

Code (0)

등록된 구현이 없습니다.

Tasks

Image GenerationText to Image GenerationText-to-Image Generation

Similar Papers 제목 키워드 기반

Multi-Objective level generator generation with Marahel

2020-05-17 · Ahmed Khalifa, Julian Togelius

This paper introduces a new system to design constructive level generators by searching the space of constructive level generators defined by Marahel language. We use NSGA-II, a multi-objective optimization algorithm, to…

Sokoban

GenDet: Towards Good Generalizations for AI-Generated Image Detection

2023-12-12 · Mingjian Zhu, Hanting Chen, Mouxiao Huang, Wei Li 외

The misuse of AI imagery can have harmful societal effects, prompting the creation of detectors to combat issues like the spread of fake news. Existing methods can effectively detect images generated by seen generators, …

Anomaly Detection

Start Small: Training Controllable Game Level Generators without Training Data by Learning at Multiple Sizes

2022-09-29 · Yahia Zakaria, Magda Fayek, Mayada Hadhoud

A level generator is a tool that generates game levels from noise. Training a generator without a dataset suffers from feedback sparsity, since it is unlikely to generate a playable level via random exploration. A common…

DiversitySokoban

Shared Loss between Generators of GANs

2022-11-14 · Xin Wang

Generative adversarial networks are generative models that are capable of replicating the implicit probability distribution of the input data with high accuracy. Traditionally, GANs consist of a Generator and a Discrimin…

Pre-trained Multiple Latent Variable Generative Models are good defenders against Adversarial Attacks

2024-12-04 · Dario Serez, Marco Cristani, Alessio Del Bue, Vittorio Murino 외

Attackers can deliberately perturb classifiers' input with subtle noise, altering final predictions. Among proposed countermeasures, adversarial purification employs generative networks to preprocess input images, filter…

Adversarial Purification