Arnold: Declarative Crowd-Machine Data Integration

Shawn R. Jeffery, Liwen Sun, Matt DeLand, Nick Pendar, Rick Barber, Andrew GaldiCIDR 2013

Abstract

Arnold is a declarative data integration system designed to achieve "Labor Independence." By separating logical data cleaning operations from their physical implementations—whether algorithmic or human-powered—Arnold allows developers to specify high-level quality and budget constraints. The system automatically optimizes the execution pipeline, treating human workers and machine algorithms as interchangeable operators to deliver maximum data quality at minimum cost.

Introduction

Data cleaning remains a significant bottleneck in data science. While automated machine learning approaches are scalable and inexpensive, they often fail on semantic "corner cases" that require human intuition. Conversely, crowdsourcing offers high accuracy but is costly and difficult to scale. Currently, developers must manually orchestrate these resources, leading to a "leaky abstraction" where the logic of data cleaning is inextricably tied to the specific mechanics of execution.

The Arnold Architecture

Arnold addresses these challenges by introducing a declarative interface for data integration. The system is built around several key components that manage the trade-offs between cost and quality.

The Arnold system architecture, featuring a declarative interface and an adaptive execution engine.

The Quality and Cost Budget Manager tracks user-defined constraints, while the Logical Operation Manager handles the abstract cleaning workflow. At the heart of the system is the Execution Engine, which includes an Operator Optimizer and a Quality and Cost Assessor (QCA). The QCA uses reservoir sampling to monitor operator performance in real-time, allowing the optimizer to adaptively route records through the most efficient path in the Physical Operator Library.

Labor Independence

A central innovation of Arnold is the concept of Labor Independence. Similar to how SQL decouples logical queries from physical storage, Arnold decouples logical operations (e.g., "Categorize") from physical operators (e.g., a machine learning classifier or a human worker on Mechanical Turk).

Arnold separates the logical layer of operations from the physical layer of human and machine executors.

This abstraction allows the system to treat humans as just another type of operator. For instance, in a geographic database, a machine might struggle to categorize "French Laundry" correctly, whereas a human worker can easily identify it as a restaurant. Arnold's optimizer can decide to send such ambiguous records to humans while processing straightforward cases with cheaper regex scripts or APIs.

Key Insights and Optimization

Arnold recognizes that not all data records carry equal value. Users can assign weights to specific attributes or records, allowing the system to spend more of the budget on high-impact data (like a major airport) versus low-impact data (a small local park).

The system's optimization logic is designed for efficiency. For linear cleaning pipelines, the optimization problem is solvable in $O(nB)$ time, where $n$ is the number of operations and $B$ is the budget. This efficiency enables per-record optimization in real-time, ensuring the system remains responsive even as data quality or operator costs fluctuate.

Conclusion and Future Work

Arnold demonstrates the feasibility of a closed-loop, declarative system for crowd-machine data integration. While the current framework excels with linear operation graphs, future work aims to address the complexity of non-linear workflows and the "cold start" problem for new operators. By providing a unified framework for human and machine labor, Arnold moves data cleaning toward the same level of declarative simplicity enjoyed by relational databases.

Summary updated

BibTeX
@inproceedings{jeffery2013arnold,
  author = {Shawn R. Jeffery and Liwen Sun and Matt DeLand and Nick Pendar and Rick Barber and Andrew Galdi},
  title = {{Arnold: Declarative Crowd-Machine Data Integration}},
  booktitle = {CIDR},
  year = {2013},
}
Figure