arXiv:2609.04059cs.DSSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.04059

Batched Pandora's Box

Shaddin Dughmi, Yusuf Hakan Kalayci, Vasilis Livanos, Aditya Prasad

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Motivated by numerous parallelizable stochastic search problems, most notable and timely among them being LLM inference-time scaling, we propose and study batched versions of the Pandora's Box problem of Weitzman. In particular, boxes are opened in capacity-constrained batches, each batch has a setup cost, and all rewards in a batch are revealed together. We consider two different variants, motivated by different application environments: one where boxes are reusable (i.e., can provide multiple i.i.d. samples) and another where they are not. For both variants we rule out most "simple" natural heuristics, and also formally prove NP-hardness of approximation in the traditional sense. We then relax the problem to allow bi-criteria approximations, with respect to both rewards and setup costs, where we exhibit constant approximation algorithms for both the reusable and non-reusable settings. This is obtained through a linear-programming relaxation of Pandora's Box problem, followed by randomized or Pipage rounding.

1 Introduction

In several stochastic search problems, before we find a solution of sufficient quality we need to pay a search cost. In marketing, a platform tests different advertisements before committing to the best-performing one; in hyper-parameter tuning, a practitioner trains their model with a menu of settings before selecting a model; in inference-time reasoning, an inference system issues multiple LLM queries or decoding strategies before choosing the best response. The classical Pandora's Box problem, originally studied by Weitzman [38], captures the sequential version of this tradeoff. Each option has an inspection cost and an unknown reward, and the decision maker adaptively decides which option to inspect next and when to stop.

In many of these applications, however, inspections are naturally parallelized. Ad variants in A-B testing are exposed to users in cohorts, experiments are tested on a pool of machines, and queries to an LLM are submitted together to reduce latency. This parallelism creates a batched information structure, as the policy must commit to a set of inspections before seeing any of their outcomes. A batch may also have a setup cost, capturing the overhead of launching a new experimental framework, allocating computing resources, or coordinating a marketing campaign. Thus batching trades off the cost of latency with the savings provided by adaptivity.

*University of Southern California, Email: shaddin@usc.edu. Supported by the Air Force Office of Scientific Research under award number FA9550-24-1-0261. This work was done in part while the author was on sabbatical as the Carter and Tania Neild visiting professor at Northwestern University, as well as a visiting professor in the Data Science Institute at the University of Chicago. †University of Southern California, Email: kalayci@usc.edu. Supported by the Air Force Office of Scientific Research under award number FA9550-24-1-0261. ‡University of Southern California, Email: vas.livanos@gmail.com. Supported by the Air Force Office of Scientific Research under award number FA9550-24-1-0261. This work was done in part while the author was visiting Northwestern University. §University of Chicago, Email: adityaprasad@uchicago.edu.

While batched feedback has been studied in bandit problems [31, 18, 23, 36], it has seen comparatively less study in the Pandora's Box problem. We initiate this direction by studying a batched version of the Pandora's Box problem. In the Batched Pandora's Box model, we are given nn boxes, each with a distribution of a hidden reward ViV_i, as well as an opening cost cic_i. A policy groups boxes to create the next batch to be opened, and a feasible batch contains at most kk boxes for a given batch capacity kk and costs a fixed setup cost TT to open in addition to the individual opening costs. Once a batch is opened, all rewards in the batch are revealed simultaneously. One can then choose to stop and obtain the maximum reward observed over all opened batches or continue to open another batch.

We introduce two variants of this model: The non-reusable setting where an opened box is consumed and cannot be opened again, and the reusable setting where each box can be opened multiple times and provides a fresh i.i.d. sample each time. The distinction matches the difference between one-time opportunities, such as allocating a consumer cohort to an ad variant, and repeatable experiments, such as running additional inference trials of the same LLM. Although this model is a direct analogue of the classical problem with delayed feedback, the resulting optimization problem differs significantly from classical Pandora's Box, requiring us to examine which elements of Weitzman's solution to the classical problem carry over to the batched model.

References (36)