Lune

AAAI2023Top-tier venue

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

Mozhdeh Rouhsedaghat, Masoud Monajatipoor, C.-C. Jay Kuo, Iacopo Masi

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Provable Energy-Guided Test-Time Defense Boosting Adversarial Robustness of Large Vision-Language Models cites Do Adversarially Robust ImageNet Models Transfer Better?
  • Image Shape Manipulation from a Single Augmented Training Sample cites SinGAN: Learning a Generative Model From a Single Natural Image
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. A Provable Energy-Guided Test-Time Defense Boosting Adversarial Robustness of Large Vision-Language ModelsMujtaba Hussain Mirza, Antonio D’Orazio, Odelia Melamed, Iacopo MasiCVPR 2026 · 2 citations

Builds on9

  1. SinGAN: Learning a Generative Model From a Single Natural ImageTamar Rott Shaham, Tali Dekel, Tomer MichaeliICCV 2019 · 933 citations
  2. Do Adversarially Robust ImageNet Models Transfer Better?Hadi Salman, Andrew Ilyas, Logan Engstrom, Ashish Kapoor et al.NeurIPS 2020 · 506 citations
  3. InGAN: Capturing and Retargeting the "DNA" of a Natural ImageAssaf Shocher, Shai Bagon, Phillip Isola, Michal IraniICCV 2019 · 146 citations
  4. Adversarial Training Reduces Information and Improves TransferabilityMatteo Terzi, Alessandro Achille, Marco Maggipinto, Gian Antonio SustoAAAI 2021 · 25 citations
  5. Image Shape Manipulation from a Single Augmented Training SampleYael Vinker, Eliahu Horwitz, Nir Zabari, Yedid HoshenICCV 2021 · 24 citations

Related papers

  1. MAGIC: Few-Shot Mask-Guided Anomaly Inpainting with Prompt Perturbation, Spatially Adaptive Guidance, and Context AwarenessJaeHyuck Choi, Minjun Kim, Je Hyeong HongCVPR Findings 2026 · 3 citations
  2. NaturalInversion: Data-Free Image Synthesis Improving Real-World ConsistencyYujin Kim, Dogyun Park, Dohee Kim, Suhyun KimAAAI 2022 · 13 citations
  3. Diffusion Self-Guidance for Controllable Image GenerationDave Epstein, Allan Jabri, Ben Poole, Alexei A. Efros et al.NeurIPS 2023 · 411 citations
  4. Paint by Example: Exemplar-based Image Editing with Diffusion ModelsBinxin Yang, Shuyang Gu, Bo Zhang, Ting Zhang et al.CVPR 2023
  5. Program-Guided Image ManipulatorsXiuming Zhang, Jiayuan Mao, Yikai Li, William T. Freeman et al.ICCV 2019 · 25 citations
Dusk over the sea between two cliffs drawn in fine vertical lines