MAGIC: Mask-Guided Image Synthesis by Inverting a Quasi-Robust Classifier

Abstract

We offer a method for one-shot mask-guided image synthesis that allows controlling manipulations of a single image by inverting a quasi-robust classifier equipped with strong regularizers. Our proposed method, entitled MAGIC, leverages structured gradients from a pre-trained quasi-robust classifier to better preserve the input semantics while preserving its classification accuracy, thereby guaranteeing credibility in the synthesis. Unlike current methods that use complex primitives to supervise the process or use attention maps as a weak supervisory signal, MAGIC aggregates gradients over the input, driven by a guide binary mask that enforces a strong, spatial prior. MAGIC implements a series of manipulations with a single framework achieving shape and location control, intense non-rigid shape deformations, and copy/move operations in the presence of repeating objects and gives users firm control over the synthesis by requiring to simply specify binary guide masks. Our study and findings are supported by various qualitative comparisons with the state-of-the-art on the same images sampled from ImageNet and quantitative analysis using machine perception along with a user survey of 100+ participants that endorse our synthesis quality.

Cite

Text

Rouhsedaghat et al. "MAGIC: Mask-Guided Image Synthesis by Inverting a Quasi-Robust Classifier." AAAI Conference on Artificial Intelligence, 2023. doi:10.1609/AAAI.V37I2.25311

Markdown

[Rouhsedaghat et al. "MAGIC: Mask-Guided Image Synthesis by Inverting a Quasi-Robust Classifier." AAAI Conference on Artificial Intelligence, 2023.](https://mlanthology.org/aaai/2023/rouhsedaghat2023aaai-magic/) doi:10.1609/AAAI.V37I2.25311

BibTeX

@inproceedings{rouhsedaghat2023aaai-magic,
  title     = {{MAGIC: Mask-Guided Image Synthesis by Inverting a Quasi-Robust Classifier}},
  author    = {Rouhsedaghat, Mozhdeh and Monajatipoor, Masoud and Kuo, C.-C. Jay and Masi, Iacopo},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2023},
  pages     = {2172-2179},
  doi       = {10.1609/AAAI.V37I2.25311},
  url       = {https://mlanthology.org/aaai/2023/rouhsedaghat2023aaai-magic/}
}