data-ownership
Distributing machine learning models (e.g., word embeddings) based on non-sharable datasets
<p>Many <a href="https://en.wikipedia.org/wiki/Text_corpus" rel="nofollow noreferrer">corpora</a> (= datasets containing texts) are not freely available and/or their license do not allow redistribution and/or commercial use and/or require share-alike. For example, the <a href="https://catalog.ldc.upenn.edu/byyear" rel="nofollow noreferrer">Linguistic Data Consortium</a> is notorious for selling corpora at hefty prices (<a href="https://linguistics.stackexchange.com/q/14358/2680">despite being publicly funded</a>). </p>

<p>Can I legally distribute <a href="https://en.wikipedia.org/wiki/Word_embedding" rel="nofollow noreferrer">word embeddings</a> that I computed based on such corpora? And more generally, can I legally distribute any sort of machine learning model trained on such corpora?</p>

<p>In the case of a share-alike-licensed dataset, must all models trained on it be redistributed under the same or similar license?</p>

<hr>

<p>I am mostly interested in the following locations:</p>

<ul>
<li>California, United States</li>
<li>Massachusetts, United States</li>
<li>Paris, France</li>
<li>Seoul, South Korea</li>
</ul>

<p>From what I can tell, the <a href="https://catalog.ldc.upenn.edu/license/ldc-non-members-agreement.pdf" rel="nofollow">non-member agreement</a> contains the core and common language regarding what one can do with the data (excluding databases with their own license). Reproducing the data is prohibited, but an analysis of the data should be consistent with the license. The core wording is</p>

<blockquote>
  <p>User shall not publish, retransmit, display, redistribute, reproduce
  or commercially exploit the Data in any form</p>
</blockquote>

<p>with exceptions for short excerpts. </p>

<p>If the analysis produces "546869732069732074657874", that would be a violation of the license since that is just an encoding difference of the original text, whereby the text can be reproduced. At least <a href="https://www.ldc.upenn.edu/sites/www.ldc.upenn.edu/files/korean-propbank.pdf" rel="nofollow">one of the special licenses</a> explicitly permits analysis which doesn't allow reconstruction of the text:</p>

<blockquote>
  <p>summaries, analyses and interpretations of the linguistic properties
  of the Data may be derived and published provided it is not possible
  to reconstruct the Data from such summaries</p>
</blockquote>

<p><a href="https://www.ldc.upenn.edu/sites/www.ldc.upenn.edu/files/usc-marketplace.pdf" rel="nofollow">Another of the special licenses</a> says something similar:</p>

<blockquote>
  <p>Summaries, analyses and interpretations of the linguistic properties
  of the information may be derived and published, provided it is not
  possible to reconstruct the information from these summaries.</p>
</blockquote>

<p>but it uses the troubling term "information" rather that data – nobody knows what "information" is.</p>

<p>The MS Indian Language databases is more restricted and prohibits distributing derivative works without permission, which they might deem a mapping of the original data to be. The <a href="https://www.ldc.upenn.edu/sites/www.ldc.upenn.edu/files/comlex-english-nonprofit.pdf" rel="nofollow">COMLEX databases</a> requires permission to "redistribute any product or derivative work <strong>based on</strong> the Database" (emphasis added). </p>

<p>From <a href="https://www.reddit.com/r/MachineLearning/comments/7eor11/d_do_the_weights_trained_from_a_dataset_also_come/dq6m2su/" rel="nofollow noreferrer">https://www.reddit.com/r/MachineLearning/comments/7eor11/d_do_the_weights_trained_from_a_dataset_also_come/dq6m2su/</a>:</p>
<blockquote>
<p>We operate based on an (reviewed by lawyers but without precedent in local courts) <strong>interpretation that our copyright law (Latvia, EU) does not consider such weights as derived works (since they don't include parts of the original work) but rather as equivalent of databases/fact compilations</strong> (e.g. the ngram frequency model from a literary work is a good illustrative example, it's a factual statement about a work). In this interpretation means that the models are independent works whose distribution doesn't require permission from the copyright owners of the source data, the models aren't copyrightable as creative work, but the models are protected with the (lesser) set of rights granted to databases/fact compilations.</p>
<p>Contractual agreements supersede this - if we've agreed not to distribute models based on a particular dataset, then of course we're bound by that agreement; and such agreements are in place for some of our datasets. This doesn't include shrink-wrap/click-wrap/EULA licenses, which the user can refuse; especially since local law allows me to use (but not redistribute) copyrighted material for research purposes without permission/license; this means all the actual contracts/NDA's signed with e.g. industrial partners for access/use of their data.</p>
<p>Your mileage may wary, this is not legal advice, it will likely be different in your country, the more litigious the society the more careful you've got to be.</p>
</blockquote>
<p>However, following recent AI breakthroughs, many companies are currently suing AI firms because they trained their model on their content without permission. E.g.,
<a href="https://www.bloomberg.com/news/articles/2023-02-17/openai-is-faulted-by-media-for-using-articles-to-train-chatgpt?srnd=technology-vp&amp;leadSource=uverify%20wall" rel="nofollow noreferrer">https://www.bloomberg.com/news/articles/2023-02-17/openai-is-faulted-by-media-for-using-articles-to-train-chatgpt?srnd=technology-vp&amp;leadSource=uverify%20wall</a>:</p>
<blockquote>
<p>News organizations aren’t the first companies to raise questions about whether their content is being used without authorization by artificial intelligence systems. In November, GitHub, Microsoft Corp. and OpenAI were sued in a case that alleged a tool called GitHub Copilot was essentially plagiarizing human developers in violation of their licenses.</p>
<p>In January, a group of artists sued AI generators Stability AI Ltd., Midjourney Inc. and DeviantArt Inc., claiming those companies downloaded and used billions of copyrighted images without compensating or obtaining the consent of the artists.</p>
<p>Like the Journal, CNN believes that using its articles to train ChatGPT violates the network’s terms of service, according to a person with knowledge of the matter. The network, owned by Warner Bros. Discovery Inc., plans to reach out to OpenAI about being paid to license the content, said the person, who asked not to be identified discussing a legal matter.</p>
</blockquote>
