Skip to content
mentoor

Topic 1 of 5 · 4 min read

Fair use and text-and-data-mining rules

Goal: Explain whether training on a given dataset is likely allowed in the US, the EU and the UK, with the rule each relies on.

Training a model means copying works, and whether that copying is lawful depends on the country: the US asks a fair use question, the EU allows it unless the owner opted out, and the UK is narrower than both. There is no single global answer.

In the EU, a company wants to use the commercial text-and-data-mining exception to train a model on web articles. What condition must it meet?

Choose one answer

Why it matters

If you build, fine-tune or buy a model, or feed company documents into one, someone must be able to say why the copying was allowed. A business that cannot name the rule it relies on cannot judge its own risk.

The main rules

  1. United States: fair use. There is no special AI exception. A court weighs four factors: the purpose of the use (is it transformative?), the nature of the work, how much was taken, and the effect on the market for the original. The answer is decided case by case, and early rulings point in different directions.
  2. European Union: text and data mining (TDM). The 2019 copyright directive lets anyone mine lawfully accessible works. Commercial users must respect a rights holder's opt-out, which for online content has to be machine-readable, such as a robots.txt rule or a site's terms. The EU AI Act adds that model providers need a policy to respect these opt-outs.
  3. United Kingdom. The current TDM exception covers only non-commercial research. The government consulted on a broader exception with an opt-out, so check the current position before relying on it.
  4. Japan. Its law is permissive about using works for data analysis, as long as the use does not unreasonably harm the owner.

Where a work was obtained also matters. Courts have treated copies taken from pirate sites differently from lawfully acquired ones.

Before and after

Before: "It is on the public internet, so we can train on it."

Public does not mean free to copy. This sentence names no rule.

After: "We train in the EU, so we rely on the commercial TDM exception. We check each site's robots.txt and terms for an opt-out, and we skip sources that opt out or were pirated."

This names the rule, the condition and the evidence kept.

What goes wrong

  • Treating one country's rule as global. A model trained under US fair use may still face claims in the EU or UK where it is sold.
  • Ignoring opt-outs. A robots.txt block or a terms-of-service clause can remove the EU exception for that content.
  • Assuming a ruling for one dataset covers another. Courts have looked closely at the type of model, the source of the copies and the market harm.
  • Forgetting that private data is a separate issue. Copyright is not the only law on training data.

Rules and cases are still changing, so treat this as a map and ask a lawyer before a real decision.

Examples

One dataset, three countries

A start-up scrapes 200,000 recipe blog posts to fine-tune a cooking assistant.

  • US: it would argue fair use and be ready to show the model does not replace the blogs.
  • EU: it can rely on the TDM exception only if it honoured each blog's opt-out.
  • UK: the research-only exception would not cover a commercial product, so it needs licences or a different legal basis.

Same data, three different questions.

What to write in a data log

For each source record: where it came from, the date, the licence or exception relied on, whether an opt-out was found, and who checked. A log like this is what a regulator or a customer asks for first.

Key points

  • There is no global rule: the US uses case-by-case fair use, the EU uses a text-and-data-mining exception with an opt-out, and the UK is narrower.
  • Fair use weighs purpose, the nature of the work, the amount taken and the effect on the market for the original.
  • In the EU, commercial miners must respect a rights holder's machine-readable opt-out, such as a robots.txt rule.
  • How the copies were obtained matters: pirated sources are treated differently from lawful ones.
  • Public availability on the internet is not permission to copy.

Common mistakes

  • Saying that anything on the public web may be used for training.
  • Applying a US fair use argument to a product sold in the EU.
  • Not checking robots.txt or terms for opt-outs before collecting data.
  • Using copies from pirate sites because the data is "already out there".

Which question is central to a US fair use argument for training?

Choose one answer

A UK team plans a commercial chatbot trained on novels bought as ebooks. Under the existing UK text-and-data-mining exception, what is the safest reading?

Choose one answer

Practice items, not counted towards your mastery.

Start here

Where to go in your country