345 points · by hardmaru · 4y ago · 181 comments
But, the interesting thing is that while it is so good in producing detailed artworks and matching the styles of popular artists, it's surprisingly weak at other things, like interpreting complex original prompts. We've all seen the meme pictures made in Craiyon (previously Dalle-mini) of photoshop-collage-like visual jokes. Stable Diffusion with all its sophistication is much worse at those and is struggling to interpret a lot of prompts that the free and public Craiyon is great with. The compositions are worse, it misses a lot of requested objects or even misses the idea entirely.
Also as good as it is at complex artistic illustrations, it is as bad at minimalistic and simple ones, like logos and icons. I am a logo designer and I am already using AI a lot to produce sketches and ideas for commercial logos, and right now the free and publicly available Craiyon is head and shoulders better at that then Stable Diffusion.
Maybe in the future we will have a universal winner AI that is the best at any style of pictures that you can imagine. But right now we have an interesting competition when different AI have surprising strengths and weaknesses and there's a lot of reason in trying them all.
The whole "we're all fellow scholars here" bit feels like I'm watching a kid's show about science vulgarization, patting me on the head for being here.
"Look how smart you are, we're doing science!"
I dunno. I like the channel for what it is (a vulgarization newsletter for cool ML developments) but sometimes the author feels really patronizing / full of himself.
In fact Dall-E isn't as impressive for some styles as "older" models (Jax/Latent Diffusion etc)
> 515k steps at resolution 512x512 on "laion-improved-aesthetics" (a subset of laion2B-en, filtered to images with an original size >= 512x512, estimated aesthetics score > 5.0
https://github.com/LAION-AI/laion-datasets/blob/main/laion-a... for more details.
What's remarkable is this: https://github.com/LAION-AI/laion-datasets/blob/main/laion-a...
That aesthetic predictor was apparently trained on only 4000 images. If my thinking is correct, imagine the impact those 4000 ratings have had on all of the output of this model.
You can see samples (some NSFW) of different images from the original training set in different rating buckets here, to get an idea of what was included or not in those training steps. http://3080.rom1504.fr/aesthetic/aesthetic_viz.html
The amount of enjoyment I have derived from playing with Craiyon over the last two months is ridiculous.
Note I think you need 16gb of VRAM to run it.
I started with https://github.com/borisdayma/dalle-mini/blob/main/tools/inf... and pared it down.
> “A percentage of people are simply unpleasant and weird, but that’s humanity,” Mostaque said. “Indeed, it is our belief this technology will be prevalent, and the paternalistic and somewhat condescending attitude of many AI aficionados is misguided in not trusting society.”
Holy shit.
On the one hand, I'm super excited by this technology, and the novel applications that will become possible with these open-source models (stuff that would never be usable if Google and OpenAI had a monopoly on image generation).
On the other hand, I really really really hope Bostrom's urn[0] has no black ball in it, because we as a society seem to be rushing to extract as many balls as possible over increasingly short timescales.
And it depresses me, because well... imagine if other pieces of tech were treated this way. If the internet or crypto or computers or whatever were heavily limited/restricted so the 'wrong people' couldn't use them for bad things. We'd consider it ridiculous, yet it's somehow accepted for these image generation systems.
It sounds riddiculous, yet Photoshop is more dangerous than DALL-E in all regards.
I'm personally in the "AI risk is overstated" camp. But if I'm wrong, all the top-down AI safety in the world is going to be meaningless in the face of a global network of researchers, enthusiasts, and tinkerers.
It's the reason why the rapid amount of progress in this field scares me at times. It feels like gradually being crushed under a wall of the inevitable march towards progress. It could be the case that stopping ourselves before it's too late isn't possible.
Sometimes I get the feeling that the laws of nature will eventually destroy or severely impact any lifeform that gains too much of an understanding about the world. For example, in some other universe it might be possible to survive X more decades if the laws of physics weakened the effects of nuclear war just enough for civilization to recover in a relatively short period of time, but we're stuck with what we have, and that doesn't necessarily map to the long-term survival of a highly intelligent lifeform.
It would be a shame if unbounded curiosity would be humanity's undoing. That curiosity is also a part of me, and my family, and my neighbors down the street, and those in the situation room.
You don’t, so the question is mostly academic.
It's similar to the "we don't sell personal information" claim. Sure, but that's because they make money renting malicious actors access to a black box that contains your personal information. Selling the contents of the box would reduce their overall revenue.
It makes sense for Google to wait for some startup to "go first" in releasing a model largely without controls. That way, some random startup takes the initial heat of "people are using AI for bad things!!" headlines plastering tech blogs. Then Google can do basically the same thing a little bit later, and any attack pieces will sound old hat.
But it's arguably better than living in a world where every single citizen has a nuke.
(Though the potential for harm of diffusion models is far below nuke; it's not "kill millions of people", it's "produce cheap disinformation and very convincing fake evidence to ruin someone's life")
Either way it doesn't matter, you can't control bits like you can enriched uranium. It's just a matter of time. In the grand scheme of things Open AI will be irrelevant.
Yes, it's pretty obvious that Dall-E and similar models won't destroy humanity.
My point isn't that Dall-E is a black ball. My point is we better hope a black ball doesn't exist at all, because the way this is going, if it exists, we are going to pick it, we clearly won't be able to stop ourselves.
(For the sake of dicussion, we can imagine a black ball could be "a ML model running on a laptop that can tell you how to produce an undetectable ultra-transmissible deadly virus from easily purchased items")
I think we’re already past the point where we could have done something about this. In fact, we’ve probably been past that point since humanity was born.
I think it’s probably more valuable if we think about how we’ll deal with it if we do draw something that could be/is a black ball.
That said, so far all evidence points to extreme destruction just being really hard, which leads me to believe that truly black ball technologies may not exist.
Like 'black balling', eg shunning?
Or 'black box', eg poorly understood technology?
Apart from nuclear scientists I don't know a field where participants are as conscious of the risks as AI research.
So I think that horse may have bolted already.
Humanity is not homogeneous, we will always react to new inventions or tools differently , many will use it positively some won’t . Short of weapons of mass destruction I am not sure anything else will destroy civilization itself .
A black ball would be like - suppose nuclear weapons ignited the atmosphere. We test the first nuke, it ignites the atmosphere, a global fire storm consumes all breathable oxygen, kills all plants and everyone on the surface and everything else suffocates shortly after. Plastics aren't even close to this level of harm.
> No, the black ball is a technology that, once invented, humanity cannot survive. Nuclear weapons have been invented and humanity is surviving. Same with plastics.
I don't think that definition is a good one. Technological civilization [1] has survived nuclear weapons for ~80 years, but there's no guarantee it will survive it for another 80 years, let alone forever. It seems like these "black balls" should be though of like time bombs, there are at least two variables: how much destruction it will cause when it goes off AND the delay time before that happens. We shouldn't confuse a dangerous technology with a long delay time for a safe technology. My intuition tells me that there will probably be nuclear war at some point over the next 1,000+ years.
[1] I don't think nuclear weapons can make humanity extinct, so long as there are still little poorly-connected subsistence communities in remote areas. However, if The Market, manages to extend its tentacles into every human community, we're probably fucked.
Plastics are playing the long game. They have to turn into micro- and nanoplastics first and may then enact undesired, unforeseen biological functions, just like BPA [1].
Not even talking about weaponizing this stuff...
Isn't the point of the discussion started by PoignardAzur about how we deal with such technology after it is pulled out of the bag?
If you define black ball technology as fundamentaly uncontainable, then there is no point in talking about our practices of restricting access to new tech.
You're right that they could always change their minds and that would suck, but so far they seem to be being up front.
This was before DALL-E and way before DALL-E 2.
Not that I think they need to. It’s just weird people defend them as being open just because they release crippled versions of their model.
* They're actually working on a filter right now, but IIRC it's an optional one, for when you don't want to accidentally generate NSFW output.
Stable Diffusion launch announcement - https://news.ycombinator.com/item?id=32414811 - Aug 2022 (37 comments)
Not sure how they compare. DD seems to be quite popular. I'm currently setting up DD locally.
"We couldn't process your request at this time. Please try again later. If you are seeing this message repeatedly, please contact Support with the following information:
ip: XXXX
date: Mon Aug 15 2022 XX:XX:XX GMT-0700 (Pacific Daylight Time)
url: https://stability.us18.list-manage.com/subscribe/confirm"
Does any one know how much data download and disk storage does it need?
Larger images will require (much) more than 5.1 GB. In my case, a target resolution of 768x384 (landscape) with a batch size of 1 will max out my 12GB card, an RTX3080Ti.
I've generated some remarkably good-looking print quality images by upscaling 512x512 sources
https://colab.research.google.com/github/KaliYuga-ai/Pixel-A...
[0] https://nuwa-infinity.microsoft.com/#/ [1] https://arxiv.org/abs/2207.09814
I actually tried to get Dalle to do this, And it made like three good sprites in the rest were just broken. But it was so strange, because you could see it was still organized as a sprite sheet, it's just the sprites were useless.
I think the practical applications of this technology will be hyper specialized models for specific purposes.
Hopefully we aren't more than a few years away from something practical like this.
Currently waiting to scale-up for improve quality mainly for economic reasons, not quite sure I could recoup the training costs yet. Even more so if I go with cloud training.
NVidia will release the 4090 in september, and ethereum may do "the merge" that will make GPU useless for mining so GPU price could be affordable so I can update my home cluster with affordable 3090s. (But electricity prices are also up).
Also there are new algorithms every month like the stable diffusion, that would obsolete your previous training.
The video generation cost is probably still too expensive compared to just paying a cam girl in a low wage country. But it will probably go down soon.
This is also some sensitive data, as plagued with copyright issues, so it's quite troublesome to legally share training datasets to share costs.
It also has its own challenges with respect to custom dataset creation with text description, so it's probably a better idea to adapt the algorithm to the currently available data to keep the costs low.
Finally once someone releases a model, in the next month there will be at least 3 clones.
There is also the problem to find an adult friendly payment processor.
And the multitude of potential legal issues.
But it's probably inevitable.
So no, your "friend" can't use it for that.
Since we certainly don't want to show generated image of porn or violence to someone that didn't specifically ask for that, the easiest way to ensure that's not going to happen is to just not train on that kind of data in the first place. The worst that can happen with a model trained on "safe" images is that the image is irrelevant or makes no sense, meaning you could deploy systems with no human curator on the other end, and nothing bad is going to happen. You lose that ability as soon as you integrate porn.
Also with techniques like in-painting, the potential for misuse of a model trained on porn/violence would be pretty terrifying.
So the benefits of training on porn seems very small compared to the inconvenience. I don't think it's anything to do with puritanism, it's just that if I am the one putting dollars and time to train such a model I am certainly not going to be taking on the added complexity and implications of dealing with porn to just to make a few people realize their fetishes at the risk of my entire model being undeployable because it's outputting too much porn or violence.
A porn model should really be it's own thing.
Make no mistake this is an indirectly legal hurdle.
There are attempts to gather porn images and train or fine-tune existing networks on it, here's a recent attempt by an art student mentioned in the article above (NSFW!!): https://www.vice.com/en/article/m7ggqq/this-furry-porn-ai-ge...
However, if it is possible to re-start the training process from the weights of a non-sexually aware model, this finetuning might not take all that long..!
Making money at it should be easy, and places like PornHub wouldn't care about any outrage. The real challenge would be limiting criminal and civil liability, at least to my not-in-the-business thinking.
[0] https://timdettmers.com/2020/09/07/which-gpu-for-deep-learni...
(No affiliation.)
So far, I haven't got a response but it's a Monday
Here's the license
https://github.com/CompVis/stable-diffusion/blob/main/LICENS...
Would love to see FAANG and SV crash and burn, margins chipped away to nothing.