We examine the impact of various loss functions in section 4.2.
the algorithm learns whether to select an attribute or generate a word by taking the corresponding action and assessing its effect on the quality of the complete NL.