TeamTat: a collaborative text annotation tool

Rezarta Islamaj Dogan, Dongseop Kwon, Sun Kim, Zhiyong Lu

Introduction

The development of high-quality "gold standard" text datasets is a fundamental requirement for advancing natural language processing (NLP) in specialized domains. In biomedical research, this process is particularly arduous due to non-standard entity names, complex relationships, and the necessity of referring to visual data within publications. This paper introduces TeamTat, an open-source, web-based platform designed to manage the entire lifecycle of collaborative text annotation.

The Challenge of Biomedical Annotation

Biomedical text presents unique hurdles for information extraction. Crucial evidence for claims is often not contained within the text alone but is buried in figures and tables. Furthermore, large-scale projects require coordinating multiple experts, resolving their disagreements, and maintaining consistency across thousands of documents. Existing tools often fail to provide the enterprise-level project management features—such as multi-round workflows and integrated figure displays—required for these demanding tasks.

System Architecture and Workflow

TeamTat is built using a Ruby on Rails framework with a MySQL backend, emphasizing a structured, role-based management system. The platform facilitates a multi-stage workflow:

  1. Project Management: Managers define annotation schemas, select annotators, and distribute documents.
  2. Iterative Annotation Rounds: The tool supports multiple "rounds." Initial rounds are typically anonymous to prevent seniority bias, where junior researchers might defer to senior colleagues. Later collaborative rounds allow experts to reveal their identities to discuss and resolve discrepancies.
  3. Quality Metrics: Built-in Inter-Annotator Agreement (IAA) statistics allow managers to quantitatively assess the progress and quality of the corpus, deciding when a project is "finished" based on consensus.
The TeamTat collaborative annotation workflow, illustrating the roles of project managers and annotators across multiple rounds.

Key Features and User Interface

TeamTat offers several "smart" features designed to improve curation efficiency and accuracy:

  • Integrated Figure Display: A standout feature is the ability to view original figures alongside the text. This is critical in biology, where charts often provide the "ground truth" needed to confirm textual entities or relations.
  • Simultaneous Editing: Highlighting one instance of a term can automatically annotate all occurrences throughout a document, significantly speeding up the process.
  • Complex Relation Tagging: TeamTat supports relations with up to eight components, even when those components are spread across different paragraphs.
  • Visual Conflict Resolution: The interface uses specific visual cues, such as different colored underlines, to highlight where annotators agree or disagree on entity normalization.
  • Interoperability: The system integrates with PubMed and PubMed Central (PMC) using the BioC community standard and supports PDF-to-text extraction.
TeamTat's interface allows annotators to view figures from the source document, providing critical context for biomedical entity extraction.

Validation and Real-World Application

The utility of TeamTat has been demonstrated through its application in major projects at the National Library of Medicine (NLM). For instance, the NLM-Chem project involved 150 full-text articles annotated for chemical entities by 10 indexers, while NLM-Gene covered 550 PubMed articles annotated for genes across 11 model organisms. These real-world use cases involved 4 to 5 rounds of annotation each, proving the tool's stability for high-volume, high-complexity projects. Since its internal launch in 2019, the platform has supported over 100 active annotators.

Conclusion

TeamTat bridges the gap between simple text tagging and comprehensive project management. By addressing the specific needs of the biomedical community—such as figure integration and multi-round conflict resolution—it provides a robust, open-source solution for creating the high-quality datasets necessary for modern machine learning.

Availability: TeamTat is available at https://www.teamtat.org or on GitHub.

Summary updated

BibTeX
@article{dogan2020teamtat,
  author = {Rezarta Islamaj Dogan and Dongseop Kwon and Sun Kim and Zhiyong Lu},
  title = {{TeamTat: a collaborative text annotation tool}},
  journal = {Nucleic Acids Res.},
  year = {2020},
  doi = {10.1093/nar/gkaa333},
}
Figure