Development Hackers

Development Hackers is a community of amazing tech enthusiasts

Development Hackers is a community of software developers, no-code makers and DIY enthusiasts getting together to achieve a better and more sustainable future for all.

Create account Log in
Cover image for Positive use cases of text-to-image AI?
Rayan Nait Mazi
Rayan Nait Mazi

Posted on

Positive use cases of text-to-image AI?

OpenAI and Google Brain are working on new text-to-image AI models and they look insanely powerful. Check it out:

Quick intro

These models transform a sentence into an image. So a prompt like:

A transparent sculpture of a duck made out of glass. The sculpture is in front of a painting of a landscape.

becomes

Generated image

It's a bit intense right. There's many more examples showcasing how powerful this is. Especially with generating photo-realistic images, drawings and oil paintings.

If you want more examples, here's a quick promo video by OpenAI on their model called DALL-E 2 to understand what it's capable of. The one by Google Brain looks at least as powerful.


Learn more about the research

For those of you keen on understanding what's going on behind the scenes, here's some neat videos, the model websites and research papers.

DALL-E 2 by OpenAI


Website: https://openai.com/dall-e-2/
Research paper: https://arxiv.org/abs/2204.06125

Imagen by Google Brain


Website: https://imagen.research.google/
Research paper: https://arxiv.org/abs/2205.11487


Is it really this good?

So of course access to these models is not public yet and there's always the possibility that they chose perfect examples that are way overhyping the capabilities. My personal experience playing with the other OpenAI models and following progress on the research papers suggest otherwise. I'm always impressed by the speed at which AI innovations are advancing.

A good way to keep updated is to follow the Two Minute Papers Youtube Channel. The Import AI blog and newsletter are also quite insightful.


What positive impact can we have with these tools?

That's the question I've been asking myself a bunch of times recently. It's not evident. I mean I get how other machine learning models can be very useful.

For example, image classification and image segmentation models can be used to detect defects in solar panels. As shown in a another post on Development Hackers

But text to image models?

Maybe the first step in doing good is not doing evil. Unfortunately these text-to-image models make it much easier to produce fake images and possibly fake news.

Because these models are trained using web-scraped images and data, they're also very susceptible to biases and social stereotypes. For example, asking the models to show you photos of criminals could lead to racist biases from the internet...
There's a lot of research on the subject if you want to look into it. Also a lot of drama. It's very interesting.

Furthermore the datasets used to train these models also include some amount of pornographic imagery... so that can lead to unexpected outcomes.

Are there ways to use these models for positive impacts?
Maybe they could be used to illustrate concepts very easily.

For example I've used the language learning app Duolingo a lot. It's great but it's always making you say weird sentences like:
_"las tortugas comen arroz" --> "the turles eat rice"
_

Auto-generating an illustration of turtles eating rice would help make the words stick in my memory and learn faster. I think e-learning apps could benefit from image generation.

Or maybe it can help spread a message. A climate change blog would ask for "Dramatic painting of a koala fleeing a burning forest in Australia" for the banner of an article on forest fires.

I'm improvising here. I'd love to hear your thoughts on positive or negative impacts of text-to-image AI models.

I think there's no reason to only let techies from Silicon Valley use these new technologies to optimise ads.

  • What do you think?
  • Can we use this for something really useful?

Discussion (1)

Collapse
cecile profile image
Cécile Plaire

Hey Rayan !
I think it can be helpful for projects like Persephone for example. It is important to have a good visual identity to make the app more attractive. I am currently paying for some design tools online but I am limited in my choices and need to do concessions... So I am super excited about those IA ! I can't wait to try them and see if it can create the images I was thinking about :)