Extract, Denoise and Enforce: Evaluating and Improving Concept Preservation for Text-to-Text Generation

Yuning Mao, Wenchang Ma, Deren Lei, Jiawei Han, Xiang Ren

Abstract

Modern text-to-text models often struggle to preserve critical concepts from source text, leading to factual inconsistencies despite high fluency. This paper introduces EDE (Extract, Denoise, and Enforce), a framework designed to identify key entities and ensure their inclusion in the generated output. By employing a novel Denoised Dynamic Beam Allocation (DDBA) mechanism, EDE balances lexical constraints with linguistic naturalness. Evaluated across four diverse tasks, EDE achieves state-of-the-art results in question generation and consistently improves concept-level fidelity.

Introduction

State-of-the-art sequence-to-sequence (seq2seq) models like BART and T5 have revolutionized natural language generation. However, these models frequently "forget" or "hallucinate" essential information—such as names, dates, or specific entities—present in the input. A significant hurdle is that standard evaluation metrics like ROUGE and BLEU treat all tokens with equal weight, failing to adequately penalize the omission of critical factual anchors. This research investigates the extent of this "concept gap" and proposes a method to explicitly guide models toward better preservation.

The EDE Framework

The authors propose a three-stage pipeline to bridge the gap between source concepts and generated text:

  1. Extract: Important concepts (entities) are automatically identified in the source text using BERT-KPE, a state-of-the-art keyphrase extraction model.
  2. Denoise: Traditional "hard" lexical constraints often force keywords into ungrammatical positions, resulting in "word salad." EDE introduces Denoised Dynamic Beam Allocation (DDBA). During decoding, the model evaluates the probability of a constrained word. If the word is unlikely to fit fluently at the current step (suggesting a potential grammatical error), the constraint is temporarily filtered out.
  3. Enforce: The remaining "denoised" constraints guide the beam search process, ensuring that relevant concepts are integrated naturally into the final output.
The EDE framework: Extracting concepts, Denoising them via DDBA, and Enforcing them during generation.

Experimental Setup

The framework was tested on five benchmark datasets representing four distinct tasks to prove its generalizability:

  • Question Generation: SQuAD 1.1.
  • Knowledge-Grounded Dialog: Wizard of Wikipedia (WoW).
  • Headline Generation: English Gigaword.
  • Abstractive Summarization: CNN/Daily Mail and XSum.

Key Findings and Results

The study revealed that in highly abstractive datasets like XSum, nearly 50% of human-written summary concepts are not in the source, effectively training models to hallucinate. Even when concepts are present, standard BART models only preserve them 50-60% of the time.

EDE addresses these issues effectively:

  • Performance Gains: EDE (BART-large + DDBA) set a new state-of-the-art on SQuAD question generation.
  • Concept Fidelity: The model showed significant improvements in "Concept F1" scores across all tasks, indicating a much higher rate of successful entity preservation compared to vanilla BART.
  • Human Evaluation: Blind tests confirmed that human readers prefer EDE's outputs for their closeness to the source and overall relevance, without a significant loss in fluency.
Performance comparison (Precision, Recall, F1) between BART and EDE variants across five datasets.

Conclusion and Future Work

EDE demonstrates that explicit concept enforcement, when tempered by a denoising mechanism, significantly improves the factual reliability of text-to-text models. While the system is currently limited by its reliance on exact string matching and the quality of the initial keyphrase extractor, it provides a robust foundation for future work in "soft" denoising and the integration of external knowledge to handle paraphrased concepts.

Summary updated

BibTeX
@inproceedings{mao2021extract,
  author = {Yuning Mao and Wenchang Ma and Deren Lei and Jiawei Han and Xiang Ren},
  title = {{Extract, Denoise and Enforce: Evaluating and Improving Concept Preservation for Text-to-Text Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.413},
}
Figure