SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2210.11017 · EMNLP · 2022

Multi-Granularity Optimization for Non-Autoregressive Translation

Yue Zhang, Yafu Li, Leyang Cui, Yongjng Yin

arXiv · PDF · Open in the Atlas

Code that ran

2 of 3 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2210.11017.json · badge: /api/ran/2210.11017.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
yafuly/MGMO-NAT canonical (classifier label)
classifier basis not recorded on the link
2 ran · 1 no recorded run
FunctionStatusWhere it lives
ensemble_encoder Ran
ran on a synthesized input
yafuly/MGMO-NAT/fairseq/models/nat/fairseq_nat_model.py
pointer only (licence: MIT) · get_code("5b1c98be8d2c5db4")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, yafuly/MGMO-NAT, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gumbel_noise Ran
ran on a synthesized input
yafuly/MGMO-NAT/fairseq/models/nat/iterative_nonautoregressive_transformer.py
pointer only (licence: MIT); the stored copy get_code serves, from ictnlp/Seq-NAT, is pointer only (licence: MIT) · get_code("a2543dc608ad4f8a")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, yafuly/MGMO-NAT, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ensemble_decoder Not yet run
unverified (harvested, no recorded run)
yafuly/MGMO-NAT/fairseq/models/nat/fairseq_nat_model.py
pointer only (licence: MIT) · get_code("d8972d1ea6c79a62")
How it ran

The body of this sample is withheld: MIT, as GitHub detects it on this paper's repository, yafuly/MGMO-NAT, is in the permissive set, but a licence decision keeps the body a pointer: the reason for that decision is not recorded with it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 0 later) and 2 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
gumbel_noise 3 other papers
2 dated earlier, 1 the same month
2106.08122 (2021-06)
Sequence-Level Training for Non-Autoregressive Neural Machine Translation
2205.14333 (2022-05)
One Reference Is Not Enough: Diverse Distillation with Reference Selection for Non-Autoregressive Translation
2210.03953 (2022-10)
Non-Monotonic Latent Alignments for CTC-Based Non-Autoregressive Machine Translation

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Despite low latency, non-autoregressive machine translation (NAT) suffers severe performance deterioration due to the naive independence assumption. This assumption is further strengthened by cross-entropy loss, which encourages a strict match between the hypothesis and the reference token by token. To alleviate this issue, we propose multi-granularity optimization for NAT, which collects model behaviors on translation segments of various granularities and integrates feedback for backpropagation. Experiments on four WMT benchmarks show that the proposed method significantly outperforms the baseline models trained with cross-entropy loss, and achieves the best performance on WMT'16 En⇔Ro and highly competitive results on WMT'14 En⇔De for fully non-autoregressive translation.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2210.11017")
get_code_for_paper("2210.11017")
have("2210.11017")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2210.11017.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2210.11017.svg)](https://syntology.ai/paper/2210.11017)

Connect an agent — have() is free.