I feel like I’m reading the exact same sentence that someone posted about if StableDiffusion included images or was just “learning patterns” and totally generative from 6 to 8 months ago.
People argued, oh so hard about it.
“But stable diffusion is GB in size, how can it have embedded full images of a dataset that is so much larger? It’s not possible.”
…but, it turns out it is possible (1) and it does, in fact, have embedded full copies of the source images.
Now. Let’s talk about code…
> and the problem is that it's synthesising code identical to existing code
There’s a word for that. It’s called copying.
Copying fragments, copying full text. It’s a black box, it spits out content that is indistinguishable (again, see stable diffusion, a lossy jpg of an image is the same image even when it is not bit-for-bit identical) from the input.
That’s copying.
The black box might be a neutral network, or a python script that reads a file from disk. The process is irrelevant.
If you memorise a block of code and type it out by hand with no reference, you are copying it.
These models copy code.
These models have embedded full text copies of some code.
What we do with that is an ethical question, but that it is true is not in dispute. It is true. It’s documented.
If you think these models are not copying at least some training data as output you are factually, and provably incorrect.
(1) - https://arstechnica.com/information-technology/2023/02/resea...