Introduction
The "data bottleneck" remains a primary hurdle in Natural Language Processing (NLP). While many annotation tools exist, they often force researchers into a trade-off between simplicity and power. Simple, free tools like Doccano are easy to set up but lack advanced productivity features. Conversely, powerful commercial tools like Prodigy offer high efficiency through active learning but can be cost-prohibitive for students or small research groups. Furthermore, many existing tools are rigid, struggling with multimodal or complex tasks—such as best-worst scaling or long-document categorization—without significant custom engineering.
POTATO (POrtable Text Annotation TOol) is a new open-source, Python-based framework designed to bridge this gap. It provides a "portable" solution—easy to deploy locally or on the web—that prioritizes annotator productivity through features like active learning, keyboard shortcuts, and conditional highlighting. Evaluation shows it can increase annotation speed by 30–50% compared to popular existing tools, especially for complex labeling schemas.
System Architecture and Methods
POTATO is built on a modular architecture that decouples task specification from rendering. The system is configuration-driven; deployers define tasks using a simple YAML file that specifies the data source, annotation schema (e.g., Likert scales, checkboxes, or free text), and UI layout.
Key technical features include:
- Customizable UI: Leveraging the JINJA templating engine, researchers can insert custom HTML/CSS for specific needs, such as side-by-side document comparison or embedding multimedia like GIFs.
- Active Learning: A configurable loop periodically trains a model (e.g., logistic regression on n-grams) to reorder unlabeled items, surfacing the most informative or uncertain instances first.
- Productivity Enhancements: Features like "conditional highlighting" automatically flag researcher-defined keywords to help annotators scan long texts quickly. A keyboard-first design allows for 100% mouse-free operation, minimizing physical micro-delays.
- Quality Control: Built-in support for attention checks (trap questions) and qualification tests facilitates reliable crowdsourcing on platforms like Prolific or Amazon Mechanical Turk.
Evaluation and Results
The authors evaluated POTATO through a user study involving complex narrative summaries of suicide reports. The study compared POTATO against Microsoft Excel, Doccano, Label Studio, and LightTag across two tasks: long documents (~1,180 characters) and short single-sentence summaries.
The results demonstrated that POTATO significantly improves efficiency in complex scenarios:
- Speedup: For long-document tasks with complex schemas, POTATO was 30–50% faster than competitors like Label Studio and LightTag.
- Efficiency in Complexity: While performance was comparable for short documents, POTATO’s advantage grew significantly as document length and cognitive demand increased.
- Setup vs. Labeling: Although initial setup (e.g., defining keyword lists) adds a few minutes to the start, this investment is recouped within the first 20 long documents annotated.
Discussion and Future Work
POTATO's primary insight is that for long documents, the bottleneck is reading and scanning rather than the physical act of clicking. Conditional highlighting and keyboard-first design directly address these bottlenecks. Furthermore, the YAML-based configuration ensures high replicability, as researchers can share their exact setup on GitHub.
Current limitations include the lack of a unified GUI for task deployment (currently requiring YAML editing) and the need for more robust real-time monitoring dashboards. Future work will focus on improving native rendering for social media platforms and exploring design choices to mitigate annotator burnout during long sessions.
Summary updated