èƵ

AI image generators that create close copies could be a legal headache

Artificial intelligence models trained on millions of images can occasionally reproduce near-perfect copies, researchers have found, which could be significant for ongoing copyright infringement lawsuits
Two images of a women, one generated by AI, look very similar
Left: an image from Stable Diffusion’s training data with the caption “Ann Graham Lotz”. Right: the image produced by Stable Diffusion when prompted with “Ann Graham Lotz”
Cornell University/Extracting Training Data from Diffusion Models

Do image-generating artificial intelligence (AI) models infringe artists’ copyright? With legal action already under way against some of the companies behind these AIs, researchers have now found that the generators can occasionally reproduce some of the specific images used to train them – a discovery that could play into the upcoming lawsuits.

Popular text-to-image generators like Stability AI’s Stable Diffusion and OpenAI’s DALL-E 2 use diffusion models, which work backwards from random noise to produce images similar to those that they have seen before. To work well, these models must be trained on a vast number of images, paired with text captions, which are often taken from the internet without necessarily seeking the owners’ permission.

This practice has drawn criticism from some who argue that the models are violating copyright. In the UK, Getty Images because it claims the firm “infringed intellectual property rights” by using Getty’s images for training. A has been filed in the US by a group of artists for allegedly violating US copyright law.

One possible legal argument for the AI companies to use is that their models aren’t directly using the copyrighted work, but merely being “inspired” in the same way that a human artist would be.

But now, at the Swiss Federal Institute of Technology in Zurich and his colleagues, including researchers at Google, have demonstrated that Stability Diffusion and Google’s Imagen AI models can almost exactly reproduce images from its training data, suggesting that they are, in some sense, stored within the parameters of the models.

“It seems to happen extremely rarely, at least in the type of experimental set-up we have, but it’s definitely the case that, from time to time, you can ask these models to generate an image corresponding to some piece of text and they will generate essentially the exact same image that they were trained on,” says Tramèr.

To demonstrate this, Tramèr and his team looked at the training data used in these AI models, identifying images that appeared multiple times and so were more likely to be memorised. They then entered the captions for these images as text prompts for the AIs, using 350,000 prompts for Stable Diffusion and 1000 for Imagen, generating 500 images for each prompt.

When they compared these outputs to the original training data, they found that Stable Diffusion produced 109 images and Imagen 23 that were mathematically similar enough to their training sets to be considered reproductions. Visually, these images were often near identical, with only small artefacts like noise or compression (see above).

, head of artificial intelligence law at legal firm Gowling WLG in London, says the team’s work is likely to play a role in lawsuits against AI companies. “I would expect that the claimants will bring up this research and the defendants will have to deal with it, perhaps trying to show that the research is wrong, or that the extent of memorisation is negligible or that this sort of memorisation is not copyright infringement,” he says.

OpenAI has acknowledged that, , predecessors to DALL-E 2 reproduced images used to train the model, but the company claims to have mitigated this before making the AI public. Stability AI has also removed duplicate images in the newest version of Stability Diffusion. OpenAI and Stability AI didn’t respond to requests for comment on this new work.

While removing duplicates is a good first line of defence, says Tramèr, it won’t eliminate the possibility that these models could still reproduce training data. It is also difficult to achieve, because automated methods may struggle to identify very similar images with only subtle differences.

“If the model at any time just generated an image from the training set, but slightly rotated it, our current evaluation set-up wouldn’t be able to find this because we only look for sort of exact pixel level matches,” says Tramèr.

Part of the problem is that we still don’t really understand why AI models memorise certain things over others. For example, a model trained on many images of a single cat might then reproduce that specific cat when asked for a cat in general, says Tramèr, but it is difficult to identify when this would happen.

“This black box nature is really prevalent in all deep learning models,” says at the University of Surrey, UK. “Nobody understands anything.”

To address this, AI creators must find ways to more closely manage their training data to avoid copyright violations, he says. “But I don’t think this is something that’s easily solvable.”

Reference:

Topics: Artificial intelligence