An End-to-End Deep RL Framework for Task Arrangement in Crowdsourcing Platforms

Caihua Shan, Nikos Mamoulis, Reynold Cheng, Guoliang Li, Xiang Li, Yuqiu Qian

TL;DR

This paper introduces an end-to-end Deep Reinforcement Learning (RL) framework designed to intelligently recommend and assign tasks in crowdsourcing platforms. By utilizing a dual Deep Q-Network (DQN) architecture, the system balances the competing needs of workers (who want interesting, high-paying tasks) and requesters (who want high-quality results) while optimizing for long-term platform profit rather than just immediate gains.

What Problem Does This Paper Address?

Crowdsourcing platforms like Amazon MTurk or CrowdSpring face a difficult balancing act. If the platform only suggests tasks workers like, niche but important tasks go unfinished. If it only pushes tasks requesters need completed urgently, workers get frustrated and leave.

Existing solutions typically rely on supervised learning (like matrix factorization), which suffers from three major flaws:

  1. One-sidedness: They usually optimize for either the worker or the requester, rarely both.
  2. Static Nature: They struggle with "dynamic churn"—new tasks appear and old ones expire constantly, and worker preferences evolve over time.
  3. Short-sightedness: They are "greedy," picking the best task for right now without considering how that choice affects the platform's health and total completed tasks in the long run.

Methods

The authors model task arrangement as a Markov Decision Process (MDP) and solve it using Deep Reinforcement Learning. Key technical innovations include:

  • Dual-DQN Architecture: The framework maintains two separate DQNs. One ($MDP(w)$) focuses on maximizing worker completion rates, while the other ($MDP(r)$) focuses on maximizing the quality gain for requesters. An "Aggregator" then combines these using a weighted sum to make a final recommendation.
  • State Transformer: Standard neural networks require fixed-size inputs, but the number of available tasks changes every minute. The authors designed a "State Transformer" using row-wise linear layers and multi-head self-attention. This allows the model to handle a variable number of tasks and ensures permutation invariance (the model’s output doesn't change just because you shuffled the order of tasks in the input list).
  • Explicit Transition Predictors: RL usually struggles when transitions between states are sparse or unpredictable. The authors built specific predictors to estimate when the next worker will arrive and which tasks will expire, which stabilizes the learning process in a volatile environment.

Datasets

The framework was evaluated on two fronts:

  1. Real-World Data: A dataset crawled from CrowdSpring covering 13 months (Jan 2018 – Jan 2019). It includes roughly 2,285 tasks, 1,700 active workers, and over 50,000 worker arrivals.
  2. Synthetic Data: A simulated environment used to test the system's scalability (up to 5,000 available tasks) and its robustness against varying levels of worker quality and arrival densities.

Key Insights and Ideas

  • The "Holistic" Objective: The most important insight is that a platform's success is tied to the intersection of worker satisfaction and requester utility. By treating these as two separate but linked MDPs, the RL agent learns to make trade-offs that keep both parties engaged.
  • Attention is All You Need (for Tasks): Using self-attention mechanisms isn't just for NLP. Here, it allows the model to understand the "competition" between tasks. A task's value isn't just based on its own features, but on how it compares to every other task currently in the pool.
  • Long-term Thinking: Because DQN optimizes for "discounted future rewards," the system might recommend a slightly less "perfect" task now if it means keeping a high-quality worker active on the platform for a longer session.

Key Results

  • Superior Performance: In tests on the CrowdSpring dataset, the proposed DDQN (Double DQN) outperformed all baselines, including supervised learning (Taskrec) and traditional RL (LinUCB). It achieved a ~2% higher worker completion rate and a ~4.3% higher quality gain than the next best competitor.
  • Real-Time Efficiency: Despite the complexity of the attention layers, the model updates in approximately 0.042 seconds, making it fast enough for real-time deployment on high-traffic platforms.
  • Scalability: Synthetic tests showed that the update cost scales linearly with the number of tasks, proving the framework can handle platforms much larger than CrowdSpring (like MTurk).

Limitations and Future Work

  • Worker Conflicts: The current model doesn't perfectly handle "collisions"—situations where two workers arrive simultaneously and try to grab the same single-instance task. The authors suggest future versions could model these interactions more explicitly.
  • Continuous Action Spaces: The current model treats task selection as a discrete choice. The authors note that moving toward Deep Deterministic Policy Gradient (DDPG) could allow the system to project lists of tasks into a continuous space for even more nuanced ranking.
  • Delayed Feedback: The model assumes feedback (completion or skip) happens relatively quickly. In some crowdsourcing domains, tasks take days to verify, which would require a more complex reward-shaping approach.

Summary updated

BibTeX
@inproceedings{shan2020end,
  author = {Caihua Shan and Nikos Mamoulis and Reynold Cheng and Guoliang Li and Xiang Li and Yuqiu Qian},
  title = {{An End-to-End Deep RL Framework for Task Arrangement in Crowdsourcing Platforms}},
  booktitle = {ICDE},
  year = {2020},
  doi = {10.1109/icde48307.2020.00012},
}
Figure