Online Pen Testing

10/03/2022
by   Mingda Qiao, et al.
0

We study a "pen testing" problem, in which we are given n pens with unknown amounts of ink X_1, X_2, …, X_n, and we want to choose a pen with the maximum amount of remaining ink in it. The challenge is that we cannot access each X_i directly; we only get to write with the i-th pen until either a certain amount of ink is used, or the pen runs out of ink. In both cases, this testing reduces the remaining ink in the pen and thus the utility of selecting it. Despite this significant lack of information, we show that it is possible to approximately maximize our utility up to an O(log n) factor. Formally, we consider two different setups: the "prophet" setting, in which each X_i is independently drawn from some distribution 𝒟_i, and the "secretary" setting, in which (X_i)_i=1^n is a random permutation of arbitrary a_1, a_2, …, a_n. We derive the optimal competitive ratios in both settings up to constant factors. Our algorithms are surprisingly robust: (1) In the prophet setting, we only require one sample from each 𝒟_i, rather than a full description of the distribution; (2) In the secretary setting, the algorithm also succeeds under an arbitrary permutation, if an estimate of the maximum a_i is given. Our techniques include a non-trivial online sampling scheme from a sequence with an unknown length, as well as the construction of a hard, non-uniform distribution over permutations. Both might be of independent interest. We also highlight some immediate open problems and discuss several directions for future research.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/09/2016

Linear Regression with an Unknown Permutation: Statistical and Computational Limits

Consider a noisy linear observation model with an unknown permutation, b...
research
10/28/2021

Better Sum Estimation via Weighted Sampling

Given a large set U where each item a∈ U has weight w(a), we want to est...
research
04/26/2019

Sample Amplification: Increasing Dataset Size even when Learning is Impossible

Given data drawn from an unknown distribution, D, to what extent is it p...
research
09/28/2020

Explorable Uncertainty in Scheduling with Non-Uniform Testing Times

The problem of scheduling with testing in the framework of explorable un...
research
04/04/2022

The Cardinal Complexity of Comparison-based Online Algorithms

We consider ordinal online problems, i.e., those tasks that only depend ...
research
02/18/2020

Noisy source location on a line

We study the problem of locating the source of an epidemic diffusion pro...
research
04/10/2019

The Mobile Server Problem

We introduce the mobile server problem, inspired by current trends to mo...

Please sign up or login with your details

Forgot password? Click here to reset