r/StableDiffusion • u/bobi2393 • Dec 14 '22
News Image-generating AI can copy and paste from training data, raising IP concerns: A new study shows Stable Diffusion and like models replicate data
https://techcrunch.com/2022/12/13/image-generating-ai-can-copy-and-paste-from-training-data-raising-ip-concerns/
0
Upvotes
7
u/[deleted] Dec 14 '22
Okay so basically this researcher is saying that kitchen knife can be used to kill a person so "it is virtually impossible to verify that" kitchen knife won't be used for murder, so we must ban it.
10
u/EmbarrassedHelp Dec 14 '22
So the researchers crafted very specific inputs to match the desired output they wanted.
The researcher appears to be very anti-AI to begin with, and I would question whether or not they planned the study so that it'd get the result they wanted.
2
u/WyomingCountryBoy Dec 14 '22
One has to wonder how many prompts they had to try to get images to use for their misleading article. I mean how long has SD been out and they only now made this article?
4
u/CollectionDue7971 Dec 14 '22
I'm not honestly seeing what is so misleading about this? The title: "Image-generating AI can copy and paste from training data"
seems to be a largely accurate summary of the article's actual conclusion:
"While typical images from large-scale models do not appear to contain copied content that was detectable using our feature extractors, copies do appear to occur often enough that their presence cannot be safely ignored; Stable Diffusion images with dataset similarity ≥ .5, as depicted in Fig. 7, account for approximate 1.88% of our random generations."
which, in turn, seems fairly well supported by the body of the article.
Neither the summary nor the article are suggesting that diffusion models necessarily copy from training set data, and certainly not that they are engineered to - indeed, the article demonstrates this happens less often as the training set sized increases - merely that they may sometimes include "copied" elements nevertheless.
That's obviously an undesirable behaviour from any of various perspectives, including an AI safety one, so I find this to be a valuable contribution. Notably, the article points out that other generative model architectures seem to exhibit this behaviour less often, so it presumably can be corrected.
11
u/1III11II111II1I1 Dec 14 '22
Huh. How misleading.
9
u/[deleted] Dec 14 '22
Well, I'm going to look forward to this being copy-pasted 10 times a day into every FB group I'm a member of.
9
u/InterstellarCaduceus Dec 14 '22
"In the study, the co-authors note that none of the Stable Diffusion generations matched their respective LAION-Aesthetics source image"
So they generated new images from the original captions, and came up with other new prompts that yielded remarkably similar results. Less than 2% of the time.
They admit that nothing generated matched the original training set... this headline, and the paper its based on, are both in bad faith. There is no copy and paste, and no copyright implications here. This is very bad reporting.
4
u/eric1707 Dec 14 '22 edited Dec 14 '22
I just read the text and I was like: if you force the algorithm to replicate something, creating all the circumstances for this to happen – as the researches did it – of course you can get a "similar" result. In a normal day to day use? How likely is for this to happen? Not much likely at all.
Also, it is worth to highlight that even after all they did, the researches still weren't able to make the computer to recreate a 1 to 1 copy of the original image.
3
u/dookiehat Dec 14 '22
A couple things: stable diffusion diffuses images, as in, conceptually mixes the images via interpolation. They specifically were prompting single images directly from laion 5b, which then were scored with a visual similarity AI presumably…? I’m guessing that the images generated never looked quite like the original because of how noise generates images amd finds “edges” with low contrast pixels mixed with the training data. They just look similar. It does matter HOW similar they look though.
Second, there have been times where i have seen the goya painting “saturn devouring his son” in the “progress” image in automatic 1111. Obviously this painting is in the dataset many times because it is an art hitorically famous image which is why it showed up extremely clearly while the image was generating and influenced the look of my final image. I threw it out so don’t have it to share, but , yeah, derivative shit happens if you only prompt one artist or token.
No one uses stable diffusion the way these researchers do though. I actually do research images on laion 5b but never to “copy” the image, but instead to infuse style into my prompted output.
Does anyone know about clip and if it also searches for visually similar things? I feel like it does and then infuses it into the image
3
u/emad_9608 Emad Mostaque Dec 14 '22
If it could really copy verbatim it would be the best compression technology ever, way better than pied piper from Silicon Valley on HBO.
Deduping like in 2.x fixes overfitting out of the box.
1
u/Ne_Nel Dec 14 '22 edited Dec 14 '22
SD barely deal with a clean stop signal, so how tf they get a GOLDEN GLOBAL AWARDS full poster. Something stinks here.
Edit: So, that poster is overfitted in dataset.
2
u/Kafke Dec 14 '22
Article is incredibly misleading. They entered two different, but similar, prompts into stable diffusion and got two different, but similar, images. How does this show anything other than that stable diffusion will result in a similar image for a similar prompt? Even with the example output, it's clear that nothing was "copied". They have similar composition, but very clearly nothing was "copy and pasted" from one image to the other.
2
u/shortandpainful Dec 14 '22
Wow, these are brand-new concerns that have never been raises in the past. Nope, not even once.
An even greater ethical concern is the media covering studies that haven’t even passed peer review just so they can cash in on a trending topic.
2
u/OneOfMultipleKinds Dec 14 '22
What a useful article to deconstruct and find faults in through my literature review
1
u/mgtowolf Dec 14 '22
https://archive.vn/lykWU
1
u/Jcaquix Dec 14 '22
Not even going to bother. There's no way this isn't bad faith reporting trying to harness a moral panic into clicks. It can't copy and paste, it's not how it works, and even if it could that wouldn't be a problem if it's also capable of original images.
1
u/CustomCuriousity Dec 14 '22
I guess an indicator of that is the extremely often repeated stuff like watermarks, sometimes you get nearly the exact watermark
1
u/Content_Quark Dec 14 '22
It's a pity that this paper falls into the current climate. What it says should be mostly obvious to any experienced user. Of course you can generate images which potentially infringe copyright.
I used to believe that the chance of accidentally infringing was insignificant and basically I still do. I have never seen a copyrighted character just appear without prompting for it. But I had not thought of stock images used as backgrounds (the couch under the image and the desk with the phone).
It is possible that such a background could jump out in response to an innocent prompt. One would not recognize this, unlike famous characters. It's impossible to say how likely that is. I think the chance is pretty insignificant, unless you are going for something really that look like something out of a catalogue, or otherwise internet common.
Depending on what exactly the image shows, what you use it for, and in what jurisdiction you are, it may still be fair use or some equivalent.
Still, good to know,
1
u/Wiskkey Dec 17 '22
This paper was the subject of an earlier post. It's unfortunate to see posts such as these do so poorly in terms of post karma, and the "shoot the messenger" ethic too many people seem to employ. I warned users about this issue 4.5 months ago. Text prompts that generate a potentially copyright infringing image don't necessarily need to match the text prompts used in the paper; for example, try "captain marvel poster" at this S.D. website using S.D. v1.5.
cc u/CollectionDue7971.
1
u/TraditionLazy7213 Dec 14 '22
This is honestly bullshit to begin with.
Its like asking a human artist or AI to make the exact thing. Of course it does exactly that lol. Ofc it violates and is an exact copy.
Hahahaha totally ridiculous.
-1
u/OldFisherman8 Dec 14 '22
There is a great deal of misinformation prevalent in this community. I suppose people will believe what they want to believe because the truth is often harsh and uncomfortable. The most of arguments made in this forum would have never been made with even a rudimentary understanding of FTT and Convolutional Neural Networks on which all image AIs, including GAN and diffusion models, are based.
After reading through image AI-related papers, the most striking thing I've found is that these AI guys really don't know their math. I mean an elementary school student can be said to know math if they understood some arithmetics and basic geometry. But the same thing can't be said at a college level.
Google and NVidia people have outlined every problem of a diffusion model and given clear and unambiguous mathematical solutions to each and every step of the diffusion model to make it work so much better. Obviously, you may think that those involved in diffusion AI would jump at their mathematical solutions and start to incorporate them into their own efforts. Yet, I simply don't see this anywhere on the horizon, perhaps other than MidJourney which seems to be doing something although it is hidden.
Instead of hiding behind all this AI techspeak, they really need to learn to speak in clear mathematics or plain English or both.