Model-in-the-Loop (MILO): Accelerating Multimodal AI Data Annotation with LLMs

Yifan Wang, David Stevens, Pranay Shah, Wenwen Jiang, Miao Liu, Xu Chen, Robert Kuo, Na Li, Boying Gong, Daniel Lee, Jiabo Hu, Ning Zhang, Bob KammaarXiv 2024 · DOI

Abstract

The creation of high-quality datasets remains a significant bottleneck in the development of advanced AI systems. Traditional manual annotation processes are often slow, costly, and prone to inconsistency, particularly for complex multimodal tasks. This paper introduces the Model-in-the-Loop (MILO) framework, which integrates Large Language Models (LLMs) directly into the data annotation pipeline. By serving as pre-annotation assistants, real-time writing aids, and quality assurance judges, LLMs augment human expertise rather than simply replacing it. Our evaluation demonstrates that MILO can reduce average handling time by 12% for classification tasks while simultaneously improving the detail and helpfulness of open-ended multimodal responses.

Introduction

High-quality labeled data is the foundation of modern machine learning. However, as AI tasks become more nuanced—such as judging the helpfulness of a chat response or describing complex visual scenes—traditional human-only labeling struggles to scale. Previous attempts to automate this process often fail to capture the subjectivity and complexity inherent in multimodal data.

The MILO framework addresses this by redesigning the human-computer interaction (HCI) for professional annotators. Instead of viewing models as standalone labelers, MILO treats them as collaborative partners that "loop" into the workflow to mitigate cognitive load and improve output consistency.

The MILO Framework

The researchers propose a bidirectional framework where LLMs occupy three distinct roles within the pipeline:

  1. Pre-annotation Assistant: The model generates initial labels and confidence scores before human review. This provides a baseline, allowing annotators to transition from "creating" to "verifying," which significantly reduces initial friction.
  2. Real-time Assistant: For open-ended tasks like Visual Question Answering (VQA), the model provides instant drafts. This helps annotators overcome "blank slate" fatigue and encourages more structured responses.
  3. LLM Judge: The model serves as an automated Quality Assurance (QA) auditor. Using structured rubrics—such as point-deduction systems for error detection and grading scales for subjective quality—it provides immediate feedback to human workers.
The MILO framework architecture, illustrating the roles of LLM Assistants and Judges in the annotation pipeline.

The framework is designed to be model-agnostic, allowing for the integration of various LLMs (e.g., Llama 3) based on the specific requirements of the task.

Experimental Methodology

The efficacy of MILO was evaluated through three empirical studies on Meta’s internal labeling platform:

  • Comment Classification: A multimodal dataset involving social media comments (text, image, and video) where humans labeled relevancy and sentiment.
  • VQA Text Generation: A set of 714 images used to evaluate open-ended question-and-answer generation.
  • Expert Validation: A collection of 397 responses evaluated by both the LLM Judge and 17 expert AI researchers to measure alignment.

To ensure the LLM provides relevant assistance, specific prompt templates are used to structure the input data (posts, comments, and questions) for the model.

Example of prompt templates used to structure inputs for the LLM within the MILO framework.

Key Insights and Results

Efficiency and the "Agreement-Time" Correlation

A key finding was the strong correlation between human-model disagreement and handling time. When the LLM’s pre-annotation differed from the human’s judgment, handling time increased significantly. This suggests that model disagreement can serve as a reliable proxy for identifying "hard" or ambiguous cases that require more expert attention. In standard classification tasks, the pre-annotation assistant reduced Average Handling Time (AHT) by 12%.

The Quality-Efficiency Trade-off

In VQA tasks, real-time assistance actually increased handling time by 23.4%. However, this was accompanied by a significant boost in quality: assisted responses were 3.09% more helpful and 39% longer on average. The LLM prompts encouraged humans to provide more comprehensive and structured information, effectively trading speed for superior data quality.

Reliability of the LLM Judge

The LLM Judge demonstrated high reliability, achieving a 79.55% agreement rate with expert human researchers across criteria such as comprehensiveness, grammar, and instruction-following. The study noted that the judge's performance is highly sensitive to rubric wording, where minor adjustments in error definitions can lead to substantial gains in precision.

Conclusion and Future Work

While MILO shows great promise, several challenges remain. Inference latency can disrupt the human workflow, and there is a risk of "automation bias," where annotators might overlook model hallucinations. Future research will focus on incorporating Retrieval-Augmented Generation (RAG) and Chain-of-Thought (CoT) prompting to further refine the accuracy of both assistants and judges, as well as implementing "adjustable harshness" levels for automated quality audits.

Summary updated

BibTeX
@misc{wang2024model,
  author = {Yifan Wang and David Stevens and Pranay Shah and Wenwen Jiang and Miao Liu and Xu Chen and Robert Kuo and Na Li and Boying Gong and Daniel Lee and Jiabo Hu and Ning Zhang and Bob Kamma},
  title = {{Model-in-the-Loop (MILO): Accelerating Multimodal AI Data Annotation with LLMs}},
  year = {2024},
  eprint = {2409.10702},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.10702},
}
Figure