Skip to content
Preprint

Failure-Aware Long-Form Translation: Design and Implementation of a Recoverable LLM Translation System

Aug 2026 · 0 citations · 19 references
Computer Science

TL;DR

A recovery protocol developed for a deployed translation system with heterogeneous inputs and provider APIs is described, which delays the first visible release behind a 64-character window, validates the assembled output, and uses typed stream events to distinguish replacement from continuation.

Abstract

A long-form translation request can succeed at the API layer and still produce an unusable result. The output may be empty, truncated, filtered, dominated by source or prompt material, or interrupted after producing text worth keeping. This report describes a recovery protocol developed for a deployed translation system with heterogeneous inputs and provider APIs. It delays the first visible release behind a 64-character window, validates the assembled output, and uses typed stream events to distinguish replacement from continuation. Interrupted work is retained only when a paragraph or sentence prefix can be re-derived from the source. Further attempts follow a stable model order and a shared deadline before entering a provenance-marked fallback path. A sanitized companion artifact implements the protocol and passes 38 public tests. Its fixed cases reproduce all 14 configured completion labels, contain four early-invalid prefixes before any of their 235 characters become visible, retain 31 boundary-safe characters across four interrupted streams, and satisfy the attempt, event, and provenance rules in two end-to-end scenarios. These results are executable checks of the published control flow. Translation quality and detector performance on naturally occurring outputs require a different evaluation.

View source

Similar papers

Generators - Deferred Evaluation in XPath 4

This paper introduces generators as a first-class abstraction for deferred evaluation in XPath 4.0 and defines a composable library of functions that enables complex data-processing pipelines without eager evaluation.

Dimitre Novatchev · 0 citations
Preprint Aug 2026

OoO-Spec: Out-of-Order Semantic Speculation for Fast Tool Calling

OO-Spec is fastest among all evaluated methods in all 21 target-benchmark cells, and outperforms every evaluated released learned drafter in each comparable cell, while the same sidecar improves on ToolSpec by 34.1% on average.

Zhi-Heng Zhang, Mu-Jie Xu, Fei Sun et al. · 0 citations
Open access Aug 2026

From Logging Configuration to Code Execution: A Systematization of Log4j 2 File-Write Primitives in HTTP-Exposed JMX

This work distinguishes ActiveMQ paths from documentation-limited Apache James, WildFly, Apache Karaf, and Red Hat AMQ cases, and distinguishes ActiveMQ paths from documentation-limited Apache James, WildFly, Apache Karaf, and Red Hat AMQ cases.

A. Caciulescu, Matei Badanoiu, R. Rughiniș et al. · 0 citations
Preprint Jul 2026

ContainmentBench: Trace-Based Evaluation of Post-Exposure Containment in Tool-Using LLM Agents

ContainmentBench, a sandboxed benchmark comprising a 504-scenario specification dataset, a shared rollout-trace schema, and stage-scoped metrics for endpoint violations, logged propagation, and explicitly authorized taint-exposed proposals that commit, is introduced.

Wen-Hao Lan, Shan Li, Meiqi Wu et al. · 0 citations
Preprint Aug 2026

Writing-System-Level Tokenizer Adaptation for Byte-Level BPE

A post-hoc adaptation that keeps the model-vocabulary size fixed and preserves most existing token-to-ID assignments as a construction-time compatibility property is studied and BPE-guided insertion is introduced, which builds each transferred token through a target-reachable decomposition.

Bohdan Didenko · 1 citation

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.