HyperAIHyperAI

Command Palette

Search for a command to run...

Optimale Irrtumsgrenzen für transduktives Online-Lernen

Zachary Chase Steve Hanneke Shay Moran Jonathan Shafer

Zusammenfassung

Wir lösen ein seit 30 Jahren offenes Problem bezüglich der Leistungsfähigkeit unbeschrifteter Daten im Online-Lernen, indem wir die Lücke zwischen transduktivem und standardmäßigem Online-Lernen exakt quantifizieren. Im Standardsetting wird die optimale Irrtumsgrenze durch die Littlestone-Dimension ddd der Konzeptklasse charakterisiert (Littlestone, 1987). Wir beweisen, dass im transduktiven Setting die Irrtumsgrenze mindestens Ω(d)\Omega \left( { \sqrt { d } } \right)Ω(d​) beträgt. Dies stellt eine exponentielle Verbesserung gegenüber früheren unteren Schranken von Ω(log⁡log⁡(d))\Omega ( \log \log ( d ) )Ω(loglog(d)), Ω(log⁡(d))\Omega \left( { \sqrt { \log ( d ) } } \right)Ω(log(d)​) und Ω(log⁡(d))\Omega ( \log ( d ) )Ω(log(d)) dar, die jeweils auf Ben-David, Kushilevitz und Mansour (1995, 1997) sowie Hanneke, Moran und Shafer (2023) zurückgehen. Wir zeigen ferner, dass diese untere Schranke scharf ist: Für jedes ddd existiert eine Konzeptklasse mit Littlestone-Dimension ddd und transduktiver Irrtumsgrenze O(d)O \left( { \sqrt { d } } \right)O(d​). Unsere obere Schranke verbessert zudem die bislang beste bekannte obere Schranke von (2/3)d(2/3) d(2/3)d von Ben-David et al. (1997). Diese Ergebnisse begründen eine quadratische Lücke zwischen transduktivem und standardmäßigem Online-Lernen und unterstreichen damit den Nutzen des Vorabzugriffs auf die unbeschriftete Instanzsequenz. Dies steht im Gegensatz zum PAC-Rahmen, in dem transduktives und standardmäßiges Lernen ähnliche Stichprobenkomplexitäten aufweisen.

One-sentence Summary

The authors prove that the transductive mistake bound is Ω(d)\Omega \left( { \sqrt { d } } \right)Ω(d​) and tight at O(d)O \left( { \sqrt { d } } \right)O(d​) in terms of the Littlestone dimension ddd, resolving a 30-year-old open problem and establishing a quadratic gap between transductive and standard online learning.

Key Contributions

  • A lower bound of Ω(√d) on transductive online mistake bounds is proved for every concept class with Littlestone dimension d, improving prior lower bounds of Ω(log log d), Ω(√log d), and Ω(log d).

  • A matching upper bound is established by constructing, for every d, a concept class with Littlestone dimension d and transductive mistake bound O(√d), improving the previous best upper bound of (2/3)d.

  • The lower and upper bounds establish a quadratic gap between transductive and standard online learning, showing a benefit from advance access to the unlabeled instance sequence and contrasting with PAC settings where transductive and standard complexities are comparable.

Introduction

In online learning, the standard model assumes the learner receives instances one at a time, while the transductive model gives the learner the full sequence of unlabeled test instances in advance. This matters because unlabeled data is often much easier to obtain than labeled data, so understanding when such advance information actually reduces prediction errors is a central question in learning theory.

Prior work established that transductive online learning can be easier than standard online learning, but the quantitative gap remained unresolved. Best known bounds showed a separation as large as a constant factor, while the strongest lower bound was only logarithmic in the standard optimal mistake count, leaving an exponential gap in the true separation.

The authors close this gap by proving a quadratic separation. If a hypothesis class has standard optimal mistake bound d, then its optimal mistake bound in the transductive setting is at least Omega(sqrt(d)). They also construct classes where the transductive bound is O(sqrt(d)), showing that the separation is tight up to constants.

Method

The authors build the analysis around a binary-tree representation of online learning. For a perfect binary tree TdT_dTd​ of depth ddd, every labeling function f:Td→{0,1}f: T_d \to \{0,1\}f:Td​→{0,1} determines a unique path through the tree. Starting at the root, the path follows the child corresponding to the current function value. Thus, if the current node has value 000, the path moves to the 000-child, and if it has value 111, the path moves to the 111-child. This notion is central because, in a shattered Littlestone tree of depth ddd, a root-to-leaf path uniquely identifies a function in the hypothesis class.

The lower-bound argument is framed as a two-part adversarial strategy. The adversary chooses a long sequence of domain instances and adaptively chooses labels after observing the learner’s prediction. Before round ttt, the learner has produced predictions on earlier instances, and the adversary maintains the version space

Ht={h∈H:∀i∈[t−1], h(xi)=yi}.\mathcal{H}_t=\left\{h\in\mathcal{H}: \forall i\in[t-1],\ h(x_i)=y_i\right\}.Ht​={h∈H:∀i∈[t−1], h(xi​)=yi​}.

If all hypotheses in Ht\mathcal{H}_tHt​ assign the same label to the current instance xtx_txt​, then the adversary must use that label. Otherwise, after seeing the learner’s prediction y^t\hat{y}_ty^​t​, the adversary can choose yt=1−y^ty_t=1-\hat{y}_tyt​=1−y^​t​ and force a mistake.

The key insight is that forcing a mistake immediately may collapse the version space too quickly and eliminate future opportunities to force more mistakes. To control this, the adversary uses a balance parameter

rt=∣{h∈Ht:h(xt)=1}∣∣Ht∣.r_t=\frac{\left|\{h\in\mathcal{H}_t:h(x_t)=1\}\right|}{|\mathcal{H}_t|}.rt​=∣Ht​∣∣{h∈Ht​:h(xt​)=1}∣​.

If rt∈[ε,1−ε]r_t\in[\varepsilon,1-\varepsilon]rt​∈[ε,1−ε], the adversary forces a mistake. If rtr_trt​ is outside this interval, the adversary assigns the majority label. This prevents rapid shrinkage of the version space. If no mistake is forced, then

∣Ht+1∣≥(1−ε)∣Ht∣,|\mathcal{H}_{t+1}|\ge (1-\varepsilon)|\mathcal{H}_t|,∣Ht+1​∣≥(1−ε)∣Ht​∣,

while if a mistake is forced, then

∣Ht+1∣≥ε∣Ht∣.|\mathcal{H}_{t+1}|\ge \varepsilon|\mathcal{H}_t|.∣Ht+1​∣≥ε∣Ht​∣.

After nnn rounds and MMM forced mistakes, this yields

∣Hn+1∣≥εM(1−ε)n−M∣H∣≥εM(1−ε)n2d.|\mathcal{H}_{n+1}|\ge \varepsilon^M(1-\varepsilon)^{n-M}|\mathcal{H}| \ge \varepsilon^M(1-\varepsilon)^n2^d.∣Hn+1​∣≥εM(1−ε)n−M∣H∣≥εM(1−ε)n2d.

The adversary then constructs the sequence so that n=2Θ(d)n=2^{\Theta(\sqrt{d})}n=2Θ(d​) and so that the final version space still contains the function whose path is entirely represented in the sequence. Choosing ε=2−Θ(d)\varepsilon=2^{-\Theta(\sqrt{d})}ε=2−Θ(d​) gives

1≥2−Θ(Md)⋅2d,1\ge 2^{-\Theta(M\sqrt{d})}\cdot 2^d,1≥2−Θ(Md​)⋅2d,

which implies

M=Ω(d).M=\Omega(\sqrt{d}).M=Ω(d​).

For the upper-bound construction, the authors design a hypothesis class that is learnable with only O(d)O(\sqrt{d})O(d​) mistakes in the transductive setting, even though it still has Littlestone dimension ddd. The construction starts from a canonical “minimal” class in which the labels on each root-to-leaf path are fixed to encode one of 2d2^d2d functions, while all off-path nodes are labeled 000. This minimal class is too hard for the transductive setting because the learner learns nothing from off-path nodes and receives all information only from the adversarially controlled on-path nodes.

To make the class easier, the authors replace the deterministic off-path labels with sparse random labels. The on-path labels remain fixed by the path encoding, while off-path labels are sampled from a biased coin. Each off-path node is labeled 000 with high probability and labeled 111 with small probability, roughly 2−d2^{-\sqrt{d}}2−d​. Conceptually, the off-path labels form a sparse code word identifying the true labeling function. Because the code is sparse, most bits are easy to guess, since 000 is the likely label. When a rare 111 appears, it reveals substantial information about the true function. Thus, information about the hidden labeling function is distributed across both on-path and off-path nodes rather than being concentrated on the on-path nodes alone.

The learning algorithm is organized around three coupled modules. The first is a danger-zone minimization module. In the transductive setting, the adversary may reveal nodes in an arbitrary order, and early revealed nodes may turn out to be on-path. Until the learner has observed enough off-path labels, it lacks sufficient information to predict on-path labels accurately. The learner therefore maintains a danger zone SSS, initialized as the first tmax⁡=2Ω(d)t_{\max}=2^{\Omega(\sqrt{d})}tmax​=2Ω(d​) instances in the sequence. These are early nodes that may still be on-path for the true function. To predict the label of an instance xix_ixi​, the learner examines the subsets S0S_0S0​ and S1S_1S1​ consisting of descendants of xix_ixi​ corresponding to labels 000 and 111. If, for some b∈{0,1}b\in\{0,1\}b∈{0,1}, the set SbS_bSb​ has size at least ∣S∣/3|S|/3∣S∣/3, the learner predicts bbb. If that prediction is wrong, then all bbb-descendants of xix_ixi​ must be off-path, so the learner removes them from the danger zone. This reduces the danger zone by at least a constant factor. Repeating this argument gives at most O(log⁡tmax⁡)=O(d)O(\log t_{\max})=O(\sqrt{d})O(logtmax​)=O(d​) mistakes of this type.

The second module handles the uncertainty caused by non-breadth-first presentation order. In breadth-first order, every ancestor of a node appears before the node itself, so the learner can determine whether the node is on-path or off-path. In the transductive setting, however, a node may appear before some ancestors, or some ancestors may never appear. In that case, the learner cannot know whether a node belongs to the path encoding or to the sparse off-path encoding. To address this, the authors implement a splitting-experts scheme based on multiplicative weights. When a node requires knowledge of whether it is on-path or off-path, each current expert splits into two experts: one assumes the node is on-path, and the other assumes it is off-path. At any time, there is one expert whose assumptions are globally correct. The multiplicative-weight strategy ensures that the overall learner makes a number of mistakes comparable to that best expert, namely O(d)O(\sqrt{d})O(d​).

The third module is a transition to halving. The random construction is tuned so that after seeing the first tmax⁡=2Ω(d)t_{\max}=2^{\Omega(\sqrt{d})}tmax​=2Ω(d​) true labels, or after seeing Θ(d)\Theta(\sqrt{d})Θ(d​) off-path labels of value 111, the remaining set of hypotheses consistent with the observations has size at most 2O(d)2^{O(\sqrt{d})}2O(d​). At that point, the learner stops using danger-zone minimization and instead runs the standard Halving algorithm on the surviving subset of the hypothesis class. Running Halving on 2O(d)2^{O(\sqrt{d})}2O(d​) functions produces at most O(d)O(\sqrt{d})O(d​) additional mistakes. Because the learner uses experts with different path assumptions, each expert can independently decide when to transition to Halving. The unique expert with the correct path assumptions transitions at the right time and therefore keeps its total mistake count within O(d)O(\sqrt{d})O(d​).

The choice of the exponent d\sqrt{d}d​ in the sparse-labeling probability reflects a trade-off between two sources of difficulty. If off-path nodes are labeled 111 with probability 2−k2^{-k}2−k, then a sequence of n=d/(2k)n=d/(2k)n=d/(2k) leaves can be used by the adversary to force roughly Ω(d/k)\Omega(d/k)Ω(d/k) mistakes, because many sparse label patterns remain consistent with different functions. At the same time, if the adversary presents the top levels of the tree in breadth-first order, it can force mistakes on many on-path nodes, giving a term of order kkk. The resulting mistake lower bound has the form Ω(d/k+k)\Omega(d/k+k)Ω(d/k+k), which is optimized when kkk is close to d\sqrt{d}d​. The authors therefore choose the sparse-encoding bias at scale 2−d2^{-\sqrt{d}}2−d​ so that the information available from off-path nodes is strong enough to identify the function, while the number of rare off-path mistakes remains small enough to preserve the O(d)O(\sqrt{d})O(d​) mistake bound.


KI mit KI entwickeln

Von der Idee bis zum Launch – beschleunigen Sie Ihre KI-Entwicklung mit kostenlosem KI-Co-Coding, sofort einsatzbereiter Umgebung und bestem GPU-Preis.

KI-gestütztes kollaboratives Programmieren
Sofort einsatzbereite GPUs
Die besten Preise

HyperAI Newsletters

Abonnieren Sie unsere neuesten Updates
Wir werden die neuesten Updates der Woche in Ihren Posteingang liefern um neun Uhr jeden Montagmorgen
Unterstützt von MailChimp