All AI-generated code should be Open Source

All AI-generated code should be Open Source

This may be a hot take, but I strongly believe that all code generated by AI should be Open Source. And here’s why.

这可能是一个激进的观点,但我坚信所有由人工智能生成的代码都应该是开源的。原因如下。

First of all, AI models were trained on a massive corpus of Open Source code written since RMS announced the GNU Project and the Free Software Movement. That code was simply scraped from the internet and used without permission or proper attribution. The models were also trained on Stack Overflow and Stack Exchange sister projects, which are released under Creative Commons licenses that legally require attribution. Turning this collective knowledge into proprietary, closed-source code feels like license laundering.

首先,人工智能模型是在自 RMS 宣布 GNU 项目和自由软件运动以来编写的大量开源代码语料库上训练的。这些代码只是从互联网上抓取而来,并在未经许可或适当署名的情况下被使用。这些模型还在 Stack Overflow 和 Stack Exchange 的姊妹项目上进行了训练,这些项目是在法律要求署名的知识共享许可下发布的。将这种集体知识转化为专有的闭源代码,感觉就像是在进行“许可证洗钱”。

The second reason is legal: purely AI-generated code is not written by a human, meaning it should not be copyrightable. The foundation for this principle in the US goes back to the famous Monkey Selfie dispute, which established that non-humans cannot hold copyrights. A precedent later cited by the U.S. Copyright Office regarding AI. Following the same logic, Wikimedia Commons requires all purely AI-generated images to be tagged as Public Domain.

第二个原因是法律层面的:纯粹由人工智能生成的代码并非由人类编写,这意味着它不应受版权保护。这一原则在美国的基础可以追溯到著名的“猴子自拍”纠纷,该纠纷确立了非人类不能拥有版权的原则。这一先例后来被美国版权局在涉及人工智能时引用。遵循同样的逻辑,维基共享资源要求所有纯人工智能生成的图像都必须标记为公有领域。

However, copyright laws differ across the globe. For instance, countries like the UK grant limited copyright protection to computer-generated works. To make things fair across all jurisdictions, and to honor the open ecosystem that made AI possible, developers and companies should explicitly release AI-generated code under Open Source licenses or dedicate it to the public domain using the Creative Commons Zero (CC0) license.

然而,世界各地的版权法各不相同。例如,英国等国家对计算机生成的作品给予有限的版权保护。为了在所有司法管辖区实现公平,并尊重使人工智能成为可能的开放生态系统,开发人员和公司应明确在开源许可证下发布人工智能生成的代码,或使用知识共享零(CC0)许可证将其贡献给公有领域。

Of course, code is not always 100% manual or 100% automated. However, developers more and more rely on AI without even reviewing the generated output, let alone modifying it to fit their specific needs. Code like this, where humans put little effort, except writing prompts, should definitely be Open Source.

当然,代码并不总是 100% 手动或 100% 自动化的。然而,开发人员越来越依赖人工智能,甚至不去审查生成的输出,更不用说根据他们的特定需求进行修改了。像这样人类几乎没有付出努力(除了编写提示词)的代码,绝对应该是开源的。

If you find this article interesting you may want to follow me on Twitter: @jcubic and on LinkedIn.

如果您觉得这篇文章有趣,欢迎在 Twitter 上关注我:@jcubic,或在 LinkedIn 上关注我。

See hacker news for discussion

请参阅 Hacker News 上的讨论。

This page uses cookies for analytics Read more …

本页面使用 Cookie 进行分析。阅读更多……