Elamur Research⌕
☰
home / papers / 2006 / Synchronous Binarization for Machine Translation

Synchronous Binarization for Machine Translation

Paper · 2006 · Hao Zhang, Liang Huang, Daniel Gildea et al.

Summary

Syntax-based translation systems built on synchronous grammars or tree transducers can produce better output, but decoding gets expensive when rules contain many nonterminals. Reordering between the two languages forces the decoder to track the boundary words of every child, so the cost of n-gram language model integration grows exponentially with rule size. The authors propose synchronous binarization: each rule is split into binary pieces so that every intermediate (virtual) nonterminal covers a contiguous span in both the source and the target language. They give a linear-time algorithm that factors a rule's permutation where possible, and they extend it to tree-to-string rules that contain terminals. They tested it on over 50 million rules extracted from a large Chinese-English corpus with the method of Galley et al. (2004). Almost all of these rules turned out to be binarizable. Compared with ordinary monolingual binarization, the binarized grammar made decoding both faster and more accurate, and it outperformed an alignment-template system in BLEU. This makes large, syntactically rich rule sets practical to decode with an integrated language model.

Key points

  • Standard left-to-right binarization of the source side leaves m-gram decoding at O(|w|^(3+2n(m−1))). Synchronous binarization makes this O(|w|^(3+4(m−1))), which no longer depends on rule size. Binary SCFG parsing is O(|w|^6), whereas general SCFG parsing is NP-hard.

  • The rule set was built as follows:

    • GIZA++ alignments on a Chinese-English parallel corpus with 50M English words;
    • English parses from a variant of the Collins parser;
    • rules extracted with the algorithm of Galley et al. (2004). The result was 50,879,242 rules.
  • 99.7% of the rules are binarizable, and no length bucket exceeds 25% non-binarizable rules. 86.8% of rules keep either identical or fully reversed order. Human inspection attributed most non-binarizable rules to alignment errors.

  • Removing the 0.3% non-binarizable rules did not change BLEU in the baseline system.

  • On 116 Chinese test sentences of at most 15 words, with a trigram LM, BLEU scores were:

    SystemBLEU
    Monolingual binarization36.25
    Synchronous binarization38.44
    Alignment-template system (Och and Ney, 2004)37.00

Interesting ideas

  • I1. Judge a factorization by contiguity on both sides. A good decomposition is one where each intermediate piece covers an unbroken span in both languages. The same test could guide factoring in any setting that aligns two sequences, such as parallel treebanks or cross-lingual annotation projection.
  • I2. Check binarizability with a stack. The algorithm merges adjacent spans whenever they form a consecutive range, in either straight or inverted order. This gives a cheap, linear-time way to test whether a permutation decomposes hierarchically, which could also serve as a reordering-complexity diagnostic for corpora.
  • I3. Measure on real data, not theory. In theory almost no long permutations are binarizable, yet extracted rules are nearly all binarizable. Running a "spectrum analysis" on real data before accepting a worst-case argument is good practice in general.
  • I4. Read leftover exceptions as noise signals. The few non-binarizable rules mostly came from alignment errors, so dropping them cost nothing. Rules that fail a structural check could therefore be used to spot word-alignment or extraction errors.
  • I5. Name virtual nonterminals by their content. Naming intermediate symbols after their sub-alignment, much like Earley dotted rules, lets different rules share intermediate states without ambiguity. This is a reusable trick for compacting large extracted grammars.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

Cite

Cite as Hao Zhang, Liang Huang, Daniel Gildea and Kevin Knight. 2006. Synchronous Binarization for Machine Translation. Proceedings of the Human Language Technology Conference of the NAACL, Main Conference.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{zhang2006synchronous,
  title = {{Synchronous Binarization for Machine Translation}},
  author = {Hao Zhang, Liang Huang, Daniel Gildea and Kevin Knight},
  booktitle = {Proceedings of the Human Language Technology Conference of the NAACL, Main Conference},
  year = {2006},
  doi = {10.3115/1220835.1220868},
  url = {https://doi.org/10.3115/1220835.1220868}
}

References

13 references, 6 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Albert V. Aho and Jeffery D. Ullman. 1972. The Theory of Parsing, Translation, and Compiling, volume 1. Prentice-Hall, Englewood Cliffs, NJ. find
  2. David Chiang. 2005. A hierarchical phrase-based model for statistical machine translation. In Proceedings of ACL-05, pages 263–270, Ann Arbor, Michigan.
  3. Jason Eisner. 2003. Learning non-isomorphic tree mappings for machine translation. In Proceedings of ACL-03, companion volume, Sapporo, Japan. 7e+09
  4. Michel Galley, Mark Hopkins, Kevin Knight, and Daniel Marcu. 2004. What’s in a translation rule? In Proceedings of HLT/NAACL-04.
  5. Liang Huang, Hao Zhang, and Daniel Gildea. 2005. Machine translation as lexicalized parsing with hooks. In Proceedings of IWPT-05, Vancouver, BC. find
  6. Kevin Knight and Jonathan Graehl. 2005. An overview of probabilistic tree transducers for natural language processing. In Conference on Intelligent Text Processing and Computational Linguistics (CICLing). LNCS. find
  7. I. Dan Melamed. 2003. Multitext grammars and synchronous parsers. In Proceedings of NAACL-03, Edmonton. find
  8. Franz Josef Och and Hermann Ney. 2004. The alignment template approach to statistical machine translation. Computational Linguistics, 30(4). find
  9. Giorgio Satta and Enoch Peserico. 2005. Some computational complexity results for synchronous context-free grammars. In Proceedings of HLT/EMNLP-05, pages 803–810, Vancouver, Canada, October. find
  10. L. Shapiro and A. B. Stephens. 1991. Bootstrap percolation, the Schröder numbers, and the n-kings problem. SIAM Journal on Discrete Mathematics, 4(2):275– 280. find
  11. Stuart Shieber and Yves Schabes. 1990. Synchronous tree-adjoining grammars. In COLING-90, volume III, pages 253–258.
  12. Dekai Wu. 1996. A polynomial-time algorithm for statistical machine translation. In 34th Annual Meeting of the Association for Computational Linguistics.
  13. Dekai Wu. 1997. Stochastic inversion transduction grammars and bilingual parsing of parallel corpora. Computational Linguistics, 23(3):377–403.

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/zhang-2006-synchronous-binarization-machine-translation/