Manuscript Offprint
arXiv:2610.07545Quality-Aware Self-Correcting Speech Translation on an Edge Device
Abstract
We present a fully offline speech-to-speech translation pipeline that runs on a Jetson Nano (4 GB) and corrects its own weak translations without retraining. A Whisper-tiny ASR feeds an Opus-MT translator; multilingual BERT cosine similarity acts as a Quality Estimation (QE) gate, triggering a secondary-pass correction when confidence falls below a pre-defined threshold . We compare three correction methods: QE reranking (M1), Minimum Bayes-Risk decoding (M2), and constrained beam search (M3). On 1,012 FLORES-200 sentences (English-Spanish), M2 at produces statistically significant improvements over greedy decoding on BLEU (+0.67, p<0.001), ChrF (+0.51, p<0.001), and COMET (+0.0020 at N=3, p=0.002); M1 yields no significant gains, and M3 is significantly worse than baseline (p>0.99). Our central finding is that QE functions effectively as a gate but poorly as a ranker: removing the QE model from candidate selection (M1→M2) does not hurt quality and frees 680 MB from the critical path. Using a gain-to-edit ratio adapted from the post-editing-effort literature, we further show that smaller candidate pools (N=3) yield more surgical corrections with better semantic adequacy, while larger pools (N=10) maximise lexical reward. We release the system and demonstrate live translation across six language pairs.
1 Introduction
Speech translation increasingly relies on cloud services that expose audio, transcripts, and intent. For healthcare, legal, and low-bandwidth deployments this is unacceptable. Edge devices offer a privacy-preserving alternative, but cascaded speech translation pipelines (ASR → MT → TTS) compound errors at each stage, and small models compatible with edge hardware are particularly susceptible. We ask: can a sub-$150 edge device translate speech, detect its own weak translations, and correct them, fully offline, without retraining?
We answer affirmatively. Our system runs end-to-end on a Jetson Nano (4 GB) and uses a lightweight Quality Estimation (QE) model to trigger a second-pass correction over an N-best candidate pool. We evaluate three correction strategies under a grid of QE thresholds and beam sizes, with paired bootstrap significance testing on 1,012 FLORES-200 sentences.
Our contributions are:
• A complete offline speech translation system with QE-triggered self-correction running on 4 GB of RAM ( ).
• Statistically significant quality improvements via Minimum Bayes-Risk reranking (M2) on BLEU, ChrF, and COMET, with paired bootstrap evidence ( ).
• The finding that QE serves as a reliable trigger but an unreliable candidate ranker, with practical implications for memory footprint on edge hardware ( ).
• An adapted gain-to-edit ratio ( ) that connects per-sentence COMET improvements to edit distance, providing an analytical lens on the lexical-vs-semantic trade-off observed across beam pool sizes.
• A latency analysis ( ) demonstrating that correction overhead on this hardware is dominated by model reload, not inference, and that a single-load architecture brings per-utterance latency to within a tolerable range for conversational translation aids (<30s steady state).
USB sticks), but composed pipelines with on-device quality control are rare. Our work targets the smallest publicly available NVIDIA edge SKU with 4 GB unified memory.
Quality Estimation for MT. Reference-free QE (Specia et al., 2018) estimates translation quality without parallel references. We use multilingual BERT cosine similarity as a lightweight QE signal; stronger neural QE models such as COMET-Kiwi (Rei et al., 2022b) offer better correlation with human judgement but were too large for our memory budget. We adopt the position that even a noisy QE signal can be useful as a gate, even where it fails as a ranker.
Self-correction and reranking. Minimum Bayes-Risk decoding (Kumar and Byrne, 2004) selects the candidate with highest peer-consensus utility from an N-best list, and has been shown to outperform maximum-likelihood decoding when paired with strong utility functions (Freitag et al., 2022). QE-based reranking selects the candidate with the highest reference-free quality score (Fernandes et al., 2022). Constrained beam search forces decoding to include specified terms (Post and Vilar, 2018), and has been used in domain adaptation and terminology enforcement. We apply all three to the self-correction setting and quantify their relative performance under bootstrap testing.
Edit-distance-based effort metrics. Edit-distance measures of MT quality and effort date to the early 1990s (Frederking and Nirenburg, 1994; King, 1996). The Translation Edit Rate (TER) (Snover et al., 2006) and its human-targeted variant HTER (Snover et al., 2009; Specia and Farzindar, 2010) are the most widely used. Post-editing effort metrics including post-edit distance and time-to-edit (Daems et al., 2017) normalise quality or effort over edit counts to characterise human correction work. Our gain-to-edit ratio ( ) adapts this lineage to the automatic self-correction setting: rather than measuring human effort against a reference, we measure neural quality gain (COMET) per unit of edit distance between two MT versions of the same source.
3 System
The pipeline is a cascade of four components, each chosen for its memory footprint under a 4 GB unified-memory ceiling.
ASR. OpenAI Whisper-tiny (~39 M parameters) transcribes English audio. We use the public PyTorch implementation with greedy decoding.
MT. Helsinki-NLP Opus-MT en-es (~78 M parameters) translates the transcript. First-pass decoding uses greedy search (N=1); second-pass correction uses beam search with .
QE. Multilingual BERT base (Devlin et al., 2019) produces sentence embeddings for source and target; we use cosine similarity as the QE score . mBERT was selected over COMET-Kiwi for memory reasons (~680 MB vs. ~2 GB peak). We do not claim cosine similarity is the best QE signal; we claim it is adequate as a binary trigger.
TTS. eSpeak-ng synthesises Spanish output. Output latency is dominated by audio synthesis rather than text processing.
Memory architecture. Under sequential loading (one model resident at a time), each stage incurs a load/unload cost dwarfing inference. Under a single-load architecture all four models reside concurrently in ~3.6 GB, well within the 4 GB ceiling; per-utterance latency drops accordingly ( ).
Multilingual extension. Although our evaluation is English-Spanish, the system extends to six language pairs (en ↔ es, fr, de) by swapping the Opus-MT model and the TTS voice; live demonstration confirms operation across all pairs at comparable steady-state latency. We restrict quantitative evaluation to en-es for tractability and depth.
4 Self-Correction Methods
When the QE score s falls below threshold , the system generates N alternative translations and selects one via one of three methods.
M1: QE reranking. The N candidates are scored against the source using the same mBERT cosine measure used as the gate. The highest-scoring candidate is selected.
M2: Minimum Bayes-Risk (MBR). Each candidate is scored by its mean ChrF similarity to the other N−1 candidates (peer consensus). The candidate with highest mean similarity is selected. MBR does not consult the source or the QE model after candidate generation.
M3: Constrained beam search (CBS). Content words longer than three characters in the greedy first-pass output are extracted as soft anchors. Beam search is repeated under a constrained decoding objective that boosts hypotheses containing these anchors; the resulting candidates are then reranked by mBERT QE.
5 Experimental Setup
Data. We use the FLORES-200 eng_Latn → spa_Latn devtest split: 1,012 sentences drawn from English Wikinews, balanced across topical domains. For the ASR component, we use FLEURS (Conneau et al., 2023) English audio with paired transcripts.
Grid. We sweep and across all three correction methods, producing 36 configurations. The greedy baseline (, no correction) is computed once and used as the comparison point for every configuration.
Metrics. We report sacreBLEU (Post, 2018), ChrF (Popović, 2015), and COMET-22 (Rei et al., 2022a). Significance is assessed by paired bootstrap resampling (Koehn, 2004) with resamples; we report confidence intervals and one-tailed -values for the hypothesis that the correction method improves over the baseline.
Hardware. All ASR/MT/QE runs were performed on an NVIDIA Jetson Nano 4 GB Developer Kit (Maxwell GPU, 128 CUDA cores, 4 GB LPDDR4) with a 40 mm PWM cooling fan. COMET evaluation was performed on Google Colab CPU (the model exceeds available memory on the Nano). Identical model weights and hypothesis files were used in both environments.
6 Results
6.1 Aggregate Quality
Table 1 reports the strongest configuration for each correction method at together with bootstrap significance. M2 produces significant improvements on all three metrics; M1 produces no significant change; M3 is significantly worse than baseline. The full grid across all combinations appears in Appendix A.
6.2 N-Trade-off: Lexical vs Semantic
A direct corollary of running the full grid is that different beam pool sizes win different metrics (Ta- ble 2). At :
| Method | ΔBLEU | ΔChrF | ΔCOMET |
|---|---|---|---|
| M1 (QE-rerank) | -0.14 | -0.11 | -0.0004 |
| M2 (MBR) | +0.67*** | +0.51*** | +0.0011 |
| M3 (CBS) | -0.96† | -0.86† | -0.0061† |
Table 1: Aggregate deltas over greedy baseline at , . Paired bootstrap, . ***: . †: significantly worse than baseline (, one-tailed). ΔCOMET for M2 at is not individually significant (); see §6.2.
| N | ΔBLEU | ΔChrF | ΔCOMET |
|---|---|---|---|
| 3 | +0.59*** | +0.37*** | +0.0020** |
| 5 | +0.47** | +0.32** | +0.0012 |
| 10 | +0.67*** | +0.51*** | +0.0011 |
Table 2: M2 (MBR) corrections at across beam pool sizes. Paired bootstrap, . **: . ***: . COMET at and are not significant at (one-tailed and 0.107).
-
BLEU and ChrF peak at (+0.67 and +0.51, both ).
-
COMET peaks at (+0.0020, ); and produce smaller, non-significant gains.
The full grid (Appendix A) shows that this pattern holds robustly: M2 outperforms M1 and M3 at every combination where correction actually fires ( ).
This pattern is consistent with the structure of MBR: the consensus candidate is chosen for maximal peer agreement on lexical surface, not semantic adequacy against the source. With , the consensus has more room to drift toward a safe, lexically common phrasing that rewards -gram overlap against the reference but may dilute semantic precision. With , the candidate pool is small and the consensus stays closer to the original greedy output, preserving semantic adequacy at the cost of lexical novelty.
6.3 Gain-to-Edit Ratio
To make the lexical-versus-semantic trade-off observable per sentence rather than only at corpus level, we adapt the edit-distance lineage from post-editing-effort metrics (Snover et al., 2009; Specia and Farzindar, 2010; Daems et al., 2017) to the automatic self-correction setting. We define the
| N | GER (median) | Triggered |
|---|---|---|
| 3 | +0.0053 | 485 |
| 5 | +0.0023 | 542 |
| 10 | +0.0048 | 580 |
Table 3: Median per-sentence GER for M2 at . Triggered = number of sentences where QE fired and correction was applied (out of 1,012).
gain-to-edit ratio (GER) per triggered sentence as
where COMET is the per-sentence COMET improvement of the corrected output over the baseline and TER is the Translation Edit Rate (Snover et al., 2006) between the two MT versions. GER is not a new metric; it is an adapted ratio whose components and form derive from prior work. We use it as an analytical lens. A higher GER indicates surgical correction (small edit, real semantic gain); a lower GER indicates blunt rewrites that perturb the output without improving adequacy.
Table 3 reports median GER for M2 across N. The ranking aligns with the COMET column of Table 2: N=3 has the highest median GER, N=5 the lowest, N=10 intermediate. The mean GER for N=10 is negative (-0.0019) while its median is positive (+0.0048); this asymmetry indicates a long tail of large, low-gain edits at larger N. Median is the more robust summary.
GER thus surfaces a property that aggregate BLEU/ChrF/COMET cannot. The lexical and semantic metrics disagree about which N is best; GER explains why both are right: at smaller N, MBR makes targeted edits that preserve semantic adequacy; at larger N, MBR is more willing to substantially rewrite the output, which can win on lexical surface but introduces noise.
Figure 1 integrates the four metrics (BLEU, ChrF, COMET, GER median) for M2 at across the three beam pool sizes, making the per-metric winners explicit.
6.4 QE as Gate, Not Ranker
A second observation from Table 1 is that removing the QE model from the candidate-selection step while retaining it as the trigger which is the difference between M1 and M2 does not degrade quality. M2 in fact outperforms M1 on every metric. This is consistent with prior findings that reference-free
Different N values win different metrics

Figure 1: Improvement over greedy baseline across four metrics for M2 (MBR) at , with paired bootstrap significance (). COMET and GER median are scaled for joint visibility. Lexical metrics (BLEU, ChrF) peak at ; semantic metric (COMET) and per-sentence efficiency (GER median) peak at .
QE signals at the segment level are noisier discriminators among similar candidates than between clearly good and clearly bad translations (Fernandes et al., 2022). The practical implication for edge deployment is direct: once the gate has fired, the QE model can be unloaded for the duration of MBR selection, freeing ~680 MB of resident memory.
This finding generalises beyond our specific system. Wherever a cascaded MT pipeline uses a lightweight QE model both for triggering and for ranking, our results suggest splitting these roles: keep the QE model as a trigger gate, but let the candidates themselves vote on the selection.
6.5 M3 Failure
CBS underperforms baseline on every metric and at every N, with p>0.99 in the one-tailed bootstrap test. We attribute this to a structural problem rather than implementation error: the anchors are extracted from the greedy first-pass output, the very output that the QE gate has just flagged as low-confidence. Constraining the second pass to preserve those anchors forces the system to retain whatever errors the trigger fired on. CBS would likely be useful in a different role (terminology enforcement, named entity preservation) but is not appropriate as a quality-driven correction strategy on noisy first-pass output.
7 Latency Analysis
Per-utterance latency on the Jetson Nano under sequential loading averages approximately 82 s, with model reload accounting for the majority of stage cost. Correction adds approximately 23.9 s, domi-nated by the load/unload cycle around MT Pass 2 rather than by the beam search itself.
Under a single-load architecture, all four models remain resident for the duration of the session. We measured this configuration on the Nano: peak resident memory was 3.6 GB (within the 4 GB ceiling), and per-utterance latency for one 10 s en-es utterance was approximately 41 s (including first-utterance load amortisation). The MBR self-correction overhead reduces from 23.9 s to 13.2 s once model reload is removed from the critical path.
Latency is hardware-bound, not algorithm-bound

Sequential: per-utterance load+unload around each stage (dissertation Table 5.3 averages). Resident: all four models held in memory simultaneously (measured on Jetson Nano, en-de utterance).
Figure 2: Per-stage latency comparison on the Jetson Nano. Sequential-load (top, 82 s) is dominated by per-stage model reload; single-load resident (bottom, 41 s) eliminates reload at the cost of higher peak memory.
Critically, the bottleneck under the original architecture is RAM, not algorithmic. The Nano’s 4 GB ceiling forced the sequential architecture: under those constraints, the user-perceived latency reflects memory bandwidth rather than the computational cost of self-correction. Hardware with a modestly larger memory budget (e.g., Jetson Orin Nano 8 GB, Raspberry Pi 5 with swap, mobile-class SoCs) would run the same pipeline at near-real-time latency without any change to the algorithms reported here.
8 Discussion and Limitations
Our findings can be summarised as follows. (1) QE-triggered MBR self-correction produces statistically significant improvements on lexical metrics and on COMET at N=3. (2) The QE model is valuable as a trigger but not as a ranker, which has direct memory-footprint consequences for edge deployments. (3) The lexical-versus-semantic trade-off across beam pool sizes is explainable in terms of MBR's optimisation target and is observable at sentence level through GER. (4) CBS is structurally unsuited to correction on flagged output. (5) Edge latency is RAM-bound, not compute-bound.
Limitations. First, evaluation is restricted to English-Spanish; we demonstrate but do not evaluate the system across the additional five language pairs supported by the same architecture. Second, the QE signal is multilingual BERT cosine similarity, which is a weak proxy for semantic adequacy. Stronger reference-free QE models (COMET-Kiwi) would likely produce a more discriminative gate but exceed available memory; quantising or distilling such models for edge use is an open direction. Third, FLORES-200 devtest is a written-text benchmark with controlled domains; performance under spontaneous speech with disfluencies, code-switching, or noisy acoustic conditions has not been measured. Fourth, COMET-22 is a learned metric whose own biases propagate into GER; using multiple independent quality estimators would strengthen claims about semantic adequacy.
Conclusion. An edge device can translate speech, detect its own weak translations, and correct them, fully offline, without retraining. The required machinery (MBR self-correction over a small candidate pool, QE used as a gate rather than as a ranker, models held resident under a modest memory budget) is straightforward to implement and produces measurable quality improvements. The principal obstacle to deploying conversational on-device speech translation today is not the cost of self-correction algorithms but the cost of RAM.
References
Alexis Conneau, Min Ma, Simran Khanuja, Yu Zhang, Vera Axelrod, Siddharth Dalmia, Jason Riesa, Clara Rivera, and Ankur Bapna. 2023. FLEURS: Few-shot learning evaluation of universal representations of speech. In IEEE Spoken Language Technology Workshop.
Joke Daems, Sonia Vandepitte, Robert J. Hartsuiker, and Lieve Macken. 2017. Identifying the machine translation error types with the greatest impact on post-editing effort. Frontiers in Psychology, 8:1282.
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186.
Patrick Fernandes, António Farinhas, Ricardo Rei, José G.C. de Souza, Perez Ogayo, Graham Neubig, and André F.T. Martins. 2022. Quality-aware decoding for neural machine translation. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 1396–1412.
Robert Frederking and Sergei Nirenburg. 1994. Three heads are better than one. In Proceedings of the Fourth Conference on Applied Natural Language Processing, pages 95–100.
Markus Freitag, David Grangier, Qijun Tan, and Bowen Liang. 2022. High quality rather than high model probability: Minimum Bayes-Risk decoding with neural metrics. Transactions of the Association for Computational Linguistics, 10:811–825.
Margaret King. 1996. Evaluating natural language processing systems. Communications of the ACM, 39(1):73–79.
Philipp Koehn. 2004. Statistical significance tests for machine translation evaluation. In Proceedings of the 2004 Conference on Empirical Methods in Natural Language Processing, pages 388–395.
Shankar Kumar and William Byrne. 2004. Minimum Bayes-Risk decoding for statistical machine translation. In Proceedings of the Human Language Technology Conference of the North American Chapter of the Association for Computational Linguistics: HLT-NAACL 2004, pages 169–176.
Maja Popović. 2015. chrF: character n-gram F-score for automatic MT evaluation. In Proceedings of the Tenth Workshop on Statistical Machine Translation, pages 392–395.
Matt Post. 2018. A call for clarity in reporting BLEU scores. In Proceedings of the Third Conference on Machine Translation: Research Papers, pages 186–191.
Matt Post and David Vilar. 2018. Fast lexically constrained decoding with dynamic beam allocation for neural machine translation. In Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers), pages 1314–1324.
Alec Radford, Jong Wook Kim, Tao Xu, Greg Brockman, Christine McLeavey, and Ilya Sutskever. 2023. Robust speech recognition via large-scale weak supervision. In Proceedings of the 40th International Conference on Machine Learning.
Ricardo Rei, José G.C. de Souza, Duarte Alves, Chrysoula Zerva, Ana C. Farinha, Taisiya Glushkova, Alon Lavie, Luisa Coheur, and André F.T. Martins. 2022a. COMET-22: Unbabel-IST 2022 submission for the metrics shared task. In Proceedings of the Seventh Conference on Machine Translation, pages 578–585.
Ricardo Rei, Marcos Treviso, Nuno M. Guerreiro, Chrysoula Zerva, Ana C. Farinha, Christine Maroti, José G.C. de Souza, Taisiya Glushkova, Duarte M. Alves, Alon Lavie, Luisa Coheur, and André F.T. Martins. 2022b. COMETKiwi: IST-unbabel 2022 submission for the quality estimation shared task. In Proceedings of the Seventh Conference on Machine Translation.
Matthew Snover, Bonnie Dorr, Richard Schwartz, Linnea Micciulla, and John Makhoul. 2006. A study of translation edit rate with targeted human annotation. In Proceedings of the 7th Conference of the Association for Machine Translation in the Americas: Technical Papers, pages 223–231.
Matthew Snover, Nitin Madnani, Bonnie Dorr, and Richard Schwartz. 2009. Fluency, adequacy, or HTER? exploring different human judgments with a tunable MT metric. In Proceedings of the Fourth Workshop on Statistical Machine Translation, pages 259–268.
Lucia Specia and Atefeh Farzindar. 2010. Estimating machine translation post-editing effort with HTER. In Proceedings of the Second Joint EM+/CNGL Workshop “Bringing MT to the User: Research on Integrating MT in the Translation Industry”, pages 33–41.
Lucia Specia, Carolina Scarton, and Gustavo Henrique Paetzold. 2018. Quality Estimation for Machine Translation. Morgan & Claypool.
Jörg Tiedemann and Santhosh Thottingal. 2020. OPUS-MT – building open translation services for the world. In Proceedings of the 22nd Annual Conference of the European Association for Machine Translation, pages 479–480.
A Full Grid Search results
Table 4 reports the complete grid search over QE thresholds and beam sizes for all three correction methods on 1,012 FLORES-200 sentences. The internal baseline values are BLEU 26.09 and ChrF 54.85; parenthesised values are deltas from these baselines. Trigger rates indicate the proportion of sentences for which QE fired correction at each threshold.
| τ | N | Trig% | BLEU-M1 | BLEU-M2 | BLEU-M3 | ChrF-M1 | ChrF-M2 | ChrF-M3 |
|---|---|---|---|---|---|---|---|---|
| 0.75 | 3 | 0.1% | 26.10 (+0.01) | 26.10 (+0.01) | 26.10 (+0.01) | 54.85 (+0.00) | 54.85 (+0.00) | 54.87 (+0.02) |
| 0.75 | 5 | 0.1% | 26.10 (+0.01) | 26.10 (+0.01) | 26.10 (+0.01) | 54.87 (+0.02) | 54.85 (+0.00) | 54.87 (+0.02) |
| 0.75 | 10 | 0.1% | 26.10 (+0.01) | 26.10 (+0.01) | 26.10 (+0.01) | 54.86 (+0.01) | 54.87 (+0.02) | 54.86 (+0.01) |
| 0.80 | 3 | 1.3% | 26.10 (+0.01) | 26.10 (+0.01) | 26.11 (+0.02) | 54.85 (+0.00) | 54.85 (+0.00) | 54.87 (+0.02) |
| 0.80 | 5 | 1.3% | 26.10 (+0.01) | 26.09 (+0.00) | 26.11 (+0.02) | 54.86 (+0.01) | 54.84 (-0.01) | 54.87 (+0.02) |
| 0.80 | 10 | 1.3% | 26.09 (+0.00) | 26.10 (+0.01) | 26.10 (+0.01) | 54.85 (+0.00) | 54.87 (+0.02) | 54.86 (+0.01) |
| 0.85 | 3 | 22.7% | 26.23 (+0.14) | 26.34 (+0.25) | 26.22 (+0.13) | 54.93 (+0.08) | 54.99 (+0.14) | 54.95 (+0.10) |
| 0.85 | 5 | 22.7% | 26.14 (+0.05) | 26.26 (+0.17) | 26.22 (+0.13) | 54.84 (-0.01) | 54.94 (+0.09) | 54.85 (+0.00) |
| 0.85 | 10 | 22.7% | 26.11 (+0.02) | 26.40 (+0.31) | 26.02 (-0.07) | 54.84 (-0.01) | 55.04 (+0.19) | 54.78 (-0.07) |
| 0.90 | 3 | 86.2% | 26.45 (+0.36) | 26.68 (+0.59) | 25.94 (-0.15) | 55.04 (+0.19) | 55.22 (+0.37) | 54.65 (-0.20) |
| 0.90 | 5 | 86.2% | 26.16 (+0.07) | 26.56 (+0.47) | 25.68 (-0.41) | 54.85 (+0.00) | 55.17 (+0.32) | 54.39 (-0.46) |
| 0.90 | 10 | 86.2% | 25.96 (-0.13) | 26.76 (+0.67) | 25.14 (-0.95) | 54.74 (-0.11) | 55.35 (+0.50) | 53.99 (-0.86) |
Table 4: Full grid search results over 1,012 FLORES-200 sentences. Internal baselines: BLEU 26.09, ChrF 54.85. M1 = QE-Rerank, M2 = MBR, M3 = CBS. Parenthesised values are deltas from baseline. Bold marks the strongest M2 configuration reported in the main body.