News for hackers. Stuff that matters.
Re:Stable Diffusion 1.5 by visarga on Friday October 21, 2022 @03:16AM (#33285389)
> LLMs have the unfortunate limitation of being both powerful and lending themselves to centralized control choke-points

It was hard to accomplish, but you can finetune SD on your computer. They are working on instruction-tuning LLMs as well. In general ML models are not closed boxes inaccessible to us - they can be finetuned, reprompted, you can even average two versions to get a mix of two models. In the last 2 years lots of papers were written on finetuning and prompting, all of them geared towards low resource AI adaptation to new tasks.

Re:Stable Diffusion 1.5 by dividedbyzero on Friday October 21, 2022 @03:42AM (#33285546)
But you can't selectively re-train them, can you? As in, don't use elements from this part of the training data anymore, but use elements from this body of work that wasn't part of the training data? If I understand correctly you'd still need a full re-training for that.
Re:Stable Diffusion 1.5 by visarga on Friday October 21, 2022 @04:04AM (#33285678)
What you can do is

- lexical filtering by applying a blacklist of artist names on the original prompt

- perceptual filtering - drop all generated images that look too close to copyrighted images in your training set

- re-captioning based filtering - use a model to generate captions for an image and apply filters on the captions; you can also filter by visual style

- CLIP based filtering where you use embeddings to find nearest neighbours, and if they are copyrighted then you can drop the image

- or train a copyright violation detection model that takes generated images and compares them to images from the original authors

Copyright enforcement struggles are going to be interesting to watch in this decade. But I think it will slowly become irrelevant, because anything can be generate again slightly different until they finally pass the filters.

Re:Stable Diffusion 1.5 by dividedbyzero on Friday October 21, 2022 @05:19AM (#33286157)
I was aiming more at the centralized-control angle (though I didn't make that very clear), i.e. are open-source models actually viable long-term? If only orgs with absurd amounts of compute can do updates because those imply a full re-training, wouldn't that effectively centralize control over any such model? Is there the option to to an incremental, limited re-training?
Re:Stable Diffusion 1.5 by ShamelessC on Friday October 21, 2022 @11:00PM (#33295291)
Much of modern deep learning is actually premised on the discovery that training on a large, noisy dataset _first_, and then fine tuning (starting training on new data with the same weights) is generally quicker to converge, and also more accurate.

This is part of the motivation for “foundation models”.

There’s another paradigm called student/teacher models where a randomly initialized model updates it’s weights according to another pretrained model. This could (maybe?) be used to achieve the desired effect of a model that learned in a “clean room”.

Re:Stable Diffusion 1.5 by plutonorm on Friday October 21, 2022 @04:08AM (#33285695)
you can retrain on completely separate data - I am currently doing this.
Re:Stable Diffusion 1.5 by rngname22 on Friday October 21, 2022 @04:19PM (#33292596)
From what I've seen, it's possible to take a version of Stable Diffusion and add your training set on top.
Re:Stable Diffusion 1.5 by Vetch on Friday October 21, 2022 @05:25AM (#33286183)
That's fine until the next brand new model based on a better architecture where the above hacks won't suffice. My concerns here are long term, like 1 or 2 years out in AI-years.