Command Palette
Search for a command to run...
الحدود المثلى للخطأ في التعلم المتصل النقلي
الحدود المثلى للخطأ في التعلم المتصل النقلي
Zachary Chase Steve Hanneke Shay Moran Jonathan Shafer
الملخص
نحلّ مسألة مفتوحة منذ ثلاثين عامًا تتعلّق بقدرة البيانات غير المعنونة في التعلم المتصل، وذلك بتحديد الفجوة بدقة بين التعلم المتصل النقلي والتعلم المتصل القياسي. ففي الإعداد القياسي، يُميَّز حدّ الخطأ الأمثل ببُعد ليتلستون d لفئة المفاهيم (Littlestone, 1987). نُثبت أنه في الإعداد النقلي يكون حدّ الخطأ على الأقل Ω(d)، وهو ما يُشكّل تحسينًا أُسّيًّا على الحدود الدنيا السابقة Ω(loglog(d)) وΩ(log(d)) وΩ(log(d))، التي تعود على التوالي إلى Ben-David وKushilevitz وMansour (1995, 1997) وإلى Hanneke وMoran وShafer (2023). كما نُثبت أن هذا الحدّ الأدنى مُحكم: فلكلّ d توجد فئة بُعد ليتلستون لها d وحدّ خطأ نقلي من الرتبة O(d). كما يُحسّن حدّنا العلوي الحدّ العلوي المعهود الأفضل الذي بلغ (2/3)d من Ben-David et al. (1997). تُرسّخ هذه النتائج فجوةً تربيعيةً بين التعلم المتصل النقلي والقياسي، مما يُبرز فائدة الوصول المُسبق إلى تسلسل الأمثلة غير المعنونة. وهذا على النقيض من إعداد PAC، حيث يُظهر التعلم النقلي والقياسي تعقيدَي عيّنات متقاربَين.
One-sentence Summary
The authors prove that the transductive mistake bound is Ω(d) and tight at O(d) in terms of the Littlestone dimension d, 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 Td of depth d, every labeling function 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 0, the path moves to the 0-child, and if it has value 1, the path moves to the 1-child. This notion is central because, in a shattered Littlestone tree of depth d, 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 t, the learner has produced predictions on earlier instances, and the adversary maintains the version space
Ht={h∈H:∀i∈[t−1], h(xi)=yi}.If all hypotheses in Ht assign the same label to the current instance xt, then the adversary must use that label. Otherwise, after seeing the learner’s prediction y^t, the adversary can choose yt=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=∣Ht∣∣{h∈Ht:h(xt)=1}∣.If rt∈[ε,1−ε], the adversary forces a mistake. If rt 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∣,while if a mistake is forced, then
∣Ht+1∣≥ε∣Ht∣.After n rounds and M forced mistakes, this yields
∣Hn+1∣≥εM(1−ε)n−M∣H∣≥εM(1−ε)n2d.The adversary then constructs the sequence so that 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) gives
1≥2−Θ(Md)⋅2d,which implies
M=Ω(d).For the upper-bound construction, the authors design a hypothesis class that is learnable with only O(d) mistakes in the transductive setting, even though it still has Littlestone dimension d. The construction starts from a canonical “minimal” class in which the labels on each root-to-leaf path are fixed to encode one of 2d functions, while all off-path nodes are labeled 0. 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 0 with high probability and labeled 1 with small probability, roughly 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 0 is the likely label. When a rare 1 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 S, initialized as the first 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 xi, the learner examines the subsets S0 and S1 consisting of descendants of xi corresponding to labels 0 and 1. If, for some b∈{0,1}, the set Sb has size at least ∣S∣/3, the learner predicts b. If that prediction is wrong, then all b-descendants of xi 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(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).
The third module is a transition to halving. The random construction is tuned so that after seeing the first tmax=2Ω(d) true labels, or after seeing Θ(d) off-path labels of value 1, the remaining set of hypotheses consistent with the observations has size at most 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) functions produces at most 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).
The choice of the exponent d in the sparse-labeling probability reflects a trade-off between two sources of difficulty. If off-path nodes are labeled 1 with probability 2−k, then a sequence of n=d/(2k) leaves can be used by the adversary to force roughly Ω(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 k. The resulting mistake lower bound has the form Ω(d/k+k), which is optimized when k is close to d. The authors therefore choose the sparse-encoding bias at scale 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) mistake bound.