PoMo: Generating Entity-Specific Post-Modifiers in Context

Jun Seok Kang, Robert L. Logan Iv, Zewei Chu, Yang Chen, Dheeru Dua, Kevin Gimpel, Sameer Singh, Niranjan Balasubramanian

TL;DR

This paper introduces "post-modifier generation," a new task in natural language generation where the goal is to automatically create short, contextually relevant descriptive phrases for entities within a sentence. They've built a large dataset, PoMo, and found that while selecting the right facts is crucial, generating fluent and contextually appropriate text remains a significant challenge.

What Problem Does This Paper Address?

Journalists often need to provide brief background information about entities mentioned in their articles to give readers context. This is typically done by inserting "post-modifiers" – short phrases that add descriptive details about the entity. For example, in the sentence "Barack Obama, [post-modifier], supported the #MeToo movement," a good post-modifier might be "a father of two girls." Manually finding and inserting these phrases is time-consuming. This paper addresses the challenge of automating this process, aiming to build a system that can act as a collaborative writing assistant for journalists. The core problem is twofold: first, identifying which facts about an entity are relevant to the specific context of the sentence, and second, generating a natural-sounding phrase that incorporates these facts and fits seamlessly into the existing text.

Methods

The authors propose a data-to-text generation framework. Their approach involves:

  • Dataset Creation (PoMo): They automatically construct a large dataset called PoMo by extracting sentences with post-modifiers from news articles and linking entities to facts in Wikidata. This involves using dependency parsing to identify post-modifiers and a heuristic-based entity linking method to connect them to Wikidata entries.
  • Claim Selection: This is framed as a distantly-supervised ranking problem. They train neural models (classifiers and rankers) to predict which facts (claims) about an entity are relevant to a given sentence.
  • Generation: They adapt existing sequence-to-sequence (seq2seq) models, incorporating attention mechanisms and copy mechanisms, which are standard in modern text generation. They experiment with different ways of encoding the input (context and claims), including a basic seq2seq model and a "tri-encoder" model that processes inputs separately before combining them.
  • End-to-End Claim Selection Model: They propose a novel approach that integrates claim selection directly into the generation model by adding an auxiliary loss term. This loss encourages the model's attention mechanism to focus on relevant claims, aiming to improve both claim selection and generation simultaneously.

Datasets

The primary contribution is the PoMo dataset, which consists of over 231,000 sentences with post-modifiers and associated facts extracted from Wikidata. This dataset was created from three news corpora: NYTimes, CNN, and DailyMail. The authors also compare their work to existing data-to-text datasets in an appendix, highlighting how PoMo's focus on shorter, context-specific output and the challenge of claim selection differentiate it.

Key Insights and Ideas

  • Contextual Relevance is Key: Crowdsourcing experiments confirm that post-modifiers are often highly specific to the context of the sentence, meaning they can't be easily replaced by other descriptive phrases for the same entity. This highlights the importance of understanding the surrounding text.
  • Claim Selection is a Major Hurdle: The paper strongly emphasizes that identifying the correct facts to include is critical. Knowing the relevant claims (even via an "oracle") significantly boosts generation quality (e.g., >20% BLEU improvement).
  • Coarse-Grained Facts are Easier: The neural claim selection models perform better at identifying the relevance of broad categories of facts (like occupation) compared to more specific ones (like place of birth).
  • Generation is Still Challenging: Even when provided with the correct facts, generating fluent and contextually appropriate post-modifiers is difficult. Models tend to produce shorter outputs than those found in the dataset.
  • End-to-End Doesn't Always Win: Their proposed end-to-end claim selection model, while innovative, surprisingly had a negative impact on performance in their experiments, suggesting that current methods for integrating claim selection might need further refinement.

Key Results

  • Claim Selection Improvement: The neural ranker model for claim selection achieved an F1 score of 64.5, significantly outperforming the most-common claim baseline (45.0).
  • Generation Performance: Using oracle-selected claims, seq2seq models (specifically BiLSTM) achieved an F1 score of 56.2 and BLEU of 25.1. However, when the model had to select claims itself (even with the neural ranker), performance dropped considerably.
  • Human Evaluation: In a human evaluation, generated post-modifiers were preferred 43.2% of the time compared to professional journalist-written ones (which were preferred 46% of the time) when using the Oracle model. This suggests that with the right information, models can produce comparable quality. However, for the Neural Ranker model, human preference for generated text dropped to 20%.
  • Length Discrepancy: Generated post-modifiers averaged 3.8 tokens, while those in the dataset averaged 5.8 tokens, indicating a tendency for models to be too brief.

Limitations and Future Work

  • Temporal Inconsistency: A significant issue identified is temporal inconsistency, where models might generate facts that are factually correct but not relevant to the time period of the article.
  • Heuristic Limitations: The automatic dataset creation method relies on heuristics, which can sometimes fail to identify truly relevant claims.
  • Model Suitability: Transformer-based models, while powerful, were found to be less suitable for this specific task compared to LSTMs, possibly due to the dataset's size and the nature of the task.
  • Future Directions: The authors suggest developing more effective methods for claim selection, particularly for fine-grained facts. They also propose exploring large pre-trained language models (like GPT-2 or BERT) by framing the task as filling in blanks, though they acknowledge potential challenges with domain adaptation and data scarcity. Further research into addressing temporal inconsistencies and improving generation length and detail is also warranted.

Summary updated

BibTeX
@inproceedings{kang2019pomo,
  author = {Jun Seok Kang and Robert L. Logan IV and Zewei Chu and Yang Chen and Dheeru Dua and Kevin Gimpel and Sameer Singh and Niranjan Balasubramanian},
  title = {{PoMo: Generating Entity-Specific Post-Modifiers in Context}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2019},
  url = {https://openreview.net/forum?id=rk47OXWObr},
}
Figure