Ensuring Readability and Data-fidelity using Head-modifier Templates in Deep Type Description Generation

Jiangjie Chen, Ao Wang, Haiyun Jiang, Suo Feng, Chenguang Li, Yanghua Xiao

Abstract

Knowledge Graphs (KGs) such as Wikidata and DBpedia provide structured data but often lack concise "type descriptions" that help users quickly identify entities. Existing generative models for this task frequently struggle with a trade-off between readability and factual fidelity. We present a two-stage neural framework that leverages the linguistic "head-modifier" structure of noun compounds. By first generating a syntactic template and then populating it with infobox data via a dual-attention mechanism, our model ensures both grammatical correctness and data fidelity. Evaluation on the Wiki10K and a new Wiki200K dataset demonstrates state-of-the-art performance across multiple metrics.

Introduction

Knowledge Graphs are essential for various AI applications, yet their utility is often limited by the absence of short, human-readable type descriptions. For example, identifying rue Cazotte as a "street in Paris, France" is more informative than a broad category like "location." Generating these descriptions automatically is challenging: extractive methods lack coverage, while end-to-end generative models often produce "hallucinations"—factual errors where entities are associated with incorrect properties—or ungrammatical text.

Methodology

The core of our approach is a two-stage generation process based on the head-modifier rule, which states that a noun compound consists of a head (the core type) and modifiers (specific details).

The two-stage generation process: from infobox to template, and then to the final type description.

Stage 1: Template Generation

The model first encodes the entity's infobox—a collection of property-value pairs—using an Infobox Encoder. It then generates a syntactic template using placeholders: $hed$ for the head noun and $mod$ for modifiers. For instance, an infobox for a street might result in the template $hed$ in $mod$ , $mod$.

Stage 2: Description Generation

In the second stage, the model uses both the generated template and the original infobox to produce the final description. A Template Encoder processes the structural template, while a Description Decoder utilizes a dual attention mechanism to simultaneously attend to the infobox facts and the template structure.

The complete neural architecture featuring the Infobox Encoder, Template Decoder, Template Encoder, and Description Decoder.

To further ensure fidelity, we incorporate:

  • Copy Mechanism: Directly pulls specific entity names from the infobox.
  • Context Gate: Dynamically balances the influence of the template versus the infobox during decoding.

Datasets

We evaluated our framework on two datasets:

  1. Wiki10K: A standard dataset of 10,000 entities, though noted for being imbalanced toward human entities.
  2. Wiki200K: A larger, more diverse dataset of 200,000 entities sampled from Wikidata, introduced to provide a more robust benchmark for type description generation.

Results and Evaluation

Our model achieved state-of-the-art (SOTA) results on both datasets. On the Wiki200K dataset, it reached a BLEU-1 score of 73.69, significantly higher than the previous SOTA (62.60) and standard Transformer baselines (69.78).

Beyond standard overlap metrics, we introduced HedAcc (Head Accuracy) and ModCopy (Modifier Copy Accuracy) to specifically measure factual fidelity. Our model showed marked improvements in identifying the correct "head" type of an entity. Human evaluations further confirmed these findings, with the model scoring 96.50% in Grammar Accuracy and 66.25% in Overall Accuracy.

Conclusion

By decoupling syntactic structure from factual content through a two-stage head-modifier framework, we significantly improve the quality of generated type descriptions. Our model is robust to minor template errors and effectively prioritizes core entity types. Future work will explore the use of semantic templates to capture more nuanced relationships between entities and their properties.

Summary updated

BibTeX
@inproceedings{chen2019ensuring,
  author = {Jiangjie Chen and Ao Wang and Haiyun Jiang and Suo Feng and Chenguang Li and Yanghua Xiao},
  title = {{Ensuring Readability and Data-fidelity using Head-modifier Templates in Deep Type Description Generation}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1196},
}
Figure