Redcoat: A Collaborative Annotation Tool for Hierarchical Entity Typing

Michael Stewart, Wei Liu, Rachel Cardell-OliverEMNLP 2019

TL;DR

Redcoat is a web-based, collaborative annotation tool specifically designed for hierarchical entity typing. Unlike traditional tools that focus on flat labels, Redcoat allows researchers to build and refine complex taxonomies in real-time while supporting multi-label tagging and automated workload distribution.

What Problem Does This Paper Address?

In Natural Language Processing (NLP), entity typing has evolved from simple categories (like "Person" or "Location") to deep, complex hierarchies (like "Person/Actor/Voice_Actor"). However, most existing annotation tools—including industry standards like BRAT—were built for Named Entity Recognition (NER), which typically assumes one flat label per token.

Existing workflows suffer from three major pain points:

  1. Rigid Taxonomies: Most tools require a fixed hierarchy before annotation begins, whereas researchers often discover new sub-categories during the labeling process.
  2. Manual Project Management: Setting up collaborative projects often involves manually splitting files, setting up servers, and tracking progress via external spreadsheets.
  3. Lack of Multi-label Support: Deep learning models increasingly require fine-grained labels where a single entity might belong to multiple branches of a hierarchy simultaneously.

Methods and Architecture

Redcoat is built on a Node.js and MongoDB stack, designed for speed and flexibility. Its architecture introduces several novel features for the annotation workflow:

  • Dynamic Hierarchy Refinement: Project creators can grant annotators permission to add, rename, or delete categories on the fly. This turns annotation into a "knowledge elicitation" process where the taxonomy grows with the data.
  • Automated Document Propagation: Instead of pre-assigning specific files, Redcoat uses a first-come-first-serve model. It automatically scales the workload based on the number of active users, re-calculating the remaining load instantly if team size changes.
  • Hierarchical Labeling Logic: When an annotator selects a leaf node (e.g., "Park"), the system automatically applies all parent labels (e.g., "Location" and "Structure"). This ensures data consistency without extra clicks.
  • Contextual Assistance: To reduce context switching, the tool integrates the MediaWiki API, pulling Wikipedia summaries of selected tokens directly into the interface.
The Redcoat annotation interface showing hierarchical labels and contextual Wikipedia assistance.

Key Insights and Ideas

  • The "Overlap" Parameter: Redcoat allows creators to set an "overlap" value (e.g., 2). This ensures every document is seen by at least two people for validation, but the system handles the distribution logic automatically, removing a massive administrative burden.
  • Regex-based "Warm Start": The tool includes an automatic labeling process that uses regular expressions to pre-tag tokens that exactly match existing categories in the hierarchy, speeding up the initial pass of annotation.
  • Annotation as Discovery: By allowing "full permission" modes, the tool acknowledges that the person closest to the data (the annotator) often has the best insights into how the taxonomy should be structured.

Key Results

The paper presents a qualitative comparison against six other popular tools, including BRAT, GATE, and WebAnno. Redcoat was the only tool to support the full suite of modern requirements: web-based project creation, dynamic document propagation, hierarchical/multi-label support, and dynamic label modification during the annotation phase.

Comparison of Redcoat features against other popular annotation systems.

By automating the administrative aspects of project management—such as splitting files and managing folders—Redcoat significantly reduces the "time-to-first-label" for research teams.

Limitations and Future Work

The authors acknowledge several areas for future development:

  • Suggestion Engines: Currently, automatic labeling is limited to simple regex. Future versions aim to integrate deep-learning-based suggestion algorithms that learn from annotator behavior in real-time.
  • Visual Analytics: While the tool tracks progress, future iterations will include better visualizations of results and inter-annotator agreement metrics.
  • Medical Domain Support: Loading massive hierarchies like SNOMED CT presents performance challenges that the team is currently addressing.

Check it out: The project is open-source and available on GitHub.

Summary updated

BibTeX
@inproceedings{stewart2019redcoat,
  author = {Michael Stewart and Wei Liu and Rachel Cardell-Oliver},
  title = {{Redcoat: A Collaborative Annotation Tool for Hierarchical Entity Typing}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2019},
  doi = {10.18653/v1/d19-3033},
}
Figure