Forest-based Translation Rule Extraction
Summary
Syntax-based machine translation systems usually learn their translation rules from a single best parse of each training sentence. Parser mistakes therefore become wrong or missing rules. Mi and Huang propose extracting tree-to-string rules from a packed parse forest instead. A forest is a hypergraph that shares common subtrees and so represents a very large number of alternative analyses compactly. They generalize the alignment-based extraction procedure of Galley et al. (admissible nodes, minimal and composed rules) from a single tree to such hypergraphs. Rules are weighted with fractional counts derived from the forest. Experiments use Chinese-to-English translation with the Xiong et al. (2005) parser, modified to output pruned forests, in a tree-to-string system. On small data, forest extraction beats 1-best extraction by about 1 BLEU point and beats 30-best extraction by 0.5 points while running about twice as fast. On the larger FBIS data, combining forest-based extraction with the authors' earlier forest-based decoding improves on the baseline by roughly 2.5 BLEU and surpasses Hiero. The work shows that keeping parser ambiguity during training makes linguistically informed MT more robust.
Key points
- Small-data BLEU (case-insensitive):
- 1-best extraction: 0.2430
- 30-best extraction: 0.2488
- forest extraction (pruning p_e = 8): 0.2533
- Pharaoh: 0.2297
- The gain over 1-best is significant under the sign test (p < 0.01).
- Extraction time per 1000 sentences was 0.24 s for 1-best, 5.56 s for 30-best and 2.36 s for forest. Decoding with forest-extracted rules took under double the time needed when using 1-best rules.
- Rule counts: 1-best gave 440k rules, 30-best 1.2M and forest 3.3M. After filtering on the dev set, 90k, 130k and 188k remained. Of the rules used in 1-best derivations, 16.3% came only from non-1-best parses.
- Large-data setup: FBIS (239K sentence pairs, about 6.9M Chinese and 8.9M English words) with a trigram LM trained on part of the Xinhua portion of Gigaword. Pruning was p_e = 5 for extraction and p_d = 10 for decoding.
- Large-data BLEU: the 1-best extraction with tree decoding baseline scored 0.2560. Forest extraction with forest decoding scored 0.2816, compared with 0.2738 for Hiero.
Interesting ideas
- I1. Use the whole forest, not a k-best list. K-best lists are highly redundant and cover only a small part of the parse space. Working on the shared hypergraph gives more diversity at lower cost, which applies to any pipeline that consumes uncertain parser output.
- I2. Weight rules by fractional counts. Each rule's count comes from the posterior probability of the forest parts it covers, not a hard 0/1 count. Noisy upstream analyses then contribute in proportion to the confidence the model has in them.
- I3. Prune by marginal probability. Inside-outside marginals cut the forest down before extraction. A single threshold then controls the trade-off between coverage, speed and rule-table size.
- I4. Test whether the extra material is actually used. The authors count how many rules in final derivations exist only because of non-1-best parses. This is a cleaner diagnostic than a BLEU change alone and suits any method that enlarges a resource.
- I5. Treat uncertainty-aware training and decoding as separate, combinable steps. Forest-based extraction and forest-based decoding each help, and the gains add up. Handling parser uncertainty at both stages is a reusable design pattern.
Cited by
- Translation Divergences in Chinese–English Machine Translation: An Empirical Investigation
- Effective Use of Function Words for Rule Generalization in Forest-Based Translation
Cite
@inproceedings{mi2008forest,
title = {{Forest-based Translation Rule Extraction}},
author = {Mi, Haitao and Huang, Liang},
booktitle = {Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing},
year = {2008},
doi = {10.3115/1613715.1613745},
url = {https://doi.org/10.3115/1613715.1613745}
}References
- Sylvie Billot and Bernard Lang. 1989. The structure of shared forests in ambiguous parsing. In Proceedings of ACL ’89, pages 143–151. find
- Eugene Charniak and Mark Johnson. 2005. Coarse-to-fine-grained n-best parsing and discriminative reranking. In Proceedings of the 43rd ACL, Ann Arbor, MI. find
- David Chiang. 2005. A hierarchical phrase-based model for statistical machine translation. In Proceedings of the 43rd ACL, Ann Arbor, MI. find our card
- Michael Collins, Philipp Koehn, and Ivona Kucerova. 2005. Clause restructuring for statistical machine translation. In Proceedings of ACL, pages 531–540, Ann Arbor, Michigan, June. find our card
- Yuan Ding and Martha Palmer. 2005. Machine translation using probablisitic synchronous dependency insertion grammars. In Proceedings of the 43rd ACL, Ann Arbor, MI. find
- Jay Earley. 1970. An efficient context-free parsing algorithm. Communications of the ACM, 13(2):94–102. ↗
- Michel Galley, Mark Hopkins, Kevin Knight, and Daniel Marcu. 2004. What’s in a translation rule? In Proceedings of HLT-NAACL, pages 273–280. ↗ our card
- Michel Galley, Jonathan Graehl, Kevin Knight, Daniel Marcu, Steve DeNeefe, Wei Wang, and Ignacio Thayer. 2006. Scalable inference and training of context-rich syntactic translation models. In Proceedings of COLING-ACL. find our card
- Liang Huang and David Chiang. 2005. Better k-best Parsing. In Proceedings of the Ninth International Workshop on Parsing Technologies (IWPT-2005). find
- Liang Huang and David Chiang. 2007. Forest rescoring: Fast decoding with integrated language models. In Proceedings of ACL, Prague, Czech Rep., June. find
- Liang Huang, Kevin Knight, and Aravind Joshi. 2006. Statistical syntax-directed translation with extended domain of locality. In Proceedings of AMTA, Boston, MA, August. find our card
- Liang Huang. 2008. Forest reranking: Discriminative parsing with non-local features. In Proceedings of the ACL: HLT, Columbus, OH, June. find
- Yang Liu, Qun Liu, and Shouxun Lin. 2006. Tree-tostring alignment template for statistical machine translation. In Proceedings of COLING-ACL, pages 609– 616. find
- Haitao Mi, Liang Huang, and Qun Liu. 2008. Forest-based translation. In Proceedings of ACL: HLT, Columbus, OH. find our card
- Franz Joseph Och. 2003. Minimum error rate training in statistical machine translation. In Proceedings of ACL, pages 160–167. find
- Chris Quirk, Arul Menezes, and Colin Cherry. 2005. Dependency treelet translation: Syntactically informed phrasal smt. In Proceedings of the 43rd ACL, Ann Arbor, MI. find our card
- Ashish Venugopal, Andreas Zollmann, Noah A. Smith, and Stephan Vogel. 2008. Wider pipelines: N-best alignments and parses in mt training. In Proceedings of AMTA, Honolulu, Hawaii. ↗
- Wei Wang, Kevin Knight, and Daniel Marcu. 2007. Binarizing syntax trees to improve syntax-based machine translation accuracy. In Proceedings of EMNLP, Prague, Czech Rep., July. find
- Deyi Xiong, Shuanglong Li, Qun Liu, and Shouxun Lin. 2005. Parsing the penn chinese treebank with semantic knowledge. In Proceedings of IJCNLP 2005, pages 70–81. find
This page in Markdown → https://md.research.elamur.ai/free/en/papers/mi-2008-forest-based-translation-rule-extraction/