CLFeb 16, 2023

For Generated Text, Is NLI-Neutral Text the Best Text?

arXiv:2302.08577v3131 citationsh-index: 24
AI Analysis

This work addresses the challenge of generating coherent and relevant text for natural language processing applications, representing an incremental improvement by integrating NLI into existing generative pipelines.

The paper tackled the problem of improving text generation quality by incorporating natural language inference (NLI) to assess generated text against prompts, finding that maximizing the neutral class in NLI significantly enhances generation quality over vanilla methods, with concrete improvements validated by human annotations.

We explore incorporating natural language inference (NLI) into the text generative pipeline by using a pre-trained NLI model to assess whether a generated sentence entails, contradicts, or is neutral to the prompt and preceding text. First, we show that the NLI task is predictive of generation errors made by GPT-3. We use these results to develop an NLI-informed generation procedure for GPT-J. Then, we evaluate these generations by obtaining human annotations on error types and overall quality. We find that an NLI strategy of maximizing entailment improves text generation when the nucleus sampling randomness parameter value is high, while one which maximizes contradiction is in fact productive when the parameter value is low. Overall, though, we demonstrate that an NLI strategy of maximizing the neutral class provides the highest quality of generated text (significantly better than the vanilla generations), regardless of parameter value.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes