SoylentNews
SoylentNews is people
https://soylentnews.org/

Title    GitHub’s Automatic Coding Tool Rests on Untested Legal Ground
Date    Friday July 09 2021, @12:52AM
Author    martyb
Topic   
from the we-violate-all-open-source-licenses-equally dept.
https://soylentnews.org/article.pl?sid=21/07/09/0039201

DannyB writes:

GitHub’s automatic coding tool rests on untested legal ground:

The Copilot tool has been trained on mountains of publicly available code

[...] When GitHub announced Copilot on June 29, the company said that the algorithm had been trained on publicly available code posted to GitHub. Nat Friedman, GitHub’s CEO, has written on forums like Hacker News and Twitter that the company is legally in the clear. “Training machine learning models on publicly available data is considered fair use across the machine learning community,” the Copilot page says.

But the legal question isn’t as settled as Friedman makes it sound — and the confusion reaches far beyond just GitHub. Artificial intelligence algorithms only function due to massive amounts of data they analyze, and much of that data comes from the open internet. An easy example would be ImageNet, perhaps the most influential AI training dataset, which is entirely made up of publicly available images that ImageNet creators do not own. If a court were to say that using this easily accessible data isn’t legal, it could make training AI systems vastly more expensive and less transparent.

Despite GitHub’s assertion, there is no direct legal precedent in the US that upholds publicly available training data as fair use, according to Mark Lemley and Bryan Casey of Stanford Law School, who published a paper last year about AI datasets and fair use in the Texas Law Review.

[...] And there are past cases to support that opinion, they say. They consider the Google Books case, in which Google downloaded and indexed more than 20 million books to create a literary search database, to be similar to training an algorithm. The Supreme Court upheld Google’s fair use claim, on the grounds that the new tool was transformative of the original work and broadly beneficial to readers and authors.

Microsoft’s GitHub Copilot Met with Backlash from Open Source Copyright Advocates:

GitHub Copilot system runs on a new AI platform developed by OpenAI known as Codex. Copilot is designed to help programmers across a wide range of languages. That includes popular scripts like JavaScript, Ruby, Go, Python, and TypeScript, but also many more languages.

“GitHub Copilot understands significantly more context than most code assistants. So, whether it’s in a docstring, comment, function name, or the code itself, GitHub Copilot uses the context you’ve provided and synthesizes code to match. Together with OpenAI, we’re designing GitHub Copilot to get smarter at producing safe and effective code as developers use it.”

One of the main criticisms regarding Copilot is it goes against the ethos of open source because it is a paid service. However, Microsoft would arguably justify this by saying the resources needed to train the AI are costly. Still, the training is problematic for some people because they argue Copilot is using snippets of code to train and then charging users.

Is it fair use to auto-suggest snippets of code that are under an open source copyright license? Does that potentially bring your code under that license by using Copilot?

One glorious day code will write itself without developers developers.

See Also:
CoPilot on GitHub
Twitter: GitHub Support just straight up confirmed in an email that yes, they used all public GitHub code, for Codex/Copilot regardless of license.
Hacker News: GitHub confirmed using all public code for training copilot regardless license
OpenAI warns AI behind GitHub’s Copilot may be susceptible to bias


Original Submission

Links

  1. "DannyB" - https://soylentnews.org/~DannyB/
  2. "GitHub’s automatic coding tool rests on untested legal ground" - https://www.theverge.com/2021/7/7/22561180/github-copilot-legal-copyright-fair-use-public-code
  3. "Hacker News" - https://news.ycombinator.com/item?id=27678354
  4. "Twitter" - https://twitter.com/natfriedman/status/1409914420579344385
  5. "ImageNet," - https://qz.com/1034972/the-data-that-changed-the-direction-of-ai-research-and-possibly-the-world/
  6. "published a paper" - https://texaslawreview.org/fair-learning/
  7. "Google Books case" - https://www.nytimes.com/2016/04/19/technology/google-books-case.html
  8. "Microsoft’s GitHub Copilot Met with Backlash from Open Source Copyright Advocates" - https://winbuzzer.com/2021/07/06/microsofts-github-copilot-met-with-backlash-from-open-source-copyright-advocates-xcxwbn/
  9. "CoPilot on GitHub" - https://copilot.github.com/
  10. "Twitter: GitHub Support just straight up confirmed in an email that yes, they used all public GitHub code, for Codex/Copilot regardless of license." - https://twitter.com/NoraDotCodes/status/1412741339771461635
  11. "Hacker News: GitHub confirmed using all public code for training copilot regardless license" - https://news.ycombinator.com/item?id=27769440
  12. "OpenAI warns AI behind GitHub’s Copilot may be susceptible to bias" - https://venturebeat.com/2021/07/08/openai-warns-ai-behind-githubs-copilot-may-be-susceptible-to-bias/
  13. "Original Submission" - https://soylentnews.org/submit.pl?op=viewsub&subid=49773

© Copyright 2024 - SoylentNews, All Rights Reserved

printed from SoylentNews, GitHub’s Automatic Coding Tool Rests on Untested Legal Ground on 2024-06-17 00:11:37