Abstract
We present POTATO, the Portable text annotation tool, a free, fully open-sourced annotation system that 1) supports labeling many types of text and multimodal data; 2) offers easy-to-configure features to maximize the productivity of both deployers and annotators (convenient templates for common ML/NLP tasks, active learning, keypress shortcuts, keyword highlights, tooltips); and 3) supports a high degree of customization (editable UI, inserting pre-screening questions, attention and qualification tests). Experiments over two annotation tasks suggest that POTATO improves labeling speed through its specially-designed productivity features, especially for long documents and complex tasks. POTATO is available at https://github.com/davidjurgens/potato and will continue to be updated.
Introduction
In the field of Natural Language Processing (NLP), high-quality labeled data is the essential foundation for model development. However, researchers often struggle with existing tools that are either too simplistic—lacking necessary quality controls—or too rigid and expensive for niche research tasks. POTATO (the POrtable Text Annotation TOol) was developed to bridge this gap, providing a lightweight, Python-based framework that is easy to deploy locally and highly customizable via simple YAML configurations.
System Architecture and Methods
POTATO is built on a modular architecture that decouples task specification from visual rendering. This allows developers to define complex annotation schemes without writing extensive frontend code.
Key features of the framework include:
- YAML-Based Configuration: Users define labels, shortcuts, and instructions in a configuration file, which the system uses to generate the UI.
- Productivity Features: The tool includes built-in support for keyboard shortcuts, conditional keyword highlighting to reduce cognitive load, and an active learning module that re-orders the annotation queue to prioritize the most informative samples.
- Quality Control: To ensure data reliability, POTATO integrates "attention tests" (trap questions), qualification exams, and background timers to identify and filter unreliable annotators.
Evaluation and Results
The authors evaluated POTATO through two internal tasks: identifying themes in long narrative documents (avg. 1,180 characters) and a single-sentence version of the same task. The tool has also been utilized in various published studies involving complex labeling, such as immigration framing and Reddit comment empathy.
User studies comparing POTATO against popular alternatives like Label Studio and Doccano showed that POTATO was 30-50% faster for long and complex tasks. While configuring advanced features takes slightly longer than a "bare-bones" setup, this initial investment is recovered within the first ~20 long documents labeled. The speed gains are primarily driven by productivity features like highlighting, which act as "pre-attentive" cues for annotators.
Conclusion and Future Work
POTATO democratizes high-quality data collection by providing a portable, low-dependency tool for research groups. Future work will focus on developing a web-based management GUI, real-time monitoring dashboards for inter-annotator agreement, and native rendering for social media content to preserve original context and improve annotator wellbeing.
Summary updated