New tool lets artists fight against generative AI
https://www.technologyreview.com/2023/10/23/1082189/data-poisoning-artists-fight-generative-ai/
"I'm just really grateful that we have a tool that can help return the power back to the artists for their own work," added Autumn Beverly, another artist.
Edited 24 Oct 2023. We only hold this version.
About this post
- Posted
- Archived
- Deleted on
- Edited
- Score
- 1 · 51% up
- Kind
- Text
- ID
- 17ffpg4
108 comments
img2img denoising strength 0.1
The previous weapon to end AI forever was defeated by resizing images. I bet it works on this one too. If not, flipping, or saving them in a different format will do the trick.
Yeah, any tool that relies on pixel level changes to defeat something will by its very nature be defeated as soon as the image is resized.
Also, something that makes changes invisible to the human eye but that trick AI, will just lead to AI that is more flexible at extrapolating whats seeing to avoid these attacks.
I mean this doesn’t affect a majority of trainers, only new people who don’t know what they are doing.
I could sanitize 1k images that were altered with this method in less than 10 minutes.
Hell, with a bash script and imagemagick, you could do it in less than 1 minute.
even a noob like me can setup an automated process in photoshop to do this.
How would you know they had been Nightshaded?
See with my workflow, it doesn’t matter because it already naturally sterilizes the image and applies filters I craft to each image during the curation process.
So even if I have completely legal and sterile images, they still also get sterilized in my workflow just because I edit all my images to be what I need them to be for the specific model.
Just train the ai to ignore it.
Sounds like snakeoil to me. Just compress/resize the file or mess with it in any other way and you won't have any issues. It's as simple as pasting it onto an empty image i guess. If I could get such poisoned Images I would run some tests on them.
On all 100.000.000.000 of them...
Yes, you are doing way more intensive stuff when training anyway and with how computing power progresses it will become more and more irrelevant as an extra step.
This was exactly my first thought. A pedo poisoning models with CP. It wouldn’t take long for CP to then infect a large number of models on CivitAI, given how its primarily just merges.
Lol.. as if “thousands” is some huge amount. And majority of SD people using fine tunes based on couple thousand.
Even if one would use them as training, it would be clear when the training is done that the result is bad. So it won't be shared or used.
Also I am pretty sure you can identify these with blip image captureing, maybe also with simple ImgtoImg, when the pixels are manipulated the issue should occur there too.
and if small denoising breaks it already you can just use that to clean the pictures again.
There will be countless ways to remove enough of the pixels again.
This is a hopeless attempt which like the others won't work.
You hide it in uncommon tokens. Won’t be discovered for a long time, gives it time to spread.
Let's see how fun it is to apply all that extra compute of detection and remediation on top of the simple online scraping.
That could be a serious burden at scale.
Why use this "data poisoning" technique to produce a CP capable model in the first place?
Just gather enough data and one can easily produce a CP capable model based on SD1.5 or SDXL, just like people can build a fine-tuned model biased to produce Asian waifu images.
CP people probably have their "secret society" where they can share such models, they don't need to "hide these models in plain sight".
There's a lot of replies to the post you're replying to in which this has already been covered.
You're statement already indicates the answer: open, easy distribution. Basically it's easy access plus redundancy.
Anyway, I didn't think this to turn into a me drawing up a bluprint for the pedos because apparently a lot of people here lack imagination. Maybe we are safer than I thought. My point was just that the tool can be used for evil purposes.
If AI training get's "consfused" by these images then an AI can also detect those manipulations easily. It's just a cat and mouse game. It will not deter big players but only private individuals trying to copy someones style.
Also, if models are susceptible to this kind of thing, new architectures will be developed that are better and understanding the concepts, as they don't break our brain into thinking a dog is a cow, so if it tricks the AI into thinking a dog is a cow, the AI needs further development in understanding concepts.
It's seems to me like this is just an optical illusion for AI, and a more advanced version will see right through the optical illusion. If anything, poisoned data like this is an extremely good tool for figuring out network architecture limitations, and creating better architectures.
They use already established techniques from other papers. So the math is known and thus a countermeasure can and will be developed eventually.
Literally doesn’t work. Rotate it 90 degrees, done. Resize it, done. Blur it, done. Sharpen it, done. These image based approaches are literally just scams by the developers preying on ignorant afraid artists.
45 degrees also worked on the last glaze If I'm right.
Until images are not "pixels" based, there is not a lot they can do, but well..
Questions here.
1 - What happens with the HUGE and insane database of images uploaded in the global internet before this -theorical" start? If those images are non affected then you can ONLY "poison" the training from a theorical date and not past that date.
2 - What happens when users unable to train new artwork of their fav. artist start training from for example MJ (when fingers good, etc.)? Training from Gen. AI won't produce decay and in some case is even better than training original source artworks. Proved several times, no need to explain this -I hope-.
Since 1 is a nope and 2 is a they can train from there this poison thing is useless.
1 - Unless you store all those images on YOUR hard drive, you need a way to verify that images weren't altered.
2 - "Model collapse" is still a thing
You don't understand. Let's say I want to train a Karla Ortiz model and I search on Google Images and download (to process) 40 artworks of her (non for her official site, from blogs, torrents, etc. whatever). If I train with Kohya_SS or whichever you want, the data poisoning won't happen never cause to poison those images the blog, torrents, SOURCES where I downloaded those images needs to get those images reuploaded in a "bad state" to actual poison any training. Explain me how to do this with all blogs, torrents, sites, fan sites, photoblogs, etc. in the Internet. I can tell you right now. They can keep dreaming, lol.
Model Collapse if you refer to decaying the quality won't happen using Generative AI training inputs if you have head and eyes to actually know and see (and practice of course) the best images that will make an add-up to what you have. Accumulative trainings based on gen-AI inputs is extremely good and again, recommended versus some original sources (Already made a post about this in my last OG Source training, this is the same).
Eh, people have a right to do this.
There's enough training data out there anyway, and I'm sure if this becomes prevalent, technical solutions will present themselves.
I know we're so far away from AGI but would you say they have a right from preventing AGI from viewing their art they put into the public domain?
They have a right to do whatever they want to their own work.
Finally another fool proof form of copyright protection that can’t be defeated. It’s about time visual artist get the same ironclad protection that movies, games and music enjoy.
Laughs in Analog Hole
Bullet-proof.
I love these pipe dreams that occasionally show up. They crack me up.
This thread is going to be fun...
As long as they're not shooting the messenger! ;D
I think this is awesome. I believe people should have the right to protect their art, and while this only protects it from model training, it's still something.
But I'm sure there will probably be simple workarounds People will just have scrappers screenshot images instead of downloading them or something. Find ways to quickly process thousands of images to negate poisoning.
It is and should be the responsibility of the person gathering the dataset to ensure it's valid training data. Unless someone is able to inject poisoned images into preexisting datasets, this won't be a terrible issue. People will just refer to verified datasets. The only time you're collecting new ones right now are for fine-tuning or loras, and that wouldn't be hard to determine what was poisoned. Just a little protection for new art from having their art style quickly copied, but far from deterring.
It's a waste of time.
When it comes to AI nothing is being stolen so nothing needs protecting.
Technically if someone downloads an image, prints it out puts it on their wall or desktop etc, unless the artist has stated they are giving it away for free it's been copied and stolen.
Nobody cares about this though because it only has an impact if it is either proven to be affecting the income of the artist or it's being frauduantly sold on as your own work, both of which are already covered by current copyright laws.
When it comes to style, nobody owns a style. A lot of the time styles only get associated with people who have managed to make a name for themselves but that doesn't mean it's solely their style. Whilst a tiny minority of artists throughout historycould be said to have a unique style with most artists you can almost garuntee someone somewhere has a very simluar style. Artists that think they are the only one to have the right to create art in a particular style just because they managed to get well known for it are completely deluded.
Many people also don't bother to read the TOS of a lot of sharing platforms when they upload work so have aleady given their permission for a lot of stuff without even knowing. Instagram for example can pretty much do whatever they want with your images once it's on their platform, you just retain the copyright.
The whole anti AI image thing is as silly as trying to stop people downloading your image form the internet by disabling right click.
There's really no end to it once you start validating the wrong idea that copying an art style is stealing, you will have Disney trying to copyright claim or send out cease and desist messages to people who's art looks a bit Disney like or people wrongly accusing others of training on their images because that person's AI generations look a bit like their art.
I am an artist, I do not get the whole "protect my art" argument.
The AI is combining styles of different artists, just like you as an artist, have taken inspiration from every artist that came before you. By saying that it's stealing your work to replicate your style, you are also saying any artist that is inspired by your work and does work in the same style as your work.
It's akin to Picasso accusing Matisse of copyright infringement. It is a stupid argument that holds zero water.
The closest analog I can think of was the debate surrounding photography, when it emerged and was considered to be not art. We now consider it to definitely be art, the selection of subject, composition, and final editing of the image is all at the control of the artist.
By that same vein, someone who is innately talented at describing visuals with words, you know something we know as poetry, is engaging in an art form not dissimilar from prompting, and someone who is great at prompting, is going to get images much closer to what they want than someone who is not.
At the end of the day, as an artist, to make art, the only requirement I have is that you have a vision for what you want to accomplish, the tools you use to do so are completely immaterial.
"Oh you didn't make the model". Cool, do you make your own paint? Did you make your brushes? Did you weave your own canvas? Did you grow the plants to make the canvas? It is all a moving goalpost game involving the ego of artists, and their desire to have adulation and praise heaped upon only themselves.
If I as an artist trained a model solely on my art, and used it to generate new works, am I creating art since the dataset, is literally only my art?
What about if I sprinkle in artists that have inspired my works as well? It was okay when I incorporated stylistic influence from them into my work to begin with. Does it become not okay to incorporate them into a model that is going to produce works in the style of me? What about if i start to incorporate styles from artists that inspired the artists that inspired me? Where is the line?
This is original research https://arxiv.org/abs/2310.13828
" that wouldn't be hard to determine what was poisoned " - as part of their research they demonstrated that it IS hard to determine what was poisoned using various methods
IMG2IMG, reproduce img, easy peasy.
Wasn't t this already done and countered?
The article was posted today, first time I've seen Nightshade mentioned anywhere :/
I don't mean Nightshade specifically, just the process of adding weird noise into images to try to screw with diffusers.
This tool is fine. I'm pro AI, but getting clean data for training is on the entity training the AI. Artists can and should release their work for public consumption in a form that they're ok with. It's their IP.
In the end do I think it will be a meaningful deterrent more effective than a 'don't harvest my work' piece of metadata? Probably not. But if it does work that wouldn't be a bad thing.
https://www.reddit.com/r/StableDiffusion/comments/124wnh0/antidreambooth_protecting_users_from_personalized/
Good old print screen beats everything.
"Win + Shift + S" your way out~
I'd love to try it. I don't really understand how they can make that work, pixels are pixels at the end of the day.
They're not doing anything to the pixels - they're targeting the metadata and descriptors that big AI scrape
ok.... one of the first thing I've learn to train a model was clearing the metadata.... I mean even BLIP model can tag it better most of the time than the metadata that was written...
Ok, so does anybody have an idea how this is actually supposed to work?
Easy.
That's basically Denuvo's business plan.
I mean an actual explanation. What precisely is it in them to cause this? What possible arrangement of pixels could cause the learning process through noising/denoising to go awry?
The article is a bit misleading. You need full access to the model in order to coordinate such an attack. At this moment, this method is only effective against Stable Diffusion, but not against any closed model such as Dall-E or Midjourney.
This without a doubt will be a net positive for Generative imaging networks.
If they fail with images that are altered in a way that humans don't perceive as different, but the current networks do, then there is clearly a LARGE amount of improvement to be made in the network architecture.
Creating a network that can recognize the poisoned data, not as poisoned data, but as what we as humans see the image as, would be a huge leap forward in understanding context, and what its actually seeing.
A poisoned dataset will actually be a MASSIVELY improved dataset at least until an architecture that sees past the poison innately is found.
Then it will have the same value as any other dataset.
AI nerds LIVE for datasets that break their models, successful classification of outliers is the goal of every single model.
I expect that future models will seek out the poised images to incorporate into their datasets so they can investigate more robust network architectures and attention techniques that perceive things in a much more contextually accurate manner.
There probably were people trying to blow up railroad factories and steam mills. I imagine fire was met with equal amounts of fear and awe.
Oh so we adjust the ai to ignore that BS