by cornholio · 3y ago · 0 comments
Therefore, the resulting model should abide by all the license requirements imposed on the original - for example, if the model is trained on GPL code and can generate code, then any binary distribution should also be freely available for derivation in source format, and that includes all the algorithmically compressed training material (weights), which has become part of the model. If the source is AGPL, then that service cannot be made available on a website without disclosing said source and respective model weights.
Any other interpretation of the nature of copyright - which by definition, only covers human produced material - is just a variant of the proverbial "man that can't understand something because their paycheck depends upon them not understanding".
A license cannot give you more rights than you started with.
Does copyright law give you the exclusive right to train a neural network with your work? This question is unresolved, and at least a significant number of people think that it is fair use, drawing analogies with search engine indexing whereby Google is permitted to copy websites for the purpose of creating an index to be searched. Yes, even if the website contains GPL code.
The GPL is simply a list of conditions, that if followed, allow someone to legally use a work that they weren’t previously permitted to use. If they have another route to using the work legally then they need not follow the conditions in the GPL.
If we take the input data of a average website and look at the data inside a search engine indexing, it will likely contain more bits from the original than converting a 4k video down to a 144p, youtubes smallest video format. We do however view the index to be fair use while the 144p video to be similar enough to the original to be considered a copy.
Those kinds of discussion always reminds me of early discussions around freenet. A file get encrypted and then split into 32KiB files. Multiple files can share identical 32KiB blocks, which means no single block can be definitively owned by a single file. The argument was then that this bypassed copyright law, since just copying blocks would not be proof of copying. This question is also unresolved, but given the outcome of all file sharing sites in the past, it is doubtful that it would succeed in convincing a judge.
In the end that is what this is coming down to. What would a judge/jury say. All I know for certain is that the film and music industry will never accept an model that is trained on their products and that directly competes with their products by producing substitutes that are close or seemingly identical to the originals. They will not care a second if its similar to a search engine indexing. Unstable Diffusion is also a perfect example where politicians will likely do something if large companies start to generate money by producing porn that is trained on famous politicians, actors and celebrates.
For a search index, it clearly is transformative. A piece of code and a search index are night and day different in every way.
For a neural network it’s tricky and that’s why it’s a gray area. On the one hand, a neural network looks transformative because with a neural network I can do many different things that don’t involve any verbatim copying of the original work. If I ask ChatGPT to “write me a haiku about fishing on Mars” it’s not like it’s trawling through a database of copyrighted haikus and copying one someone already wrote about fishing on Mars. On the other hand generative NNs do sometimes spit out copyrighted works verbatim, which does show that there are pieces of copyrighted works inside - but that doesn’t mean that the whole thing is automatically infringing, for example courts could decide that just particular outputs are infringing whereas the weights and other outputs are not.
The model itself however is always a derivative work, it's an algorithmic representation of the training set, so it must abide by the license terms of that material.
For example, a karaoke machine might include public domain songs and you could use it legally for public performances of those works. But if the machine also includes unlicensed copyrighted songs, then the machine maker is guilty of copyright infringement for those tracks, even if a buyer of the machine can choose a non-infringing work. The ability to produce infringing works is sufficient to taint is as a whole, even if some user might not like those tracks and prefer the public domain tracks.
In the same way, an AI machine is tainted by unlicensed training data, even if it can be used in a non-infringing manner; the owner of the machine cannot operate it and offer its services with disregard to the ownership of the source material on which his machine is in fact based on. Conversely, even if some holder might grant the AI shop a license to use their material for training, that does not also automatically grant the users of the AI tool a license to create derivative works of those originals.
In some ways it is very transformative. We can easily identify the original from the new work, and the new work will have features and aspects which the original don't. From a fair use perspective the big question is if we want commercial competition between them. I suspect the answer would be no.
We could see courts decide that particular outputs are infringing. This was the defense used by the piratebay founders. There were Linux distros on the website, and users had the choice over what they downloaded. I would expect many more lawsuits if the courts came to that decision.
Does copyright law give openai the exclusive right to exploit the output of ai trained on my data ? (the model, the weights, etc..)
Since no court has ruled on the latter question yet, let’s do a choose your own adventure:
Say that OpenAI trained a language detection model. The output of the model is simply a single vector that indicates which language that the input was written in. During training they use your copyrighted code as training data.
Would you consider that to be infringement?
1) If yes: consider instead of using fancy and scary mathematics like “neural networks”, it is just tabulating and counting keywords. Is it still infringement?
1) If no: what’s different about a neural network that outputs code, vs a neural network that outputs a single vector? Perhaps it’s the output that is infringing, not the weights?
I've seen this analogy before. A NN, especially an LLM, is very different in method and outcome. If counting keywords allowed me to replicate copyrighted material, it would probably not be fair use. IANAL, but I imagine the fact that a NN can replicate or compete with the original work makes a difference.
Perhaps it’s like learning to play guitar by watching other guitarists, then releasing songs in the same genre.
Here is a very simple case. A spammer sends you text that has attached a license saying you may not use this text for any purpose other than to be read by a human. You flag this as spam and your spam filter updates its model weights using this text. Suddenly you are not allowed to do anything with your spam filter model weights other than read the weights yourself.
You have not chosen to receive that text, and therefore you are not bound by that license. It may mathematically seem to not make a difference, but legally it does.
You're applying way too much logic to a legal problem. If you ask a lawyer or judge about this, their first question will be "what intent was that source code mailed under, and were you the intended recipient?"
If someone mails you a bunch of source code by accident, and it's reasonably obvious to you that it was by accident (which it will frequently be, because who the f*ck mails source code around?), you may in fact be required to destroy it.
On the other hand if someone mails you the same code and you have reason to believe their intention was to spread it out no strings attached, yeah, you get the rights to use it however you want… except if the sender didn't have the right to do that to begin with…
P.S.: "no strings attached" is also something that is impossible in some jurisdictions, since what you're doing might be required to be a contract of some kind, and contracts require bidirectional considerations. But at this point you really need a lawyer to explain the actual situation…
P.P.S.: this is like that joke about writing on a brick "by accepting this brick through your window, you indemnify the thrower against all possible charges or damage resulting from this brick" and then chucking the brick through some storefront window.
(Before you object, my assertion without evidence is just as good as your assertion without evidence).
The next thing to discuss is if the derivative work is sufficiently transformative to be considered fair use without legal authorization from the rights owner. There is no easy analogy that can be made here, the type of derivation - transformation we talk about has no precedent in intellectual property law. My position to your challenge is that an AI text classifier/filter/recommendation engine is a sufficiently transformative derivation of the copyrighted works, whereas a general purpose machine that can produce works similar in style, content and character with the originals is not sufficiently transformative and should require authorization.
The way I propose we arrive at that conclusion, without any legal precedent, is one based on first principles, on the intent and final purpose of copyright law. It's a political philosophy position, namely that intellectual property is a social convention designed around the creation of a common good, it exists to promote "the progress of science and useful arts", general flow of ideas and knowledge, by creating an economic incentive for creators to produce and make public their work - as opposed to keeping it secret to control its distribution, or abandoning creation for other fields, both net negative outcomes that diminish the public good.
So when judging if the work of thinking machines is sufficiently transformative, we should ask: is what they output a net positive contribution to the common good of creation and widely available intellectual works, ideas or art? Is it at least not-negative? It's easy to make that argument with text classifiers, but much harder for something like Stable Diffusion. The algorithm it runs is completely dependent on human produced artworks, it cannot function without such an input and can't even produce a single creative bush stroke without them. Yet, the works it remixes using creative features of the originals can and indeed have already started to economically replace the work of original artists in the market place. So treating that derivation as fair use pushes society into a bad equilibrium, where artworks are less valuable and less likely to be produced, while the AI machine owner appropriates much of the economic value of the works it slurped in training. That's not 'fair use', and the AI machine as a whole is not 'fair use', even if some, or even all, of the works it produces could be considered taken individually, as fair use of the originals.
This will continue to be true for as long as human creators remain a key ingredient of the automated creation process. When and if a machine can start to paint after reading an university course on painting, then that would be indeed a fair use of those manuals.
I'm not so sure this is as obvious a conclusion as you think. Imagine for a moment an AI OCR program. If one goes to their local library and scans all the books there to generate the models used to OCR text, does that make the OCR model and application derivative works of the books? Does copyright give Tolkien's estate the right to prevent the distribution of AI based OCR if a published copy of The Hobbit was used in creating the model? Certainly with the right inputs, the model can be used to generate a verbatim copy of the work it was trained on, but is that sufficient to say that your OCR model is just an "algorithmic compression" of these books?
> If one goes to their local library and scans all the books there to generate the models used to OCR text, does that make the OCR model and application derivative works of the books?
there is a court case [1] addressing an even more infringing use case: scanning and OCR'ing books to produce a searchable database. that case turned on fair use, however, and not whether the database was a derivative work.
[1] https://en.wikipedia.org/wiki/Authors_Guild,_Inc._v._Google,....
The part that matters is that the model is being trained on the copyrighted features of the input, not the parts the copyright holder doesn’t care about.
Practically speaking I feel this is a strong hint that some degree of copyright laundering is taking place.
This does not matter for open source since anyone can see this info already.
You are presupposing that the company’s own code would somehow be a massive boon for the model, resulting in lower loss overall.
In reality, it would skew the model towards that company’s “mode” of coding which isn’t what “normal” programmers expect. In fact, they are most likely to expect the coding styles they learned from, and that is most likely to be found in public examples (GitHub, StackOverflow, textbooks, Reddit, etc.)
This argument is so silly to me. Anyone who has worked at a large enterprise, whether it’s Google, Amazon or Target, knows that company code is effectively guaranteed to be extremely hard to work with. This happens for organizational reasons and really the best thing to do about it is admit that it’s happening rather than pretend it’s all perfect.
I'm amazed you called that argument silly while countering with this.
Actually, we do see them do exactly that. Microsoft is ahppy to have a shared-source licence that gives away much of the Windows source code to universities.
The fact that they don't want to train their models on it says a lot.
If, as they claim, learning from existing materials does nto devalue those materials in any way, they'd chuck the entirety of the Windows source code at the LLM for training purposes.
The employees would still have a contractual responsibility about their use of the model weights.
If the model weights encode other copyrighted works literally enough then they may be copyrighted by the author(s) of the works, that is a gray area. But the training process itself is not authorship and doesn’t confer copyright.
I don't think that's so obvious. Why would it be so, any more than for humans who learn from material?
I mean, one might ask if your very comment here is a derivative work of the aggregate corpus of material you've previously read on the subjects of copyright, open source licensing, and AI. I suspect most of us would agree that it isn't so, but why treat the model weights of an AI so differently than the synaptic weights in your brain?
Therefore, in the legal sense, an algorithm does not "learn", despite any functional analogy you can make with human learning, because an algorithm is not a party to the social contract that established said law; its only "rights" are an extension of the legal right of its author/proprietor. Your "learning" right does not cover, for example, your tape player recording a performance and playing it back at later date to some commercial audience. You have a right to hear and learn the song, you can play it back from memory, but your tape recorder does not, it's a tool, just like your fancy AI machine.
This will continue to hold true despite any advancements in AI, up to the moment when synthetic entities will acquire distinct legal rights.
There is two different copyrights, one for the melody/text, and one for the recording. Sometimes they have different owners who fight. The most famous recent example is the Taylor Swift controversy I guess. She ended up re-recording some of her old songs so that she owns the rights to the new recording.
https://en.wikipedia.org/wiki/Taylor_Swift_masters_controver...
To give another example, even if I can walk or run in a park, my bot army with a million mechanical feet that all behave by analogy to the human foot can't also run through the park. Why should it be any different in the case of my AI derivation machine with superhuman memory and derivation ability?
So even if the courts find that AI training is fair use, and not derivation, that conclusion will not be based on the analogy with the way humans and machines learn. Nor will it preclude the writing of laws, by humans, explicitly redefining copyright to protect human creators from unlicensed AI training. The social contract is anthropocentric all the way down.
Are you saying there is actual case law / precedent establishing that, or is that just your personal theory? If the former, I'd love to see any such citations, as I was not aware of those developments.
Your "learning" right does not cover, for example, your tape player recording a performance and playing it back at later date to some commercial audience.
That's pretty much a straw-man here. I'm not talking about cases where an AI reproduces an existing work exactly. That is problematic from a copyright standpoint for both a machine OR a human.
You do not in fact have a right to play a copyrighted song from memory, any more than you have a right to play a recording, unless you're playing it for yourself. Just like you don't have a right to show a movie on a DVD you bought to others.
Because AI isn't human, and there is no credible argument that it's anything close to a human, and unless you do establish that connection, you can't just auto-apply the logic/intuition we've developed for humans to AI
What I'm talking about is closer to "you fire up your IDE (or Emacs) right now, and churn out 250 lines of code for some arbitrary piece of software. Is it a derivative work of every pieces of software whose source code you have previously look at?"
Note that I'm not referring to the case where the AI spits out code that is identical to code taken from another project. I'm aware that that sometimes happens, and that is obviously a problem, just like it would if a human did it. What I'm arguing is only that it probably should not be taken as a given that AI generated code is automatically considered a derivative work.
Here's a thought experiment: say an AI emits a single line of code tomorrow. You examine it, and then spend weeks, months, or even years searching all the open source code that's "out there". You fail to identify a line in any existing code-base that was clearly the upstream source for the line from the AI. So is that line a derivative work? If so, of what?
And I mean that to apply to humans as well as AI, because I'm not convinced that 'learning' is actually different in the two cases.
The presumption is entirely debatable. A human is not considered derivative work of the original works they used for training.
> Any other interpretation of the nature of copyright [...] which by definition, only covers human produced material
Maybe copyright needs to leave the 1980s and evolve to deal with AI too? Maybe you do, too?
No one has forced you to use humans as a comparison. A human is a citizen with other rights, and can own its own copyrights. Yet, you can still sue one for singing a song in front of other people. There were years of cinema that were distorted by the inability to have characters sing "Happy Birthday" to each other.
edit: Suddenly, fair use now covers the ability to reproduce copyrighted material almost verbatim, but only when the new method to do so takes tens of millions of dollars of computer time to take advantage of.
And copyright is doing its job just fine in this context; AI training committing Open Source license violations en masse is the problem here.
I'm all for copyright becoming substantially weaker or ceasing to exist, at which point AI training and lots of other things gets easier. As long as it does exist, however, AI training must respect it, and not become a copyright-violation laundering mechanism.
Almost all art is influenced by previous works, the only difference here is that the time horizon for a computer generating similar outputs is much, much shorter.
meanwhile, a program operates in a series of very concrete tangible operations over bytes.
was data of original works downloaded? yep. was that data processed? yep. was some kind of output based on that data created? yep. so what is that data, if not a derivative? and then, if some other data was created based on that derivative data - damn, that's a derivative of a derivative. is it not?
If I have a program that downloads an image, process the image, and simply returns a yes or no, single byte information, of if the image is blue or not, are you really going to call that derivative work?
Because this "is it blue" program does ever single thing that you brought up here.
And clearly my "is it blue" program is not derivative work.
if a person were to "do these steps" and "do creativity" in that way - as in, "downloading something" and doing a bunch of quantifiable, traceable operations, as part of their process - well, shit, that's still gonna be just the computer part of it. not 'human creativity' part. still. if there was that 'human creativity' in the loop of 'downloading and perusing a bunch of IP in a traceable way', it's the latter that would be questionable - and useable, for questioning of, for investigation, for lawyers. and unfortunately, computers and their "creativity" work pretty much entirely in that "quantifiable and traceable" way. the 'human creativity' could be chalked up to 'well i don't know'. 'program "creativity"' - very definite 'an executable did this and this, and spit this out'. and if it reproduces well, 'here's a memory snapshot, a complete step-by-step of the process'. can't do that with brains. very doable for software. it could be just a bunch of incomprehensible stuff, but it'd still be a complete byte dump.
"it would purely be the study of the physical world" - well, it's still a very much existing option. would it make a difference if that was 'the only option available' or just 'one of the ways'? and AI studies the real world as well, through photographs, and 3d scans, and so on. art is influenced, and those aspects can be pointed out across artists, with some artists readily admitting, 'oh, I was inspired by so-and-so'. people do all kinds of shit with art, and get told off or even sued. art can be forged, with people making something in style and trying to pass it as a work of different artist and sell it. which can be a crime. is that surprising? and AI services try to sell their outputs as well.
Which is like saying that if a person has ever read floss source then all projects they make must be floss...
Which we all know is absurd.
If your want to apply extant rules to AI then you have to actually think more than just superficially about the application bof the rule.
I believe Japan has actually passed a very permissive ai law basically allowing AI's to learn off copyrighted content as well. But any country that essentially bans AI learning in this way will simply fall behind.
No it's not. No judge in the US has ruled training to be automatically infringement.
> Therefore, the resulting model should abide by all the license requirements
Or it could just be ignored because it is not infringement.
> which by definition, only covers human produced material
You've conflated 2 things. It could be the case that the new work created by the AI does not have copyright protections.
But that is completely unrelated to if training on other works is infringement. Which no judge has said it is.
To all those commentators: You really need to understand how this works. There is a reason all the big tech companies are fanatically allergic to GPL software. It is worth the legal fee for the lawyer to walk you through all of it.
I would disagree with this. AI training is more like extracting information from data. Humans also extract information from data when learning.
If human have access to data to learn and after create product to sell I think same human should be allowed to use that data to train AI after use AI to create and sell product created by AI.
“By definition”? Your definition? or is that in the text of the law? Even if it is in the text of the law, are not corporations now legally people in the USA?
I think they are particularly vulnerable to this scenario.
Also I think in general that software licenses were designed ignoring the isomorphism of code. Code can be data depending on use.