The Ethics of Generative AI
Where things stand (as of Oct 2026, check for updates): the EU AI Act marking duty for synthetic media (Article 50) applies from August 2026. The FCC ruled that AI voices in robocalls are covered by the robocall law. The C2PA Content Credentials standard is backed by companies such as Adobe, Microsoft, Google, OpenAI and Meta (check the member list).
After this lesson, you will be able to:
- Recognize the major ethical challenges in generative AI: deepfakes, non-consensual imagery, copyright, training data consent, bias amplification, and environmental cost
- Explain the three complementary strategies for combating AI misuse: C2PA content provenance, invisible digital watermarking (e.g., SynthID), and AI-content detection classifiers, and articulate why provenance is more sustainable than detection
- Understand the legal landscape as of Oct 2026 (check for updates): major lawsuits (Getty v. Stability AI, NYT v. OpenAI), the EU AI Act's marking and training-data summary duties, and the FCC's ruling on AI voices in robocalls
- Apply the Five Questions responsible-use framework (consent, harm, transparency, fairness, proportionality) to evaluate any generative AI use case
Before you start
A fake image, voice or video that shows a real person saying or doing something they never did.
A record of where a piece of media came from and what was done to it.
A standard for signed labels, called Content Credentials, that travel with a file and record how it was made.
A hidden pattern placed in generated media so that a detector can later recognise it.
A model that guesses whether media is AI-made. It makes mistakes and gets worse as generators improve.
A legal idea that sometimes allows use of copyrighted work without permission. Courts decide case by case whether AI training counts.
A model repeats a pattern in its data and makes it stronger, and its output then feeds later training.
A short public document that says what a model can do, what it cannot, and how it was tested.
#The Deepfake Problem
This is the most important lesson in the entire generative AI track. All the technical skill you have learned is powerful, and with power comes responsibility. The ethical questions here are not hypothetical thought experiments; they are situations you will personally encounter. Taking them seriously is what separates a responsible practitioner from someone who causes real harm.
Try it! Search for "AI generated vs real" on any search engine and try to identify which images are AI-generated and which are real photographs. Keep track of your score. Many people find it hard to tell them apart. That is how good the technology has become, and why this ethical discussion matters so urgently.
#Why deepfakes are dangerous:
- Political manipulation: Fake videos of leaders making inflammatory statements can destabilize elections and diplomacy
- Non-consensual intimate imagery: A large share of deepfakes online are non-consensual pornography, disproportionately targeting women
- Fraud: Voice cloning has been used to impersonate CEOs and authorize fraudulent wire transfers
- Erosion of trust: When anything can be faked, people stop trusting real evidence too — this is the "liar's dividend"
#Detection and Watermarking
How do we fight back?
An AI generates a photorealistic image of a celebrity endorsing a product they never agreed to endorse. Is this legal?
- Artifact analysis: Current models leave subtle traces — unusual ear symmetry, inconsistent lighting, missing reflections in eyes, blurred text. But these artifacts shrink with each model generation.
- Frequency analysis: AI-generated images have different patterns in the frequency domain (high-frequency details) than real photographs. Forensic tools can sometimes detect this.
- Provenance tracking: Rather than detecting fakes, prove originals are real.
- Some camera makers embed cryptographic signatures at capture time
- Every edit is logged in a tamper-proof metadata chain
- When you see a photo with a C2PA badge, you can verify its entire history from camera to publication
- Adobe, Microsoft, Google, and major camera makers are adopting it
- The approach: "Do not try to prove fakes are fake — prove originals are real"
- Google's SynthID watermarks content from Google's own models, such as images from Imagen
- Google says the watermark is designed to survive common edits like cropping and compression, but no watermark survives every attack
- They are imperceptible to humans but detectable by algorithms
#Real Cases That Changed the Rules
These are not hypothetical scenarios. Each of these events triggered real policy changes:
-
A student used AI to generate fake nudes of classmates — This happened at multiple schools across the US and Europe. It led to new school policies banning AI-generated imagery of real people, and in several jurisdictions, to criminal charges and new legislation specifically targeting AI-generated non-consensual intimate images.
-
Artists sued Stability AI for training on their work without permission — Thousands of artists joined class-action lawsuits against Stability AI, Midjourney, and DeviantArt, arguing that training on copyrighted art without consent is infringement. In the UK, the High Court's November 2025 judgment in Getty Images v. Stability AI largely favoured Stability, with limited trade mark findings, and a separate US case is ongoing. The artists' cases against Stability AI and Midjourney are ongoing with mixed rulings — some claims have been dismissed while others are proceeding. As of Oct 2026, check the current status of each. The legal landscape around AI-generated content is evolving rapidly; check current case law for the latest rulings.
-
Deepfake robocalls impersonated politicians during elections — AI-generated voice calls mimicking President Biden told New Hampshire voters to stay home on primary day in January 2024. The FCC responded in February 2024 with a ruling that AI-generated voices in robocalls count as artificial voices under the Telephone Consumer Protection Act, so such calls without consent are illegal nationwide.
-
AI-generated academic papers submitted to journals — Researchers discovered AI-generated papers with fabricated data and citations submitted to peer-reviewed journals. This led to mandatory AI disclosure policies at major publishers including Springer Nature, Elsevier, and IEEE, requiring authors to declare any AI assistance in their work.
#The Content Authenticity Problem
How do you PROVE something is AI-generated? This is one of the hardest unsolved problems in the field. Current approaches:
None of these approaches are foolproof. The most robust strategy is to combine all three — provenance tracking for trusted sources, watermarking for generated content, and detection as a last resort for unlabeled content.
#Why most "invisible watermarks" actually fail
- Do: Run the code once, then raise the message length to 128 bits and run it again.
- Notice: The clean image decodes perfectly. After JPEG at quality 30 or a 2-pixel crop, the message turns to gibberish.
- Why: The message hides in each pixel's lowest bit, and compression and cropping change exactly those bits.
A determined adversary paraphrases / re-encodes / crops a watermarked AI image to hide its origin. Which watermarking approach is MOST likely to survive end-to-end?
True or false: C2PA is a 'watermark' that hides an invisible signal inside the pixels of an AI-generated image.
A news organization uses AI to write 50% of its articles without disclosing this to readers. Is this ethical?
The most defensible answer: it depends on context, but disclosure should be the default. Routine data-driven articles (sports scores, weather, stock earnings) written by AI are widely accepted in journalism, but only when the practice is disclosed. Opinion pieces, investigative journalism, and news analysis carry an implicit promise that a human journalist applied their judgment, sources, and accountability. Non-disclosure in these cases is deceptive regardless of quality. The key principle: readers deserve to know what they are reading and who (or what) is accountable for its accuracy.
#Lab: A Toy Text Watermark and How It Breaks
The lab uses a made-up language model: 500 words, each next-word choice random but fixed by the previous word. Texts are 200 words long. The nudge is a bonus of 2.0 added to every green word's score before the model picks.
Tests: Check that plain text scores about 0 (-0.14), watermarked text scores 10.47, replacing 40% of tokens leaves 4.24 and 60% leaves 0.14, and the very-sure model scores 2.12.
The printed lines match the comments in the solution box. Plain text scores -0.14, near zero as chance predicts. The watermarked text scores 10.47. Now attack it: replace 20% of the words at random and the score is 6.08, at 40% it is 4.24 (just over the line), and at 60% it is 0.14, which looks like plain text. The last line is the other weakness: when the model is almost certain of every word (the way code and quotations often are), there is little freedom to nudge, so even unattacked text scores only 2.12.
Honest caveats:
- This is a toy with a made-up model. Real systems work on tokens from a real language model, and the numbers you get depend on the text, the length and the nudge strength. Do not carry these scores over.
- Removal is easy for someone who tries. Rewording with another model, translating and back, or swapping words all lower the score, as the lab shows. Research on watermark removal and on spoofing (making human text look watermarked) exists; verify the papers before quoting results. A watermark shows that a cooperating generator made the text. It cannot show that a person did not.
- Short and predictable text carries little signal. A two-line answer has too few words for a trustworthy z-score. A false accusation is a real harm, so treat a score as one piece of evidence and never as proof.
- It only covers generators that choose to add it. A model run by someone who skips the watermark leaves nothing to find, which is why provenance, watermarking and detection are used together.
#What ML Engineers Must Do
If you are building or deploying generative AI systems, you have specific responsibilities that go beyond "do not be evil." Here are five concrete actions:
-
Add content provenance metadata (C2PA). Every piece of AI-generated content should carry machine-readable metadata identifying it as AI-generated, which model produced it, and when. Under EU AI Act Article 50, providers of systems that generate synthetic media must mark outputs in a machine-readable way, with the duty applying from August 2026. The Act names no specific tool; C2PA is one way to do it, and it is best practice everywhere.
-
Implement opt-out mechanisms for training data. Give creators a way to exclude their work from your training data. Respect robots.txt, honor opt-out requests, and maintain an exclusion list. Proactive consent is better than reactive removal.
-
Build safety classifiers for harmful content. Deploy classifiers that catch harmful outputs — non-consensual intimate imagery, child exploitation material, targeted harassment, and dangerous misinformation — before they reach users. These classifiers must be part of the generation pipeline, not an afterthought.
-
Document model capabilities AND limitations (model cards). Publish model cards that honestly describe what your model can do, what it cannot do, known failure modes, training data composition, and evaluation results across demographic groups. Transparency builds trust and enables informed use.
-
Test for bias across demographics before deployment. Run your model through structured evaluations across gender, race, age, and other demographic dimensions. Measure representation in generated images, tone in generated text, and accuracy across user groups. Fix disparities before launch, not after they become a PR crisis.
#Copyright and Training Data
The legal battles over generative AI training data are the most consequential tech lawsuits since the internet era.
#The Core Question
AI models learn by training on billions of images and texts scraped from the internet. Is this fair use, or is it theft?
#The Arguments
- Training is "transformative" — the model creates new works, not copies
- Models learn patterns and style, similar to how human artists learn from existing art
- Restricting training data would stifle innovation and benefit only large incumbents
- Training at scale is different from a human studying art — it is systematic copying
- Models can reproduce copyrighted content verbatim (memorization)
- Artists lose income when clients use AI instead of hiring them
- Consent was never given, and creators cannot opt out after the fact
#Lab: Did the Model Memorise Its Training Data?
Tests: Check that near-copies have a mean similarity of 0.95, that edited copies and fresh points both average 0.66, and that threshold 0.90 flags 12 of 12 copies with 0 false alarms.
The printed lines match the comments in the solution box. Read the table as a trade. At 0.70 every copy is caught, but 18 of 76 fresh points are flagged wrongly. At 0.90 there are no false alarms and every copy is still caught. At 0.95 the test starts to miss real copies (7 of 12). The edited copies are never caught at any of these thresholds, because heavy edits push them as far from the training point as a fresh image would be.
Honest caveats before you use this idea on a real model:
- The data here is random and the real data is not. Real embeddings from a trained image encoder are bunched, not spread evenly, so ordinary pictures of the same subject can look alike without being copies. Pick a threshold by testing it on pairs a person has labelled, not by copying 0.90 from this lab.
- One embedding captures some kinds of sameness and misses others. A different encoder may call two pictures near-duplicates when this one does not. Teams combine several encoders and a human check on flagged pairs.
- A flag is a lead, not a verdict. Looking alike does not prove the model copied the training image, and a miss does not prove it did not. Published work on memorisation in diffusion models has found duplicated training images that came back close to verbatim; the rate depends on the model and the data, so verify the paper before quoting a number.
- It only checks the data you hold. If the training set is closed or huge, you cannot run the search at all.
#Consent and Privacy
#The LAION Dataset Problem
LAION-5B, one of the most widely used image-text datasets for training generative models, was scraped from the public internet. Researchers discovered it contained:
- Private photos, including medical images that at least one patient found of herself
- Photos of children scraped from social media without parental consent
- Links to non-consensual intimate images that had been uploaded without the subject's permission
- Links to child sexual abuse material, found by Stanford researchers in December 2023. LAION took the dataset offline and released a cleaned version in 2024
The people in these images never consented to being included in AI training data. Their likenesses can now be generated, recombined, and manipulated by anyone using models trained on this data.
#The Consent Problem
Even if you post a photo publicly online, you did not consent to:
- Having your face used to train a face-generation model
- Having your writing style cloned by a language model
- Having your voice synthesized from your podcast episodes
- Having your art style replicated by an image generator
Current law provides weak protections. GDPR (Europe) gives you a "right to be forgotten," but removing your data from a trained model is technically difficult — you cannot easily "untrain" a neural network on specific data points. Research into "machine unlearning" is ongoing but far from practical.
#Bias Amplification
Generative AI does not just reflect societal biases — it amplifies them:
- Representation bias: Models trained on English-language internet data underrepresent non-English cultures, darker skin tones, non-Western architecture, and non-Western beauty standards
- Stereotyping: Text models associate certain professions with certain genders or ethnicities at higher rates than reality
- Erasure: Underrepresented groups may simply not be generated, or be generated inaccurately, reinforcing invisibility
- Quality disparity: Models often generate higher-quality outputs for majority groups because they had more training examples
#Mitigation Approaches
- Curated training data: Deliberately balancing datasets for demographic representation
- Prompt rewriting: Automatically adding diversity terms to prompts (as some products do)
- RLHF and Constitutional AI: Training models to refuse biased or harmful outputs
- Evaluation benchmarks: Measuring bias across demographic dimensions before deployment
- Do: Pick "a gardener" and raise the sampler sharpness from 1.0 to 2.0. Then set it to 1.4 and switch the debias reweighting on. Finally set round hats to 90% and square hats to 8%, so no hat is only 2%, and leave debias on.
- Notice: At sharpness 1.4, round hats are 60% of the training data but 64 of 100 outputs, and at 2.0 they are 74 of 100. With debias on, the draws land near thirds (28, 35 and 37 of 100) but only 60% of the training data counts effectively. With no hat at 2%, even debias leaves it at 15 of 100 and the largest gap stays about 25 points, because the weight is capped at 5.
- Why: A sampler that favours its likely outputs turns a skew in the data into a bigger skew in the outputs, which is amplification. Reweighting scales each style by target over training, so it repairs only the attribute in the table, needs bigger weights for rarer styles, and leans on fewer effective examples. Illustrative, not measured: the prompts, hat styles and shares are invented, and nothing here describes any real group of people. Drawn stand-in, not a trained model.
- Do: Move one group's threshold slider and watch the pass or fail marks for the three fairness checks.
- Notice: Changing one group's threshold changes its error rates, so one check can pass while another fails.
- Why: Fairness has several definitions, and they can disagree. Made-up scores from a classifier, not an image generator.
#Environmental Cost
Training large generative models has a significant carbon footprint:
| Model | Training CO2 (tonnes) | Source |
|---|---|---|
| GPT-3 | ~550 | Academic estimate (Patterson et al., 2021) |
| GPT-4 | Not published | OpenAI has not released training energy figures |
| Stable Diffusion v1 | ~11 | Stability's model card figure |
| Fine-tuning a model | Far less | Depends on GPU hours and the power grid |
The environmental cost comes from:
- GPU electricity: Thousands of GPUs running for weeks or months
- Cooling: Data centers require enormous amounts of cooling
- Water: Data centers use millions of gallons of water for cooling
- Hardware manufacturing: The carbon cost of manufacturing and shipping GPUs
#A Responsible Use Framework
How do you decide whether a particular use of generative AI is ethical? Use this framework:
#The Five Questions
-
Consent: Did the people affected by this output consent? If you are generating images of real people, voices of real people, or text in someone's style — did they agree?
-
Harm: Could this output cause harm? Physical, emotional, financial, or reputational? If a reasonable person would be hurt by this content, do not create it.
-
Transparency: Are you disclosing that this content is AI-generated? Passing off AI work as your own (in school, in journalism, in art) is deception even if it is not always illegal.
-
Fairness: Does this output perpetuate stereotypes or exclude groups? If you are generating images for a professional context, check whether the outputs are diverse and representative.
-
Proportionality: Is the environmental and social cost proportional to the benefit? Using GPT-4 to capitalize a string is wasteful. Using it to help a doctor draft a difficult diagnosis explanation may be worth it.
#The Homework Question
This one is for you. Every student is dealing with this right now.
#Try It Yourself
Tests: Verify that study flashcards scores GREEN (9.06). Verify deepfake scores RED (1.12). The artist-style case prints RED (4.53), just under the 5.0 yellow line. Check that the framework catches consent violations.
#Key Takeaways
- Deepfakes are a real and present danger — AI-generated media can impersonate real people, manipulate elections, and create non-consensual content; detection is an arms race, but provenance systems like C2PA offer a more sustainable defense
- Copyright law is being rewritten in real time — major lawsuits (Getty v. Stability AI, NYT v. OpenAI) will determine whether training on copyrighted data is fair use; the outcome will shape generative AI for decades
- Consent is the missing piece — billions of images and texts were scraped without consent for AI training; LAION-5B contained private photos, photos of children and links to abusive material, and was withdrawn in 2023; "machine unlearning" is not yet practical
- Generative AI amplifies bias — models trained on biased internet data produce biased outputs, and these outputs become training data for future models, creating a compounding bias loop
- Every model has an environmental cost — use the smallest model that works, cache responses, and consider whether you need AI at all for a given task
#Quick Check
What is the 'liar's dividend' in the context of deepfakes?