esc
  • WorkflowsPages
  • Case studiesPages
  • Machine Learning FoundationsLearn
  • AI EngineeringLearn
  • AI Guardrails & Red TeamingLearn
  • UI/UXLearn
  • Design SystemsLearn
  • Production System DesignLearn
  • AI papersPages
  • Interview KitPages
  • Book a callContact
Let’s talk

I’ll build the agent for it.

Copyright and Data Provenance

How copyright and data provenance affect AI training data and outputs, what vendors promise, and how to keep a clear record, for your AI interview.

In short

Copyright is the legal right to copy or reuse a work. Data provenance is the record of where each piece of AI data came from and which rights come with it, so a team can prove what it was allowed to use.

12 min readIntermediateCommon · estimateFacts checked 27 November 2026

Say it out loud

Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.

Copyright is the right to copy or reuse a creative work. Data provenance is the paper trail showing where each piece of AI data came from and what rights come with it. Before a file goes into my assistant, I log its licence and hold back anything with no clear licence. Vendors defend business customers against some output claims, but their cover has conditions, and it leaves out the data you supply yourself.

What are copyright and data provenance, in plain words?

Copyright is the legal right to copy, share or reuse a creative work, such as a book, article, photo, song or piece of code.

Data provenance is the paper trail for data. It answers four questions: where did this come from, who made it, which licence allows its use, and did the people in it agree? Think of a pharmacy's batch records, which show where each medicine came from. Provenance is that batch record for your data.

This matters in AI because a model learns from huge amounts of text, and it can write some of that text back out. A bank's contract assistant that indexes thousands of files it was never licensed to hold has this problem at work scale.

Key words

Copyright
The legal right to copy, share or reuse a creative work, held by its owner.
Data provenance
The record of where data came from, who made it, its licence and consent.
Licence
Written permission that says what you may do with a work, and for whom.
Output
What the model writes back to you, such as an answer, a summary or code.
Indemnity
A vendor's promise to defend you against a third-party claim, and in some terms to pay any judgment.

Where does AI training data come from, and what can go wrong?

Data comes from three places: licensed sources, a company's own files, and web pages copied without asking anyone. Each carries its own risk. The fix is the same for all three: know where every file came from, and keep the proof.

The Data Provenance Initiative, a multi-disciplinary effort between legal and machine learning experts, audited more than 1,800 text datasets, in a paper submitted in October 2023. The training datasets are inconsistently documented, which the paper says raises legal and ethical risks for the people who use them. The team developed tools and standards to trace each dataset's lineage.

  • “We develop tools and standards to trace the lineage of these datasets, from their source, creators, series of license conditions, properties, and subsequent use.”

    Data Provenance Initiative, arXiv paper

  • “We demonstrate our attack on GPT-2, a language model trained on scrapes of the public Internet, and are able to extract hundreds of verbatim text sequences from the model's training data.”

    Carlini and co-authors, arXiv paper

Each file is logged before the model sees it

Scraped web pages

No licence on record

Licensed archive

The licence sets the allowed use

Our own documents

We hold the rights to these

Provenance register

Source, licence and consent

Check before indexing

Holds back unclear files

Model writes the answer

Cites the file it used

Audit log

Who asked, which files

  1. 1A scraped page is logged with its licence, or with none.
  2. 2A licensed archive arrives with its terms attached.
  3. 3Our own files are logged with proof that we hold the rights.
  4. 4The register hands each file's record to the check.
  5. 5Only the files the check lets through reach the model.
  6. 6Each answer goes to the audit log with the files it used.
Three kinds of source go in, and the register logs each one with its licence and consent. The check holds back anything with no licence on record, or a licence that doesn't cover the use. Only then does a file reach the model, and every answer is logged with the files it used.

Documentation is the habit that makes this work. The register is a simple log, one line per source, kept before any file is loaded. In 2018, Timnit Gebru and her co-authors proposed datasheets for datasets: a short note on why a dataset was made, what is in it, how it was collected and how it should be used.

The web is changing too. A 2024 audit of 14,000 web domains found that websites added AI-specific limits on use quickly across 2023 and 2024.

Take a claims team at a mid-size insurer. It loads 12,000 internal policy documents, plus a competitor's policy wording it copied from a public PDF. The register logs each source. The competitor's file has no licence on record, so the check holds it back, and the team finds this before launch rather than from a legal letter.

Who carries the risk if an output copies someone's work?

Output is what the model writes back. If that output copies a protected work, the owner may bring a claim against the person who uses or distributes it, depending on the law. The big vendors now promise to defend their customers in such cases, and Anthropic's terms also promise to pay any judgment, all under conditions.

  • Anthropic

    Defends customer claims

    Covers claims about the Services, including data used to train the model. Leaves out your own inputs, and use you knew, or should have known, infringed.

  • OpenAI

    Covers output for API and Enterprise

    The cover falls away if you knew or should have known the output infringed, or ignored its filters and citation features.

  • Microsoft

    Needs safety mitigations first

    For Azure OpenAI, its Customer Copyright Commitment needs the mitigations in its documentation to be in place before a claim.

  • “OpenAI's indemnification obligations to API customers under the Agreement include any third party claim that Customer's use or distribution of Output infringes a third party's intellectual property right.”

    OpenAI, service terms

  • “The Customer Copyright Commitment ("CCC") is a provision in the Microsoft Product Terms that describes Microsoft's obligation to defend customers against certain third-party intellectual property claims relating to Output Content.”

    Microsoft, Customer Copyright Commitment

Read the exclusions, because a cover is only as good as them. Anthropic's terms leave out claims that come from the customer's own inputs.

A law firm builds a search tool over 40,000 contracts. Most files are its own or licensed from clients. Forty of them are a rival's form library, copied years ago without a licence. Anthropic's terms exclude claims that come from the firm's own inputs, so its cover would not reach those. The fix is the register, run before launch.

Tip

A cover is worth having, but it doesn't replace a record. The terms quoted here were checked on 27 November 2026, and vendors change them, so check the current version before you rely on one.

How do you keep a clear provenance record in practice?

A 2020 paper by Carlini and co-authors showed that a model can give back word-for-word text from its training data. Even text that sat in only one document could be pulled out. So testing for copying is part of the job, not only the vendor's.

  1. 1

    Log every source

    Record the owner, the licence, the date and any consent before a file is loaded.

  2. 2

    Hold back what you can't prove

    A file with no licence on record never reaches the search store.

  3. 3

    Keep a datasheet

    A short note on why the data exists, what is in it, and how it may be used.

  4. 4

    Test for copying

    Probe the model with passages from your own sources, and flag any word-for-word match.

  5. 5

    Log every answer

    Store which files each answer used, so you can trace it later.

  6. 6

    Remove on request

    Delete a source and its index entries when a licence ends or an owner objects.

Here is the check in plain Python. It only decides which files may be indexed, and it sends nothing anywhere.

Python
# A simplified check before files join a customer-facing AI search index.
FILES = [
    {"name": "Claims manual 2026", "licence": "own", "use": "customer"},
    {"name": "Publisher archive 2024", "licence": "licensed", "use": "internal"},
    {"name": "Competitor policy wording", "licence": "unknown", "use": None},
    {"name": "Scraped forum thread", "licence": "unknown", "use": None},
]

def gate(f):
    # Code decides, so no file slips in because a prompt said it was probably fine.
    if f["licence"] == "unknown":
        return "HOLD: no licence on record"
    if f["use"] != "customer":
        return "HOLD: licence covers internal use only"
    return "INDEX"

for f in FILES:
    print(f["name"].ljust(28) + gate(f))

Output

Claims manual 2026          INDEX
Publisher archive 2024      HOLD: licence covers internal use only
Competitor policy wording   HOLD: no licence on record
Scraped forum thread        HOLD: no licence on record

Tip

Asked how you'd check for copying? Don't just trust the vendor. Run your own tests on your own sources, and treat any verbatim match as a failure.

How would you handle a licence that only allows internal use?

A publisher licenses its news archive for staff research, not for a public chatbot. The register records the allowed use, and the check keeps the archive out of the public search store. The team asks the publisher for a wider licence. Until it arrives, the bot answers from sources it may use, and the launch waits a few weeks. A short wait is safer than a dispute over the data.

What does the interviewer want to hear?

A strong answer covers

  • Copyright is the owner's right to copy or reuse a work, and provenance is the record of where data came from.
  • Two risks: the input (what we train or index on) and the output (what the model writes back).
  • Why a register and a check beat a prompt that asks the model to avoid copying.
  • What a vendor cover promises, and the exclusions that can void it.
  • Our own inputs are our risk, not the vendor's.
  • Copyright and fair use are interpreted jurisdiction by jurisdiction, so keep records now.

Common traps

  • Trap"Copyright only matters if we copy whole books."

    BetterCheck the licence for each source, including excerpts and images, not only whole books.

  • Trap"The vendor's indemnity covers everything."

    BetterIt covers what its terms cover. Your own inputs, known infringement and ignored filters sit outside it.

  • Trap"Public web pages are free to use."

    BetterPublic means visible, not licensed. Check each site's terms and any limits it sets on AI use.

Can you spot the provenance gap?

Spot the provenance gap

Which file should the check hold back before it joins the index?

Quick check

Which step lowers copyright risk the most in a new AI search tool?

Can you answer these from memory?

Flash cards · tap a card to flip it

1 / 6

What will they ask next?

  1. Q459GDPR basics for AI apps?12 min
  2. Q460What are the EU AI Act risk tiers?9 min
  3. Q462Model cards vs system cards?9 min
  4. Q463Auditability and audit logs?11 min
  5. Q464Data retention and zero-data-retention?13 min

Last updated on 27 November 2026

Building an AI tool on licensed or company documents?

Venkat designs and builds AI products and agents, including the UI and the system behind them. Book a short call and say what you need.