arXiv:2609.10886cs.LGSep 2026

Manuscript Offprint

arXiv:2609.10886

Relatively Smart II: Tractable or Semi-Supervised Instance-Optimal Learning

Shaddin Dughmi, Alireza F. Pour

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

Abstract

We continue the study of relatively smart learning as introduced by Dughmi and Pour [DP26], which asks a supervised learner to compete, marginal by marginal, with every distribution-fixed error guarantee that can be soundly certified from unlabeled data. They showed that the One-Inclusion Graph (OIG) learner is relatively smart with a quadratic blowup in sample complexity, and no relatively-smart learner can achieve better sample complexity. However, it was left open whether Empirical Risk Minimization (ERM), or another natural or tractable learner, enjoys comparable guarantees. Moreover, whether the blowup in sample complexity can be restricted to unlabeled data—leading to a relatively smart semi-supervised learner—was also left as a tantalizing possibility.

Our first result resolves the first question positively: We show that ERM—and in fact any proper consistent learner—is relatively smart for binary classification in the distribution-free setting. Our proof shows that a small certifiable error when allowed m samples implies a similarly small error on the uniform distribution over a random sample of size O(m2)O(m^2). This yields the existence of a cover of size at most 2m+12^{m+1} on that sample, which suffices to control the error of every consistent learner when given O(m2)O(m^2) samples.

We then explore the semi-supervised question: whether adding only unlabeled data suffices for relatively smart learning, and how this affects the tractability/simplicity of learning. We show a positive result for the information-theoretic question: there is a semi-supervised relatively smart learner provided a quadratic blowup only in unlabeled sample complexity, whereas the labeled sample complexity suffers no blowup. The learner is based on a natural generalization of the one-inclusion-graph to a leave-most-out transductive problem, in which the labels of a subset of a finite pool are revealed and the learner predicts the labels of the remaining points.

Finally, we show that—in contrast to our first result on ERM—this information-theoretic label efficiency comes at the cost of simplicity and tractability of the learner: When a learner can only access the hypothesis class through calls to an agnostic ERM oracle, we prove that any semi-supervised relatively smart learner with substantially sub-quadratic blowup in labeled sample complexity must make super-polynomially many oracle calls. This holds even when the marginal distribution is given explicitly, and therefore implies a similar intractability result for distribution-fixed learning which may be of independent interest.

1 Introduction

The classical PAC model seeks fully supervised learning guarantees that hold uniformly over both the marginal distribution of unlabeled data as well as the labeling hypothesis, and consequently

∗^{*}shaddin@usc.edu. Supported by NSF Grant CCF-2432219. Part of this work was done 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.

†^{\dagger}alireza.fathollahpour@uwaterloo.ca. Supported by a David Cheriton Scholarship and a Vector Institute Research Grant.

measures performance in the worst case over all admissible instances. However, the difficulty of learning can vary substantially from one marginal distribution to another, even when the hypothesis is still chosen adversarially. The distribution-fixed model of learning, studied by Benedek and Itai [BI91], captures this by giving the learner complete knowledge of the marginal distribution D, allowing its learning strategy to be tailored specifically to D. Distribution-fixed learning can therefore be viewed as an idealized form of semi-supervised learning, in which the learner has access not merely to additional unlabeled samples but to the marginal itself [BLP08].

One may then ask whether the advantages of distribution-fixed learning can be recovered without giving the learner full knowledge of the marginal distribution. Smart PAC learning, introduced by Darnstädt and Simon [DS11], seeks a single supervised learner whose error rate on each marginal approaches that of the optimal distribution-fixed learner for that marginal, despite not being given the marginal distribution itself. In this sense, smart learning seeks an instance-optimal guarantee with respect to the marginal distribution. Darnstädt and Simon [DS11] show that such a learner exists for “most” marginals, where “most” is quantified with respect to an arbitrary fixed prior distribution over marginals that is known in advance. However, this qualification cannot in general be removed: Darnstädt, Simon, and Szörényi [DSS13], strengthening a result of Dudley et al. [DKRZ94], show that there are hypothesis classes and families of marginals for which the optimal distribution-fixed error rates converge rapidly and uniformly to zero, yet for every supervised learner that is not given the marginal and every finite sample size, there exists a marginal on which its error remains essentially that of random guessing.

In a recent work, Dughmi and Pour [DP26] identify the obstruction behind this impossibility as an indistinguishability phenomenon: a learner ADA_{D} tailored to a marginal D may perform much worse on another marginal D′D' that is indistinguishable from D using unlabeled data. In such settings, the learner cannot reliably identify whether the observed data comes from a marginal on which its distribution-specific learning strategy remains valid, or from another statistically similar marginal on which that strategy fails. Thus, unlabeled data may be insufficient to determine whether the favorable error guarantee associated with D can actually be trusted.

Inspired by this, Dughmi and Pour [DP26] introduce relatively smart learning. Rather than competing with arbitrary distribution-fixed error rates, they require a learner to compete only with error guarantees that can be soundly certified from unlabeled data. Informally, a learner ADA_{D} tailored to D is paired with a certifier C that observes an unlabeled sample and estimates its error. Although ADA_{D} may be designed specifically for D, soundness requires the expected value of the certifier to upper bound the error of ADA_{D} under every admissible marginal D′D'. Thus, if D is difficult to distinguish from a marginal on which ADA_{D} has substantially larger error, the certifier is forced to account for this ambiguity. The resulting certifiable error rates capture precisely the distribution-dependent guarantees that can be justified from unlabeled data, and relatively smart learning asks for a single learner that competes with all such guarantees, marginal by marginal.

In the distribution-free setting, Dughmi and Pour [DP26] establish an essentially tight information-theoretic characterization. They show that the One-Inclusion Graph (OIG) learner is relatively smart, up to a constant blow-up in error and a quadratic blow-up in sample complexity. They further show that every relatively smart learner must suffer a near-quadratic blow-up in the sample complexity.

The positive result of Dughmi and Pour [DP26] relies on the One-Inclusion Graph (OIG) learner and, more specifically, on its dataset-by-dataset optimality for the leave-one-out transductive problem. Standard learning rules such as Empirical Risk Minimization (ERM) do not share this property: there are datasets on which ERM and OIG have very different leave-one-out behavior, despite their closely related guarantees in PAC learning. It is therefore natural to ask whether the transductive optimality underlying the OIG analysis is essential for relatively smart learning with quadratic

(or even bounded) blow-up, or whether a simpler and more standard learning rule can obtain a comparable guarantee.

Question 1 (Open Question 3.3 of Dughmi and Pour [DP26]). Is ERM, or another natural and typically tractable learner, relatively smart?

A second question concerns the role of unlabeled data in relatively smart learning. Since distribution-fixed learning can be viewed as an idealized form of semi-supervised learning, it is natural to ask whether access to additional unlabeled samples can help a learner compete with certifiable error rates. The lower bound of Dughmi and Pour [DP26] applies to fully supervised learners and therefore does not determine how much of the required sample-complexity blow-up must remain in labeled data once unlabeled samples are available. This leaves open the possibility that unlabeled data may substantially reduce the number of labels needed, perhaps even eliminating the blow-up in labeled sample complexity altogether.

Question 2. Can unlabeled data substantially reduce the labeled sample complexity of relatively smart learning? More specifically, are there semi-supervised relatively smart learners with no blow-up in labeled sample complexity?

Our first question asks whether relatively smart learning can be achieved by a simple and typically-tractable supervised learning rule such as ERM. The semi-supervised question above raises a different possibility: using unlabeled data to reduce the labeled sample complexity may require a substantially more complicated learning procedure, even if the corresponding information-theoretic guarantee is achievable. Thus, beyond asking whether unlabeled data can reduce the number of labels, it is natural to ask whether this improvement can be achieved by a tractable learner.

Question 3. Can a semi-supervised relatively smart learner with substantially improved labeled sample complexity be implemented tractably?

A positive answer to the second question coupled with a negative answer to the third would reveal a separation between the information-theoretic and algorithmic value of unlabeled data. It would mean that, although unlabeled data may be sufficient to eliminate the blow-up in labeled sample complexity, exploiting this advantage can require a substantially more complex learning procedure. In particular, the obstacle would no longer be obtaining information about the marginal, but rather converting that information into an effective learning strategy.

References (1)