NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Online Assignment of Heterogeneous Tasks in Crowdsourcing Markets

Sepehr Assadi, Justin Hsu, Shahin Jabbari

Introduction

In modern crowdsourcing markets such as TaskRabbit, Upwork, and Uber, requesters must manage a dynamic pool of workers to complete a set of tasks within a fixed budget. Unlike traditional models that assume workers are homogeneous and tasks are interchangeable, real-world scenarios are defined by heterogeneity: workers possess specific skills, tasks require different expertise, and payment demands (bids) vary significantly.

This paper addresses the challenge of making irrevocable, online assignment decisions as workers arrive one by one. The objective is to maximize the total number of completed tasks without exceeding a budget, despite having no prior knowledge of the future worker sequence or their bidding behavior.

Problem Formulation

The authors consider a requester with a budget $B$ and a set of $m$ heterogeneous tasks. Workers arrive online, each offering to perform a specific subset of tasks for a specific bid. Under the "large market assumption," individual bids are considered small relative to the total budget. The requester must decide immediately whether to hire an arriving worker for a specific task or let them go.

The core difficulty lies in the heterogeneity of tasks. In a homogeneous setting, a simple greedy approach (hiring the cheapest workers) is effective. However, with heterogeneous tasks, a worker who is cheap for one task might be the only one capable of performing a much more difficult task. This complexity requires a matching strategy that balances immediate cost with long-term task coverage.

Methodology

The authors propose two primary algorithms tailored to different arrival models:

1. Online Heterogeneous Algorithm (OHA)

Designed for adversarial arrivals, where the sequence of workers and bids is chosen to be as difficult as possible. OHA utilizes a potential function based on the fraction of the remaining budget. This function acts as a dynamic pricing threshold.

  • Early Phase: When the budget is high, the algorithm is more lenient, accepting higher bids to ensure task progress.
  • Late Phase: As the budget depletes, the threshold drops, making the algorithm "pickier" and reserving the remaining funds for only the most cost-effective workers.

2. Random Permutation Algorithm (RPA)

Designed for randomly permuted arrivals, where the set of workers is chosen by an adversary but their arrival order is shuffled. RPA follows a "sample-and-price" strategy:

  • Observation: The algorithm observes the first half of the workers without hiring them to estimate the market's price distribution.
  • Exploitation: It calculates a fixed optimal threshold based on this sample and applies it to the remaining workers.

To evaluate these, the authors compare performance against an offline optimal solution, which uses a min-cost flow reduction to determine the best possible assignment if all worker data were known in advance.

Theoretical and Empirical Results

Theoretical Bounds

The paper establishes rigorous performance guarantees using the competitive ratio (the ratio between the offline optimal and the online algorithm's performance). Let $R$ be the ratio between the maximum and minimum possible bids.

  • Adversarial Setting: OHA achieves a competitive ratio of $O(\ln R)$. The authors prove a matching lower bound of $\Omega(\ln R)$, establishing OHA as asymptotically optimal.
  • Random Setting: RPA achieves a constant competitive ratio of $O(1)$, demonstrating that randomness in arrival order significantly simplifies the assignment problem.

Experimental Validation

The algorithms were tested on synthetic datasets simulating various market conditions:

  • Adversarial Homogeneous Bids: On worst-case sequences where bids decrease over time, OHA’s performance matched the predicted logarithmic scaling with $R$.
  • Uniform Heterogeneous Bids: In more realistic, random bipartite graph setups, both algorithms performed well, with competitive ratios between 1.4 and 2.2. Interestingly, OHA often outperformed RPA in these scenarios because its dynamic threshold adapted more fluidly to the remaining budget than RPA’s rigid fixed threshold.

Discussion and Future Work

The study highlights that while heterogeneity breaks simple greedy strategies, dynamic thresholding provides a robust mathematical framework for online resource allocation. A notable limitation is the reliance on synthetic data; future research should validate these models against real-world bidding behavior on platforms like Amazon Mechanical Turk.

Additionally, the RPA’s requirement to discard 50% of the workforce for sampling is a practical hurdle. Future work could explore more efficient sampling techniques or the development of incentive-compatible mechanisms that ensure workers report their true minimum costs, preventing strategic overbidding in heterogeneous markets.

Summary updated

BibTeX
@inproceedings{assadi2015online,
  author = {Sepehr Assadi and Justin Hsu and Shahin Jabbari},
  title = {{Online Assignment of Heterogeneous Tasks in Crowdsourcing Markets}},
  booktitle = {HCOMP},
  year = {2015},
  doi = {10.1609/hcomp.v3i1.13236},
}
Figure