Pandora's Problem with Deadlines

Ben Berger, Tomer Ezra, Michal Feldman, Federico Fusco

Abstract

In the classic Pandora’s Box problem, a decision-maker seeks to find the maximum reward among several hidden options, each requiring a cost to inspect. While the classic version is solved by a simple greedy index rule, real-world scenarios often involve temporal constraints where options expire or are only available during specific windows. This paper introduces "Pandora’s Problem with Deadlines" and "Pandora’s Problem with Time Slots," proving that these constraints fundamentally break traditional greedy strategies. The authors propose the first efficient algorithm to provide a constant-factor (0.15) approximation for these problems by bridging search theory with submodular maximization and prophet inequalities.

Introduction

Since Weitzman’s seminal work in 1979, the Pandora’s Box problem has served as a cornerstone for understanding optimal search. In the standard model, a searcher faces a set of boxes, each containing a random reward. Opening a box incurs a cost, and the searcher must decide the order of inspection and when to stop and claim a reward. Weitzman showed that a simple greedy strategy—assigning each box a "reservation value" (or index) and inspecting them in descending order—is optimal.

However, the classic model assumes all boxes remain available indefinitely. In reality, search is often time-sensitive. Job candidates accept competing offers, and university admissions operate within strict deadlines. This paper addresses these gaps by introducing temporal constraints into the search process, where boxes have expiration dates (Deadlines) or specific availability windows (Time Slots).

The Challenge of Temporal Constraints

Adding deadlines transforms the search from a simple ranking problem into a complex scheduling and selection problem. In the classic version, the order of exploration is dictated solely by the boxes' internal characteristics. With deadlines, the searcher must balance the potential value of a box against the risk that opening it might cause other high-value boxes to expire.

This interference means the classic greedy approach no longer works. The authors also explore a more restrictive variant, Pandora’s Problem with Time Slots, where each box can only be inspected during specific, non-overlapping intervals. These constraints necessitate a more sophisticated algorithmic approach that accounts for the "adaptivity gap"—the difference between the best possible strategy that reacts to rewards as they are revealed and a fixed, non-adaptive sequence.

Methodology: A Three-Step Pipeline

To overcome the limitations of greedy strategies, the authors develop a polynomial-time algorithm that decomposes the problem into three distinct optimization tasks:

1. Set Selection via Submodular Maximization

The authors first identify which boxes are even feasible to open given their deadlines. They prove that the collection of sets of boxes that can be opened within their respective deadlines forms a transversal matroid. They define a value function for these sets based on the expected maximum reward, truncated by Weitzman’s reservation values. By proving this function is monotone submodular, they utilize a "continuous greedy" algorithm to select a high-performing subset of boxes that satisfies the matroid constraints.

2. Sequence Ordering via Bipartite Matching

Once a target set of boxes is selected, the algorithm must determine a valid sequence for inspection. Because the set was chosen based on its feasibility within a transversal matroid, the authors use bipartite matching techniques to find a specific ordering that respects all deadlines or time slots, ensuring no box is inspected after it has expired.

3. Thresholding via Prophet Inequalities

Finally, the searcher needs a stopping rule. Drawing on the field of prophet inequalities, the authors implement a fixed threshold strategy. They set a threshold equal to half of the expected maximum value of the chosen set. The searcher opens boxes in the pre-determined order and stops as soon as a reward exceeds this threshold.

Key Theoretical Insights

  • The Matroid Connection: Recognizing the underlying matroid structure of deadlines allows the authors to apply powerful tools from combinatorial optimization to a sequential search problem.
  • Truncated Values: By using $Y_i = \min\{V_i, r_i\}$ (where $r_i$ is the reservation value), the authors effectively incorporate the cost of inspection directly into the reward value, simplifying the objective function without losing the essence of the search problem.
  • Bridging the Adaptivity Gap: The algorithm demonstrates that a well-chosen non-adaptive sequence can approximate the performance of a fully adaptive strategy, which is crucial for maintaining computational efficiency in complex environments.

Results and Performance

The primary contribution of the paper is the first constant-factor approximation for these problems. The proposed algorithm achieves a 0.15-approximation for both the Deadlines and Time Slots variants. While 0.15 is a modest constant, it represents a significant theoretical breakthrough in a problem space where no such guarantees previously existed.

This ratio is derived from the product of three separate approximation factors: the $(1 - 1/e)$ factor from submodular maximization, a $1/2$ factor from the adaptivity gap, and a $1/2$ factor from the prophet inequality threshold. The algorithm is computationally efficient, running in polynomial time relative to the number of boxes.

Discussion and Future Work

The authors have successfully extended the Pandora’s Box framework to accommodate the realities of time-constrained search. While the 0.15-approximation is a major milestone, the authors acknowledge that it may not be tight. The "stacking" of multiple approximations suggests that a more integrated approach—one that does not separate set selection from thresholding—might yield a higher constant, such as 0.5 or 0.63. Future research will likely focus on closing this gap and exploring whether more direct, unified algorithms can achieve better performance in these temporally constrained environments.

Summary updated

BibTeX
@inproceedings{berger2024pandora,
  author = {Ben Berger and Tomer Ezra and Michal Feldman and Federico Fusco},
  title = {{Pandora's Problem with Deadlines}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i18.30015},
}
Figure