Scaling Audio Content Generation with LLMs and TTS for Language Learning

duolingo · Education · 2025 · source Agentic: no · promotional bias: med · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: AI-generated language-learning audio content

Duolingo needed to scale DuoRadio from a promising but manually produced listening feature into many courses, languages, and episodes without compromising educational quality.

Constraints:

Architecture

Duolingo built an end-to-end DuoRadio generation pipeline. Curriculum content from existing lessons grounds prompts, Learning Designers refine evaluator prompts, learner session data standardizes exercise placement, Workflow Builder generates content at scale, TTS produces multilingual voiceovers, and audio hashing reuses intros/outros to reduce editing. Human expertise remains in prompt/evaluator design rather than per-episode production.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  A["Learning curriculum content"] --> B["Script generation prompts"]
  B --> C["AI evaluator filters"]
  D["Learning Designer review"] --> C
  C --> E["Workflow Builder"]
  E --> F["TTS audio generation"]
  F --> G["Audio hashing cache"]
  F --> H["DuoRadio deployment"]
  G --> H
  E --> H
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Learning curriculum content Existing Duolingo lessons, sentences, and exercises used as grounding examples for generated scripts. Script generation prompts
Script generation prompts Generate DuoRadio script candidates from course-specific curriculum examples. Learning curriculum content, AI evaluator filters
AI evaluator filters Assess generated scripts for naturalness, grammar, coherence, logic, and learning criteria. Learning Designer review, Workflow Builder
Learning Designer review Designs prompts and iteratively raises evaluator quality standards. AI evaluator filters
Workflow Builder Internal content generation prototyping tool that generates DuoRadio content at scale. AI evaluator filters, TTS audio generation
TTS audio generation Automatically produces lifelike multilingual voiceovers. Audio hashing cache, DuoRadio deployment
Audio hashing cache Stores and retrieves pre-generated audio such as intros and outros. TTS audio generation, DuoRadio deployment
DuoRadio deployment Learner-facing delivery of generated episodes across courses and languages. Workflow Builder

Data flow

Existing curriculum sentences and exercises are supplied to the generative model to produce candidate scripts. AI evaluators filter scripts for naturalness, grammar, coherence, logic, and learning criteria. Standardized exercise ordering and learner-session data shape episode structure. Approved scripts move into TTS and audio hashing, then into end-to-end deployment.

3 supporting quotes
“feeding existing content from our learning curriculum delivered far better results as it gave our generative AI model specific patterns to follow”article, stated
“we created a bunch of extra episodes and built a generative AI-powered filtering process that assessed scripts on naturalness, grammaticality, coherence, logic, etc.”article, stated
“Advanced Text-to-Speech (TTS) enabled us to automatically create lifelike voiceovers in multiple languages.”article, stated

Why this architecture

The breakthrough was not more prompt constraints but curriculum-grounded generation plus evaluator filtering: Duolingo gave the model concrete learning examples, then used AI and Learning Designers to enforce quality before automating audio production.

3 supporting quotes
“adding more constraints on our generative AI prompts didn’t work well.”article, stated
“By supplying the prompts with well-crafted sentences and exercises created by our Learning Designers for Duolingo lessons”article, stated
“This proved that automation could maintain DuoRadio’s value proposition while significantly increasing coverage and maintaining Duolingo’s high quality bar.”article, stated

Models used: generative AI script models · generative AI evaluator prompts · Text-to-Speech models

Scale

Alternatives considered (roads not taken)

Generate original scripts from scratch

Rejected because: The results were subpar and needed extensive manual editing.

“Our first attempt to generate original scripts produced subpar results and required extensive manual editing”article, stated

Translate existing English episodes

Rejected because: Translations missed accuracy and proficiency-level requirements.

“these translations frequently missed the mark regarding translation accuracy and proficiency level”article, stated

Free-form model sequencing of exercises

Rejected because: Quality was inconsistent until learner session data standardized order and placement.

“Initially, our generative AI prompts had the freedom to sequence and place exercises, but the quality was a hit or miss.”article, stated

Patterns

synthetic-data-generation (content-generation)

Generative models create large volumes of DuoRadio scripts from curriculum-grounded examples.

“By supplying the prompts with well-crafted sentences and exercises created by our Learning Designers for Duolingo lessons, it was possible to generate a large volume of promising scripts (level-appropriate, grammatically sound, using the correct vocabulary, etc.).”article, stated

eval-driven-development (evaluation)

AI evaluator prompts filter scripts and are refined by Learning Designers over time.

“Our Learning Designers refined these evaluator prompts over time to filter for better and better content. With each step along the way, they raised the bar for our learners.”article, stated

human-in-the-loop-gate (governance)

Learning Designers design and refine generation and evaluation criteria, maintaining educational standards.

“A group of Product Managers and Learning Designers teamed up to find a faster way to produce high-quality episodes”article, stated

semantic-caching (optimization)

Audio hashing reuses pre-generated audio assets such as intros and outros.

“audio hashing (a technique for quickly storing and retrieving pre-generated audio) ensured consistent intros and outros”article, stated

Tradeoffs

Prompt design

Chose curriculum-grounded examples over more elaborate instruction constraints.

Rationale: Existing curriculum gave models specific patterns to follow and produced better scripts.

“adding more constraints on our generative AI prompts didn’t work well. Instead, feeding existing content from our learning curriculum delivered far better results”article, stated

Audio production

Chose TTS plus audio hashing over voice actors and specialized manual editing for every episode.

Rationale: Automated voiceovers and cached audio assets reduced the audio-production bottleneck.

“Advanced Text-to-Speech (TTS) enabled us to automatically create lifelike voiceovers in multiple languages. Meanwhile, audio hashing (a technique for quickly storing and retrieving pre-generated audio) ensured consistent intros and outros, dramatically reducing manual editing time.”article, stated

Gotchas (what bit them)

Naive script generation did not meet educational quality.

Root cause: The model lacked concrete curriculum patterns and produced content requiring extensive editing.

Resolution: Feed existing lesson sentences and exercises into prompts as domain examples.

“feeding existing content from our learning curriculum delivered far better results as it gave our generative AI model specific patterns to follow”article, stated

English-only prompt instructions failed for non-English courses.

Root cause: Course-specific language and proficiency expectations were not captured by generic English instructions.

Resolution: Use language-specific content from each course curriculum.

“English-only generative AI prompt instructions were less effective. Leveraging language-specific content from each course curriculum dramatically improved accuracy and relevance.”article, stated

Generation quality was variable even after curriculum grounding.

Root cause: Candidate scripts varied in naturalness, grammar, coherence, logic, and learning fit.

Resolution: Generate extra candidates and filter them through AI-powered evaluators refined by Learning Designers.

“AI could generate many potential episodes, but they didn’t all meet our standards.”article, stated

Evaluation

Duolingo evaluates scripts with AI-powered filters for naturalness, grammaticality, coherence, logic, and learning criteria, refined by Learning Designers.

Metrics: naturalness · grammaticality · coherence · logic · learning criteria · daily sessions · course and episode coverage

“assessed scripts on naturalness, grammaticality, coherence, logic, etc.—so only the best made it to learners.”article, stated

Outcomes

The system shifted production work from per-episode manual scripting/audio editing to curriculum-grounded generation, evaluator filtering, TTS, and deployment pipelines.

“* DuoRadio daily sessions grew from 500K to 5M in fewer than 6 months, bringing immersive listening practice to millions more people learning with Duolingo.”article, stated
“Where it once would have taken 5+ years to deliver this volume of DuoRadio’s content, it took fewer than two quarters to go from 2 to 25+ courses and increase total episodes from 300 to 15,000+ (while saving 99% of the costs).”article, stated