Structured prediction is often approached by training a locally normalized model with maximum likelihood and decoding approximately with beam search. This approach leads to mismatches as, during training, the model is not exposed to its mistakes and does not use beam search. Beam-aware training aims to address these problems, but unfortunately, it is not yet widely used due to a lack of understanding about how it impacts performance, when it is most useful, and whether it is stable. Recently, Negrinho et al. (2018) proposed a meta-algorithm that captures beam-aware training algorithms and suggests new ones, but unfortunately did not provide empirical results. In this paper, we begin an empirical investigation: we train the supertagging model of Vaswani et al. (2016) and a simpler model with instantiations of the meta-algorithm. We explore the influence of various design choices and make recommendations for choosing them. We observe that beam-aware training improves performance for both models, with large improvements for the simpler model which must effectively manage uncertainty during decoding. Our results suggest that a model must be learned with search to maximize its effectiveness.
Affective and Dynamic Beam Search for Story Generation
University of Southern California(南加州大学);Columbia University(哥伦比亚大学);Allen Institute for Artificial Intelligence(艾伦人工智能研究所);University of California, Davis(加州大学戴维斯分校);University of North Carolina(北卡罗来纳大学)
A Call for Clarity in Beam Search: How It Works and When It Stops
Toyota Technological Institute at Chicago(芝加哥丰田工业大学);Tohoku University(东北大学);RIKEN(日本理化学研究所);Allen Institute for AI(艾伦人工智能研究院);Yale University(耶鲁大学);University of Washington(华盛顿大学)
Generating Natural Language Adversarial Examples through An Improved Beam Search Algorithm
School of Artificial Intelligence and Automation, Huazhong University of Science and Technology(华中科技大学人工智能与自动化学院);Key Laboratory of Image Information Processing and Intelligent Control, Ministry of Education(图像信息处理与智能控制教育部重点实验室)