arXiv:2610.24332cs.LGOct 2026

Manuscript Offprint

arXiv:2610.24332

PAC Learning with Query Feedback

Chase Hutton, Adam Melrod, Han Shao

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

Abstract

We study realizable multiclass PAC learning with query feedback, where each training example provides a single binary response indicating whether its true label belongs to a chosen subset from a fixed query family. Our main contribution is the query dimension, a combinatorial parameter that captures both the structure of the hypothesis class and the ability of the available queries to distinguish labels. This parameter generalizes the bandit DS dimension, which it recovers under singleton queries. We establish a sample-complexity lower bound of Ω(D/ε)\Omega(D/\varepsilon) and an upper bound of O~(D2/ε)\widetilde{O}(D^2/\varepsilon), suppressing factors polylogarithmic in the number of labels and the inverse failure probability. When the available queries can split every candidate set into two parts of comparable size, we improve the upper bound to O~(D/ε)\widetilde{O}(D/\varepsilon), yielding a characterization up to logarithmic factors.

1. Introduction

In the multiclass PAC learning problem, a learner is tasked with classifying objects into one of K possible labels. A natural variant of this problem arises when, upon making a prediction on a training example, the learner receives only binary feedback indicating whether its prediction was correct, rather than being given the true label. This setting, known as multiclass PAC learning with bandit feedback, was introduced and studied in the PAC framework by Daniely et al. (2011, 2015), and its sample complexity was recently characterized, up to logarithmic factors, by Hanneke et al. (2026) in terms of a combinatorial parameter called the bandit DS dimension.

Bandit feedback models situations in which a learner chooses an action and observes only whether it succeeds. As motivation, Hanneke et al. (2026) describe a treatment scenario in which each patient is assumed to respond to exactly one of the available drugs. Administering a drug then tests a single candidate label: the learner observes whether that drug was effective, but an unsuccessful treatment does not reveal which drug would have worked.

Binary feedback need not be limited to testing a single candidate label: an action may instead test whether the true label belongs to a subset of labels. For example, suppose the goal is to identify which of K bacterial species caused a patient's infection, and each available drug is effective against a known subset of these species. Under the simplifying assumption that treatment succeeds exactly when the responsible bacterium belongs to that subset, administering a drug reveals whether the true label lies in the corresponding subset. This leads naturally to what we call query feedback: the learner asks whether the true label belongs to a chosen subset of the label space, and the family of subsets it may ask about is fixed in advance.

Formally, we study the following problem. Let H⊆YX\mathcal{H} \subseteq \mathcal{Y}^{\mathcal{X}} be a hypothesis class over an instance space X\mathcal{X} and a finite label space Y\mathcal{Y} with ∣Y∣=K|\mathcal{Y}| = K, and let Q⊆2Y\mathcal{Q} \subseteq 2^{\mathcal{Y}} be a fixed family of available

© C. Hutton, A. Melrod & H. Shao.

queries. We consider the realizable setting, in which an unknown target h∗∈Hh^* \in \mathcal{H} determines the label of every instance. Training proceeds over mm rounds. On round tt, the learner observes an instance xtx_t drawn from an unknown distribution D\mathcal{D} on X\mathcal{X}, chooses a query Qt∈QQ_t \in \mathcal{Q}, which may depend on xtx_t and on the history of the interaction, and receives the single query response bt=1{h∗(xt)∈Qt}b_t = \mathbf{1}\{h^*(x_t) \in Q_t\} as feedback. After mm rounds, the learner outputs a classifier h^:X→Y\widehat{h} : \mathcal{X} \to \mathcal{Y}, and the goal is that its error PrX∼D[h^(X)≠h∗(X)]\mathbf{Pr}_{X \sim \mathcal{D}}[\widehat{h}(X) \neq h^*(X)] is at most ε\varepsilon with probability at least 1−δ1 - \delta. We denote by mQ(H;ε,δ)m_{\mathcal{Q}}(\mathcal{H}; \varepsilon, \delta) the smallest number of rounds for which some learner achieves this guarantee for every distribution D\mathcal{D} and every target h∗∈Hh^* \in \mathcal{H}.

Observe that taking Qsing:={{y}:y∈Y}Q_{\text{sing}} := \{\{y\} : y \in \mathcal{Y}\} recovers multiclass PAC learning with bandit feedback. For more general QQ, the structure of the available queries can make learning considerably more efficient. Whereas under bandit feedback an incorrect prediction eliminates a single candidate label, a query that divides the candidate labels into two groups of comparable size rules out many of them at once. Not every query about a large subset is useful however. Indeed, a query containing all remaining candidates reveals nothing. What matters is whether the allowed queries can separate labels that the learner still needs to distinguish. In this work we study how this ability governs the number of examples required to learn:

Given a hypothesis class H⊆YX\mathcal{H} \subseteq \mathcal{Y}^{\mathcal{X}} and a family of legal queries Q⊆2Y\mathcal{Q} \subseteq 2^{\mathcal{Y}}, how many training rounds are necessary and sufficient for PAC learning H\mathcal{H} when the learner receives only query feedback from Q\mathcal{Q}?

The bandit DS dimension of Hanneke et al. (2026) is a natural starting point to answering this question. As such, let us briefly recall its definition. The main combinatorial objects used to define the bandit DS dimension are pseudo-boxes: finite sets W of label vectors, realized by H on instances x1,…,xdx_{1}, \ldots, x_{d}, such that every vector in W has, for each coordinate i, at least NiN_{i} neighbors in W that differ from it only at xix_{i}. The dimension is then the largest total ∑iNi\sum_{i} N_{i} that H realizes in this way. The dimension essentially counts locally indistinguishable alternatives: hypotheses that differ from one another only at a single instance which bandit feedback can rule out only one at a time. For general query families, however, this metric is no longer enough. The same set of candidate labels can be difficult to distinguish when queries test one label at a time, but easy when suitable subset queries are available. A dimension for our setting must therefore account both for the hypothesis class H, which determines which labels the learner needs to distinguish, and for the query family Q, which determines how many rounds it takes to distinguish them. Our main contribution is to identify such a dimension and establish upper and lower bounds on the sample complexity in terms of it.