Live data from Hacker News

Implementation of Imagen, Google's text-to-image neural network, in PyTorch

github.com

11–20 of 123 posts

Re: Implementation of Imagen, Google's text-to-image neural network, in PyTorch

#11
post #7

Earlier quoted context omitted.

"just" All the complexity wrapped up into one word.

You do realize web scraping has gotten very cheap at scale and easy now too. It's an after thought for me, I'm more concerned with the economics of training, it can't be cheap

Training an AI requires high quality, clean/normalized data, which is very difficult to do at millions/billions of data points and is very frequently done incorrectly with silent failures.

Re: Implementation of Imagen, Google's text-to-image neural network, in PyTorch

#12
post #10

Earlier quoted context omitted.

You do realize web scraping has gotten very cheap at scale and easy now too. It's an after thought for me, I'm more concerned with the economics of training, it can't be cheap

Web scrape... what, exactly? How will "web scraping" lead to high quality results?

if you have to ask, the answer would be irrelevant.

Re: Implementation of Imagen, Google's text-to-image neural network, in PyTorch

#13

Earlier quoted context omitted.

You do realize web scraping has gotten very cheap at scale and easy now too. It's an after thought for me, I'm more concerned with the economics of training, it can't be cheap

Training an AI requires high quality, clean/normalized data, which is very difficult to do at millions/billions of data points and is very frequently done incorrectly with silent failures.

There's a section of the internet where you can easily find billions of images or can be generated from moving pictures. Even upscaled. I really didn't expect to have to spell it out.

hint: they are all about one thing and there are a lot of eager volunteers to help on those websites. It would be easy to "normalize/clean/classify" because the pictures would have a consistent theme, thus reducing the amount of parameters.

We are not trying to generate elephants getting railed on a SpaceX rocket flying in oil painting style (although I'm sure theres people into that and its not my place to judge), we are just trying to remove the human cost out of this necessary evil.

I can't believe nobody is investing in "DALL-E-2-4-PORN". This sounds like an X amount of money thrown at a hugely sticky product that can be iterated (with the current trend in hardware) to the point where it literally generates billions of dollars in revenues for ages to come (no pun intended).

Re: Implementation of Imagen, Google's text-to-image neural network, in PyTorch

#14

How much would it cost to train something like this? Is there even a good dataset for it?

There is a dataset of 5 billion image-text pairs (laion-5b) scraped by various parties. This can then be filtered and used to train these models. Cost is a bit of an issue but there are orgs that have provided compute for open model training. And Imagen is nice because the text encoder part is already available and doesn't need more training, so it would just be the diffusion model components being trained. I'd guess…

I hope so. It's a bit cruel to show off and then lock it away.

Re: Implementation of Imagen, Google's text-to-image neural network, in PyTorch

#16
What is the reason Google published their research details about Imagen?

Why don't they just keep their findings to themselfes and build products on top of them?

Public companies can't do stuff just for the fun of it, right? So there must be some commercial reasoning behind it?

Re: Implementation of Imagen, Google's text-to-image neural network, in PyTorch

#17
post #7

Earlier quoted context omitted.

"just" All the complexity wrapped up into one word.

You do realize web scraping has gotten very cheap at scale and easy now too. It's an after thought for me, I'm more concerned with the economics of training, it can't be cheap

You don't realize how hard it is to make an inclusive, cleaned up dataset. Take a look at this Notion from BigScience detailing their workgroups. Three of them are related to preparing the dataset.

https://bigscience.notion.site/10743770aae24ff3bdc1b938cf454...

And this is just for a text-only scrape.

Re: Implementation of Imagen, Google's text-to-image neural network, in PyTorch

#18
post #7

Earlier quoted context omitted.

"just" All the complexity wrapped up into one word.

You do realize web scraping has gotten very cheap at scale and easy now too. It's an after thought for me, I'm more concerned with the economics of training, it can't be cheap

In my experience, scraping the data is the easy part. Once you've scraped it you've got to get rid of all the garbage, which is where the issues arise, especially if you're just blindly scraping everything you can find.

For example, in a generative model I'm working on, I have a dataset consisting of ~5M images just blindly scraped from a website. After filtering, this drops down to ~500k images, yet a model trained on that performs worse than one trained on a set of 30k curated images (picked based on a manually evaluated list of "known good" artists), where filtering brings it down to ~18k images. The larger dataset, while containing more information, also contains more errors, many of them pretty hard to filter out.

Re: Implementation of Imagen, Google's text-to-image neural network, in PyTorch

#19
post #10

Earlier quoted context omitted.

You do realize web scraping has gotten very cheap at scale and easy now too. It's an after thought for me, I'm more concerned with the economics of training, it can't be cheap

Web scrape... what, exactly? How will "web scraping" lead to high quality results?

Already does. It works by magic, we put images on one side and text on the other side and then power it up. Let it simmer for a few months at megawatt power levels.

Re: Implementation of Imagen, Google's text-to-image neural network, in PyTorch

#20
post #16

What is the reason Google published their research details about Imagen? Why don't they just keep their findings to themselfes and build products on top of them? Public companies can't do stuff just for the fun of it, right? So there must be some commercial reasoning behind it?

Absolute power, corrupts absolutely. Perhaps it’s a game theoretic approach to leveling the playing field.
Post reply on HN