Introduction
Time management fundamentally revolves around the problem of "opportunity cost": should a freelancer accept a mediocre gig now, or wait for a potentially better one later? This paper tackles the challenge of optimal time allocation by developing online learning algorithms that estimate an optimal "profitability threshold." By doing so, these algorithms maximize long-term rewards, achieving minimax-optimal regret even when the reward functions and task durations are initially unknown.
Imagine you are a ride-share driver. A request pops up for a 30-minute trip that pays $10. If you take it, you are busy for 30 minutes and might miss a 10-minute trip that pays $15. In technical terms, an agent receives task proposals via a Poisson process. Each task has a duration and an associated reward. Because time is a non-renewable, exclusive resource, committing to a task takes the agent "off the market" until it is finished.
The authors identify a critical gap in existing "bandit" literature. While standard contextual bandits help an agent pick the best "arm" (task) based on a context (duration), they typically fail to account for the fact that choosing one arm makes the agent unavailable for future, potentially better arms. The true "value" of a task is not just its immediate reward; it is the reward relative to the time it consumes and the frequency of other incoming offers.
Methods: Finding the Profitability Threshold
The researchers approach the problem by first defining an "Oracle" policy—the ideal strategy an agent would use if they perfectly knew both the probability distribution of task durations and the exact reward function. They prove that the optimal strategy is a threshold policy: an agent should accept a task only if its "profitability" (expected reward divided by duration) exceeds a specific global value, $c^*$.
To achieve this in practice, they introduce two main learning algorithms:
- Algorithm 1 (Known Reward, Unknown Distribution): If the agent knows how much a task should pay based on its duration but doesn't know how often short or long tasks appear, the algorithm estimates $c^*$ by finding the root of an empirical function based on observed task durations.
- Algorithm 2 (Bandit Feedback): This addresses the more realistic "learn-as-you-go" scenario where neither the reward function nor the duration distribution is known. The algorithm uses a regressogram (a non-parametric method that bins durations) to estimate rewards. It employs upper and lower confidence bounds to decide whether to accept a task, ensuring it doesn't prematurely reject potentially good tasks while still learning.
Key Insights and Results
A crucial theoretical insight from the paper is that the optimal threshold $c^*$ depends on the entire distribution of available tasks. An agent cannot decide if a task is "good" in a vacuum; they must account for what else is likely to arrive.
Furthermore, the authors prove a "keystone" lemma: an agent can accurately estimate the optimal threshold even if they stop accepting (and thus stop learning about) tasks that fall clearly below the current estimated threshold. This "safe rejection" principle means the agent doesn't have to waste time on bad tasks just to prove they are bad.
In synthetic simulations, both algorithms significantly outperformed a naive "accept everything" policy. The paper provides rigorous proofs for regret (the difference between the agent's earnings and the Oracle's). For the known reward case, regret scales at $O(\sqrt{T})$. For the unknown reward case, it scales at $O(T^{1-\eta})$, where $\eta$ is determined by the smoothness of the reward function. Ultimately, the authors demonstrate that their algorithms achieve minimax optimality (up to logarithmic factors) for this class of problem.
As demonstrated in the bandit feedback simulations, Algorithm 2 successfully "prunes" suboptimal duration bins over time. For instance, if profitability increases with duration, the algorithm initially accepts shorter tasks to learn their value, but gradually raises its rejection threshold as it homes in on the optimal strategy.
Limitations and Future Work
While the theoretical guarantees are strong, the current model has limitations that pave the way for future research:
- Single-Tasking Constraint: The model assumes the agent can only handle one task at a time, which does not fit parallel-processing environments like cloud servers or call centers.
- Static Environment: The "market" (distribution of tasks and rewards) is assumed to be stationary. Real-world scenarios, like a delivery driver facing rush hour versus late-night traffic, are highly dynamic.
- Spatial Factors: For applications like ride-hailing, the destination of a task is as important as its duration. Adding a "state variable" to represent location would be a valuable extension.
- Simple Rewards: Currently, rewards depend solely on duration. Future iterations could incorporate other covariates, such as a passenger's rating or the urgency of a delivery.
Summary updated