Level 1 Use AI · Safety, Ethics and Society
Deepfakes and Misinformation
Generative AI can produce convincing fake photos, voices, videos and text in seconds. This chapter covers how synthetic media is used and misused, why detection is hard, how watermarking and provenance work, what the law now says, and how to protect yourself.
- Level
- ●●●●● Beginner
- Reading
- 13 min
- To learn it well
- 40 minutes to read, 20 minutes to try the code
- Builds on
- 16 concepts →
- Quiz
- 4 questions ↓
Read first
What Generative Models DoThis leads to
—The full path from zero — 16 concepts before this one
- What Is AI?
- Probability Basics
- Vectors
- Derivatives and Slopes
- How Machines Learn
- Probability Distributions
- Partial Derivatives and Gradients
- Matrices and Matrix Multiplication
- Supervised, Unsupervised and Reinforcement Learning
- Gradient Descent
- Supervised Learning
- Linear Regression
- The Perceptron
- Logistic Regression
- Neural Networks
- What Generative Models Do
- Deepfakes and Misinformation
Read them roughly in this order. See it on the concept map →
Why it matters
Until recently, faking a realistic photo, voice recording or video took skill, time and money. Generative models, including diffusion image generators, voice cloning and video models, have made it fast, cheap and available to anyone. A few seconds of someone's recorded speech is enough for some tools to imitate their voice. Realistic images of events that never happened take seconds to make.
Synthetic media is any image, audio, video or text generated or substantially altered by AI. Most of it is harmless or useful: film effects, dubbing into other languages, accessibility tools, art, marketing. A deepfake is synthetic media that realistically depicts a real person saying or doing something they never said or did. The word comes from a Reddit user who, in 2017, posted face-swapped pornographic videos of celebrities, and it combines "deep learning" with "fake".
The harms are real and documented:
- Fraud. In early 2024 an employee at the Hong Kong office of the engineering firm Arup paid out about US$25 million after a video call in which the company's "chief financial officer" and other colleagues were deepfakes. Cloned voices of relatives asking for urgent money are a growing scam.
- Non-consensual intimate imagery. Most deepfakes online have been sexual images of women made without consent, sometimes of children, sometimes using apps that "undress" photos. In January 2024, explicit AI images of Taylor Swift spread widely on X before being removed.
- Elections and politics. Two days before Slovakia's September 2023 election, a fake audio clip of a party leader apparently discussing vote-rigging circulated online. In January 2024, robocalls with a cloned voice of President Biden told New Hampshire voters not to vote in the primary. The political consultant behind them was later fined $6 million by the US Federal Communications Commission.
- Eroding trust in all recorded evidence, discussed below.
Misinformation is false information spread without intent to deceive; disinformation is spread deliberately. AI makes both cheaper to produce, but it is not their only or main cause. This chapter explains what can be done.
The intuition
There are three broad ways to tell whether a piece of media is genuine:
- Look at the content itself and try to spot signs of generation. This is what people do when they count fingers, and what automated detectors do.
- Check for a hidden mark that the AI tool deliberately put in when it made the content: a digital watermark.
- Check the content's history: a signed record, made at the moment of capture or creation and carried with the file, of where it came from and how it was edited. This is content provenance.
The first is losing ground, the second only covers tools that choose to cooperate, and the third only covers content that was signed. Together they help. None is a complete answer, which is why human judgement still matters.
Key idea You can no longer reliably tell AI-generated media from real media by looking. The more durable question is not "does this look fake?" but "where did this come from, and who vouches for it?"
How it works
Why detection is hard
Early deepfakes had tell-tale flaws: faces that didn't blink, mangled hands, warped text, mismatched earrings, odd lighting. Each generation of models fixes the flaws that people learned to spot. Automated AI detectors, classifiers trained to distinguish real from generated content, face the same arms race and several deeper problems:
- They don't generalise. A detector trained on one generator's images often fails on a new generator's.
- They're easy to evade. Cropping, resizing, compressing, adding noise or re-recording a screen can defeat them (see Adversarial Examples).
- False positives hurt. For text, detection is especially weak. OpenAI withdrew its own AI-text classifier in July 2023 because of its low accuracy, and studies have found text detectors disproportionately flag writing by non-native English speakers. A false accusation of cheating or fakery does real damage.
Detection still has uses, especially by professionals combining several tools with other evidence, but a detector's score alone should never decide anything important.
Watermarking
A watermark is a signal embedded in content when it's generated, invisible to people but detectable by software that knows the secret key. For images and audio, the signal is spread through pixel or sample values so that it survives ordinary edits such as cropping and compression. Google DeepMind's SynthID, introduced in 2023, watermarks content from Google's image, audio, video and text models.
For text, watermarking works by nudging word choice. One well-known method (Kirchenbauer and colleagues, 2023) works like this. At each step, a secret key and the previous token split the vocabulary into a "green" half and a "red" half. The model is nudged towards green tokens. Ordinary text hits green about half the time by chance; watermarked text hits it much more often. A statistical test on the count reveals the mark, without needing the model itself. In 2024 Google DeepMind reported in Nature a live test of its SynthID-Text scheme on about 20 million Gemini responses, with no noticeable drop in quality as judged by users.
Watermarks have limits. They only mark content from tools that apply them, and open-source models can be run without them. Heavy editing weakens them. For text, paraphrasing (by hand or with another model) can wash a watermark out, and short texts carry too little signal.
Provenance and Content Credentials
Provenance flips the problem around: instead of proving something is fake, it lets genuine content prove where it came from. The C2PA standard (Coalition for Content Provenance and Authenticity, founded in 2021 by Adobe, Microsoft, the BBC, Intel, Arm and Truepic) defines a signed "manifest" attached to a file. It records which device or software created the content, what edits were made and by what, and whether AI was used. Each step is cryptographically signed, so tampering is detectable. The user-facing label is called Content Credentials.
As of late 2026, some cameras from Leica, Sony and Nikon, and Google's Pixel 10 phones, can sign photos at capture; Adobe's tools, OpenAI's and Google's image generators and others attach credentials to their outputs; and LinkedIn, TikTok and others display or read them. The main weakness is that the manifest is metadata that can be stripped: a screenshot, a re-encode or an upload to a platform that discards metadata removes it. Missing credentials prove nothing, because most genuine content doesn't have them yet.
The liar's dividend
Synthetic media causes a second, subtler harm. Once everyone knows convincing fakes are possible, real evidence becomes easier to deny. Legal scholars Bobby Chesney and Danielle Citron called this the liar's dividend: a politician caught on a genuine recording can claim it's a deepfake, and some people will believe them. Over time this may matter more than any single fake, because it erodes the shared evidence that public debate depends on. Provenance helps here too: a signed original from a trusted source is harder to dismiss.
How big is the effect?
Fears were high before 2024, a year with national elections in countries home to roughly half the world's population. Reviews afterwards by researchers and fact-checkers generally found AI-generated content was common but found little evidence that it changed any election's outcome. Cheap tricks such as cheapfakes (real media deceptively edited, slowed down or taken out of context, without any AI) and ordinary false claims remained at least as important. That doesn't mean the risk is small: the tools keep improving, targeted fraud is clearly growing, and the slow erosion of trust is hard to measure. But "AI will flood the world with fakes that fool everyone" and "deepfakes don't matter" are both too simple.
In code
This toy implements the green-list text watermark described above. There's no real language model: at each step a stand-in "model" offers 20 plausible next tokens, and the watermarking version prefers green ones. A z-score measures how far the green count is above what chance predicts.
import hashlib, math, random
VOCAB = 1000 # token ids 0..999
GAMMA = 0.5 # fraction of the vocabulary that is "green" at each step
def is_green(prev, tok):
"""Secret rule: the previous token seeds a pseudo-random half of the vocabulary."""
h = hashlib.sha256(f"secret-key|{prev}|{tok}".encode()).digest()
return h[0] < 256 * GAMMA
def generate(n, watermark, rng):
out = [rng.randrange(VOCAB)]
for _ in range(n - 1):
# a stand-in "model": 20 plausible candidate tokens for the next position
candidates = rng.sample(range(VOCAB), 20)
if watermark: # nudge: prefer a green candidate when there is one
greens = [t for t in candidates if is_green(out[-1], t)]
candidates = greens or candidates
out.append(rng.choice(candidates))
return out
def z_score(tokens):
hits = sum(is_green(a, b) for a, b in zip(tokens, tokens[1:]))
n = len(tokens) - 1
return (hits - GAMMA * n) / math.sqrt(n * GAMMA * (1 - GAMMA))
def paraphrase(tokens, frac, rng): # replace a fraction of tokens at random
return [rng.randrange(VOCAB) if rng.random() < frac else t for t in tokens]
rng = random.Random(0)
human = generate(200, watermark=False, rng=rng)
marked = generate(200, watermark=True, rng=rng)
print(f"ordinary text: z = {z_score(human):5.1f}")
print(f"watermarked text: z = {z_score(marked):5.1f}")
for frac in [0.2, 0.5]:
print(f"watermarked, {int(frac*100)}% replaced: z = {z_score(paraphrase(marked, frac, rng)):5.1f}")
print(f"watermarked, first 25 tokens only: z = {z_score(marked[:25]):5.1f}")
# ordinary text: z = -0.5
# watermarked text: z = 14.1
# watermarked, 20% replaced: z = 8.4
# watermarked, 50% replaced: z = 3.6
# watermarked, first 25 tokens only: z = 4.9
The z-score counts standard deviations above chance (see Statistics: Mean, Variance and Sampling). Ordinary text sits near 0. Watermarked text scores 14, astronomically unlikely by chance. Detectors typically flag text above a threshold such as 4. Replacing half the tokens drops the score below that line, because each replaced token breaks two green-list pairs (with the token before and after). Short texts carry less evidence: 25 tokens only just clear the threshold.
The law (as of late 2026)
- EU. The AI Act's Article 50 requires providers of generative AI to mark output in a machine-readable way and deployers to disclose deepfakes, applying from August 2026 (with a grace period to December 2026 for systems already on the market). Amendments agreed in 2026 also ban AI systems built to generate non-consensual intimate images. See AI Regulation and Governance.
- United States. The federal TAKE IT DOWN Act (May 2025) criminalises publishing non-consensual intimate images, including AI-generated ones, and requires platforms to remove them within 48 hours of a valid request. In February 2024 the FCC ruled that AI-generated voices in robocalls fall under existing restrictions on artificial voices. Many states have laws on election deepfakes and intimate deepfakes.
- China has required labelling of deep synthesis since 2023, and from September 2025 visible and machine-readable labels on AI-generated content.
- Platforms such as YouTube, Meta and TikTok require creators to disclose realistic AI-generated content and label it.
Protecting yourself
A short checklist, from most to least important:
- Slow down when something triggers strong emotion, whether outrage, fear or urgency. That is what manipulation aims at.
- Check the source, not the pixels. Who first published this? Is it a credible outlet or account? Use lateral reading: open new tabs and see what other sources say about the claim and the source, instead of studying the item itself. The SIFT method (Stop, Investigate the source, Find better coverage, Trace to the original) packages this; see Checking AI Output.
- Look for the original. Reverse image search can reveal older or uncropped versions, often showing a real photo used out of context.
- For urgent requests for money or data by phone or video, verify through another channel. Hang up and call back on a known number. Some families and companies agree a code word in advance.
- Check Content Credentials where available (for example with the C2PA verify tool), remembering that absence proves nothing.
- Don't rely on detectors or on spotting glitches.
- Limit how much clean audio and video of yourself is public, if you're likely to be targeted.
Watch out If someone creates or shares intimate deepfakes of you, document everything (screenshots, links, dates), report it to the platform and, where it's a crime, to the police. Services such as StopNCII.org help adults get images removed from participating platforms; for images of minors, the US National Center for Missing & Exploited Children runs a similar "Take It Down" service.
Common pitfalls
- Assuming you can tell by looking. Studies repeatedly find people are barely better than chance at spotting good synthetic faces and voices, and often overconfident.
- Trusting a detector's percentage. Especially for text and especially for accusations against individuals.
- Treating "no credentials" or "no watermark" as proof of authenticity.
- Calling everything a deepfake. Most misleading media is real content taken out of context, and crying "deepfake" at genuine evidence feeds the liar's dividend.
- Forgetting audio. Voice clones are cheaper and more convincing than video, and phone calls give you fewer clues.
Where it leads
- What Generative Models Do, Diffusion Models, Video Generation and Music and Voice Generation explain the technology that produces synthetic media.
- AI Regulation and Governance covers transparency and labelling duties in detail.
- Privacy, Data and Copyright covers consent, likeness and the use of people's images in training data.
- AI Risks and Safety places deepfakes among other misuse risks.
- Checking AI Output gives practical verification habits for everyday AI use.
A bit of history
Manipulated photos are as old as photography: Stalin's censors famously removed purged officials from pictures. Digital editing made it easier in the 1990s. The modern era began with generative adversarial networks (2014), which by 2018 could produce photorealistic faces of people who don't exist, and with the face-swap tools that gave deepfakes their name in 2017. A 2018 video in which Barack Obama appeared to say words actually spoken by Jordan Peele became a widely shared warning. Diffusion models (from 2020) and text-to-image services such as Midjourney and DALL·E 2 (2022) made realistic images trivial to generate; a 2023 image of Pope Francis in a white puffer jacket fooled many people. Voice cloning and video generation became widely available in 2023–2025. In response, Adobe launched the Content Authenticity Initiative in 2019, C2PA was founded in 2021, Google introduced SynthID in 2023, and laws specifically targeting deepfakes appeared from 2023 onwards.
Try it
- In the code, change
GAMMAto 0.25 (a quarter of the vocabulary is green). Does the watermark become stronger or weaker? Why?- Find a recent viral image or video that turned out to be fake or misleading. Was it AI-generated, or a cheapfake? Which step of the checklist would have caught it fastest?
- Upload a photo from your phone and an AI-generated image to a Content Credentials verification site. What does each show?
Hint for 1: with a smaller green list, chance hits are rarer, so each deliberate green choice stands out more, as long as the "model" still often has a green candidate available. Try it and compare the z-scores.
Learn more
Hand-picked courses, books, videos and tutorials for going deeper. See all resources →
Content Credentials
The open standard for labelling how an image, video or audio file was made, including by AI, with a free tool to inspect a file's credentials.
SIFT (The Four Moves)
A four-step habit for checking anything you read online: Stop, Investigate the source, Find better coverage, Trace claims to the original. Works just as well on AI answers.
C2PA (Coalition for Content Provenance and Authenticity)
The open technical standard behind Content Credentials - cryptographically signed records of where a piece of media came from and how it was edited - with the specification and explainers.
SynthID
Google DeepMind's family of invisible watermarks for AI-generated images, audio, video and text, with an overview of how they work and where they are used.
A Watermark for Large Language Models
The "green list" method for watermarking generated text by nudging token choices, and a simple statistical test to detect it. The basis of this chapter's code.
Scalable watermarking for identifying large language model outputs
Describes SynthID-Text and its live test on about 20 million Gemini responses, showing a text watermark can be deployed without users noticing a quality drop.
Responsible Practices for Synthetic Media
A framework, with case studies, for how creators, developers and platforms should disclose and handle synthetic media responsibly.
Facts checked as of 30 November 2026. Fast-moving details (products, prices, laws) change often. · Source: content/entries/society/deepfakes-and-misinformation.md