# Context-Aware Subtitle Translation on CPU: Deployment-Driven Training, Evaluation, and Latency Design

DevFeed: [Context-Aware Subtitle Translation on CPU: Deployment-Driven Training, Evaluation, and Latency Design](<https://devfeed.tech/articles/context-aware-subtitle-translation-on-cpu-deployment-driven-training-evaluation-and-latency-design-97952.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2607.09957>)

Author: Tsz-To Wong, Shyang-En Weng

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [machine-translation](<https://devfeed.tech/topics/machine-translation.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [tokenization](<https://devfeed.tech/topics/tokenization.md>), [Post-training optimization](<https://devfeed.tech/topics/post-training-optimization.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [context](<https://devfeed.tech/tags/context.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [distillation](<https://devfeed.tech/tags/distillation.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [free](<https://devfeed.tech/tags/free.md>), [google-translate](<https://devfeed.tech/tags/google-translate.md>), [latency](<https://devfeed.tech/tags/latency.md>), [llm](<https://devfeed.tech/tags/llm.md>), [open](<https://devfeed.tech/tags/open.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [pretraining](<https://devfeed.tech/tags/pretraining.md>), [taiwan](<https://devfeed.tech/tags/taiwan.md>), [tokens](<https://devfeed.tech/tags/tokens.md>), [training](<https://devfeed.tech/tags/training.md>), [translation](<https://devfeed.tech/tags/translation.md>)

## AI overview

The paper reports an English-to-Traditional-Chinese (Taiwan) subtitle translator designed to run on a viewer's CPU within about 500 ms per subtitle. Its Sotto models use task-specific vocabulary and several training steps, including continued pretraining, supervised fine-tuning, distillation, and preference optimization. Since subtitle references can be unreliable, the authors compare translations pairwise with Google Translate, using two LLM judges who assess each pair in both orders. On 1,820 held-out subtitles, Sotto-1.7B has a 0.576 win rate against Google Translate, beats four open translation models, and performs slightly below a 27B model. Idle-time prefill reduces mean CPU end-to-end latency by 31%, while the task-specific vocabulary represents the same Chinese text with 28% fewer tokens. The deployed Sotto-0.6B remains within 500 ms for every subtitle in the reported latency test.

## Source excerpt

arXiv:2607.09957v3 Announce Type: replace-cross Abstract: We study English-to-Traditional-Chinese (Taiwan) subtitle translation for a free browser extension, where the model must run on the viewer's CPU in about 500 ms per subtitle. We train two models built on the LMT-60 base models, Sotto-1.7B and the deployed Sotto-0.6B, with a task-specific vocabulary, continued pretraining, supervised fine-tuning, weight interpolation, logit distillation and on-policy preference optimization. Because reference translations of subtitles are unreliable, we evaluate by pairwise comparison against one fixed baseline, Google Translate, with each pair judged in both orders by a panel of two LLM judges. On 1,820 held-out subtitles, Sotto-1.7B has a win rate of 0.576 against the baseline and wins head-to-head against four open translation models, and is slightly below a 27B model. We split latency into prefill and decoding: idle-time prefill, which prefills the known part of the prompt while waiting for the next subtitle, cuts mean end-to-end latency by 31% on a CPU, and the task-specific vocabulary encodes the same Chinese text in 28% fewer tokens. The deployed model stays within 500 ms for every subtitle in our latency test. The code is available at https://github.com/aiden1020/localsubs .