Coreference resolution—the task of identifying all expressions that refer to the same entity in a text—is a cornerstone of natural language understanding. While modern neural models have achieved impressive scores on standard benchmarks like the CoNLL-2012 dataset, they often struggle when applied to new domains. This paper, presented at EMNLP 2018, investigates this "generalization gap" and proposes a solution rooted in efficient linguistic feature selection.
The Generalization Gap: Memorization vs. Logic
Neural coreference resolvers often achieve high performance by memorizing specific lexical patterns found in training data. Because datasets like CoNLL have significant overlap between training and test sets, models can succeed without truly understanding linguistic rules. However, when these models are tested on out-of-domain data, such as Wikipedia articles (WikiCoref), their performance often drops significantly.
The authors argue that the key to robust generalization is re-incorporating classic linguistic features (gender, number, syntax) in a way that provides a clear signal to the neural network without introducing excessive noise.
Efficient Pattern Miner (EPM)
Simply adding every possible linguistic feature to a neural network is ineffective; many features are redundant or only useful in specific combinations. To solve this, the authors introduced the Efficient Pattern Miner (EPM).
EPM is a discriminative algorithm designed to identify highly informative combinations of features. For example, while "Gender=Female" might be a weak signal on its own, the combination of "Anaphor=Pronoun" and "Gender=Female" is a powerful indicator of coreference.
The algorithm uses a Frequent Pattern Tree (FP-Tree) to store data efficiently and employs a $G^2$ likelihood ratio test to ensure that selected patterns are statistically significant. Crucially, it filters for "Information Novelty," keeping a complex pattern only if it predicts coreference better than its individual components.
Key Results and Efficiency
The impact of EPM-selected features is most evident in out-of-domain scenarios. On the WikiCoref dataset, adding these mined features improved the F1 score of the baseline deep-coref model by nearly 3 percentage points, rising from 52.52 to 55.30. This enhancement allowed a model trained only on CoNLL to perform on par with systems specifically tuned for the Wikipedia domain.
Beyond accuracy, EPM offers a massive leap in computational efficiency. Previous pattern mining algorithms, such as MPP, often struggle with the millions of mention-pairs found in modern NLP datasets.
As shown in benchmarking tests against non-NLP datasets, EPM is orders of magnitude faster than its predecessors. On complex datasets like 'poker', EPM completes its search in seconds, whereas competing algorithms can take hours or fail to terminate entirely.
Conclusion
By forcing neural models to rely on linguistic properties that hold true across any English text—rather than dataset-specific lexical quirks—EPM significantly improves the robustness of coreference resolvers. This research highlights that even in the era of deep learning, "smart" feature engineering remains a vital tool for building models that truly generalize.
Summary updated