Computer Vision & Graphics Machine Learning & Data Science Popular Research

This Pizza Does Not Exist: StyleGAN2-Based Model Generates Photo-Realistic Pizza Images

The new AI-powered Multi-Ingredient Pizza Generator (MPG) can deliver all these mouth-watering pies and many more.

One of the most recognizable and popular dishes in the world is pizza. From Margherita to Hawaiian to Sicilian, pizzas present in a wide variety of crusts topped with pepperoni, onions, mushroom, pineapple — you name it. If your love of pizza is as strong as your imagination, you may want to check out the new AI-powered Multi-Ingredient Pizza Generator (MPG), which can deliver all these mouth-watering pies and many more.

There’s no guarantee of the flavour, though, as the fancy MPG “pizzas” aren’t baked in an oven; rather they’re produced by a conditional Generative Adversarial Network (GAN) framework developed by researchers from Rutgers University and Samsung AI Center. Designed for synthesizing multi-label images, MPG combines a new conditioning technique with the StyleGAN2 structure to enforce intermediate feature maps to learn scalewise label information.

MPG components.png
MPG overview

Food images are naturally complex and can be challenging for AI to generate. Ingredients have different colours and shapes and can be prepared with various cooking methods that affect their final appearance. Moreover, food images generally show finished dishes, with ingredients combined, and models must learn how to realistically arrange ingredients in this context.

The researchers note that previous food image generation approaches have either used images as input or generated blurry images. Their proposed conditional GAN framework however can effectively learn to create photo-realistic pizza images from combinations of specified ingredients, and also enable variable view points through “style noise” manipulation.

The approach incorporates a Scalewise Label Encoder (SLE) and a Classification Regularizer (CR) that guide the generator in the synthesis of the desired ingredients. The researchers also incorporated a matching loss in the discriminator to provide an additional signal to the generator, and built a new “Pizza10” dataset by relabelling pizzaGANdata using a subset of the ingredient labels. This re-annotation was designed to enable the labels to perform more accurately in multi-label classification and image retrieval tasks.

The researchers used the FID performance metric (on 10K images) to assess the quality of the generated images (a lower FID indicates the generated image distribution is more close to the real image distribution) and mean average precision (mAP) to evaluate the conditioning on the selected ingredients.

results.png

Compared with existing text-based image generation methods StackGAN2, CookGAN, and AttnGAN, the proposed MPG not only generated more realistic and diverse high-fidelity images but also improved conditioning on the chosen ingredients.

The researchers have uploaded a video demo that demonstrates MPG’s pizza-generation prowess compared to other models:

pizza generator.png

The team notes that — while pizzas are certainly fun — their framework can also be extended to other multi-label image generation scenarios. The paper MPG: A Multi-ingredient Pizza Image Generator with Conditional StyleGANs is on arXiv.


Reporter:Yuan Yuan | Editor: Michael Sarazen


B4.png

Synced Report | A Survey of China’s Artificial Intelligence Solutions in Response to the COVID-19 Pandemic — 87 Case Studies from 700+ AI Vendors

This report offers a look at how China has leveraged artificial intelligence technologies in the battle against COVID-19. It is also available on Amazon KindleAlong with this report, we also introduced a database covering additional 1428 artificial intelligence solutions from 12 pandemic scenarios.

Click here to find more reports from us.


AI Weekly.png

We know you don’t want to miss any news or research breakthroughs. Subscribe to our popular newsletter Synced Global AI Weekly to get weekly AI updates.

4 comments on “This Pizza Does Not Exist: StyleGAN2-Based Model Generates Photo-Realistic Pizza Images

  1. Pingback: [R] This Pizza Does Not Exist: StyleGAN2-Based Model Generates Photo-Realistic Pizza Images – ONEO AI

  2. Pingback: [R] This Pizza Does Not Exist: StyleGAN2-Based Model Generates Photo-Realistic Pizza Images – tensor.io

  3. Thank you very much.

  4. Pingback: ÚJNÉPSZABADSÁG

Leave a Reply to Ziane Cancel reply

Your email address will not be published.

%d bloggers like this: