Spatial Crowdsourcing (SC) serves as the operational foundation for the modern gig economy, powering ubiquitous services like Uber, DiDi, and Field Agent. In these systems, a central platform must efficiently assign location-specific tasks to a dynamic pool of mobile workers. Despite a decade of algorithmic development, the field has long suffered from fragmentation, with researchers using disparate problem definitions and datasets. This technical report provides a comprehensive benchmark, establishing a unified framework to compare the most prominent task-assignment algorithms.
The Fragmentation Problem
The primary challenge in SC is the inherent dynamism: both workers and tasks appear and disappear at unpredictable times and locations. While the database community has proposed numerous solutions, their performance was often evaluated in isolation. This study addresses this by implementing a uniform benchmarking environment in C++, ensuring that performance variations stem from algorithmic logic rather than implementation artifacts.
Taxonomy of Task Assignment
The authors categorize task assignment into two primary operational modes: Batch-Based and Online. This classification helps platform developers choose the right approach based on their specific latency and throughput requirements.
Batch-Based Mode
In batch mode, the platform aggregates workers and tasks over a short time interval (e.g., every few seconds) to perform a global optimization.
- Single-Worker per Task: These problems are typically reduced to a Maximum Flow problem on a graph. The objective is to maximize the flow from a source (representing workers) to a destination (representing tasks), ensuring each worker's capacity and each task's requirements are met.
- Multi-Worker per Task: Necessary for tasks requiring quality control through redundancy (e.g., majority voting). This variant is NP-hard, necessitating heuristic or sampling-based approaches like
RDB-samorGT-hgr.
Online Mode
In online mode, assignments must be made the moment a worker or task becomes available. This is modeled as a variation of the Traveling Salesman Problem (TSP) with deadlines. The study evaluates exact solutions (Dynamic Programming, Branch-and-Bound) against faster heuristics like Nearest Neighbor (NNH).
Experimental Setup
The benchmark utilizes both real-world and synthetic datasets to ensure robustness:
- Real-World Data: A massive dataset from DiDi Chuxing featuring taxi trajectories and ride orders in Beijing, capturing realistic spatial-temporal patterns.
- Synthetic Data: Generated using the SCAWG toolbox with Uniform, Gaussian, and Skewed distributions to test algorithmic performance across varying worker and task densities.
Key Insights and Results
The extensive experiments revealed several critical trade-offs for platform designers:
- The Batch Advantage: Batch-based algorithms generally achieve higher total task completion rates than online ones because they can find more globally efficient matches by looking at groups of workers and tasks simultaneously.
- Location Entropy as a Heuristic: The
G-llepalgorithm, which prioritizes tasks in "worker-sparse" areas using location entropy, consistently outperformed others in completion rates. By securing workers for isolated tasks early, it prevents them from expiring. - Quality vs. Quantity: Algorithms focused on reliability (like
GT-hgr) naturally complete fewer total tasks. The cost of ensuring result "correctness" through multiple assignments significantly impacts overall system throughput. - Efficiency in Online Modes: While exact online algorithms (DP and BB) provide optimal routes, their computational cost becomes prohibitive as task volume grows. Heuristics like
NNHoffer a practical alternative, providing near-optimal utility with orders of magnitude faster execution. - Progressive Planning: "Progressive" algorithms (PRS) represent a middle ground for online modes, providing an immediate initial assignment while computing a more optimized long-term plan in the background during the worker's travel time.
Conclusion and Future Directions
This benchmark serves as a definitive guide for building practical crowdsourcing platforms. However, the authors note that future work must address worker incentives (as workers may reject assignments), complex urban dynamics like traffic congestion, and the privacy concerns inherent in constant location tracking.
Summary updated