NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

NeuralREG: An end-to-end approach to referring expression generation

Thiago Castro Ferreira, Diego Moussallem, Ákos Kádár, Sander Wubben, Emiel Krahmer

Introduction

Referring Expression Generation (REG) is a critical component of Natural Language Generation (NLG) systems, responsible for determining how entities—such as people, locations, or objects—are referenced in text. Traditional REG systems typically rely on a two-step pipeline: first selecting the form (e.g., name, pronoun, or description) and then selecting the specific content. This manual approach requires extensive feature engineering to account for salience and grammatical roles, often failing to capture the fluidity of human discourse.

This paper introduces NeuralREG, an end-to-end neural architecture that eliminates the need for manual pipelines by learning to generate referring expressions directly from data.

Methodology

NeuralREG utilizes a multi-encoder, attention-decoder framework designed to capture the linguistic context surrounding an entity.

Contextual Encoding

The model employs two bidirectional Long Short-Term Memory (LSTM) networks to encode the "pre-context" and "post-context" of a reference. This bidirectional approach ensures the model understands how a reference fits within the preceding and succeeding text.

Delexicalization and Wikification

To improve generalization and handle data sparsity, the model uses "wikified" inputs. Entities are replaced with unique Wikipedia IDs rather than raw names. This forces the network to learn the structural patterns of reference rather than memorizing specific entity names.

Decoder Variants

The authors evaluated three decoder architectures:

  1. Seq2Seq: A standard sequence-to-sequence baseline.
  2. CAtt (Concatenative Attention): An attention mechanism that weighs context importance.
  3. HierAtt (Hierarchical Attention): A complex model applying attention separately to pre- and post-contexts.

Data and Experimental Setup

The models were trained and evaluated on a processed version of the WebNLG corpus, containing 78,901 referring expressions across 1,501 distinct Wikipedia entities. Entities in RDF triples were mapped to general tags (e.g., AGENT-1) to facilitate the end-to-end learning process.

Results and Analysis

NeuralREG significantly outperforms traditional baselines, including OnlyNames and the Ferreira pipeline.

Quantitative Performance

As shown in the performance metrics, the NeuralREG variants—particularly the CAtt model—achieved superior accuracy and lower String Edit Distance (SED) compared to the baselines.

Quantitative performance of NeuralREG variants against baselines.

NeuralREG demonstrated a particular mastery of pronominalization, reaching 75% accuracy in pronoun prediction. This suggests the model effectively learned when it is "safe" to use a pronoun without introducing ambiguity.

Qualitative Comparison

Qualitative analysis reveals that NeuralREG produces more natural, human-like text. While baselines often repeat full names or use incorrect pronouns, NeuralREG variants correctly identify appropriate referring expressions based on the discourse context.

Qualitative comparison of generated text across different models.

Human Evaluation

In human trials using a 7-point Likert scale, NeuralREG (CAtt) was rated significantly higher for Fluency (5.23) and Clarity (5.26) than the Ferreira baseline (4.74 and 4.93, respectively).

Conclusion and Future Work

NeuralREG represents a significant step forward in REG by demonstrating that end-to-end neural models can outperform complex, hand-engineered pipelines. Future research will focus on extending the model to generate expressions for constants (like dates) and improving disambiguation in contexts with multiple similar entities. Additionally, exploring automated entity linking could allow the model to generalize beyond "wikified" datasets.

Summary updated

BibTeX
@inproceedings{ferreira2018neuralreg,
  author = {Thiago Castro Ferreira and Diego Moussallem and Ákos Kádár and Sander Wubben and Emiel Krahmer},
  title = {{NeuralREG: An end-to-end approach to referring expression generation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/p18-1182},
}
Figure