En este modulo

  1. Copyright of AI-generated outputs
  2. Training data and copyright
  3. License risks in AI-generated code
  4. Plagiarism detection and similarity risk
  5. Patentability of AI-generated inventions
  6. Trade secrets and AI
  7. Practical guide for enterprises
  8. Ejercicio practico
  9. Puntos clave

The central question: if AI generates a text, an image, or a piece of code, who is the author? The answer in the EU is clear and definitive: nobody, unless there is an original creative human contribution.

European copyright law requires that a work be an "author's own intellectual creation." This implies two cumulative requirements:

The Zarya of the Dawn case (2023, USCO)

Kristina Kashtanova registered a comic called "Zarya of the Dawn" with the US Copyright Office. The images were generated with Midjourney. The office granted copyright over the text written by the author and over the selection and arrangement of images, but denied copyright over the individual AI-generated images.

The logic: Kashtanova did not control the Midjourney output with precision. Although she wrote detailed prompts, the specific result was unpredictable. There was insufficient "human creative expression" in each individual image.

EU position

The CJEU has confirmed in multiple rulings (Infopaq, Painer, SAS Institute) that originality requires "free and creative choices" by the author. The European Commission in its 2024 study on AI and IP concluded that purely AI-generated outputs do not reach the originality threshold.

Practical consequence: if you generate a report with ChatGPT without substantial modifications, that report has no copyright. Anyone can legally copy it. You cannot pursue a competitor who reproduces it.

When copyright DOES exist

If you use AI as a tool and make substantial creative human contributions (selection, editing, reorganization, significant rewriting, original combination), the result can have copyright. The key is that the human contribution must be identifiable, substantial, and creative. Using AI as a starting point and significantly transforming the output is the safest strategy.

Training data and copyright

AI models are trained on enormous amounts of text, images, and code. Much of that material is protected by copyright. The legal question: is it lawful to use protected works for model training without the rights holder's permission?

The Text and Data Mining (TDM) exception

Directive 2019/790 on copyright in the Digital Single Market introduced two relevant exceptions:

How the Art. 4 opt-out works

Rights holders can prevent the use of their works for TDM through:

  1. robots.txt: directives instructing crawlers not to access the content for training
  2. Metadata: tags in HTML or files that declare the TDM rights reservation
  3. Contractual terms: clauses in terms of service that prohibit TDM

The practical problem: many publishers did not implement the opt-out before their works were scraped. And the directive has no clear retroactive effect. Training of GPT-3, GPT-4, Llama, and others was conducted before most activated protections.

Active litigation in the EU

Several relevant cases are underway:

Case law is being formed. There is no final ruling in the EU establishing whether training with protected works (with lawful access and no opt-out) is legal under Art. 4. This is an active grey area.

License risks in AI-generated code

Code assistants (GitHub Copilot, Cursor, Claude Code) generate snippets that may partially or fully reproduce code from training repositories. This creates real risks of license contamination.

The copyleft problem

If the model was trained on code under GPL, AGPL, or similar licenses, and generates a substantially similar fragment, your project could become subject to copyleft obligations:

Real risk scenario

A developer asks Copilot to generate a JSON parsing function. The model produces 30 lines identical to a fragment from an AGPL library. The developer does not know this, integrates it into their proprietary SaaS product. A competitor detects the similarity (tools like ScanCode or FOSSA do this automatically). Result: lawsuit for AGPL violation, obligation to publish all source code, or costly litigation.

Mitigation measures

Plagiarism detection and similarity risk

Generative models do not directly copy (in theory), but they can produce outputs substantially similar to their training data. This creates risk of unintentional plagiarism in text, images, and code.

Types of problematic similarity

Detection tools

For text: Turnitin, Copyleaks, GPTZero (detect both plagiarism and AI-generated text). For code: ScanCode, Black Duck, FOSSA. For images: TinEye, Google Reverse Image Search, Hive Moderation.

Practical recommendation: run critical AI outputs (publications, legal documents, production code) through detection tools before publishing or distributing. It is not infallible, but it significantly reduces risk.

Patentability of AI-generated inventions

If AI "invents" something, can it be patented? The current answer from major patent offices is unanimous: no, if the designated inventor is an AI.

The DABUS case

Stephen Thaler filed patent applications in multiple jurisdictions designating DABUS (his AI system) as inventor. Results:

Practical implications

AI-assisted invention IS patentable if a human can be legitimately designated as inventor. The key is documenting the human contribution to the inventive process:

If AI generates 1,000 candidate molecules and a chemist selects, analyzes, and refines 3 of them as viable, the chemist is the inventor. AI was a tool, like a microscope or a simulator.

EPO Guidelines (2024)

The EPO published updated guidelines: inventions involving AI are patentable. What is not patentable is designating an AI as inventor. The nuance matters. If you use AI in your R&D process, document your intellectual contribution to the result. The person who defined the problem, selected the solution, and validated it is the human inventor.

Trade secrets and AI

The EU Trade Secrets Directive (2016/943) protects trade secrets in the EU. A trade secret is information that has commercial value by being secret, that has been subject to reasonable steps to keep it secret, and that is indeed secret.

Risk 1: leaking trade secrets in prompts

The most immediate risk. An employee pastes proprietary code, pricing strategies, formulas, client lists, or financial data into ChatGPT or similar. If the provider uses that data for training (or simply stores it), the information ceases to be "secret" and potentially loses trade secret protection.

Real case: Samsung (2023). Samsung engineers uploaded proprietary source code to ChatGPT for debugging. Samsung banned the use of external generative AI following the incident.

Risk 2: AI as an extraction vector

Prompt injection or model inversion attacks can extract information from the model's context. If a fine-tuned model with confidential data is accessible to third parties, the data can be partially extracted through prompts designed for that purpose.

Risk 3: loss of secrecy through inadvertent disclosure

If you share confidential information with an AI provider without an adequate NDA, the information may no longer meet the "reasonable steps for protection" requirement. This weakens your position if you later need to litigate for trade secret misappropriation.

Protective measures

Practical guide for enterprises

Every company using AI needs an updated intellectual property policy. These are the essential elements:

IP policy for AI usage (template)

INTELLECTUAL PROPERTY POLICY FOR AI USAGE
Company: [name]
Version: [X.Y] | Date: [YYYY-MM-DD]

1. OUTPUT OWNERSHIP
   - Outputs generated with AI without substantial modification:
     NOT considered proprietary works of the company.
   - Outputs generated with AI + documented substantial creative human
     contribution: Company ownership (work for hire).
   - Always document: prompt used, original output,
     modifications made, responsible human author.

2. TRAINING DATA
   - PROHIBITED to use third-party protected works without verifying
     license for training internal models (fine-tuning, RAG).
   - Verify TDM opt-out before scraping web content.
   - Prefer datasets with explicit license (Creative Commons,
     public domain, commercial licenses).

3. AI-GENERATED CODE
   - Enable duplication filters in AI coding tools.
   - Mandatory license scanning (FOSSA/ScanCode) in CI/CD.
   - Mandatory human review before merge.
   - Copyleft licenses (GPL, AGPL) incompatible with proprietary
     product: reject identified fragments.

4. TRADE SECRETS
   - PROHIBITED to share with external AI: proprietary source code,
     core algorithms, customer data, pricing strategies,
     non-public financial information.
   - For sensitive data: use exclusively self-hosted models
     or providers with no-training contracts.
   - Classification level for AI usage:
     PUBLIC: any AI | INTERNAL: AI with contract |
     CONFIDENTIAL: local AI only | SECRET: do not use AI.

5. PATENTS
   - AI-assisted inventions: document human contribution
     at each phase (problem, data, selection, validation).
   - Always designate a human inventor.
   - Retain process records (prompts, intermediate outputs,
     human decisions) as evidence.

6. REVIEW
   - Mandatory annual review of this policy.
   - Immediate update if relevant legislation changes
     (AI Act, IP directives, CJEU/EPO case law).

Quick checklist before publishing AI outputs

  1. Has it been verified that it does not reproduce protected content (plagiarism check)?
  2. Has the creative human contribution been documented?
  3. If it is code: has it been scanned for incompatible licenses?
  4. If it will be registered as IP: is there an identifiable human inventor/author?
  5. Has any confidential data been anonymized/removed from the output?

Ejercicio practico

Ejercicio LG06: IP audit of your AI usage
  1. Identify 3 ways your organization currently uses generative AI
  2. For each, determine: who holds the rights over the output? Is there documented creative human contribution?
  3. Review whether confidential information is being shared with external AI services. Classify the risk (high/medium/low)
  4. If your company generates code with AI: verify that license scanning exists in the CI/CD pipeline. If not, propose tool integration
  5. Draft sections 1 (ownership) and 4 (trade secrets) of the IP policy adapted to your organization
  6. If your company has patents or is applying for them: identify if any recent inventive process involved AI and verify that human contribution is documented

Puntos clave

Puntos clave from LG06

  1. In the EU, purely AI-generated outputs have no copyright. Original, identifiable creative human contribution is required.
  2. The TDM exception (Art. 4, Directive 2019/790) allows using protected works for training, unless the rights holder expressly opts out. Case law is still forming.
  3. AI-generated code can contain fragments with copyleft licenses. Automated license scanning in CI/CD is mandatory to mitigate risk.
  4. AI-assisted inventions are patentable, but the inventor must be human. Document the intellectual contribution to the inventive process.
  5. Sharing trade secrets in external AI prompts can destroy their legal protection. Classification policy and local models for sensitive data.
  6. Every company needs an IP policy for AI covering ownership, training, code, secrets, and patents.
Guia de estudio — Conceptos clave de LG06

Copyright de los outputs generados por IA

  • Autor humano:solo las personas fisicas pueden ser autores. Una IA no es persona. Una empresa tampoco es autora (aunque puede ser titular de derechos)
  • Originalidad:la obra debe reflejar decisiones creativas libres del autor. Pulsar "generar" no es una decision creativa. Escribir un prompt detallado tampoco, segun la doctrina mayoritaria actual
  • Cuando SI hay copyright: Si usas la IA como herramienta y aportaciones creativas humanas sustanciales (seleccion, edicion, reorganizacion, reescritura significativa, combinacion original), el resultado puede tener copyright. La clave es que la contribucion humana sea identificable, sustancial y creativa. Usar IA como punto de partida y transformar significativamente el output es la estrategia mas segura.

Datos de entrenamiento y copyright

  • Art. 3: TDM con fines de investigacion.Organismos de investigacion e instituciones de patrimonio cultural pueden hacer mineria de textos y datos sobre obras a las que tengan acceso legal. Sin restricciones. No requiere permiso del titular
  • Art. 4: TDM general.Cualquier persona puede hacer TDM sobre obras a las que tenga acceso legal, SALVO que el titular haya reservado expresamente sus derechos (opt-out). Para contenido online, la reserva debe ser "legible por maquina" (robots.txt, metadatos)
  • Metadatos:etiquetas en el HTML o en los archivos que declaren la reserva de derechos TDM
  • Condiciones contractuales:clausulas en los terminos de servicio que prohiban TDM
  • GEMA vs OpenAI (Alemania, 2024):la sociedad de gestion de derechos musicales alemana demando a OpenAI por entrenamiento con letras protegidas
  • ANB vs OpenAI (Francia, 2024):autores franceses demandaron por uso de sus novelas en entrenamiento

Riesgos de licencias en codigo generado por IA

  • GPL:si distribuyes software que contiene codigo GPL, debes distribuir todo el codigo fuente bajo GPL
  • AGPL:aun mas restrictivo. Si ofreces el software como servicio (SaaS), debes publicar el codigo fuente
  • LGPL:permite linking dinamico sin contagio, pero codigo copiado directamente si contagia
  • Filtros de duplicacion:GitHub Copilot tiene un filtro que bloquea sugerencias que coinciden con codigo publico. Activarlo siempre
  • Escaneo de licencias:integrar herramientas como FOSSA, Snyk, ScanCode o licensee en CI/CD para detectar fragmentos con licencias incompatibles
  • Revision humana:no aceptar codigo generado por IA sin revision. Especialmente funciones complejas que el modelo podria haber memorizado

Deteccion de plagio y riesgo de similitud

  • Reproduccion literal:fragmentos identicos a obras existentes. Raro pero posible, especialmente con textos muy populares o repetidos en el dataset de entrenamiento
  • Similitud sustancial:la estructura, argumentacion y expresion son lo bastante parecidas para constituir infraccion de copyright, aunque no haya copia palabra por palabra
  • Estilo replicado:imitar el estilo de un autor especifico. En la UE, el estilo no esta protegido por copyright, pero puede generar problemas de competencia desleal o derechos morales en jurisdicciones especificas

Patentabilidad de invenciones generadas por IA

  • EPO (Oficina Europea de Patentes):rechazado. El CPE exige que el inventor sea persona natural. Una IA no puede ser designada como inventor (Decisiones J 0008/20 y J 0009/20)
  • USPTO (EE.UU.):rechazado. El Tribunal Supremo confirmo en Thaler v. Vidal (2023) que el inventor debe ser humano
  • UKIPO (Reino Unido):rechazado por las mismas razones
  • Sudafrica:concedida. Unica jurisdiccion importante que acepto DABUS como inventor, pero con un sistema de examen de patentes limitado
  • Australia:inicialmente concedida en apelacion, luego revocada por el tribunal supremo
  • Definir el problema tecnico (contribucion humana)

Secretos comerciales y IA

  • Politica de uso de IA:definir que informacion puede y no puede compartirse con servicios de IA externos
  • Clausulas contractuales:verificar que el proveedor no usa tus datos para entrenamiento. OpenAI Business, Anthropic API y Azure OpenAI ofrecen esta garantia contractual
  • Modelos locales:para informacion altamente sensible, usar modelos self-hosted que no transmitan datos a terceros
  • Clasificacion de datos:etiquetar la informacion por nivel de sensibilidad y aplicar reglas distintas para cada nivel
  • DLP (Data Loss Prevention):herramientas que detectan y bloquean el envio de datos sensibles a servicios de IA no autorizados

Siguiente: LG07 - AI in Litigation and e-Discovery

How do lawyers use AI to review documents, analyze case law, and predict outcomes? And what happens when AI invents legal citations that do not exist? The Mata v. Avianca case as a warning.

Ir al modulo LG07