123 points · by gumby · 3y ago · 177 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.
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?
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.
(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.
The employees would still have a contractual responsibility about their use of the model weights.
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...
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.
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.
I sincerely hope that one of the many court cases produces a verdict that says AI-generated code is, in fact, subject to the licenses of the inputs. Then there will be a lot of screaming and wailing, as people go "but how can we train AI if we have to respect licenses?!". And then people will figure out how to actually respect Open Source software licenses (and, for that matter, proprietary ones).
In Github's case for example, Github's TOS already includes a clause that if you upload code there, you grant Github a license to use the content to run Github's services... and copilot is one of them.
https://docs.github.com/en/site-policy/github-terms/github-t...
Such clauses are commonly found in social media where users can upload content. Think of imgur, instagam, reddit, etc. OpenAI might buy reddit, and declare ChatGPT a product of the reddit service, then all discussions on reddit could be used for the training of ChatGPT... while open models can't access the data.
You can't grant permission for something you don't own. Uploading a copy of a GPLed work to GitHub does not grant GitHub permission to ignore the GPL. (It might grant GitHub permission to ignore your copyrights in that work, maybe, though it seems like a stretch to argue that "run Github's services" includes "give other people derivative works of all your code"; arguably that ought to be too broad for a contract of adhesion. There's case law about what you can and can't do in a unilaterally imposed contract such as a ToS; a ToS can't say "you owe us $100 if you browse more than twelve pages" either, and codebases can be worth far more than that.)
If GitHub started saying "one of our services is to give people access to copies of your code with the licenses and copyright notices removed", the GitHub ToS wouldn't suddenly make it acceptable to run that "service".
But I agree with part of your underlying point. All AI models should respect Open Source licenses. It's a problem if some try to work around that.
How is AI "reading" code different from me reading code? Is the difference the AI's ability for perfect memory?
I can read open source code, (even GPL) and not have all future code I independently write be subject to that license. I don't think anyone would argue that I immediately "forget" any OSS code that I read, so it's becoming part of the structure of my brain (and potentially influencing future code I wrote), but unless I'm linking to the code or copying pieces out, verbatim, I'm generally in the clear. Of course there are some sticky situations clean-room, reverse engineering, but those seem like pretty narrow examples.
(I’m not really interested in arguing whether that’s all they do, or whether it’s the purpose of LLMs—those details are just a distraction from the original question: what makes LLM training different than a human reading code.)
If the model has memorized the training set and can reproduce it verbatim when prompted, then it should be incumbent on the AI owner to prove that it does not reproduce copyrighted code when it is not explicitly prompted.
I think the most likely outcome will be to treat AI just like people. They're allowed to learn from any code they can see, but that doesn't mean that if they reproduce a copy from memory that it is somehow free of its original copyright.
That's very consistent with how copyright law already works.
This will leave AI users in a sightly awkward position where they are responsible for figuring out if they unknowingly used AI to unknowingly copy code, but it's not like that can't happen already - as soon as you hire a programmer you might be unknowingly allowing copied code into your product.
By doing so with the explicit intent of building derivative products from it, and at massive scale.
An LLM on the other hand generally works off of a model that was trained first, and that model can be saved to a file and read out later. As a result, it's a derivative work that we can examine, copy, share, modify and do all the things with that we generally attribute to something being a Work. The question on if binary output from a program can be copyrighted is somewhat unclear, but from what I've heard legally (not legal advice, I Am Not A Lawyer), it seems to be the case unless you explicitly say it's not[0].
There's a few other things to consider like how you, as a human, can make the conscious decision to avoid specifically replicating GPL code that you've seen if you're not allowed to use it (whether that is by restructuring the code, doing the same techniques in a different language, or the heaviest example which is clean-rooming it). AIs don't have the ability to make that distinction (and to my understanding due to how they work, the only way you can meaningfully avoid it is if you ensure that the entire model is compliant to avoid the AI going off on it's own tangent and making the decision to include incompatible code.)
From a more practical perspective - Copilot will happily spit out and apply the wrong license to Quake IIIs fast inverse square root algorithm function. It's GPL licensed code but it IIRC claimed it was BSD licensed? That alone would constitute a violation and it'd be weird to not point at the people who trained the model that allowed it to make that choice.
To be fair, right now a lot of this is up in the air and all we have to go on is kinda wishy-washy guidance from copyright offices (which is mostly just refusing registration on the basis that a copyrighted material has to be made by a human, not by a machine). There's a couple of ongoing lawsuits specifically about Copilot that are still pending and from what I last heard, the judges aren't very impressed by the defense of GitHub/MSFT/OpenAI. The approach also greatly differs per country/governing body - Japans government has for example given blanket permission for non-commercial AI training, while keeping a strict eye on anyone trying to use it for paid services, while the EU is passing legislation that seems to mostly lean towards "it's copyrighted, that's now your problem to get in line with it", without outright saying it yet.
[0]: This is the main reason why for FOSS, the Creative Commons License usually is not seen as a good pick outside of assets, because it can interfere with distributing compiled versions of your code.
This is incorrect; it doesn't matter whether it's commercial or non-commercial, and you can use anything as training data regardless of copyright. See the amendment of the copyright law from 2018.
Such a strict interpretation of copyright would kill Open Source, as any attempt at reverse engineering would be disallowed by that.
Furthermore it would mean that only big and rich companies would have AI, as they can do behind closest doors whatever they want with AI, Open Source licenses only cover redistribution after all, which internal use doesn't fall under. Meanwhile any attempt at publicly available open AI models would instantly get killed by copyright claims.
Not at all, for multiple reasons. Reverse-engineering already has that problem: if any of the people who do the reverse engineering also work on the code, it's entirely possible for some of the reverse-engineered code to end up in the new code, making the new code a derivative work of the original. There are standard ways to carefully avoid that: https://en.wikipedia.org/wiki/Clean_room_design
(Also, reverse engineering is a small fraction of Open Source.)
> Furthermore it would mean that only big and rich companies would have AI, as they can do behind closest doors whatever they want with AI, Open Source licenses only cover redistribution after all, which internal use doesn't fall under.
The moment they distribute anything written by the model, the same problem applies. And if they don't redistribute anything written by the model, then sure, they can do anything they like, just as you're free to internally combine GPLed and proprietary code if you never ship the result. (Note, though, that many companies have figured out it's a bad idea to do this, because it creates a combination you cannot ever distribute, and circumstances might change in the future to lead you to want to distribute it.)
> Meanwhile any attempt at publicly available open AI models would instantly get killed by copyright claims.
No, they just need to actually pay attention to the licenses of work they train on. Train on permissively licensed code, document every codebase trained on, and record the licenses and copyright notices.
I think this is an incredibly short sighted take.
Training a modern state-of-art LLM needs terabytes of training data. It's probably not going to be practically possible to actually license this much data. And even if we assume it will be then the only entities which will be able to do it are the world's biggest corporations.
So if AI models are a derivative work of their training data then as a consequence the whole field will mostly die overnight, with perhaps only a few of the world's richest corporations being able to play with this space.
I'm sure you're aware of the slew of really cool open/free models that are out there, which you can download today and play with on your local machine. Like Stable Diffusion. It was trained on all rights reserved data. Now it's going to be illegal. Or OpenLLaMA/Falcon/MPT/etc. Also trained on all rights reserved data. Illegal too.
Have you heard about the Pile dataset[1]? It's the most popular open dataset for training LLMs, and essentially every non-proprietary LLM is trained on it, or on parts of it. Do you know that it contains 100GB of all-rights-reserved pirated ebooks? If AI models are a derivative work of their training data then all of those models are now illegal.
[1] - https://pile.eleuther.ai
This would completely kill any chance of having good free/open models. Sure, you could then grab all of GPL'd code, train a model on that, and maybe have a decent working GPL'd model that can emit GPL'd code. There might be enough data for that. But that's it. What about other kinds of models? Image generation, chat bots, personal assistants, story writers, etc. There's just not enough freely licensed data (and probably will never be) to train those.
We must democratize this space. It's already insanely expensive to train state-of-art LLMs; we don't need to make it even more expensive. It's not going to stop OpenAI. It's not going to stop Microsoft. They'll figure it out. What it'll stop is everyone else, and will make this technology completely out of reach for everyone who isn't an insanely rich multinational corporation.
With all due respect, to everyone who's complaining about Microsoft using your code to train Codex, I'll be blunt: you're advocating for collectively shooting all of us in the foot. I don't want to live in a dystopia where only huge corporations will have access to cutting edge AI technology, so please stop pushing in that direction by advocating for more draconian copyright just because you're butthurt that Microsoft/OpenAI used your code as training data without asking for permission.
Big corporations are not the only people doing this; the little guys (e.g. EleutherAI) who release free and open source models do it too. If you try to block the big bad evil corporation from doing it you'll also block the little guys. The major difference here is that the little guys will get completely screwed by this while the corporation has the cash to try to get around it.
I'm well aware that this is widely done by large and small entities alike; I'm not just concerned about the practices of large companies, I'm also concerned about small ones, and individuals.
This is not "more draconian" copyright; this is not a change to copyright at all. This is the same copyright we already have, equally enforced for all copyright holders, large and small. You want to "democratize" this space? Get rid of copyright, and a lot of things become better and easier, not just AI.
I don't want the dystopia where copyright still exists for large publishers and studios and proprietary software companies to prevent sharing and remixing things, but at the same time all the small and Open Source entities don't get to set their own terms because AI will just remix them away.
Do you think you'd get away with training an AI on a bunch of animated Disney movies, and asking it to generate new images in that style, and using the result in commercial endeavors? Or is it just the myriad of smaller copyright holders, like independent artists, that you're comfortable stepping on?
> It's not going to stop OpenAI. It's not going to stop Microsoft. They'll figure it out.
Will they? If there isn't, in fact, a legal solution, they're not in any better shape than anyone else. If anything, they're in a worse position, because they have deep pockets for potential lawsuits, while non-commercial efforts tend to not be interesting targets to sue (at most, they get shut down, and others pop up in their place).
Question your assumptions about the world that results from requiring AI to respect Open Source licensing and other small copyright holders such as independent artists or online comment/story authors. It's not a corporate dystopia. It's a level playing field.
Yes. Creating a new animation that is inspired by Disney's style is clearly fair use. Otherwise Studio Ghibli would be in trouble.
Maybe it's not evident to non-practitioners in the field, but to every serious practitioner it is obvious that you can't train a state-of-art model without a lot of data (at least right now without some colossal breakthrough), and that actually licensing that data is not really practical (because you need terabytes of it), and it's definitely going to be impossible for anyone who isn't a megacorporation.
Can we agree on this point? If not can you please explain how do you think that e.g. a single individual like me will be able to train e.g. an image diffusion model (so I'd need a few terabytes of images) if I have to respect the licenses of every image in the training set?
Okay, so I hope we can agree that it won't be possible? So now here's the question: do we want such AI models to exist, or do we want to make them illegal (and maybe available only to huge megacorporations)? These are our only two choices, which logically follow from the requirement that we need a lot of data for training.
What I'm advocating for is that we should allow such models and that they're beneficial to us as a society, hence the "and we must be able to do this" in my argument.
I'm starting with the assumption that I want these models to exists and that everyone should have access to them, and then go backwards from that. What you're starting with is the assumption that the training data copyright should be respected, and you're going backwards from that. But these two graphs are not connected, which is why we can't agree.
Or in other words, what you're (indirectly) advocating for is to make those large models effectively illegal. This is, of course, a valid stance, and if you want to take it then you're free to do so. But that's objectively what you're proposing in practice, and personally I disagree with it.
> Do you think you'd get away with training an AI on a bunch of animated Disney movies, and asking it to generate new images in that style, and using the result in commercial endeavors?
Yes.
Just the same as if I'd draw an image in the style of an animated Disney movie by hand.
In both cases I'll be sued for trademark infringement if the image's of the Mickey Mouse though.
In many cases the current "inequality" of how law is applied to individuals and to megacorporations has little to do with the law itself, and everything to do with how rich the megacorporation is. Try to set up an apple orchard and pick an apple as a logo[1] and tell me how it goes. The law explicitly states that another company, say one which produces computers instead of actual apples, has no merit here, but alas they have deep pockets, so here we are.
[1]: https://www.wired.co.uk/article/apple-vs-apples-trademark-ba...
> Question your assumptions about the world that results from requiring AI to respect Open Source licensing and other small copyright holders such as independent artists or online comment/story authors. It's not a corporate dystopia. It's a level playing field.
Well, let's see, for the sake of argument let's assume that the current widely believed legal status quo is true. (That is, that you can train a model on any data regardless of copyright because it's fair use. Although in my country that's explicitly allowed by law so here we don't have to assume anything.) Right now OpenAI can scrape 1TB of data off the Internet and legally train a model. I can also scrape 1TB of data off the Internet and legally train a model. And it can be any data, not just open source programs and content produced by small copyright holders. Is this not a level playing field?
Are you seriously suggesting that having to pay billions of dollars to license the training data necessary to train a model is a level playing field? I guess if nobody will be able to do it then it will be, in a way, a level playing field; I just fear that entities with enough money will be able to license enough data anyway and then the rest of us will end up with nothing.
I think if anything, this helps to demonstrate the absurdity of ancient copyright law in our modern world. I would rather move in the direction of abolishing copyright rather than in the direction of strengthening it.
As do I, but this is not expanding copyright. This is saying that as long as copyright exists, AI model training has to respect it too, and can't be a laundering operation for license violations. Otherwise, you're giving companies building AI extra permission to ignore Open Source licenses and small copyright holders (e.g. independent artists, authors of stories/comments/text on the Internet), which is an asymmetry in favor of companies with the resources to train huge models.
I'm all for abolishing copyright, and I think it is absurd. What I'm against here is the asymmetry of keeping all the harms of copyright around while letting AI training violate it.
The modified MIT license: https://github.com/treykeown/arguably/blob/main/LICENSE.txt
The file with the header: https://github.com/treykeown/arguably/blob/main/arguably/__i...
The original intend was to make the source code available, done by distributing the compiled program. With SAAS companies (FAANG...) can just use open source on the servers, never distribute their program, only the output. Therefore not requiring making their changes available to the public.
If Facebook released all its all its source code tomorrow, nothing would change, they are still the ones controlling the server and controlling your data. You being able to run your own version of facebook.com is meaningless when all the data is still locked behind the actual facebook.com, you just have a useless empty server full of nothing.
The one document that actual covers the flow of data is the GDPR, but that's a European law, not a Free Software license. Good for Europe, but if some Free Software developer in another country wants to grantee their endusers the same amount of freedom as the GDPR, they have do DIY their own license, as there is nothing ready made they can stick on to their program. Furthermore the GDPR doesn't go far enough, e.g. the ability to export data out of a service is great start, but the GDPR allows that process to take up to 30 days, making it useless for any kind of real time interaction between services. A "Free Data" license could go much further than what the GDPR offers and try to make it so that data can actually freely flow between services instead of being locked behind one.
Theoretically, things like Diaspora, Friendica, Hubzilla do exist, but transforming and marshalling the potentially incompatible data is an extra hurdle. In order to migrate, users have to both overcome the network effect and abandon (retain in archive) the history of their activities.
The first version of the AGPL dates from 2002.
See: Why Open Source Misses the Point of Free Software
https://www.gnu.org/philosophy/open-source-misses-the-point....
> The terms “free software” and “open source” stand for almost the same range of programs. However, they say deeply different things about those programs, based on different values. The free software movement campaigns for freedom for the users of computing; it is a movement for freedom and justice. By contrast, the open source idea values mainly practical advantage and does not campaign for principles. This is why we do not agree with open source, and do not use that term.
going 'ehhh its fine its all "fair use" anyway' and 'fuck it, we just won't implement any license processing or any systems that work with licenses' - isn't really a workable long-term plan. mostly because it's just not a solution. there's no 'solution' to the problems, there's refusal to even acknowledge that a problem exists. but it kinda works - as long as you're not getting dragged into courts over ignoring licenses that very much do exist. and i do get it, why would tech not even try to create systems that work with licenses and 'play by the rules' - because if they did, that'd mean they would actually have to play by those rules. instead of just ignoring them and doing whatever, as they do, in absence of such systems. but like, that's not a workable business. licenses are money. intellectual property is money. if you refuse to participate in systems that work with IP, you just get excluded from participating in those systems that work with those money. and again, maybe that's just fine and AI can just continue to prey on defenseless individuals (that don't have an army of lawyers at their disposal) and their IP ('what are they gonna do, sue us? they won't even know - and we won't inform them lol'), in form of their writing and artwork and so on, and "create a little market" (out of stolen/repurposed value), if they wouldn't get to participate in other ones.
There is still some risk that AI is used to circumvent copyright by feeding code you down own into the AI and have it rewrite it in a way that looks original. That however still requires a human with intend, the AI won't clone any substantially large program just by accident. This "risk" also goes both ways, just as AI can be used to "steal" Open Source, Open Source projects can use AI help to automate, reverse engineer and decompile proprietary code and data formats. So I consider that a win.
And of course we are still very early days, AI will get a lot smarter and the accusation of copying will get ever more baseless. Even with StableDiffusion, where you can clearly see the impact the training data has on the final result, you'd have a very hard time finding any images that would violate copyright, as it's really just remixing ideas and concept.
I really don't see how Open Source licenses can evolve here to address the problem. In the long run AI will make copyright as we know it largely meaningless.
My view is that it's good to allow AI training to use your code. This democratises AI models, otherwise AI will be the exclusive preserve of wealthy corporations. So I say, let's license our code under permissive, no attribution licences!
Encourage the use of something like an AI.txt in git repos that either gives model builders permission to use the repo contents as training data, or not.
Model builders need to take reasonable care to avoid incorrectly using training data that they don’t have the rights to use.
I have been using GitHub CoPilot since the beginning, I love it both with Emacs and VSCode, and I would allow my zillions of GitHub repos to be used as training data.
I have published all of my recent books under a Creative Commons License, and I encourage reuse when allowed in derivative works. That said, I don’t think it is possible to get permission from the zillions of web, books, and articles authors to allow their writing to be used for model training - but, LLMs provide so much possible value to society so I think we need lenient copyright and reuse laws.
I am skeptical of a few tech companies controlling AI, but my recent experiences using open models have been promising. (I have been running Vicunu 33B for research for my new book Safe For Humans AI). I see a bright future for Open Source (I choose Apache 2 and GPL licenses, but everyone gets to use what they want for their own stuff) and increasingly powerful Open LLMs.
Many licenses are reasonably clear that this kind of use is not acceptable, as is easily demonstrated by these "AI"s frequently producing exact matches without license statements. Which is unambiguously not allowed by many licenses. The legal case is pretty straightforward, there just needs to be some high level precedents set for smaller courts to follow, and that takes time and money to push through.
Who, exactly, will be penalized for the output? ...that I can kinda see going to either party. But regardless it'll eventually have a chilling effect on training on legally-questionable data. We're just still in the chaotic early days and the hammer hasn't fallen yet, and there's a decent chance the money to be made will exceed the penalty (which is crazy, but seems to be the norm).
It's either that or abandon all IP protections, and that seems less likely to happen.
Demonstrations that AIs can spit out exact copies are helpful, but misleading; that could lead down the road of "we put in filters so it can't ever emit an exact copy", and that's not sufficient. It's also a license violation to train an AI on Open Source code, generate "new" code from that model even if it's not an exact copy, and ignore the licenses of the input.
License violations don't suddenly become acceptable just because you're violating a million licenses at once.
That's not exactly a given that we can simply take as true. Of course that's borderline a trite tautology about any legal issue, but I'd argue that this is even fuzzier than usual. If a human writes some code, after having seen a given corpus of code previously, the "new" code might or might not be a derivative work of that corpus. It's not clear that replacing the human with an AI somehow changes the equation so categorically that it becomes automatic to consider the output of the AI a derivative work.
License violations don't suddenly become acceptable just because you're violating a million licenses at once.
No, but if either a human or an AI emits a given line of code, and that line of code can't be shown to have been cribbed from some corpus of existing code, or to be substantially similar to such, then why wouldn't it be considered original work in both cases?
See below: there are good reasons for an AI LLM to be considered categorically different than a human for copyright purposes.
> No, but if either a human or an AI emits a given line of code, and that line of code can't be shown to have been cribbed from some corpus of existing code, or to be substantially similar to such, then why wouldn't it be considered original work in both cases?
For a work produced by a human, the burden of proof is on someone claiming that the work is a derivative work of something the human read. And in general, humans without photographic memories or a specific work open in front of them don't tend to have the ability to produce any works verbatim, though some might be able to produce sufficiently similar works to raise questions of whether they're derived works. There's also a certain unstated presumption that human learning (as opposed to human memorization or copying) doesn't constitute a derivative work, and relatedly, that a human brain isn't copyrightable so it can't be a derivative work of anything. That unstated presumption likely also touches on unstated core values about human brains, creativity, and the obvious fact that everything a human does (including the creation of creative works) is based on that human's experiences. If you write a book, you've learned from all the books you've read, but that doesn't make your book a derivative work of every book you have ever read; if people saw that outcome, they'd consider copyright law incorrect rather than accepting it.
An AI LLM, on the other hand, is (unless some court or law changes this) a derivative work of its training data. If you take off any after-the-fact filters for "don't generate a copy of any of the training data", an AI LLM can easily recite its training data, providing further evidence that the AI LLM is a derivative work of that data. The burden of proof is easily met. An AI LLM does have a photographic memory. An AI LLM hasn't just learned ideas about what makes a good book, it has learned the complete text of an extensive number of books. And there's no particular reason for us to have any of the same values about human learning apply to an AI LLM, not least of which because an AI LLM is in fact copyrightable and self-evidently a derivative work.
They might actually, at least in the US. I'm not sure how the laws and judgements are going happen/change in the future, but it's possible there will be some "quanta" of copyrighted work so that any fragment smaller than that will get rounded down to zero, so even if a work was 100% made from 1_000_000 "fragments", and somehow you could figure that out from the model, the result would be considered 0% derived/copyrighted, as well as being 0% copyrightable, as it's AI generated.
"Your outdated, overreaching open source license doesn't permit someone else to nipping your code without attribution in training their code-genearating AI. You need to get with the program."
For what benefit? Or else what? People who use the software in the normal way will move on to some other software?
1) Restrict training to code under a specific documented set of acceptable licenses (permissive Open Source licenses).
2) Document the entire training set, and provide a file containing all the licenses and attributions.
3) People using code emitted by the LLM would then need to respect the union of all the licenses (e.g. MIT + BSD-2 + BSD-3 + Apache-2.0 + ...).
2. Why making a difference between AI and HI (Human Intelligence)?
3. Given the fast development in the field, when does the difference made above (if any) start being outdated and unrealistic and how do we future-proof against this?
Regardless of perhaps more philosophical differences around whether something can or can't create something new, there's a practical difference.
Humans learn slowly, and can't be replicated. AIs can be trained once and used in a billion places. The speed and replication makes things different in a very practical sense, even if there's no clear line between them.
Because you can't copyright a human brain, and because humans (unlike machines) can themselves create works subject to copyright.
The practical answer is that the copyright office refuses to register AI generated works, and you can't sue for copyright infringement without valid registration under Title 17.
The pencil is not a derivative work of a pile of copyrighted material.
> Why does one produce something copyrighted why the other doesn't?
There's existing case law that non-human entities (e.g. animals) can't create copyrightable works. And in the case of an AI LLM, the AI LLM itself is a derivative work of its training data (as evidenced by the fact that it can by default spit out training data verbatim, even if it has had after-the-fact filters added to prevent such responses).
Don't train AI on code if you can't follow the license.
Copyright no longer makes sense. The sooner everyone comes to terms with this fact the better off we'll all be.
We all know the issues with AI generated code. Unless you're doing absolute boilerplate code (getters/setters in java, defining interfaces for existing implementations etc) AI is worse than useless... Why is it worse than useless? Because it pretends to solve your problem while introducing hidden failure modes. Lete give you an example.
I wanted to evaluate Chatgpt so I asked it the following question (paraphrasing)
- "can one set up alerting based on url request retrieval result in aws without servers".
- It answers "certainly, you just need to create an aws lambda function, then register It with synthetic canary feature of cloud watch, set up alarm and it's done (a list of exact steps follows)".
On the surface this sounds plausible so I decided to go along. I tell it to provide the code for the lambda function in python. It did produce basic code that retrieves a url and exits returning true/false. However, one can't register existing AWS Lambda functions using just python with synthetic canary. One has to open synthetic canary setup and create a new function there that uses a special execution environment that includes a chromium browser, selenium (For web Use automation) etc. This was contrary to the instructions. So that's a fail no 1. Also if I can run a much cheaper pure python env. Why would I use selenium/chromium.
So I ask it, "adjust your recommendation not to use synthetic canary feature". It responds "certainly, you just have to alert on the metric, here is a new python code that submits a metric, remember to update your IAM role to give it permission to put cloud watch metrics". Wow, I think, that's a pretty nice comprehensive answer.
But then I look at the code and it basically requests the url, has a timing thing surrounding it(I asked to include latency metric) then submits two metrics, latency and "worked" that is 1 if we get http 200,and 0 on anything else. Theoretically fine, but what if the website disappeared completely? Well then the lambda function would just timeout never submitting it's result and the alert chatgpt proposed wouldn't catch it as it was configured to treat missing data as missing. When I point that out and ask for max latency timeout Chatgpt says "sorry, you're 100% correct,let me adjust my answer" and it does putting a try/catch around it handling the error and timeout.
So following that I wonder how many people could be caught causing huge problems to themselves by putting such code into use without understanding how it works.
Does it make lives of people that know how to code, but would have to Google first how to do some specific thing? I'm not sure. I'd rather see a stackoverflow answer with an example code doing something similar, then make my own than get an answer that contains such obvious bugs.
Still I'm a big fan of using AI, just not for writing code.