Active Learning from Scratch in Diverse Humanities Textual Domains: Optimizing Annotation Efficiency for Language-Agnostic NER

paper, specified "long paper"
Authorship
  1. 1. Alexander Erdmann

    Computational Approaches to Modeling Language Lab - New York University Abu Dhabi, Department of Linguistics, Ohio State University - Ohio State University

  2. 2. David Joseph Wrisley

    Digital Humanities - New York University Abu Dhabi

  3. 3. Béatrice Joyeux-Prunel

    Département d'histoire et de théorie des arts, Ecole normale supérieure, Paris Sciences Lettres - Ecole normale supérieure Paris

Work text
This plain text was ingested for the purpose of full-text search, not to preserve original formatting or readability. For the most complete copy, refer to the original conference program.


Interest among Digital Humanities (DH) practitioners in semantic annotation of corpora continues to grow, while at the same time linguistic resources for niche domains or languages underperform, or are simply unavailable. Since DH research often involves multilingual and multi-domain corpora—drawing on different genres, periods and cultures, and ranging in type from unstructured prose to semi-structured text—annotation can require significant time and language skills that not all contributors in research groups have. Annotation in collaborative projects is a case in point (Dossin et al., 2016).
Furthermore, off the shelf tools for annotation, despite being trained with language agnostic architectures, only process one language in one domain at a time (Al-Rfou et al., 2014; Lample et al., 2016). Since available tools do not perform well for niche domains (Boeten, 2015; de Naegel, 2015), new semi-automatic semantic annotation solutions must be sought for creating data for downstream DH tasks (de Wilde and Hengchen, 2017). For annotating diverse corpora, we propose a language-agnostic, robust and customizable named entity recognition (NER) resource. It can identify any type of user-specified entities in any textual domain, although here we have largely focused on the annotation of place names for use in the spatial humanities.
Instead of relying on pre-existing NER taggers not tailored to the domain of interest, our resource enables humanists to build their own customized NER taggers. Such taggers require manually annotated data to learn to identify named entities automatically. However, since annotation is costly, we propose an active learning pipeline in which the most informative sentences in a corpus are identified prior to annotation. Our approach is to optimize performance while minimizing the time and energy of exclusively manual annotation (Kettunen et al., 2017).
To this end, we developed the Humanities Entity Recognizer (HER), which uses the conditional random field (CRF) machine learning architecture, both to identify sentences containing named entities most crucial for annotation and to identify named entities once sufficient manual annotation is completed (Nadeau and Sakine, 2007; Erdmann et al., 2016).
The system is designed to work with unstructured texts in any language, especially humanities texts where entities are unevenly distributed. It assumes no language resources beyond a tokenizer.

Our inspiration comes from related NER research that demonstrates that feature-based architectures like CRFs can, in fact, be language agnostic (Curran and Clark, 2003). However, such systems do not anticipate noisy DH domains. A promising active learning strategy for low resourced neural NER exists (Shen et al., 2018), although it requires computational resources we do not assume to be available to most humanities researchers. Finally, a transfer learning solution has been proposed, whereby a model for the under-resourced Uyghur language leverages better resourced NER models for two related languages (Bharadwaj et al., 2016). This pipeline however, requires access to multiple specific sources of data beyond the average humanities data scenario.
Our design merits particular attention for its careful consideration of the workflows of the humanist. Using limited entity lists (for example, placeographies or personographies built from annotated data on the fly), we delexicalize features and introduce other factors to encourage the algorithm to generalize rapidly in identifying new entities with high recall, sorting sentences based on likelihood to contain frequent, previously unannotated named entities. The system learns on its own that capitalization is important in languages where it is, but can ignore capitalization in other languages. Since the textual scholar working with the HER system is actively involved in the iterative annotation and correction, a choice was made to favor recall over precision for the simple reason that
it is easier to remove, or hand correct, an inaccurate entity than to lose one in the “black box.” The annotation process on the initial seed and successive batches resembles a close reading of the corpus from the perspective of its potential named entities.
At present the scripts work on the command line and subsequent annotation is carried out in a text editor. Integration into community-based, social annotation interfaces is a desirable next step, but beyond the scope of this paper.

Our choice of CRF machine learning stems from a commitment to under-resourced domains, since neural models are
notoriously data hungry. Nonetheless, we tested neural models (BiLSTM-CRF and CNN-BiLSTM) extensively both for active learning and/or for performing the final NER tagging, with the result that CRFs outperform them until the amount of manually annotated data exceeds about 30,000 words. Should the user exceed this threshold, HER also supports use of neural models. Additionally, the interpretability of CRFs allowed us to maximize multiple criteria (uncertainty, representativeness, and diversity) when choosing the best sentences to annotate, whereas the neural models performed poorly for active learning, only capable of predicting sentences’ uncertainty. We also introduce the notion of an “inclusive” evaluation framework whereby the accuracy of the model is determined by both manual and automatic annotations, rather than “exclusive” frameworks that look only at the final model’s prediction on a held out test set (Erdmann et al., 2019).

Figure 1: Inclusive and Exclusive Evaluation of Learning Architectures (shallow and deep) with the Humanities Entity Recognizer (HER)
The code and documentation for the Humanities Entity Recognizer (HER) are freely available at http://github.com/alexerdmann/HER. Our research stems from a session of a 2018 NYU-PSL Global Alliance funded workshop devoted to named entities and spatial humanities research. We began with non-English materials already annotated for named entities: the FranText corpus (around 200 works of pre-1920s French prose). We chose six sample texts across very different domains—a travel narrative, a gastronomic treatise, novels, an autobiography and a memoir—of varying named entity densities and distributions. The texts’ proper names were further annotated to distinguish place and person names. Performance of models trained using the HER system for annotation increased significantly. After annotating just 40,000 words, error was reduced 68.6% as compared to annotating 40,000 words from randomly selected sentences. In addition to this previously annotated corpus—not the norm for most DH research—we worked with three other unannotated corpora of significant typological and structural difference:

A German corpus of approximately 1M words (novels, travel narratives and philosophical texts) from the Weimar period, partially sourced from Project Gutenberg;
A medieval French corpus composed of 1.1M words in both prose and verse for which a pre-existing placeography was available (drawing on the Open Medieval French corpus);
A Portuguese corpus consisting of approximately 250K words from catalogs of the São Paolo exhibitions (1951-1959) containing a significant amount of structured information (lists of artists’ names, artwork titles, dates, places, etc.) for which a personography and placeography were available from the Artl@s Global Exhibition Catalogues Database.

We discuss results using these corpora, as well as challenges encountered using the Humanities Entity Recognizer (HER) across diverse domains and different kinds of entities. We report performance over a learning curve of quantities of manual annotation and qualitatively evaluate predictions in the absence of gold-standard data (van Hooland et al., 2015). We conclude with our key contributions in the development of this system: “whiteboxing” the NER process, handling totally unresourced domains and messy corpora in a language agnostic manner, and designing complete flexibility to granularity and types of entities.

Bibliography

Artl@s Project. (2019). Artl@s Global Exhibition Catalogues Database.
https://artlas.huma-num.fr/en/

Bharadwaj, A., Mortensen, D. R., Dyer, C. and Carbonell, J. G. (2016). Phonologically aware neural model for named entity recognition in low resource transfer settings.
Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing (EMNLP). Austin, Texas: Association for Computational Linguistics, pp. 1462–72.

Boeten, J. (2015).
The Herodotos Project (OSU-UGent): Studies in Ancient Ethnography. Barbarians in Strabo’s ‘Geography’ (AbiiIonians) With a Case-Study: The Cappadocians. Ghent University.

Chen, Y., Lasko, T. A., Mei, Q., Denny, J. C. and Xu, H. (2015). A study of active learning methods for named entity recognition in clinical text.
Journal of Biomedical Informatics, 58: 11–18.

CNRTL Centre National de Ressources Textuelles et Lexicales. (2019). Frantext Corpus.

Curran, J. R. and Clark, S. (2003). Language independent NER using a maximum entropy tagger.
Proceedings of the Seventh Conference on Natural Language Learning at HLT-NAACL 2003 - Volume 4. (CONLL ’03). Stroudsburg, Pennsylvania: Association for Computational Linguistics, pp. 164–67.

Dossin, C., Joyeux-Prunel, B. and Kong, N. (2017). Applying VGI to collaborative research in the humanities: the case of Artl@s.
Cartography and Geographic Information Science, 44(6): 1-18.

Erdmann, A., Brown, C., Joseph, B., Janse, M., Ajaka, P., Elsner, M. and Marneffe, M.-C. de (2016). Challenges and Solutions for Latin Named Entity Recognition.
Proceedings of the Workshop on Language Technology Resources and Tools for Digital Humanities (LT4DH). Osaka, Japan: The COLING 2016 Organizing Committee, pp. 85–93.

Erdmann, A., Wrisley, D. J., Allen, B., Brown, C., Cohen-Bodénès, S., Elsner, M., Feng, Y., Joseph, B., Joyeux-Prunel, B. and Marneffe, M.-C. de (2019). Practical, efficient, and customizable active learning for named entity recognition in the digital humanities. Forthcoming in
Proceedings of the North American Chapter of the Association of Computational Linguistics. Minneapolis, Minnesota: Association for Computational Linguistics.

Hooland, S. van, Wilde, M. de, Verborgh, R., Steiner, T. and Van de Walle, R. (2015). Exploring entity recognition and disambiguation for cultural heritage collections.
Digital Scholarship in the Humanities, 30(2): 262–79.

Humanities Entity Recognizer (HER). (2019). GitHub.
https://github.com/alexerdmann/HER

Kettunen, K., Mäkelä, E., Ruokolainen, T., Kuokkala, J. and Löfberg, L. (2017). Old Content and Modern Tools – Searching Named Entities in a Finnish OCRed Historical Newspaper Collection 1771–1910.
Digital Humanities Quarterly, 11(3).

Lample, G., Ballesteros, M., Subramanian, S., Kawakami, K. and Dyer, C. (2016). Neural architectures for named entity recognition.
Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. San Diego, California: Association for Computational Linguistics, pp. 260–270.

Nadeau, D. and Sekine, S. (2007). A survey of named entity recognition and classification.
Lingvisticæ Investigationes (30.1): 3-26.

Naegel, A. de (2015).
The Herodotos Project (OSU-UGent): Studies in Ancient Ethnography. Barbarians in Strabo’s ‘Geography’ (Isseans - Zygi). With a Case-Study: The Britons. Ghent University.

Open Medieval French Project. (2019).
GitHub.
https://github.com/OpenMedFr

Al-Rfou, R., Kulkarni, V., Perozzi, B. and Skiena, S. (2015). POLYGLOT-NER: massive multilingual named entity recognition.
Proceedings of the 2015 SIAM International Conference on Data Mining. Vancouver, British Columbia: Society for Industrial and Applied Mathematics, pp. 586-94.

Shen, Y., Yun, H., Lipton, Z. C., Kronrod, Y. and Anandkumar, A. (2017). Deep active learning for named entity recognition.
Proceedings of the 2nd Workshop on Representation Learning for NLP. Vancouver, Canada: Association for Computational Linguistics, pp. 252–56.

Wilde, M. de and Hengchen, S. (2017). Semantic enrichment of a multilingual archive with linked open data.
Digital Humanities Quarterly, 11(4).

If this content appears in violation of your intellectual property rights, or you see errors or omissions, please reach out to Scott B. Weingart to discuss removing or amending the materials.