Translation systems that use grammar usually parse the source sentence once, trust that parse, and act on it. For English-to-Japanese this might mean moving every verb after its objects so the word order matches Japanese before translation. When the parse is right, this helps a lot. When it is wrong, the system confidently scrambles the sentence, and nothing downstream can undo it. We propose to replace the single trusted parse with a conformal parse set: a set of candidate dependency trees (trees linking each word to the word it modifies) that contains the correct tree with a user-chosen probability such as 90%. The set is built without assumptions about the data distribution. From this set we act only on the grammatical facts that hold in every tree it contains. If the true tree is in the set, and that is guaranteed with probability at least $1-\alpha$, then every such "certified" fact is correct at once.
The opportunity is concrete. Upstream parse errors cause about a quarter of translation errors in dependency-based Chinese–English preordering (Dependency-based Pre-ordering for Chinese-English Machine Translation). A simple head-final reordering rule for SOV (subject–object–verb) targets does worse than no reordering when its head or part-of-speech decisions are wrong (Head Finalization: A Simple Reordering Rule for SOV Languages). Decoders cannot backtrack once a parser commits (A Ranking-based Approach to Word Reordering for Statistical Machine Translation). The field's current answer is to hedge with heuristics: random "parent ignoring" dropout (Enhancing Machine Translation with Dependency-Aware Self-Attention) or soft penalty features (Soft Syntactic Constraints for Hierarchical Phrased-Based Translation). Neither says which links to trust. Conformal prediction can say exactly that, with a guarantee that covers the whole sentence.
Core Claim
Our claim has two parts. First, a split-conformal threshold on a tree-level score over a graph-based dependency parser gives a pruned parse forest that is guaranteed to contain the gold tree. This forest can be computed in polynomial time with standard dynamic programming, and it avoids the integer programming that limits structured conformal prediction. Second, the arcs shared by all trees in that forest form a certified subset that is simultaneously correct with probability at least $1-\alpha$. Syntax-driven translation components that act only on certified arcs keep most of the benefit of syntax on hard, distant language pairs and avoid the damage caused by parse errors.
The mechanism is simple enough to state. Let $p(y \mid x)$ be an edge-factored projective parser's score for tree $y$ of sentence $x$, let $\hat y$ be its best tree, and define the non-conformity score of the gold tree $y^*$ as its log-score gap
$$s(x, y^*) = \log p(\hat y \mid x) - \log p(y^* \mid x).$$
On $n$ calibration sentences with gold trees, set $\hat q$ to the $\lceil (n+1)(1-\alpha) \rceil / n$ empirical quantile of these gaps. Then prune every arc whose max-marginal gap exceeds $\hat q$. The max-marginal gap of an arc is the gap between $\hat y$ and the best tree that contains that arc. Every arc of the gold tree has a max-marginal at least as large as the gold tree's own score, so under exchangeability
$$P\big(y^* \in F_{\hat q}(x)\big) \ge 1 - \alpha,$$
where $F_{\hat q}(x)$ is the pruned forest. The bound can be conservative, because trees with a gap above $\hat q$ may still survive. An arc $(h, d)$, meaning head $h$ governs dependent $d$, is certified when every competing head $h'$ for $d$ has a max-marginal gap above $\hat q$. Certified arcs are then shared by all trees in the forest, and they are all correct whenever $y^* \in F_{\hat q}(x)$. All of these quantities come from one Viterbi inside–outside pass in $O(m^3)$ time for a sentence of $m$ words.
Relation to Prior Work
Two papers come closest, and both leave this gap open. Conformal Structured Prediction builds conformal sets over directed acyclic label graphs using Learn-Then-Test and integer programming. It covers fixed taxonomies such as WordNet, the GoEmotions hierarchy, and program holes. It assumes the graph is fixed in advance, and its authors report that integer programming struggles already on dense multi-digit MNIST graphs. Our setting is the opposite: the hypergraph (the parse forest) is different for every input sentence. We avoid integer programming by choosing a tree-level score whose threshold maps exactly onto max-marginal pruning. That same mapping restores the monotonicity their method has to work around.
Non-Exchangeable Conformal Language Generation with Nearest Neighbors builds calibrated next-token sets for machine translation decoders on WMT22 De-En and Ja-En. It uses no syntax at all and pays a nearest-neighbour lookup cost for every token. We work on the source side and before decoding, so the translation model's runtime is untouched. We borrow that paper's idea of weighting calibration points only as a fallback for domain shift.
Packed forests in forest-based translation (Constituency to Dependency Translation with Forests, A novel dependency-to-string model for statistical machine translation) already delay committing to one parse. ETS: An Error Tolerable System for Coreference Resolution shows that forests cut missed mentions from 3% to 0.5%. These results motivate forests, but their pruning thresholds are tuned by hand and carry no coverage statement. Our contribution is the calibrated threshold and the certified-arc guarantee, not the forest itself.
On the syntax side, Enhancing Machine Translation with Dependency-Aware Self-Attention (PASCAL) centers a Gaussian attention prior on each word's 1-best parent. Synchronous Syntactic Attention for Transformer Neural Machine Translation ties source and target attention to external point parses. Both supply the downstream consumers we modify, and both inherit whatever errors the parser makes.
We deliberately stay unidirectional, using source-side syntax only. Cross-lingual trees are not isomorphic (Word Alignment with Cohesion Constraint, Jane: Open Source Hierarchical Translation, Extended with Reordering and Lexicon Models). A guarantee about the source gold tree is well defined, while a guarantee about cross-lingual correspondence is not.
Research Program
The first stage is calibration and validity. We train a first-order graph-based projective parser on English Universal Dependencies data. We calibrate $\hat q$ on held-out gold trees across a range of $\alpha$ values, and we measure four things: empirical tree coverage, forest size (surviving arcs per word), the fraction of arcs certified, and the sentence-level rate at which any certified arc is wrong. We expect the last number to stay at or below $\alpha$.
The central threat to validity is domain shift, because the translation data are scientific abstracts and not treebank text. Gold trees do not exist for the translation corpus, so we will annotate about 300 English sentences from ASPEC to measure coverage in that domain directly. If coverage drops noticeably, we fall back to the similarity-weighted calibration of Non-Exchangeable Conformal Language Generation with Nearest Neighbors, which trades the exact guarantee for an approximate one, and we report both.
The second stage adds two consumers of certified syntax for English-to-Japanese. The first is certified head finalization: the head-final reordering rule moves a head after its dependents only when every arc the move depends on is certified, and otherwise leaves that subtree in English order. The second is certified PASCAL: a certified parent gets PASCAL's tight Gaussian, and an uncertified word gets a mixture of Gaussians over its surviving candidate heads, weighted by max-marginal. This replaces random parent ignoring with ignoring driven by uncertainty. Both consumers expose a single knob, $\alpha$. As $\alpha$ moves toward 0, the system approaches no syntax; as it moves toward 1, it approaches 1-best syntax. We will trace BLEU and RIBES (a reordering-sensitive translation metric) along the whole curve.
Baselines
The naive reference points are a vanilla Transformer trained on the same English–Japanese data with no syntax and no preordering, and the same model fed 1-best head-finalized source. The second shows whether reordering with an uncertified parse helps or hurts in this setting.
The strongest existing syntactic competitor is PASCAL with its 1-best parent and parent-ignoring regularization (Enhancing Machine Translation with Dependency-Aware Self-Attention). It reports gains of up to +3.5 BLEU on WAT English→Japanese sentences longer than 50 tokens, and over +2 BLEU on long sentences in low-resource News Commentary v11. The file reports no absolute BLEU, so we will re-run PASCAL ourselves. For the distant pair it also targets, SyncAttn reports +0.27 BLEU over a dependency-based self-attention baseline on ASPEC Ja-En (Synchronous Syntactic Attention for Transformer Neural Machine Translation). For head finalization, no reported result was found on Lacuna for WAT or ASPEC English→Japanese. Every syntax variant will use the same parser, training data, number of training steps, and dev-set tuning budget, and will be evaluated with multiple random seeds.
Certified PASCAL beats this baseline if it matches PASCAL's gain overall and clearly exceeds it on sentences whose 1-best parse is wrong. The next paragraph says how we identify those sentences without gold trees.
Two ablations isolate the key ingredient. The first is a soft-marginal PASCAL that mixes over all heads by parser marginals, with no pruning and no certification. The second is a confidence-threshold certification that trusts an arc when its marginal probability exceeds a cutoff tuned for BLEU on the dev set. We compare it with conformal certification at a matched fraction of certified arcs. To find the sentences where parse errors matter without gold trees, we bucket test sentences by whether two independently trained parsers disagree on the 1-best tree. We check this proxy against real parse errors on the 300 annotated ASPEC sentences.
Why not just…?
Why not just use the parser's own marginals as a soft attention prior? For attention this is the most serious threat. Soft mixing over marginals may recover most of whatever BLEU gain certified PASCAL delivers, and we will report that honestly if it happens. For preordering, however, soft marginals are not enough. Head finalization is a hard, discrete permutation, and applying it requires a cut on the marginals somewhere. The question is only whether that cut is chosen by a guarantee or by trial and error. The soft-marginal ablation settles the attention question. If it ties, our claim narrows to hard structural decisions, which is where the evidence of harm is concentrated (Head Finalization: A Simple Reordering Rule for SOV Languages).
Why not just threshold per-arc confidence and tune the cutoff on BLEU? Mechanically, conformal certification is also a threshold, so this alternative is close to ours. The differences are three. The conformal threshold is set from treebank data without any translation-system tuning. Its guarantee holds for the whole sentence at once, not arc by arc. Its target error rate is interpretable before any translation experiment is run. If a BLEU-tuned cutoff matches conformal certification at the same certified fraction, then the practical contribution is the guarantee and the tuning-free knob, not translation quality, and we will state it that way. We also test whether the BLEU-tuned cutoff carries over from news development data to the scientific domain. Tuned cutoffs typically fail to carry over across domains in this way, while a recalibrated $\hat q$ does not need to.
Why not just drop explicit syntax and rely on a large pretrained translator? PASCAL's long-sentence gains (Enhancing Machine Translation with Dependency-Aware Self-Attention) were measured on models trained from scratch, so they may shrink with pretraining. We therefore repeat the preordering experiment with M2M100, the model used in Non-Exchangeable Conformal Language Generation with Nearest Neighbors. If no syntax variant helps it, we will report syntax as mainly a low-resource tool and keep only the validity results as general findings.
Why not just keep parent ignoring? Parent ignoring drops syntax at random during training and cannot identify which links are wrong. Certified PASCAL keeps the same zero-parameter design but decides which links to drop based on the input. The comparison on the parser-disagreement bucket shows whether that targeting matters.
Proposed Experiments
We run the calibration study on English UD test data and on the 300 annotated ASPEC sentences. It reports coverage, family-wise error of certified arcs, and forest size for $\alpha$ from 0.05 to 0.3. The first decisive check is validity. The family-wise certified-arc error must stay at or below $\alpha$ on in-domain treebank data, and we report its actual value in the ASPEC domain.
The translation study uses WAT/ASPEC English→Japanese as the main distant pair, measured with BLEU and RIBES. It also includes News Commentary v11 English→German as a low-resource check with long-range verb placement, and a pretrained M2M100 variant.
The second decisive check is where the gains come from. Relative to 1-best head finalization, certified head finalization should improve most on sentences where the two parsers disagree and should be roughly neutral where they agree. If the improvement is instead spread evenly across both buckets, the gains are coming from something other than avoided parse errors, and the certification story is falsified.
The third check is the shape of the $\alpha$ curve. Translation quality should peak strictly between the no-syntax and 1-best-syntax ends. A monotone curve would mean that certification only interpolates between the two extremes and adds nothing of its own.
References
- Dependency-based Pre-ordering for Chinese-English Machine Translation
- Head Finalization: A Simple Reordering Rule for SOV Languages
- A Ranking-based Approach to Word Reordering for Statistical Machine Translation
- Enhancing Machine Translation with Dependency-Aware Self-Attention
- Soft Syntactic Constraints for Hierarchical Phrased-Based Translation
- Conformal Structured Prediction
- Non-Exchangeable Conformal Language Generation with Nearest Neighbors
- Constituency to Dependency Translation with Forests
- A novel dependency-to-string model for statistical machine translation
- ETS: An Error Tolerable System for Coreference Resolution
- Synchronous Syntactic Attention for Transformer Neural Machine Translation
- Word Alignment with Cohesion Constraint
- Jane: Open Source Hierarchical Translation, Extended with Reordering and Lexicon Models