Inferensys

Glossary

Text and Data Mining Exception (TDM Opt-Out)

A legal provision allowing rightsholders to reserve their rights against the automated computational analysis of copyrighted works for machine learning purposes, often signaled via machine-readable metadata.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
LEGAL MECHANISM

What is Text and Data Mining Exception (TDM Opt-Out)?

A legal provision allowing rightsholders to reserve their rights against the automated computational analysis of copyrighted works for machine learning purposes, often signaled via machine-readable metadata.

The Text and Data Mining Exception (TDM Opt-Out) is a legal mechanism, codified in directives like the EU's DSM Directive, that permits rightsholders to expressly reserve their rights against the automated computational analysis of their copyrighted works. This reservation, or opt-out, must be communicated in a machine-readable format, such as a robots.txt directive or a specific metadata tag, to prevent the ingestion of content for training foundation models.

The TDM exception creates a two-tiered system: a mandatory exception for scientific research, and an opt-out mechanism for commercial machine learning purposes. This framework forces AI developers to implement technical compliance layers that parse and respect these machine-readable signals, establishing a direct link between web governance protocols and copyright enforcement in the age of generative AI.

TDM OPT-OUT COMPLIANCE

Frequently Asked Questions

Clarifying the legal and technical mechanisms that allow rightsholders to reserve their rights against the automated computational analysis of copyrighted works for machine learning purposes.

A Text and Data Mining (TDM) Exception is a statutory provision in copyright law that permits the automated computational analysis of copyrighted works to generate patterns, trends, and correlations, typically for non-commercial scientific research. Crucially, under frameworks like the EU Copyright Directive (Article 4) , this exception applies only if the rightsholder has not expressly reserved their rights in an appropriate manner. The exception distinguishes between the act of reading a work for analysis and the act of reproducing it for expressive output. If a rightsholder applies a valid machine-readable opt-out, the exception is voided, and a license is required for mining. This creates a legal boundary between open research corpora and protected commercial content, directly impacting the training datasets of foundation models.

MACHINE-READABLE RIGHTS RESERVATION

How the TDM Opt-Out Mechanism Works

The technical implementation of the Text and Data Mining (TDM) opt-out allows rightsholders to publicly declare that their copyrighted works cannot be used for automated computational analysis without a separate license.

The Text and Data Mining Exception (TDM Opt-Out) is a legal provision that enables rightsholders to reserve their rights against the automated computational analysis of copyrighted works for machine learning purposes. This reservation is typically signaled via machine-readable metadata, such as the TDMRep protocol, which embeds opt-out declarations directly into HTML headers or robots.txt files for crawler compliance.

For the mechanism to be legally effective, the opt-out must be expressed in a structured, standardized format that AI crawlers can parse programmatically. The European Union's CDSM Directive explicitly requires that such reservations be made using machine-readable means, moving beyond simple natural language statements in terms of service to enforceable, automated signals that govern data ingestion pipelines.

MECHANISM OF RESERVATION

Core Characteristics of the TDM Opt-Out

The Text and Data Mining (TDM) Opt-Out is a legal and technical mechanism that allows rightsholders to explicitly reserve their rights against the automated computational analysis of copyrighted works for machine learning purposes, typically signaled through machine-readable metadata.

01

Legal Basis in EU Copyright Law

The TDM exception originates from Article 4 of the EU Directive on Copyright in the Digital Single Market (CDSM Directive) . It permits reproductions and extractions for text and data mining, but critically, rightsholders can expressly reserve these rights in an appropriate manner, such as machine-readable means for online content. This creates a legally binding opt-out mechanism distinct from fair use doctrines.

Art. 4(3)
CDSM Directive Provision
03

Distinction from Fair Use

Unlike the US fair use doctrine, which is a flexible, case-by-case affirmative defense, the TDM opt-out is a preemptive, rights-based reservation. It does not require a balancing of four factors. If a rightsholder has properly reserved their rights, the exception simply does not apply, making it a more absolute and technically enforceable mechanism for content owners in jurisdictions implementing the CDSM Directive.

04

Enforcement and Crawler Compliance

Effective enforcement relies on AI developers honoring the opt-out signal. Major foundation model providers like OpenAI (GPTBot) and Google (Google-Extended) have published user-agent tokens that respect robots.txt disallow rules. However, compliance is not universal, and the opt-out creates a legal basis for copyright infringement claims against entities that ignore the reservation and proceed with unauthorized TDM.

GPTBot
OpenAI Crawler Token
Google-Extended
Google AI Crawler Token
05

Scope of Reservation

The opt-out applies specifically to reproductions and extractions for TDM purposes, not to the act of indexing for search engines or human browsing. The reservation can be applied to:

  • Entire domains via robots.txt
  • Specific subdirectories or file types
  • Individual HTML pages via TDMRep meta tags This granularity allows rightsholders to permit indexing for search discovery while blocking ingestion for generative AI training.
06

Relationship to Terms of Service

The TDM opt-out is a technical and legal signal, distinct from but complementary to website Terms of Service (ToS). While a ToS can contractually prohibit scraping, the machine-readable opt-out provides a direct, automated instruction to crawlers. A robust defense combines both: explicit contractual prohibitions in ToS and machine-readable reservations to trigger the legal exception's inapplicability.

MECHANISM COMPARISON

TDM Opt-Out vs. Other Copyright Protections

A feature-level comparison of the Text and Data Mining Opt-Out mechanism against traditional DRM, DMCA Takedowns, and the Robots.txt Exclusion Protocol for managing AI training access.

FeatureTDM Opt-OutDigital Rights Management (DRM)DMCA TakedownRobots.txt Directive

Primary Function

Reserves rights against automated computational analysis

Restricts access, use, and distribution of digital content

Removes infringing content post-publication

Instructs crawlers on allowed/disallowed paths

Legal Basis

EU Copyright Directive (Art. 4); Machine-readable reservation

WIPO Copyright Treaty; DMCA Anti-Circumvention (17 U.S.C. ยง 1201)

Digital Millennium Copyright Act (17 U.S.C. ยง 512)

Voluntary industry standard; No statutory force

Enforcement Mechanism

Pre-litigation reservation of rights; Contract law

Technological encryption; Legal prohibition on circumvention

Notice-and-takedown procedure; Safe harbor compliance

Voluntary compliance by bot operators

Proactive vs. Reactive

Proactive

Proactive

Reactive

Proactive

Machine-Readable Signaling

Prevents Ingestion into Training Data

Requires Technical Implementation

Standardized Protocol

TDM Reservation Protocol (TDMRep); robots.txt extension

Various proprietary schemes (Widevine, FairPlay, PlayReady)

Standardized notice form (17 U.S.C. ยง 512(c)(3))

Robots Exclusion Protocol (RFC 9309)

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.