Yang Liu, Peng Li, Shuo Wang, Maosong Sun, Zhaopeng Tu, Zhixing Tan
We have not lifted any functions out of this paper's repositories yet, so there is nothing we have run. The repositories linked to it are listed below.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Machine translation systems are expected to cope with various types of constraints in many practical scenarios. While neural machine translation (NMT) has achieved strong performance in unconstrained cases, it is non-trivial to impose pre-specified constraints into the translation process of NMT models. Although many approaches have been proposed to address this issue, most existing methods can not satisfy the following three desiderata at the same time: (1) high translation quality, (2) high match accuracy, and (3) low latency. In this work, we propose a template-based method that can yield results with high translation quality and match accuracy and the inference speed of our method is comparable with unconstrained NMT models. Our basic idea is to rearrange the generation of constrained and unconstrained tokens through a template. Our method does not require any changes in the model architecture and the decoding algorithm. Experimental results show that the proposed template-based approach can outperform several representative baselines in both lexically and structurally constrained translation tasks. 1
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2205.11255")
get_code_for_paper("2205.11255")
have("2205.11255")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2205.11255.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2205.11255)
Connect an agent — have() is free.