arXiv:2611.06677cs.LGNov 2026

Manuscript Offprint

arXiv:2611.06677

Self-Directed Apple Tasting

Tanmay Devale, Reed Phillips, Arvind Ramaswami

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

Abstract

We study the classical apple-tasting setting, a partial feedback model in which the learner observes the true label only when it predicts 1. A combinatorial characterization for the rates of this problem in the online adversarial setting has been studied by Raman et al. [2024]. We study the self-directed setting, in which the learner can adaptively choose the order of the points it predicts on. In the realizable setting, we establish a tetrachotomy on the expected minimax number of mistakes made by any learner. Depending on the VC dimension, the ∅\emptyset-centered star number, and the self-directed dimension, we show that the rates could possibly be Θ(1)\Theta(1), O(log⁡n)∩ω(1)O(\log n) \cap \omega(1), Θ~(n)\widetilde{\Theta}(\sqrt{n}), or Θ(n)\Theta(n). In the agnostic setting, the minimax regret is Θ~(n)\widetilde{\Theta}(\sqrt{n}) or Θ(n)\Theta(n), depending on the VC dimension.

1 Introduction

Imagine visiting a fruit vendor to buy apples: you pick one, taste it, and learn whether it is good; you then pick another, taste it, and so on. We call this self-directed online classification under apple-tasting feedback, an analogue of the model introduced by Helmbold et al. [2000]. In this model, the learner observes the correct label only when it predicts 1 (i.e. eats the apple), in contrast to standard online learning, where the correct label is revealed after every prediction.

We believe that this self-directed formulation is arguably the natural way to model literal apple tasting: the defining feature of the problem is that the learner controls which point it exposes itself to risk on, and self-direction simply takes this control to its logical conclusion by letting the learner choose the point itself, rather than having it imposed by an adversary. Prior work on apple tasting [Raman et al., 2024, Chase and Mehalel, 2025] instead studies the setting in which the point in each round is chosen by the environment or adversary, and the learner only controls its prediction. While this adversarial formulation is a natural starting point for worst-case analysis, it discards exactly the element of agency that makes apple tasting a distinctive feedback model to begin with — after all, no one is forced to buy a particular apple at the market.

A more practical instance of this problem can be seen in the hiring process at a company. They first review applications and then decide which candidates to interview. As interviewing is more informative but more resource-intensive than simply reading applications, the company might want to adaptively decide which candidates to interview in order to learn what features in applications are most desirable.

Formally, self-directed online classification with apple-tasting feedback is a repeated game between an adversary and a learner played over nn rounds. At the start of the game, the adversary provides a set of nn points. In round ii, the learner selects one of these points xix_i and makes a prediction y^i∈{0,1}\widehat{y}_i \in \{0,1\}. The adversary then assigns a label yi∈{0,1}y_i \in \{0,1\}, unknown to the learner, and the learner incurs loss 1[y^i≠yi]\mathbb{1}[\widehat{y}_i \neq y_i]. If y^i=1\widehat{y}_i = 1, the adversary reveals the true label yiy_i; otherwise, the learner receives no feedback. We allow both the learner and the adversary to use randomized strategies. In most cases, however, we show that deterministic strategies would give essentially the same results.

*Department of Computer Science, Purdue University; tdevale@purdue.edu †Department of Computer Science, Purdue University; phil1289@purdue.edu ‡Department of Computer Science, Purdue University; ramaswa4@purdue.edu

We study both the realizable and the agnostic settings in our paper. We adopt the perspective of Raman et al. [2024] and identify the combinatorial dimensions that govern the minimax number of mistakes and regret¹ respectively. Our main contributions are as follows:

  • The Vapnik-Chervonenkis (VC) Dimension [Vapnik and Chervonenkis, 1971] characterizes the minimax expected regret in the agnostic setting as Θ~(n⋅VC(H))\tilde{\Theta}\left(\sqrt{n \cdot \mathrm{VC}(\mathcal{H})}\right).

  • On the other hand, VC dimension alone is not enough to characterize the realizable setting. There are easier regimes characterized by the ∅\emptyset-centered star number of H\mathcal{H} [Hanneke, 2024], denoted s∅(H)s_{\emptyset}(\mathcal{H}), and the self-directed dimension of [Devulapalli and Hanneke, 2024] denoted by SDdim(H)\mathrm{SDdim}(\mathcal{H}).

  • Consequently, in the realizable setting, we obtain a tetrachotomy on the mistake bound. (i) ΘH(1)\Theta_{\mathcal{H}}(1) when s∅(H)<∞s_{\emptyset}(\mathcal{H}) < \infty, SDdim(H)<∞\mathrm{SDdim}(\mathcal{H}) < \infty; (ii) OH(log⁡n)∩ωH(1)O_{\mathcal{H}}(\log n) \cap \omega_{\mathcal{H}}(1) when s∅(H)<∞s_{\emptyset}(\mathcal{H}) < \infty but SDdim(H)=∞\mathrm{SDdim}(\mathcal{H}) = \infty; (iii) Θ~H(n)\tilde{\Theta}_{\mathcal{H}}(\sqrt{n}) when VC(H)<∞\mathrm{VC}(\mathcal{H}) < \infty but s∅(H)=∞s_{\emptyset}(\mathcal{H}) = \infty; (iv) Θ(n)\Theta(n) when VC(H)=∞\mathrm{VC}(\mathcal{H}) = \infty.

We additionally establish several auxiliary results.

  • We show that for any d∈Nd \in \mathbb{N}, there exists a concept class Hd\mathcal{H}_d such that VC(Hd)=d\mathrm{VC}(\mathcal{H}_d) = d and the optimal number of mistakes made by any algorithm is Ω(nd)\Omega(\sqrt{nd}).

  • In the realizable setting, if the adversary may choose labels adaptively, our upper and lower bounds on the mistake bound differ by a factor of log⁡n\sqrt{\log n}. This gap vanishes when the adversary must instead commit to an unknown true concept before the game begins.

  • It is straightforward to find concept classes that fit in cases (i), (iii), and (iv) of our tetrachotomy. We show that case (ii), where s∅(H)<∞s_{\emptyset}(\mathcal{H}) < \infty and SDdim(H)=∞\mathrm{SDdim}(\mathcal{H}) = \infty, is also nonempty by adapting a construction of Kuhlmann [1999].

  • Finally, we prove a purely combinatorial identity that may be of independent interest. For any concept class H\mathcal{H}, letting U(H)\mathcal{U}(\mathcal{H}) denote its union closure, we have s∅(H)=s∅(U(H))=VC(U(H))s_{\emptyset}(\mathcal{H}) = s_{\emptyset}(\mathcal{U}(\mathcal{H})) = \mathrm{VC}(\mathcal{U}(\mathcal{H})).