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

Interpretable Entity Representations through Large-Scale Typing

Yasumasa Onoe, Greg Durrett

Introduction

Modern Natural Language Processing (NLP) relies heavily on dense entity embeddings generated by models like BERT or ELMo. While these vectors are powerful, they are fundamentally "black boxes"—opaque 1024-dimensional arrays that offer little insight into the specific factual knowledge they encode. Furthermore, correcting errors in these representations typically necessitates expensive task-specific fine-tuning.

This paper proposes a shift toward interpretable entity representations by leveraging large-scale entity typing. Instead of dense, unreadable vectors, entities are represented as high-dimensional vectors of probabilities across tens of thousands of human-defined types (e.g., "living people," "tennis players"). This approach bridges the gap between deep learning performance and symbolic transparency, allowing for "out-of-the-box" task performance and direct human intervention.

Methodology

The Embedding Model

The core of the proposed system is a Transformer-based encoder (specifically BERT-large). Given an entity mention and its surrounding context, the model generates a hidden vector. This vector is then projected into a massive "type space" containing tens of thousands of dimensions.

Internal architecture of the embedding model using a BERT encoder and type-specific projections.

As shown in the architecture above, the model computes a dot product between the mention's hidden state and a set of learned type embeddings. An element-wise sigmoid function is applied to the result, producing a vector $\mathbf{t} \in [0, 1]^{|T|}$, where each dimension corresponds to the model's confidence in a specific semantic type.

Training Datasets

To achieve the necessary granularity, the models are trained on three distinct datasets:

  • UFET (Ultra-Fine Entity Typing): Provides 6,000 manually annotated examples across 10,000 types.
  • Wiki-Context: Utilizes 6 million examples from Wikipedia hyperlinks, using Wikipedia categories as labels (60,000 types).
  • Wiki-Description: Leverages 2 million examples from Wikipedia lead paragraphs to help the model learn "descriptive" embeddings.

Architecture and Workflow

The strength of this representation lies in its flexibility. Because every dimension has a clear semantic meaning, the system supports two unique post-processing steps: Type Reduction and Post-hoc Debugging.

End-to-end pipeline for generating and refining interpretable entity embeddings.

Type Reduction uses $L_1$ regularization to prune the type set for specific domains, often reducing the dimensionality by over 90% with minimal performance loss. Post-hoc Debugging allows developers to write simple "if-then" rules to manually adjust type probabilities—for instance, boosting the "tennis" type if keywords like "match" or "set" appear in the context.

Experimental Results

The authors evaluated these "EntEmbeddings" on two primary tasks: Coreference Arc Prediction (CAP) and Named Entity Disambiguation (NED).

Performance and Efficiency

  • Coreference (CAP): Using simple cosine similarity between type vectors, the model achieved 80.2% accuracy. This zero-shot performance is competitive with specialized models like KnowBert (81.5%) and vastly outperforms standard BERT representations (52-54%) when used without task-specific training.
  • Entity Disambiguation (NED): On the CoNLL-YAGO benchmark, the model reached 84.8% accuracy, a significant improvement over BERT and ELMo baselines (max 74.8%).
  • Scalability: The system demonstrated that 60,000 types provide the necessary resolution to distinguish between similar entities (e.g., different people or places named "Washington").

Interpretability and Debugging

The ability to "hot-fix" the model is a major advantage. By applying just 11 manual rules to the CoNLL-YAGO development set, the authors improved accuracy by 1.7 percentage points. This demonstrates a viable path for improving model performance without the need for compute-intensive re-training.

Conclusion

By forcing models to project knowledge into a human-defined type space, this research shows that interpretability does not have to come at the cost of performance. While the high dimensionality introduces some computational overhead, the benefits of transparency, zero-shot similarity, and manual debuggability offer a compelling alternative to traditional dense embeddings. Future work will focus on refining the type inventory and extending this framework to more complex tasks like relation extraction.

Summary updated

BibTeX
@inproceedings{onoe2020interpretable,
  author = {Yasumasa Onoe and Greg Durrett},
  title = {{Interpretable Entity Representations through Large-Scale Typing}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  url = {https://openreview.net/forum?id=aWquboslCfR},
}
Figure