Biological data annotation via a human-augmenting AI-based labeling system

Douwe van der Wal, Iny Jhun, Israa Laklouk, Jeffrey J. Nirschl, Lara Richer, Rebecca Rojansky, Talent Theparee, Joshua Wheeler, Jörg Sander, Felix Y. Feng, Osama Mohamad, Silvio Savarese, Richard Socher, Andre Esteva

TL;DR

This paper introduces HALS, a novel human-in-the-loop AI system that significantly accelerates and improves the quality of biological data annotation. By integrating active learning and real-time AI suggestions, HALS reduces annotator workload by over 90% while boosting annotation effectiveness, making large-scale biological data annotation more accessible.

What Problem Does This Paper Address?

The advancement of AI, particularly in fields like biology, is heavily reliant on large, high-quality labeled datasets. While generating raw image data (e.g., microscopy images) is relatively easy, obtaining accurate annotations from domain experts is a major bottleneck. This is due to the need for specialized knowledge, the time-consuming nature of annotation, and the inherent variability in biological samples (e.g., staining inconsistencies, artifacts). Existing methods like data augmentation and transfer learning help, but they don't fundamentally solve the annotation challenge. This paper addresses the critical need for a system that can efficiently and effectively augment human annotators, enabling the creation of large-scale labeled datasets for complex biological tasks.

Methods

HALS is a modular system composed of three core deep learning components working in concert:

  • Segmentation Model: A pre-trained model (HoverNet for H&E, fine-tuned HoverNet for IHC) is used to segment cells and generate bounding boxes, preparing the image for annotation. This step is crucial for efficiently identifying individual cellular structures.
  • Classification Model: A ResNet-18 classifier, pre-trained on the PanNuke dataset, is iteratively fine-tuned in real-time as the human annotator provides labels. This model learns to distinguish between different cell classes and provides suggestions to the annotator.
  • Active Learner: This component uses the feature vectors from both labeled and unlabeled data to identify the "next best patch" for the annotator to focus on. This guides the annotator towards regions that will most effectively improve the model's performance and generalizability, optimizing the annotation effort.

The system operates within a labeling interface, where the AI models work passively in the background, learning from human demonstrations and providing real-time suggestions to accelerate the annotation process.

Datasets

  • Training/Pre-training:
    • PanNuke dataset: Used for pre-training the ResNet-18 classification model. This dataset contains over 200,000 nuclei from 19 different tissue types, with 5 different classes of nuclei.
  • Evaluation Datasets:
    • TCGA-XF-AAN8-01Z-00-DX1 (TILs, Tumor Cells): A whole slide image from The Cancer Genome Atlas for tumor-infiltrating lymphocytes and tumor cell annotation.
  • TCGA-XP-A8T7-01Z-00-DX1 (Eosinophils): A whole slide image from The Cancer Genome Atlas for eosinophil annotation.
  • University of California, Davis (Ki-67): A slide for Ki-67 staining, used to demonstrate generalizability across stain types.

The paper notes that not all slides were scanned at the same resolution, and patch dimensions were adjusted to ensure consistent cell representation.

Key Insights and Ideas

  • Human-AI Synergy for Annotation: The core idea is that AI shouldn't replace human annotators but augment them. HALS demonstrates that by providing real-time suggestions and intelligently guiding the annotator, AI can dramatically reduce the burden without sacrificing quality.
  • Active Learning for Efficiency: The active learner is key to optimizing annotation effort. Instead of random sampling, it intelligently directs the annotator to the most informative regions, maximizing the learning potential of each labeled data point.
  • Real-time Learning: The ability of the classification model to fine-tune in real-time as annotations are provided is crucial. This allows the system to adapt quickly to the specific nuances of the annotator's labeling style and the characteristics of the data being annotated.
  • Modularity for Adaptability: The system's modular design (segmentation, classification, active learning) allows for easy replacement of components, making it adaptable to different biological tasks, stain types, and labeling interfaces.
  • Expert Validation: Testing with expert pathologists on real-world diagnostic tasks lends significant credibility to the system's effectiveness and generalizability.

Key Results

  • Workload Reduction: An average workload reduction of 90.6% was achieved across four use-cases and two stain types. This is measured by the fraction of AI predictions corrected by the annotator (lower fraction means less correction needed).
  • Effectiveness Improvement: An average improvement in labeling effectiveness of 4.34% was observed. Effectiveness is measured by the Area Under the Curve (AUC) of validation accuracy versus the number of training samples, indicating that models trained on HALS-annotated data converge faster and achieve higher accuracy with fewer samples.
  • Use-case Specifics:
    • Tumor cells showed the highest workload reduction (95.9%).
  • Eosinophils had the lowest workload reduction (83.1%), attributed to their visual similarity to other cell types.
  • Effectiveness gains ranged from 1.38% to 6.43%.
  • Generalizability: The system performed well even on Ki-67 staining, which was different from the PanNuke dataset used for pre-training, suggesting good transferability.

Limitations and Future Work

  • Limitations:
    • The current system is primarily designed for binary classification tasks and operates on image regions, not slide-level annotations.
  • Its effectiveness relies on the presence of sufficiently many examples of the objects of interest for accurate object classification in real-time. Rare artifacts or entire tumors might not be well-handled.
  • The study focused on a specific labeling interface (SlideRunner), and the impact of different interfaces on efficiency and effectiveness was not fully explored.
  • Future Work:
    • Expanding the system to handle more than two classes and different detection/segmentation tasks.
  • Integrating few-shot learning techniques for rare image artifacts.
  • Exploring the impact of different labeling interfaces.
  • Developing more complex biological targets, 3D imaging capabilities, and potentially meta-learning for cross-task transfer.
  • Building towards an auto-ML platform that can auto-detect tasks and select appropriate models.

Summary updated

Abstract

Biology has become a prime area for the deployment of deep learning and artificial intelligence (AI), enabled largely by the massive data sets that the field can generate. Key to most AI tasks is the availability of a sufficiently large, labeled data set with which to train AI models. In the context of microscopy, it is easy to generate image data sets containing millions of cells and structures. However, it is challenging to obtain large-scale high-quality annotations for AI models. Here, we present HALS (Human-Augmenting Labeling System), a human-in-the-loop data labeling AI, which begins uninitialized and learns annotations from a human, in real-time. Using a multi-part AI composed of three deep learning models, HALS learns from just a few examples and immediately decreases the workload of the annotator, while increasing the quality of their annotations. Using a highly repetitive use-case—annotating cell types—and running experiments with seven pathologists—experts at the microscopic analysis of biological specimens—we demonstrate a manual work reduction of 90.60%, and an average data-quality boost of 4.34%, measured across four use-cases and two tissue stain types.
BibTeX
@article{wal2021biological,
  author = {Douwe van der Wal and Iny Jhun and Israa Laklouk and Jeffrey J. Nirschl and Lara Richer and Rebecca Rojansky and Talent Theparee and Joshua Wheeler and Jörg Sander and Felix Y. Feng and Osama Mohamad and Silvio Savarese and Richard Socher and Andre Esteva},
  title = {{Biological data annotation via a human-augmenting AI-based labeling system}},
  journal = {Npj Digit. Medicine},
  year = {2021},
  doi = {10.1038/s41746-021-00520-6},
}
Figure