3 ms·
> "As I mentioned earlier, we trained (and continue to train) CodeWhisperer on billions of lines of code drawn from open source repositories, internal Amazon re
by ThrowawayR2 4y ago
> "As I mentioned earlier, we trained (and continue to train) CodeWhisperer on billions of lines of code drawn from open source repositories, internal Amazon repositories, API documentation, and forums."
The really interesting thing about this is the implication that Amazon's beefy legal department has come to the same conclusion as Microsoft's similarly beefy legal department: that using publicly accessible but not necessarily permissively licensed code to train Codewhisperer/CoPilot to spit out code is defensible in court.
- naikrovek 4y agointeresting, but not surprising. neither company would do this if it put them at extraordinary risk.
- belter 4y agoAn argument I am looking forward to see them use in court, if they ever use my code...
- naikrovek 4y agoA) "they" don't use your code. individual Copilot users might. B) the first setting in Copilot is whether or not to use code snippets verbatim. if a user turns that off, they won't be copying anything directly, even if it is a single-line function. C) I seriously doubt that you care enough about code you put in a repo on GitHub being used by someone else to go all the way to court. D) in the unlikely event that someone does steal your code, you would need to find out about that. E) you don't need to use Copilot to steal code. F) you would be going up against Microsoft's lawyers, after they have vetted the legality of this tool and let the product go to market.
- belter 4y ago>>A) "they" don't use your code. individual Copilot users might. They are selling a product, that was trained on: "... It has been trained on natural language text and source code from publicly available sources, including code in public repositories on GitHub..." No mention from their part what licenses that "publicly available" code is now using, including about usage for other purposes. >>B) the first setting in Copilot is whether or not to use code snippets verbatim. if a user turns that off, they won't be copying anything directly, even if it is a single-line function. The scenario where a user/company did NOT use my code...Is NOT one I will be suing for. >>C) I seriously doubt that you care enough about code you put in a repo on GitHub being used by someone else to go all the way to court. Redis, Linux Kernel code are on GitHub. Does that mean they don't care how the code is used? >>D) in the unlikely event that someone does steal your code, you would need to find out about that. Yeap. We only hear about criminals that get caught...Technically, you did not commit a crime until evidence comes up. Who knows, maybe the stolen code gets fed up into CoPilot making my lawyers job easier... >>E) you don't need to use Copilot to steal code. Yes. The lawsuit for stealing code using Copilot will be one, the lawsuit for stealing code via other means would be another one. Somehow the first one might make it easier to find lawyers willing to work on it. Just when they hear it's a Microsoft emporium gold pot, they have the chance to raid :-) >>F) you would be going up against Microsoft's lawyers, after they have vetted the legality of this tool and let the product go to market. "Your honor, we have very rich and smart lawyers. Our lawyers are so good, that if something is vetted by our legal department cannot possibly be illegal...' _> SAID no lawyer in court ever... The Wikipedia page, for criminal and patent litigation Microsoft has been involved and lost in the last years, is 22 pages long...Microsoft supposedly top legal department loses lawsuits all the time. "Microsoft Loses Lawsuit over Unwanted Windows 10 Upgrade": https://rcpmag.com/articles/2016/06/27/microsoft-loses-windows-10-suit.aspx https://rcpmag.com/articles/2016/06/27/microsoft-loses-windo... "Microsoft Loses Patent Lawsuit, Must Pay Rival $120 Million": https://www.latimes.com/archives/la-xpm-1994-02-24-fi-26671-story.html https://www.latimes.com/archives/la-xpm-1994-02-24-fi-26671-... I think I will try for a jurisdiction with a Jury :-) and start by reminding the Jury of the time Microsoft stole the domain from a teenager called Mike Rowe, with his own software business, because his domain was: www.MikeRoweSoft.com Drop the domain on your browser, and see where it redirects... "Microsoft’s Ridiculous Settlement With a 17-Year-Old": https://tealfeed.com/microsofts-ridiculous-settlement-17-year-old-467e1 https://tealfeed.com/microsofts-ridiculous-settlement-17-yea...
- charcircuit 4y agoThe point of the program is for it to write its own code. You have seen code in your life, but not everything you write is copying what you have seen. It gets more problematic when the AI model is just regurgitating code from the training set which is when you may need to be concerned about the license of the code it is copying.
- belter 4y agoThat is one of the two concerns. The other concern, is that will be a paid product. It's users decide to pay or not, based on the quality of the code suggestions. The quality of the code suggestions are tied to the quality of the training corpus. The manufacturer of the product needs to get permission, explicitly, or implicitly via a license associated with the code corpus, to use the training set on the building of the commercial product. Speaking exclusively for US jurisdictions, so far courts seem to have been accommodating to the so called discriminative algorithms, but the jury is still out, for the so called generative algorithms. [1] Instead of examples like Copilot or Codewhisper producing code, let's think of examples like some of recent advances using Convolutional Neural Networks [2] What will the Music Industry or Cinema Industry do, if a company uses the Corpus of Music or Movies without asking for further permission? For example, to produce a commercial product, that would allow a user, to create music on the style of Pat Metheny, AC/DC, Abba, or a Cinematic experience on the style of Lord of the Rings? Surely both the user and the product vendor would be called upon it? [1] "The Most Important Court Decision For Data Science and Machine Learning": https://towardsdatascience.com/the-most-important-supreme-court-decision-for-data-science-and-machine-learning-44cfc1c1bcaf https://towardsdatascience.com/the-most-important-supreme-co... [2] https://arxiv.org/pdf/1508.06576v1.pdf https://arxiv.org/pdf/1508.06576v1.pdf
- charcircuit 4y ago>What will the Music Industry or Cinema Industry do, if a company uses the Corpus of Music or Movies without asking for further permission? As a composer or cinematographer you don't have to ask for permission to learn from other people's work, so why should a computer? (rhetorical question)