Problem
Listeners of long podcast episodes cannot easily see an episode's structure or find the part they want. Most episodes on Spotify have no creator-provided chapters, so chapters must be made automatically at platform scale. The task is hard for two reasons. Spoken conversation has soft, spontaneous topic transitions. Transcripts are also long (about 16,000 tokens on average), so a model has to work in pieces without losing context.
Example from the article: an episode transcript of about 16,000 tokens (the average length) has to be turned into chapters, each labeled with a title and a timestamp.
Solution in brief
PODTILE is a fine-tuned encoder-decoder transformer. It reads a transcript chunk and writes the chapter boundaries and the chapter titles in one output. Each chunk is prefixed with global context: the episode title and description, plus the titles of chapters already predicted earlier in the episode. Chapter titles also improved BM25 retrieval over episode descriptions.
Questions this case answers
- How to segment and title very long conversational text with a model whose input window is shorter than the document
- How to add compact, cheap-to-index text fields to long audio or video content so that retrieval improves without indexing the full text
- How to split a long podcast transcript into titled chapters automatically?
- How to keep context when a transcript is too long for one model input?
Tools and methods
- Fine-tuned encoder-decoder transformer (LongT5 family) — joint prediction of chapter boundaries and titles.
- Global context (title, description, previous chapter titles) — keeps meaning across chunks.
- GPT-4 zero-shot — baseline for comparison.
- BM25 over episode descriptions plus chapter titles — extrinsic check of the chapters in search.
Google or a one-time email code. No password.