Fine-grained Video Dubbing Duration Alignment with Segment Supervised Preference Optimization

Chaoqun Cui, Liangbin Huang, Shijing Wang, Zhe Tong, Zhaolong Huang, Xiao Zeng, Xiaofeng Liu · DOI

Abstract

Achieving isochrony—the precise alignment of translated speech duration with the original source—is a fundamental challenge in automated video dubbing. While Large Language Models (LLMs) have revolutionized machine translation, they often struggle with the temporal constraints required for high-quality dubbing. This paper introduces Segment Supervised Preference Optimization (SSPO), a framework designed to fine-tune LLMs for localized duration alignment. By employing segment-wise sampling, a specialized duration-sensitive preference metric, and a fine-grained Direct Preference Optimization (DPO) loss, SSPO ensures that translations match original timings line-by-line. Evaluated on the PolySC dataset, SSPO demonstrates superior performance over standard supervised fine-tuning and commercial models like GPT-4o, significantly improving duration consistency while maintaining linguistic accuracy.

Introduction

In the context of video dubbing, the quality of the viewer's experience is heavily dependent on "isochrony." This requirement dictates that the duration of the dubbed audio must match the original performance to prevent jarring synchronization issues, such as audio bleeding into subsequent scenes or unnatural silences. Translating for dubbing is significantly more complex than standard text translation due to varying information densities across languages. For instance, translating dense Chinese dialogue into English or Thai often results in longer text strings that exceed the original temporal window.

Recent advancements in Large Language Models (LLMs) have provided powerful tools for translation, yet these models typically lack an inherent understanding of the time required to vocalize text. Furthermore, standard training paradigms like Direct Preference Optimization (DPO) optimize responses holistically, which can lead to "gradient dilution" where minor but critical timing errors in individual dialogue segments are overlooked. This paper addresses these gaps through the introduction of SSPO.

The Challenge of Temporal Alignment

Two primary obstacles hinder LLMs in the dubbing task:

  1. Temporal Blindness: LLMs process tokens, not time. They do not naturally account for the speaking rate or the phonetic duration of the words they generate.
  2. Holistic Optimization Bias: Standard DPO compares entire sequences. In a multi-segment subtitle file, a model might be rewarded for a high-quality overall translation even if specific segments fail to meet duration constraints. This makes it difficult for the model to learn precise, line-by-line alignment.

Methodology: Segment Supervised Preference Optimization (SSPO)

To overcome these limitations, the researchers developed SSPO, which shifts the focus from global sequence optimization to localized segment optimization.

Segment-wise Sampling and the Preference Metric

Instead of treating a subtitle file as a single block, SSPO breaks the task into individual segments. For each segment, the model generates multiple translation candidates. These candidates are then evaluated using a custom Preference Metric ($\mathcal{P}$). This metric estimates the duration of the target text using a Text-to-Speech (TTS) engine as a proxy. The metric applies an asymmetric penalty: an exponential penalty for translations that are too long (as they break synchronization) and a linear penalty for those that are too short.

Fine-grained DPO Loss

Unlike standard DPO, which compares two complete responses, the SSPO loss function is applied to each segment individually. This ensures that every segment comparison occurs under the exact same preceding context, solving the "apples-to-apples" comparison problem. This fine-grained approach forces the model to make locally optimal choices for every line of dialogue.

Format and Stability Control

Maintaining a rigid output format (e.g., "Source (Translation)") is vital for automated pipelines. To prevent the model from deviating from this format during optimization, the authors utilize Token-level KL Divergence (TKLD) constraints and LoRA (Low-Rank Adaptation). These techniques ensure the model's output distribution remains stable and adheres to the required structure.

Experimental Setup and Results

The researchers utilized the PolySC (Polylingual Subtitle Corpus), a dataset comprising approximately 684,000 lines of dialogue from 46 live-action films and TV series. While 97% of the data was used for initial Supervised Fine-Tuning (SFT), only a small fraction (3%) was required for the SSPO duration alignment phase.

Key Findings

  • Superior Consistency: In Chinese-to-English tasks, SSPO achieved a Consistency Rate (CR) of 25.9% (defined as segments within 0.1s of the original), significantly outperforming the SFT baseline (20.7%) and GPT-4o (19.2%).
  • Penalty Reduction: The duration penalty ($\mathcal{P}$) saw a marked decrease, indicating that the model successfully learned to compress or expand translations to fit the temporal constraints.
  • Human Preference: Side-by-side human evaluations confirmed that SSPO-generated translations were preferred over those from GPT-4o and standard SFT models, with evaluators citing better naturalness and synchronization.
  • The Alignment Bound: The study identifies a theoretical "Alignment Bound," suggesting a point where further duration optimization may begin to degrade the semantic integrity of the translation.

Discussion and Limitations

While SSPO represents a significant step forward, several challenges remain. The reliance on a TTS engine as a proxy for duration does not account for the variability of human actors, who may adjust their speaking rate based on emotional context. Additionally, while LLMs are increasingly accurate, they still struggle to match the "vividness" and emotional resonance of human-translated scripts. Future research will focus on multimodal integration, allowing models to incorporate visual cues (like lip movements) and original audio pacing directly into the translation process.

Conclusion

Segment Supervised Preference Optimization (SSPO) provides a robust framework for addressing the isochrony challenge in video dubbing. By localizing the optimization process and utilizing a duration-aware preference metric, SSPO enables LLMs to produce translations that are both linguistically accurate and temporally aligned. This approach demonstrates that fine-grained, segment-level training is essential for tasks where global metrics fail to capture critical local constraints.

Summary updated

BibTeX
@inproceedings{cui2025fine,
  author = {Chaoqun Cui and Liangbin Huang and Shijing Wang and Zhe Tong and Zhaolong Huang and Xiao Zeng and Xiaofeng Liu},
  title = {{Fine-grained Video Dubbing Duration Alignment with Segment Supervised Preference Optimization}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=KTnfRlCRaq},
}
Figure