Referring Expression Generation Using Entity Profiles

Meng Cao, Jackie Chi Kit Cheung

Abstract

This paper introduces PROFILEREG, a neural model for Referring Expression Generation (REG) designed to overcome the limitations of fixed entity vocabularies. By incorporating external knowledge from Wikipedia "entity profiles" and utilizing a novel three-way switch mechanism, the model successfully generalizes to entities unseen during training. Experimental results on the WebNLG corpus demonstrate that PROFILEREG significantly outperforms previous state-of-the-art systems, particularly in zero-shot scenarios and pronoun selection accuracy.

Introduction

Referring Expression Generation (REG) is the task of determining the most appropriate way to refer to an entity within a text—deciding, for instance, whether to use a proper name like "Barack Obama," a description like "the former president," or a pronoun like "he." A major bottleneck in modern neural REG is generalization; most models represent entities as static embedding vectors, rendering them unable to refer to entities not present in the training data.

To address this, the authors propose a system that can adapt to new domains by reading a brief summary (an "entity profile") of a new person or object and generating natural-sounding references based on that external knowledge.

Methodology

PROFILEREG is an end-to-end architecture composed of three primary components:

  1. Context Encoders: Two bi-directional LSTMs encode the "pre-context" and "post-context" surrounding the target reference point.
  2. Profile Encoder: A bi-directional LSTM processes an "entity profile," typically the first three sentences of the entity's Wikipedia page, providing the necessary external knowledge for unseen entities.
  3. Attention-based Decoder with a Three-Way Switch: This core innovation utilizes a three-way switch variable ($\Sigma$) to decide between three distinct actions:
  4. COPY: Extracting a name or description directly from the Wikipedia profile.
  5. PRO: Generating a pronoun (e.g., he, she, it).
  6. GEN: Generating a word from a general fixed vocabulary.
The PROFILEREG architecture, featuring context and profile encoders feeding into a decoder with a three-way switch mechanism.

By treating pronouns as a separate category rather than standard vocabulary items, the model better distinguishes between referential forms, leading to more human-like output.

Experimental Setup

The model was evaluated using the WebNLG corpus, which consists of data triples and their natural language descriptions. To test generalization, the authors introduced three data splits:

  • Original: Test entities were seen during training.
  • Entity-separated: A "zero-shot" setup where the test set contains entirely different entities from the training set.
  • Random: A realistic mix of seen and unseen entities.

Results and Discussion

PROFILEREG outperformed all baselines, including the previous state-of-the-art NeuralREG, across all metrics and data splits.

Quantitative performance of PROFILEREG compared to baselines across Original, Entity-separated, and Random datasets.

Key Findings

  • Zero-Shot Success: On the "Entity-separated" task, PROFILEREG achieved 60.60% total accuracy. Notably, the previous leading model, NeuralREG, could not be applied to this task as it lacks the mechanism to handle unseen entities.
  • Pronoun Accuracy: The three-way switch significantly improved pronoun selection, reaching 87.17% accuracy on the original dataset, compared to 74.92% for previous models.
  • Human Evaluation: In pairwise preference tests, humans found PROFILEREG's output to be equal or superior to human-written text in 86% of the samples.

Conclusion

PROFILEREG demonstrates that external knowledge profiles can effectively bridge the gap between seen and unseen entities in REG tasks. While the model currently struggles with rare forms like demonstratives (e.g., "that person"), its ability to learn how to use a profile rather than memorizing specific entities represents a significant step toward open-domain natural language generation. Future work will explore deeper profile integration and document-level context for improved referential consistency.

Summary updated

BibTeX
@inproceedings{cao2019referring,
  author = {Meng Cao and Jackie Chi Kit Cheung},
  title = {{Referring Expression Generation Using Entity Profiles}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2019},
  doi = {10.18653/v1/d19-1312},
}
Figure