Neural Text Generation with Artificial Negative Examples
Neural text generation models conditioning on given input (e.g. machine translation and image captioning) are usually trained by maximum likelihood estimation of target text. However, the trained models suffer from various types of errors at inference time. In this paper, we propose to suppress an arbitrary type of errors by training the text generation model in a reinforcement learning framework, where we use a trainable reward function that is capable of discriminating between references and sentences containing the targeted type of errors. We create such negative examples by artificially injecting the targeted errors to the references. In experiments, we focus on two error types, repeated and dropped tokens in model-generated text. The experimental results show that our method can suppress the generation errors and achieve significant improvements on two machine translation and two image captioning tasks.
Code (0)
등록된 구현이 없습니다.
Tasks
Image CaptioningMachine TranslationText GenerationTranslationSimilar Papers 제목 키워드 기반
Contrastive Learning with Adversarial Perturbations for Conditional Text Generation
Recently, sequence-to-sequence (seq2seq) models with the Transformer architecture have achieved remarkable performance on various conditional text generation tasks, such as machine translation. However, most of them are …
Conditional Text GenerationContrastive LearningMachine TranslationQuestion Generation+4Instance-wise Hard Negative Example Generation for Contrastive Learning in Unpaired Image-to-Image Translation
Contrastive learning shows great potential in unpaired image-to-image translation, but sometimes the translated results are in poor quality and the contents are not preserved consistently. In this paper, we uncover that …
Contrastive LearningImage-to-Image TranslationTranslationLearning to Write with Coherence From Negative Examples
Coherence is one of the critical factors that determine the quality of writing. We propose writing relevance (WR) training method for neural encoder-decoder natural language generation (NLG) models which improves coheren…
DecoderNatural Language InferenceSentenceText GenerationControllable Game Level Generation: Assessing the Effect of Negative Examples in GAN Models
Generative Adversarial Networks (GANs) are unsupervised models designed to learn and replicate a target distribution. The vanilla versions of these models can be extended to more controllable models. Conditional Generati…
Dutch Humor Detection by Generating Negative Examples
Detecting if a text is humorous is a hard task to do computationally, as it usually requires linguistic and common sense insights. In machine learning, humor detection is usually modeled as a binary classification task, …
Binary ClassificationCommon Sense ReasoningHumor DetectionLanguage Modelling+1