Introduction
In cloud computing and crowdsourcing, tasks like image classification are frequently outsourced to an ensemble of agents, such as human workers or AI models. However, the true accuracy—often represented as a confusion matrix—of these individual agents is frequently unknown.
While traditional crowdsourcing literature focuses on offline classification with an effectively infinite pool of workers, this paper tackles a more complex streaming scenario. In this setting, unlabeled samples arrive continuously, and a fixed ensemble of deterministic classifiers (each capable of processing one sample per time slot) must label them.
The core challenge lies in a fundamental system trade-off: achieving high accuracy requires routing a single sample to multiple classifiers to aggregate a consensus, but sustaining a high arrival rate (throughput) requires using as few classifiers per sample as possible to prevent the system's memory queue from overflowing. The authors characterize this fundamental trade-off between sample arrival rate and classification accuracy (the Pareto region) and propose a novel scheduling and online learning algorithm that optimally navigates this trade-off in real-time.
Methods
The authors model the problem using an "Online Dawid-Skene" (OnDS) model. They first theoretically characterize the Pareto-optimal region of accuracy and arrival rate by mapping it to a feasible network flow problem. To operate optimally within this region without prior knowledge of classifier statistics, they propose a two-part algorithm:
- Max-Weight Scheduling with Bayesian Departure: Inspired by network routing algorithms, this policy dynamically matches samples in memory to available classifiers based on current queue lengths. It uses a Bayesian threshold to decide when a sample has accumulated enough labels to confidently depart the system.
- Online Spectral Learning: To learn the unknown confusion matrices and true class distributions on the fly, the system uses an explore-exploit strategy. During "exploration" rounds, a sample is sent to all classifiers. The results are fed into a novel online tensor decomposition algorithm that updates parameter estimates. Crucially, this algorithm reuses eigenvectors from previous rounds to maintain a constant amortized time complexity ($O(1)$), making it computationally viable for streaming.
Datasets
The authors evaluated their approach using ensembles of deep convolutional neural networks (AlexNet, VGG, ResNet) on modified versions of the CIFAR-10 dataset. They created two specific variants by merging classes into "super-classes" to simulate different classification environments: a 3-Group Dataset and a 5-Group Dataset.
Key Insights
- Conditional Independence: A major theoretical breakthrough in the paper is proving that under any causal policy, the posterior probability of a sample's true label is independent of the system's complex scheduling history. It relies only on the partial labels collected for that specific sample.
- Network Flow Equivalence: By leveraging this conditional independence, the complex stochastic problem of defining the Pareto region (accuracy vs. throughput) can be elegantly reduced to a deterministic network flow formulation.
- Efficient Online Tensor Decomposition: Standard off-the-shelf unsupervised learning techniques are too computationally heavy for real-time streaming. The authors' tweak to spectral learning—reusing eigenvectors from previous rounds—drastically cuts down computational overhead, making online parameter estimation feasible without bottlenecking the system.
Key Results
The proposed Max-Weight algorithm is mathematically proven to achieve any point in the interior of the Pareto region, meaning it is theoretically optimal for balancing throughput and accuracy. Empirical tests using DNN ensembles confirmed several practical benefits:
- Accuracy Boost: The proposed algorithm achieved 2% to 5% higher average accuracy compared to a baseline random scheduler across a wide range of arrival rates.
- System Stability: The algorithm successfully stabilizes the system queue. For example, at an arrival rate of 2 samples/round and a target accuracy of 0.85, the system backlog fluctuated stably around an average of just 10.8 samples.
- Learning Convergence: The online spectral learner effectively and rapidly minimized estimation errors for both the classifiers' confusion matrices and the underlying true class distributions within a few hundred rounds.
Limitations and Future Work
The theoretical guarantees rely on several strict assumptions. For instance, it assumes the classifiers' confusion matrices are strictly positive and diagonally dominant (meaning the classifiers are generally better than random guessing). The model also assumes classifiers are deterministic (providing the exact same label if queried twice with the same sample), which fits frozen neural networks but might not perfectly capture human annotator fatigue or variability.
Natural extensions of this work would involve relaxing the deterministic classifier assumption to handle noisy or time-varying agents, or adapting the framework to handle non-uniform processing speeds among the ensemble members (e.g., a fast but inaccurate lightweight model vs. a slow but accurate large language model).
Summary updated