Online Task Assignment with Controllable Processing Time

Ruoyu Wu, Wei Bao, Liming Ge

TL;DR

This paper introduces a novel online task assignment problem where tasks can be processed at different "levels," offering a trade-off between reward and processing time. They propose an algorithm, OMLA, that achieves competitive ratios of 1/2 (unlimited rejection budget) and $\Delta/(3\Delta-1)$ (finite rejection budget), demonstrating that the algorithm's performance is surprisingly insensitive to the controllable processing time itself.

What Problem Does This Paper Address?

In many real-world scenarios, tasks arrive online and need to be assigned to available machines. This paper tackles a more nuanced version of this problem: "Online Task Assignment with Controllable Processing Time." Here, each task isn't just assigned to a machine, but also to a specific processing "level." Higher processing levels yield greater rewards but take longer, and machines have a limited budget for rejecting tasks, incurring penalties that depend on the rejected task's processing level. The challenge lies in making optimal assignment decisions in real-time, without knowing future task arrivals, while balancing reward, processing time, and rejection budgets. This is crucial for applications like edge computing, ride-sharing, and translation services.

Methods

The core of the paper is the Online Machine and Level Assignment (OMLA) Algorithm. The authors first formulate an offline linear programming (LP) problem to obtain an optimal solution and an upper bound on the offline optimal value. This LP solution is then used to derive "baseline values" and "activation values" for machines and processing levels. The OMLA algorithm uses these values to make online decisions: a task is assigned to a machine-level pair if the activation value (expected reward from assignment) is greater than the baseline value (expected future reward without assignment).

A key methodological innovation is the introduction of a reference system. This system simplifies the problem by treating each task-level combination as a distinct task with a single processing level. This allows for easier analysis and provides a lower bound for the original system's performance, which is crucial for proving the competitive ratios. The analysis is split into two cases: unlimited machine rejection budgets and finite budgets.

Datasets

The paper does not use pre-existing datasets. Instead, they generate synthetic datasets for evaluation. These datasets are characterized by parameters such as the number of machines (|U|), tasks (|V|), time horizon (T), edge probabilities, task rewards, processing time distributions, and machine rejection budgets (∆). They also define several benchmarks for comparison, including Random, Utility Greedy (UG), Efficiency Greedy (EG), and variations thereof (UG+, EG+), which differ in how they prioritize tasks and levels.

Key Insights and Ideas

  • Controllable Processing Time is a Double-Edged Sword: While offering flexibility and potentially higher rewards, it significantly complicates the online assignment problem by adding another dimension to the decision-making process.
  • "Insensitivity" to Processing Levels: A surprising finding is that the derived competitive ratios (1/2 and $\Delta/(3\Delta-1)$) are independent of the number of processing levels. This suggests that the OMLA algorithm is robust to variations in processing time controllability.
  • The Power of LP Relaxation: Using an offline LP solution as a basis for an online algorithm is a common but effective strategy. Here, it's used to derive crucial value functions (baseline and activation) that guide real-time decisions.
  • Reference System for Analysis: The clever construction of a simplified "reference system" is key to bounding the performance of the more complex original system and proving the theoretical guarantees.

Key Results

  • Theoretical Guarantees:
    • OMLA achieves a 1/2-competitive ratio for the unlimited rejection budget case.
  • OMLA achieves a $\Delta/(3\Delta-1)$-competitive ratio for the finite rejection budget case, where $\Delta$ is the maximum initial rejection budget across all machines.
  • Empirical Performance: In experiments on synthetic data, OMLA consistently outperforms all benchmark algorithms across various settings of processing levels and rejection budgets. The performance gap widens as the number of processing levels increases, highlighting OMLA's advantage in handling this complexity.

Limitations and Future Work

  • Known Adversarial Distributions (KAD): The current work assumes that the arrival probabilities of tasks are known in advance. A significant future direction would be to relax this assumption and consider scenarios with unknown or partially known arrival distributions.
  • Homogeneous Rejection Penalty: While the paper mentions the possibility of homogeneous rejection penalties, the analysis primarily focuses on potentially non-homogeneous penalties. Further exploration of the impact of different penalty structures could be valuable.
  • Single Machine Rejection Budget: The current model assumes each machine has its own rejection budget. Extending this to a global budget or other budget structures could be an interesting avenue.
  • Task Dependencies: The current model assumes tasks are independent. Future work could explore scenarios with task dependencies or precedence constraints.

Summary updated

BibTeX
@inproceedings{wu2023online,
  author = {Ruoyu Wu and Wei Bao and Liming Ge},
  title = {{Online Task Assignment with Controllable Processing Time}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/607},
}
Figure