Fairness, Privacy, Data and Copyright
Treat people fairly, use only the data you need and know your right to use every ingredient in the system.
Measure outcomes and errors by group with enough cases to mean something, design so the agent sees as little personal data as possible for a stated purpose, and record the source and terms of every model, dataset and document. Law differs by place and is still moving, especially for copyright and AI training.
What you will learn: where bias enters agent systems, fairness measures and their limits, privacy-preserving architecture, data minimization and purpose limitation, and copyright, licensing and provenance.
Prerequisites: Responsible AI Principles and Governance Council. PII Redaction and Data Leakage Prevention covers technical protection of personal data.
The example runs in November 2026 with Python 3.13 and only the standard library, on invented numbers. Legal developments are described as found in late November 2026. This page is general information, not legal advice.
Where unfairness enters
| Stage | Example | Check |
|---|---|---|
| Problem framing | Predicting "cost" when you mean "need" | Ask who loses if the proxy is wrong |
| Model | Weaker performance in some languages or dialects | Evaluate each language and style you serve |
| Retrieved content | Old documents that describe some groups poorly | Review sources and dates |
| Prompts and rules | "Prioritize established customers" | Look for stand-ins for protected traits |
| Tools | Identity checks that fail more for some names or faces | Measure tool failures by group |
| Workflow | Only some users can reach a person | Compare escalation and waiting time |
| Feedback | Learning only from people who complained | Sample those who gave up |
Agents add a path that single predictions do not have: small differences at each step can compound. A slightly worse transcription leads to a worse search, then a worse proposal, then a slower correction.
Choose measures that fit the harm
| Measure | Question | Caution |
|---|---|---|
| Selection rate | Are favorable outcomes given at similar rates? | Base rates may differ for real reasons |
| False refusal rate | Are qualified people refused more in one group? | Needs a trustworthy ground truth |
| False approval rate | Are errors in the other direction uneven? | Same |
| Calibration | Does a score of 0.8 mean the same for all? | Can conflict with equal error rates |
| Quality parity | Are answers equally correct and respectful? | Needs raters who know the language and context |
| Access parity | Can all groups complete the task? | Include disability and low bandwidth |
Research has shown that when base rates differ, an imperfect classifier generally cannot satisfy every fairness definition at once. Decide which errors matter most for this use, with affected people and legal advice, and write down why.
Test outcomes with honest uncertainty
One common screening ratio divides each group's selection rate by the highest rate. United States employee selection guidelines treat a ratio under four-fifths as a signal to examine. It is a rough screen, not a legal verdict in either direction, and federal enforcement priorities on this kind of analysis changed in 2025. Show intervals, because small groups swing widely by chance.
"""Compare outcomes across groups, with a caution about small samples."""
import math
# group: (approved, total). Invented data for a loan pre-screening assistant.
OUTCOMES = {"group A": (180, 300), "group B": (95, 200), "group C": (7, 18)}
# Among people who should have been approved: (wrongly refused, total)
ERRORS = {"group A": (12, 190), "group B": (19, 120), "group C": (1, 11)}
def wilson(k, n, z=1.96):
"""95% Wilson score interval for a proportion."""
p = k / n
d = 1 + z * z / n
mid = (p + z * z / (2 * n)) / d
half = z * math.sqrt(p * (1 - p) / n + z * z / (4 * n * n)) / d
return mid - half, mid + half
best = max(k / n for k, n in OUTCOMES.values())
print("group rate ratio 95% interval flag")
for g, (k, n) in OUTCOMES.items():
rate = k / n
low, high = wilson(k, n)
ratio = rate / best
flags = []
if ratio < 0.8:
flags.append("below 0.8")
if n < 50:
flags.append("too few cases")
print(f"{g} {rate:.2f} {ratio:.2f} {low:.2f}-{high:.2f} {', '.join(flags) or '-'}")
print("\nWrong refusals among qualified people")
for g, (k, n) in ERRORS.items():
low, high = wilson(k, n)
print(f"{g} {k / n:.2f} {low:.2f}-{high:.2f}")
Output:
group rate ratio 95% interval flag
group A 0.60 1.00 0.54-0.65 -
group B 0.47 0.79 0.41-0.54 below 0.8
group C 0.39 0.65 0.20-0.61 below 0.8, too few cases
Wrong refusals among qualified people
group A 0.06 0.04-0.11
group B 0.16 0.10-0.23
group C 0.09 0.02-0.38
Group B falls just below the screen with a reasonably tight interval, and its qualified members are refused more often. That deserves investigation. Group C looks worse still, but 18 cases allow almost anything: collect more data or review cases one by one. A flag starts a question about cause; it does not answer it.
Run the same task twice, changing only a name, dialect or other signal that should not matter. Compare the tools called, the effort spent and the final result. Repeat several times, since model output varies.
Handling group data
You cannot measure a gap between groups you cannot identify, but collecting sensitive traits creates its own duties. Options include voluntary self-reporting, a separate and tightly controlled testing dataset or review by an independent party. Take legal advice first: rules on processing sensitive data differ widely.
When a gap appears
- Check the data: labels, missing values and how groups were identified.
- Read failed cases from the affected group, step by step through the trace.
- Find the stage that differs: understanding, retrieval, tool, rule or human review.
- Change that stage, then re-test every group, since a fix for one can harm another.
- Where the gap cannot be closed, narrow the use, add human review or do not deploy.
- Record the finding, decision, owner and next review.
Avoid quietly adjusting outcomes by protected trait without legal advice; in some places that is itself unlawful.
Privacy-preserving architecture
| Pattern | How it protects |
|---|---|
| Narrow tools | A tool returns delivery status, not the whole customer record |
| Code does the sensitive step | Software compares or calculates; the model sees only the result |
| Tokenization | Identifiers are replaced and restored only where allowed |
| Separation by tenant and user | Memory, indexes and caches cannot cross boundaries |
| Local or regional processing | Data stays where your duties require |
| Expiring memory | Facts about people do not accumulate forever |
| Deletion design | One request reaches records, indexes, memories, caches and logs |
Data minimization and purpose limitation
The General Data Protection Regulation requires personal data to be collected for specified purposes, limited to what is necessary and kept no longer than needed. Similar ideas appear in many other laws. Agents strain them, because a general assistant is tempted to read everything in case it helps.
| Question | Turn the answer into |
|---|---|
| What is this agent for? | A written purpose in the inventory |
| Which fields does that purpose need? | Tool responses that contain only those |
| Whose records may this session touch? | Scoped credentials enforced by the data system |
| May data be reused for tuning or evaluation? | A separate, documented decision |
| How long is each copy needed? | Expiry on memory, traces and files |
You also need a lawful basis for processing, notices, rights handling and, for higher-risk processing, a data protection impact assessment. The European Data Protection Board's Opinion 28/2024 on AI models says whether a model counts as anonymous must be judged case by case, and sets out a three-step test for relying on legitimate interest: identify the interest, show necessity and balance it against people's rights. Where software makes decisions with legal or similarly significant effects solely by automated means, Article 22 adds restrictions.
Copyright questions come in layers
| Layer | Question to ask |
|---|---|
| Training | Was the model, or your fine-tune, trained on material that may lawfully be used? |
| Retrieval | May you copy, index and quote these documents for this purpose? |
| Browsing and tools | Do site terms and licenses allow automated access and reuse? |
| Output | Could the result reproduce protected expression? |
| Ownership | Can you protect what the system produced? |
Where United States law stood in late 2026
- On 29 September 2026 the Third Circuit held in Thomson Reuters v. ROSS Intelligence that copying legal headnotes to train a competing research tool was not fair use. It was the first federal appeals ruling on fair use in AI training, and the court said it did not resolve broader questions about generative AI.
- In 2025, district judges in cases involving generative models accepted fair use for training on the records before them, while treating other conduct or other kinds of market harm differently. These rulings are fact-specific.
- The Copyright Office's May 2025 report on generative AI training, released in pre-publication form, concluded that some uses will qualify as fair use and others will not.
- In 2026 the federal government filed a statement in litigation against OpenAI arguing that training on copyrighted text is transformative fair use. A statement of interest does not bind the court.
The Copyright Office's position is also that copyright protects human authorship, so purely machine-generated material may not be protectable. Keep a record of meaningful human contribution where ownership matters.
In the European Union
EU law contains text and data mining exceptions that rights holders can opt out of for many uses. The AI Act requires providers of general-purpose AI models to have a policy for complying with copyright law, including respecting such reservations, and to publish a summary of training content. If you fine-tune or redistribute a model, check whether you have taken on provider duties.
Licenses for models, code and data
"Open" can mean many things. Read the actual terms before building on a model, especially an openly downloadable one.
| Check | Why it matters |
|---|---|
| Commercial use | Some licenses forbid it or limit it by company size |
| Acceptable use policy | Certain uses may be banned |
| Redistribution and fine-tunes | Naming, notice or share-alike conditions may follow derivatives |
| Using outputs | Terms may restrict training other models on them |
| Dataset license | A permissive model license does not clean up the data |
| Software dependencies | Copyleft and source-available terms affect distribution and hosting |
| Change and termination | Know what happens if terms change or access ends |
Keep provenance you can query
For each dataset, document collection and model, record origin, owner, license or permission, date obtained, allowed purposes, personal data present, transformations and expiry. Attach identifiers to chunks in your index so that a withdrawn document can be removed everywhere (Knowledge Ingestion and Real-Time Pipelines).
source: supplier-manuals-2026
owner: procurement
permission: contract C-118, internal support use only
obtained: 2026-06-04
personal_data: none expected
may_train_on_it: false
review_by: 2027-06-04
A retrieval filter or a release gate can read fields like these. Provenance standards such as C2PA content credentials can attach signed origin information to media, but credentials may be stripped and their absence proves nothing.
Requests from individuals
Where law gives rights of access, correction, deletion or objection, an agent system has to honor them across all its copies.
| Copy | How to find a person's data | How to remove it |
|---|---|---|
| Source records | Customer identifier | Existing system process |
| Search and vector indexes | Metadata linking chunks to records | Delete and verify with a query |
| Agent memory | User and tenant keys | Delete entries and derived summaries |
| Traces and logs | Run identifiers linked to the user | Expire or redact, subject to legal holds |
| Evaluation and tuning sets | Provenance records | Remove examples; assess any trained model |
Practice one request end to end before you launch.
Reduce output risk
- Cite and link sources; quote briefly and only where permitted.
- Test whether the agent reproduces long passages when asked.
- Filter or review generated code for license-bearing copies (Code Review, Refactoring and Quality Measures).
- Do not ask for imitations of named works or brands.
- Offer a clear route for rights holders to report a problem, and act on it.
- Read supplier indemnities carefully: they often have conditions.
Common mistakes
| Mistake | Better approach |
|---|---|
| Removing a protected field and declaring fairness | Test outcomes; other fields can stand in for it |
| Reporting ratios from tiny groups | Show counts and intervals |
| Testing the model but not the workflow | Compare end-to-end results and access |
| "The data is public, so it is free to use" | Check privacy, copyright and terms |
| Deleting the record but not the copies | Cover indexes, memory, caches and logs |
| Assuming one court ruling settles training | Follow your jurisdiction and facts |
Fairness, privacy and rights checklist
- Harms and affected groups are identified before testing.
- Selection and error rates are compared with counts and intervals.
- Tools return only the data the purpose needs.
- Lawful basis, notices, impact assessment and rights handling are covered.
- Every copy of personal data has an expiry.
- Model, dataset and code licenses are recorded and checked.
- Provenance links chunks back to sources.
- Someone watches legal developments and owns updates.
Frequently asked questions
Is an agent fair if it never sees protected traits?
Not necessarily, because location, language, name or history can act as stand-ins, so you still need to test outcomes.
Does a zero-retention supplier option solve privacy?
It limits one copy, while your own logs, memory and tools and your legal duties still need attention.
Can we use website content in a retrieval index?
That depends on law, licenses, site terms and how you show it, so get advice and prefer content you have permission to use.
Who owns code or text an agent writes?
Contract terms and copyright law both matter, and purely machine-generated parts may receive no copyright protection.
References and further reading
- EDPB Opinion 28/2024 on AI models: anonymity, legitimate interest and unlawful processing.
- General Data Protection Regulation: official text.
- U.S. Copyright Office: Copyright and Artificial Intelligence: reports and guidance.
- IP Update on the Third Circuit ruling: a law firm summary of Thomson Reuters v. ROSS.
- Uniform Guidelines, 29 CFR 1607.4: the four-fifths screen.
Next steps
EU AI Act and US AI Policy
See which legal duties apply by date.
Data Contracts, Access and Retention
Encode data rules in pipelines.
Testing and Evaluation
Add fairness cases to evaluation.