Skip to content
mentoor

Topic 5 of 5 · 4 min read

Copyright, consent and contamination questions

Goal: Identify the data risk, such as copyright, memorised personal data or benchmark contamination, in a described training or evaluation situation.

Because models learn from huge amounts of collected text, three data questions follow every pre-training run: who allowed it, what the model remembered, and whether it saw the test. Each is a different risk with a different fix.

Check yourself · 1 of 3

A model scores 98% on a public quiz from 2018 but fails a new, similar quiz. Which risk is likely?

Choose one answer

Why it matters

If you use or build on a model, these questions reach you as legal exposure, privacy incidents and benchmark scores you cannot trust. You do not need to be a lawyer to spot which one is in front of you.

The three questions

  1. Copyright and consent. Much training text was collected from the web without a licence for this use. Courts and lawmakers in different countries are still deciding what is allowed, and the answers differ by region, so treat any single claim as local and subject to change. Some sites now publish rules telling crawlers not to collect their pages, and some builders honour them, but that only helps for future collection.
  2. Memorised personal data. Models can reproduce text that was repeated or distinctive, including names, emails or phone numbers that were on public pages. Deduplication and filtering reduce it. They do not remove it.
  3. Contamination. If test questions, or their answers, were in the training data, a high benchmark score may measure memory, not skill. The GPT-3 paper has a section on checking for this overlap, which shows it is a known, practical problem.

How to spot each one

  • Someone asks "can we use what the model wrote commercially?" or "did it learn from our articles?": that is copyright and consent.
  • The model outputs a real person's address or a private message: memorised personal data.
  • A model scores near-perfect on a public test but fails a similar new one: contamination.

Before and after

Weak: "The model got 95% on the public exam set, so it will pass our own exam."

Better: "That exam set has been public for years and may be in the training data. I will write 30 fresh questions of the same kind and test on those."

What goes wrong

  • Treating "it is on the web" as "it is free to use". Public is not the same as licensed.
  • Assuming filters remove all personal data. They catch patterns, not every case.
  • Trusting leaderboard numbers. Old public tests are the most likely to have leaked.
  • Pasting private data into a tool without checking whether prompts are used for training.

A small code branch for contamination is a simple overlap check:

def leaked(test_q: str, train_text: str, n: int = 50) -> bool:
    # does any 50-character slice of the test appear in training text?
    return any(test_q[i:i+n] in train_text for i in range(max(1, len(test_q)-n)))

Examples

Which risk is it?

Situation Risk
A publisher asks if its articles were used Copyright and consent
The model prints a stranger's phone number Memorised personal data
A model aces a 2019 quiz and fails a new one Contamination

Building a fresh test set

A team wants to compare two assistants for contract review. Instead of a public benchmark, they take 40 clauses from their own past contracts, remove names, and write the expected findings. The models cannot have trained on this private set, so the scores mean something.

Key points

  • Copyright and consent, memorised personal data and test contamination are three separate data risks.
  • Rules on training with copyrighted text differ by country and are still changing, so check your own jurisdiction.
  • Opt-out signals on websites only affect future collection, not what was already trained on.
  • Filtering and deduplication reduce memorised personal data but do not guarantee its removal.
  • A benchmark the model may have seen in training says little about skill; write fresh test items.

Common mistakes

  • Assuming that anything publicly visible online is licensed for model training.
  • Believing deduplication means no personal data can be reproduced.
  • Reading a public benchmark score as proof of skill on your task.
  • Sending confidential text to a tool without checking its data-use terms.

Check yourself · 2 of 3

A model prints a private email address that appeared on a public page. Which risk is this?

Choose one answer

Check yourself · 3 of 3

What does a website's crawler opt-out rule usually affect?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic