The Missing Temporal Link: Temporal Context Routing for Script-Driven Audio-Video Generation

Yichen Liu, Quanwei Zhang, Haozhe Wang, Donghao Zhou, Xiaojie Li, Yang Shi, Jiaming Liu, Ruihua Huang and 2 others

PKU · Qwen Applications · HKUST · CUHK · SJTU

Published September 2, 2026 · on the feed September 4, 2026 · ▲ 25 · arXiv 2609.02367

VideoSpeech & audioLanguage & dialogue Full code arXiv ↗Hugging Face ↗Weights ↗

The abstract

Joint audio-video generation models have made substantial progress in visual quality and audio-visual synchronization. However, they still provide limited control over when shot transitions occur and dialogue is spoken. This limitation constrains their application in script-driven content creation, where timing errors can undermine narrative coherence and the viewing experience. Current joint generators align video and audio representations on a shared temporal axis, yet the precise timing of shots and dialogue specified in a structured prompt is encoded only in the prompt's text representation and remains unaligned with the temporal coordinates of either modality. Consequently, video and audio may remain synchronized with each other while both fail to follow the script timeline. This mismatch motivates us to extend temporal alignment beyond video and audio to include the structured script. We therefore introduce Temporal Context Routing (TCR), which maps the script timing onto the shared temporal axis of video and audio generation and routes each prompt's guidance to the corresponding positions in both modalities. Compared with the baseline on 200 test scripts, TCR reduces Shot Boundary MAE by 96%, from 1.11 s to 0.042 s, and raises Dialogue [email protected] s from 28.3% to 84.1%. TCR achieves these improvements while maintaining visual quality and audio-visual synchronization comparable to those of the baselines. A user study further shows that participants prefer TCR on all five evaluated dimensions.

The Brief

2:25

A short podcast summary of the paper. Written and voiced by AI.

Transcript

The Missing Temporal Link. Temporal Context Routing for Script-Driven Audio-Video Generation. By Yichen Liu and nine others, from Peking University, Qwen Applications, and three other institutions. Published on the second of September. Its code repository is worked out: about one hundred and sixty source files, with a readme and a licence.

Joint audio-video generators have got good at visual quality and at keeping audio in sync with video. They remain poor at controlling when things happen: when a shot transition occurs, when a line of dialogue is spoken. For script-driven content that is disqualifying, because a timing error undermines the narrative and the viewing experience even if every frame is beautiful.

The diagnosis is precise and it explains why the problem persisted. Current generators align video and audio on a shared temporal axis, so those two stay synchronized with each other. But the timing specified in a structured prompt lives only in the prompt's text representation, and that representation is not aligned to the temporal coordinates of either modality. So video and audio can remain perfectly in step with one another while both drift off the script's timeline together. There are three things that need aligning, and only two of them were.

Temporal Context Routing extends the alignment to include the script. It maps the script timing onto the same shared temporal axis the video and audio generation already use, and routes each prompt's guidance to the corresponding positions in both modalities, so a cue that says a shot changes at a given moment reaches the part of both streams that renders that moment.

Against the baseline on two hundred test scripts, shot boundary error falls by ninety-six percent, from one point one one seconds to zero point zero four two. Dialogue accuracy within half a second rises from twenty-eight point three percent to eighty-four point one. Those gains come while maintaining visual quality and audio-visual synchronization comparable to the baselines, which is the necessary check: buying timing by losing sync would be no gain at all. A user study finds participants prefer it on all five evaluated dimensions, so the improvement is perceptible to people rather than only to the metrics.

The generalisable observation is that a shared representational space only coordinates the things you actually put into it. The script was present as text and absent from the timeline, and everything downstream inherited that omission faithfully. It is a reminder that synchronisation between two components is not the same as either of them being correct, and that a system can report perfect agreement while both halves are wrong together.

The deep dive

5:28

A longer episode, written from the whole paper. Written and voiced by AI.

Transcript

The Missing Temporal Link. Temporal Context Routing for Script-Driven Audio-Video Generation. By Yichen Liu and nine others, from Peking University, Qwen Applications, and three other institutions. Published on the second of September. This is the long version: the whole paper rather than the abstract.

Joint audio-video generation has advanced fast enough that generative video is moving beyond isolated clip synthesis toward structured content production. One emerging direction is script-driven generation, for short-form drama and advertising, where a scene is represented not as a single text prompt but as a structured prompt of multiple shot descriptions and dialogue lines. A screenplay gets grounded in time and then structured for generation, and the resulting timing is supposed to guide both modalities.

Script-driven generation differs from ordinary text-conditioned generation in two ways, and only the first is obvious. The input is organised differently, into shots and lines. But it also demands temporal control to realise that structure in the output, because each shot or dialogue prompt must guide both modalities during its own designated time span. Current joint generators do align video and audio representations on a shared temporal axis. What they do not do is explicitly associate each prompt with corresponding temporal positions in either modality. The script-specified timing is encoded only in the prompt's text representation.

The insight the authors state is to extend temporal alignment beyond video and audio to include the structured script, representing each prompt's timing as an explicit control signal aligned with the temporal coordinates of both modalities. Their method maps the script timing onto the shared temporal axis that video and audio generation already use, and routes each prompt's guidance to the corresponding positions in both. So a cue saying a shot changes at a given moment reaches the part of both streams responsible for rendering that moment, rather than sitting in a text encoding that the generator interprets globally.

Precision about what is new matters here, because related work exists on both sides. Video-focused methods have explored when local text prompts should influence video generation, so the idea of temporally scoped prompt guidance is not itself novel. What those do not address is how a structured script should jointly control video and audio, which is the specific gap here: two modalities that must both obey the same external timeline, and must not merely obey each other. The distinction sounds pedantic and is the entire paper. Coordinating two things with one another is a different problem from coordinating both against a third, and a system that solved the first can look complete while never having attempted the second.

Against the baseline on two hundred test scripts, shot boundary error falls by ninety-six percent, from one point one one seconds to zero point zero four two. Dialogue accuracy within half a second rises from twenty-eight point three percent to eighty-four point one. Those are large enough to invite suspicion, so the control matters: the improvements come while maintaining visual quality and audio-visual synchronisation comparable to the baselines. Buying timing by losing sync would be no gain, and the paper reports both. A user study finds participants prefer the method on all five evaluated dimensions, which is the check that the metric improvement corresponds to something perceptible.

There is no limitations section, so the boundaries have to be inferred. The evaluation is two hundred test scripts in one system against its own baseline, which establishes the mechanism works and not how it compares with the alternative approaches to temporally scoped guidance from the video-only literature. The screenplay is grounded in time by a language model before any of this runs, so the timing being obeyed is itself generated, and errors introduced there would be faithfully executed rather than caught. And the reported gains are on shot boundaries and dialogue onsets, which are the two things the routing is aimed at: nothing establishes what happens to the timing of anything the structured prompt does not name.

The generalisable observation is that a shared representational space only coordinates what you actually put into it. Video and audio were in the space, the script was not, and everything downstream inherited that omission while every metric reported agreement.

Paper Quest · 7 chapters · about 40 min

Play this paper

Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.

Chapter 1 🧩 · The problem

Every quest starts with a wall. Here it is a beautiful clip that ignores its own script.

You are making a short drama from a script with a model that creates the picture and the soundtrack together. The script says the shot cuts at a certain second and a character speaks a line just after.

The road ahead

  1. 1 · The problem ~7 min A joint audio-video model keeps sound and picture in step with each other, yet both can miss the times the script asks for.
  2. 2 · What came before ~3 min
  3. 3 · The key idea ~8 min Bring the script into the alignment: place each prompt's time interval on the shared axis, and weight its guidance toward those moments.
  4. 4 · Choose your own research ~3 min
  5. 5 · Build the method ~8 min Write timed prompts, place their intervals on the shared axis, then route each prompt's guidance to matching positions in both modalities.
  6. 6 · The experiment ~6 min You’ll guess: With Temporal Context Routing, what share of dialogue lines were spoken within half a second of their scripted time?
  7. 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Join free to play the whole quest ›

Free, with Google or an email address. Your stars and progress are kept.

KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.