← projects

Senior thesis · Princeton · advised by Manoel Horta Ribeiro · in progress

What Survives the Clip?

Which moments of long-form podcasts get clipped into TikToks, and which of those clips take off.

~32M
TikToks in the research corpus
84k
podcast episodes searched
796k
passages in the study corpus
11×
cheaper per clip after tuning

The question

A lot of people never listen to a full episode of the big podcasts. They see a minute of it on TikTok. So whoever cuts the clips decides what most people think a show is about, and the platform then decides which of those clips get seen.

My thesis splits that into two questions. Selection: out of a three-hour episode, which moments get clipped? Amplification: once something is clipped, what predicts whether it actually spreads?

The data

On the TikTok side there’s a research corpus of about 32 million videos, roughly 3% of what was posted in the US from early 2025 through mid 2026, with engagement data. On the podcast side I search a Princeton corpus of 84,000 episodes, and the study itself uses 16 shows (Rogan, Theo Von, Tucker, Shapiro, Call Her Daddy, The Daily and others): 9,483 episodes from July 2024 to September 2025, cut into 796,259 overlapping passages.

Everything is speech, so the first step is speech-to-text over all of it with Whisper, run as batch jobs on Princeton’s research cluster.

Why matching is hard

You’d think finding where a clip came from is just a text search. It isn’t:

  • Clips are cut mid-sentence, sped up, captioned and talked over by whoever reposted them.
  • Speech-to-text gets the same words wrong in different ways each time, especially names.
  • A lot of audio isn’t unique. Every political show replays the same debate answer or hearing exchange, so a perfect text match can point at the wrong source.
  • The published audio drifts: ads get inserted after the fact (a minute on median, up to nine), so timestamps don’t line up.
  • And it has to run on millions of clips against hundreds of thousands of passages, so anything that compares every clip to everything is out.

How the matcher works

It works in two stages. First, each clip is split into overlapping 80-word windows, and for each window I look up its 12 rarest words and its 12 rarest three-character fragments in an index of every passage. Rare words are what make a passage identifiable, and the fragments still line up when a name is misheard. Each lookup keeps its top 60 passages, which comes to about 290 candidates per clip instead of hundreds of thousands.

Second, every candidate gets fuzzy-aligned against the clip to find the exact span and score it on similarity, length and whether the words come in the same order. A match needs a run of at least 12 words in a row. Replayed audio is its own category: when the best match is a debate or hearing that lots of shows aired, it gets labeled as shared audio, not as a clip of that show.

  1. 01

    ~32M TikToks

    speech-to-text

  2. 02

    Query windows

    80 words, every 40

  3. 03

    Rare-feature lookup

    12 rarest words + 12 rarest trigrams

  4. 04

    ~290 candidates

    out of millions of passages

  5. 05

    Fuzzy alignment

    exact span + timestamp

Podcast side: tens of thousands of episodes, transcribed and cut into overlapping 240-word passages, then indexed by word and character trigram.
# Stage 1: each 80-word window looks up only its rarest features.
def candidates(window, index, limit=60):
    words = sorted(set(window.words), key=index.doc_freq)[:12]
    grams = sorted(set(char_trigrams(window.text)), key=index.doc_freq)[:12]
    found = set()
    for feats in (words, grams):
        # passage score = sum of log((P + 1) / (df + 1)) over the features it contains
        found |= index.top_passages(feats, k=limit)
    return found                      # ~290 per clip instead of millions

# Stage 2: fuzzy-align each candidate to find the exact span.
def rank(clip, passages):
    for p in passages:
        a = partial_ratio_alignment(clip.text, p.text)        # RapidFuzz
        length = min(a.aligned_words / 30, 1)
        yield p.episode, a.span, a.similarity * length * word_order(clip, p, a)
python · simplified sketch of the two stages

Making it fast

At the original settings, matching all 32 million TikToks would have cost around 30,000 CPU-hours. Profiling showed most of the time wasn’t the alignment at all but reading lookup lists, so I rewrote that part (an in-memory index, smarter lookups) with output checked to be identical, and then tuned how many candidates to keep. Per clip it went from 3.01 to 0.27 CPU-seconds.

The catch is that the cheapest settings aren’t lossless on random TikToks, even though they were on the clean test clips. So the latest round is a 600-job grid (three lookup types × five corpus sizes × eight candidate limits, about 640 CPU-hours) to pick the setting with the best accuracy for the cost.

original3.01 s
tuned0.27 s
CPU-seconds per clip against the full corpus, all 6,223 test TikToks

Checking it

Accuracy comes from hand labels: a review page that plays the TikTok and the matched podcast moment side by side, with 136 decisions so far. An LLM pre-screens candidates by reading both transcripts, and when I checked its calls by listening I agreed with it 68 times out of 69, which makes labeling at scale realistic. On clips we know the answer to, the right episode comes out on top every time; on random TikToks the recall question is what the grid is for.

~10 compared0.63
~500.89
~1000.95
~1500.96
~300 (default)0.98
Recall against a top-100 reference on 6,223 random TikToks, by how many passages each clip gets compared to

What’s next

With matches in hand, each episode gets cut into clip-length segments and labeled for things like conflict, humor, emotion, certainty and how quotable a line is. Comparing a clipped moment with the unclipped moments right around it in the same episode controls for the show and the topic, which is what makes the selection question answerable. Then engagement on the clips, controlling for creator and upload age, gets at what actually spreads.