RTD-Conjecture and Concept Classes Induced by Graphs Hans Ulrich Simon Abstract It is conjectured in [ 12 ] that the recursive teaching dimension of any finite concept class is upper-bounded by the VC-dimension of this class times a universal constant. In this paper, we confirm this conjecture for two rich families of concept classes where each class is induced by some graph G G . For each G G , we consider the class whose concepts represent stars in G G as well as the class whose concepts represent connected sets in G G . We show that, for concept classes of this kind, the recursive teaching dimension either equals the VC-dimension or is less by 1 1 . 1 Introduction Teaching models explore the opportunities offered by learning from carefully chosen examples (as opposed to random examples). Let {\mathcal{M}} be a model of teaching and let {\mathcal{C}} be a class of concepts. The {\mathcal{M}} -teaching dimension of {\mathcal{C}} is defined as the smallest number d such that every concept in {\mathcal{C}} can be inferred from d (appropriately chosen) examples in accordance with the rules of the model {\mathcal{M}} . In the original teaching model, as introduced by Shinohara and Miyano [ 11 ] resp. by Goldman and Kearns [ 5 ] , the examples used for teaching a concept C must distinguish C from any other concept in the underlying concept class. This strong requirement, however, leads to intolerably large teaching dimensions even for very simple concept classes. The model of recursive teaching 1 1 1 See Section 2.3 for a definition. had been suggested in [ 15 ] as an alternative (among others) to the original model. The corresponding teaching dimension is called the RT-dimension and denoted by \mathrm{RTD} . As demonstrated in [ 3 ] and [ 8 ] , the RT-dimension of a concept class {\mathcal{C}} is often closely related to the VC-dimension 2 2 2 The VC-dimension, first introduced in the pioneering work of Vapnik and Chervonenkis [ 13 ] , plays a central role in the theory of learning from random examples. of {\mathcal{C}} . The latter will be denoted by \mathrm{VCD}({\mathcal{C}}) in the sequel. The following is among the main open problems in connection with teaching: RTD-Conjecture: Is there a universal constant c>0 such that, for each finite concept class {\mathcal{C}} , we have that \mathrm{RTD}({\mathcal{C}})\leq c\cdot\mathrm{VCD}({\mathcal{C}}) ? It is known [ 6 ] that \mathrm{RTD}({\mathcal{C}})=O\left(\mathrm{VCD}({\mathcal{C}})^{2}\right) . It is furthermore known [ 1 ] that there exists a concept class {\mathcal{C}} such that \mathrm{RTD}({\mathcal{C}})\geq\frac{5}{3}\cdot\mathrm{VCD}({\mathcal{C}}) . We also briefly would like to mention that the RTD-conjecture is related to the well-known Sample-Compression conjecture of Warmuth [ 14 ] : • There is a one-to-one correspondence between so-called repetition-free teaching sets in the RT-model and unlabeled sample compression schemes having the acyclic non-clashing property. See Lemma 27 in [ 3 ] for technical details. • See also [ 2 ] for a connection between recursive teaching and so-called order-compression schemes. The latter are special sample-compression schemes. We cannot go into detail at this point. But it seems to be fair to say that progress with the RTD-conjecture is likely to produce progress with the Sample-Compression conjeture, and vice versa. Up to date, it is not known whether the RTD-conjecture can be confirmed in general. We will show in this paper that it can be confirmed in a very strong sense for two rich families of concept classes where each class is induced by some graph G . We consider classes whose concepts represent stars in G as well as classes whose concepts represent connected sets in G . 3 3 3 The VC-dimension of these classes has been studied before in [ 7 ] . We show that, for concept classes {\mathcal{C}} of this kind, it holds that \mathrm{VCD}({\mathcal{C}})-1\leq\mathrm{RTD}({\mathcal{C}})\leq\mathrm{VCD}({\mathcal{C}})\kern 5.0pt. This paper is structured as follows. In Section 2 , we fix some notation and call to mind some basic definitions (including the definition of various teaching models). The main results on graph-induced concept classes are stated and proved in Section 3 . The paper is closed by mentioning some directions for future research. 2 Definitions, Notations and Facts The powerset of a set M is denoted as 2^{M} . For integers i\leq j , we define [i:j]=\{i,\ldots,j\} , i.e., [i:j] denotes the interval of integers that range from i to j . Moreover, we set [n]=[1:n] . 2.1 Graphs and Subgraphs We first fix some notation for special graphs. The complete graph with n vertices is denoted by K_{n} . Let P_{n} denote a path of length n . Similarly, let C_{n} denote a cycle of length n . Definition 2.1 (Open and Closed Neighborhood) . Let G=(V,E) be a graph and let x\in V be a vertex in G . Then N_{G}^{o}(x)=\{y|\{x,y\}\in E\} denotes the set of vertices that are adjacent to x in G . N_{G}^{o}(x) is said to be the open neighborhood of x in G whereas N_{G}(x)=N_{G}^{o}(x)\cup\{x\} is called the closed neighborhood of x in G . More generally, for X\subseteq V , we define N_{G}(X)=\cup_{x\in X}N_{G}(x) and N_{G}^{o}(X)=N_{G}(X)\setminus X . Remark 2.2 . For all (not necessarily distinct) vertices x,y\in V , we have that N_{G}^{o}(x)\neq N_{G}(y) . Proof. Assume for sake of contradiction that N_{G}^{o}(x)=N_{G}(y) . Since y\in N_{G}(y) , we also have y\in N_{G}^{o}(x) . Thus y is adjacent to x . On the other hand, since x\notin N_{G}^{o}(x) , we have that x\notin N_{G}(y) . Thus x is not adjacent to y . We arrived at a contradiction. ∎ Definition 2.3 (Subgraph-Relation) . Let G=(V,E) be a graph. A graph G^{\prime}=(V^{\prime},E^{\prime}) is a subgraph of G , which is denoted as G^{\prime}\leq G , if V^{\prime}\subseteq V and E^{\prime}\leq E . By \langle V^{\prime}\rangle_{G} we denote the subgraph of G=(V,E) that is spanned by V^{\prime}\subseteq V , i.e., it contains all edges of E whose endpoints are in V^{\prime} . 2.2 Concept Classes and VC-Dimension As usual a concept over domain {\mathcal{X}} is a function of the form C:{\mathcal{X}}\rightarrow\{+,-\} or, equivalently 4 4 4 C can be identified with \{x\in{\mathcal{X}}:C(x)=+\} , a subset of {\mathcal{X}} . The elements of {\mathcal{X}} are called instances . If C(x)=b\in\{+,-\} , then C is said to assign label b to instance x . A set whose elements are concepts over domain {\mathcal{X}} is referred to as a concept class over {\mathcal{X}} . A pair (x,b)\in{\mathcal{X}}\times\{+,-\} is called a (positive resp. negative) example. A collection S\subseteq{\mathcal{X}}\times\{+,-\} of examples is called a sample . A concept is said to be consistent with S if C(x)=b for for all (x,b)\in S . The version space induced by S is defined as the set of all concepts in {\mathcal{C}} that are consistent with S . General Assumption: We will assume throughout the paper that {\mathcal{X}} is finite. For the reader’s convenience, we now call to mind the definition of the VC-dimension: Definition 2.4 (Shattered Sets and VC-dimension [ 13 ] ) . Suppose that {\mathcal{C}} is a concept class over domain {\mathcal{X}} . A set S\subseteq{\mathcal{X}} is said to be shattered by {\mathcal{C}} if, for any S^{\prime}\subseteq S , there exists a concept C\in{\mathcal{C}} such that S\cap C=S^{\prime} . The size of the largest subset of {\mathcal{X}} that is shattered by {\mathcal{C}} is called the VC-dimension of {\mathcal{C}} and denoted by \mathrm{VCD}({\mathcal{C}}) . The following holds for trivial reasons: Example 2.5 (VC-Dimension of the Powerset) . \mathrm{VCD}(2^{\mathcal{X}})=|{\mathcal{X}}| . Sometimes the VC-dimension of a concept class {\mathcal{C}} can be easily expressed in terms of the VC-dimension of some subclasses: Remark 2.6 (Common Sense) . Let {\mathcal{C}}_{1},\ldots,{\mathcal{C}}_{r} be concept classes over pairwise disjoint domains {\mathcal{X}}_{1},\ldots,{\mathcal{X}}_{r} . Then, for {\mathcal{C}}={\mathcal{C}}_{1}\cup\ldots\cup{\mathcal{C}}_{r} , the following holds: \mathrm{VCD}({\mathcal{C}})=\max_{i=1,\ldots,r}\mathrm{VCD}({\mathcal{C}}_{i})\kern 5.0pt. (1) Proof. Equation ( 1 ) holds simply because a shattered set cannot have a non-empty intersection with two or more of the domains {\mathcal{X}}_{1},\ldots,{\mathcal{X}}_{r} . ∎ We close this section by noting that a concept class {\mathcal{C}} of VC-dimension d satisfies |{\mathcal{C}}|\leq\sum_{i=0}^{d}\binom{|{\mathcal{X}}|}{i}\kern 5.0pt, (2) where {\mathcal{X}} denotes the underlying domain. This is a direct consequence of the well-known Sauer-Shelah lemma [ 9 , 10 ] . 2.3 Teaching Models Here is the formal definition of the original model of teaching dimension, as introduced in [ 11 , 5 ] : Definition 2.7 (SM-GK-Model [ 11 , 5 ] ) . Let {\mathcal{C}} be a concept class over {\mathcal{X}} . A teaching set for C\in{\mathcal{C}} is a subset D\subseteq{\mathcal{X}} which distinguishes C from any other concept in {\mathcal{C}} , i.e., for each C^{\prime}\in{\mathcal{C}}\setminus\{C\} , there exists an instance x\in D such that C(x)\neq C^{\prime}(x) . The size of the smallest teaching set for C\in{\mathcal{C}} is denoted by \mathrm{TD}(C,{\mathcal{C}}) . The teaching dimension of {\mathcal{C}} in the SM-GK-model of teaching is then given by \mathrm{TD}({\mathcal{C}})=\max_{C\in{\mathcal{C}}}\mathrm{TD}(C,{\mathcal{C}})\kern 5.0pt. A related quantity is \mathrm{TD}_{min}({\mathcal{C}})=\min_{C\in{\mathcal{C}}}\mathrm{TD}(C,{\mathcal{C}})\kern 5.0pt. An SM-GK-teacher for {\mathcal{C}} is a mapping T:{\mathcal{C}}\rightarrow 2^{\mathcal{X}} such that, for each C\in{\mathcal{C}} , the set T(C)\subseteq{\mathcal{X}} is a teaching set for C\in{\mathcal{C}} . The order of T is defined as \order(T)=\max_{C\in{\mathcal{C}}}|T(C)| . With a mapping T:{\mathcal{C}}\rightarrow 2^{\mathcal{X}} and a concept C\in{\mathcal{C}} , we associate the sample S_{T,C}:=\{(x,C(x)):x\in T(C)\}\kern 5.0pt. Obviously the following assertions are equivalent: 1. T is an SM-GK-teacher for {\mathcal{C}} . 2. For each concept C\in{\mathcal{C}} : C is the only concept that is consistent with S_{T,C} . 3. For each C\in{\mathcal{C}} : the version space induced by the sample S_{T,C} consists of C only. Intuitively, S_{T,C} is what the teacher would present to a learner. The learner can then infer the corresponding version space. Warning: We will occasionally be sloppy and blur the distinction between T(C) and S_{T,C} . For instance, we may say that we add a positive (resp. negative) example to the teaching set of C . The correct formulation would be: we add an instance x such that C(x)=1 (resp. C(x)=0 ) to T(C) so that (x,(C(x)) is added to S_{T,C} . The recursive teaching model (=RT-model) is among the models that were suggested in [ 15 ] as an alternative to the classical SM-GK-model. Here is the definition: Definition 2.8 (RT-Model [ 15 ] ) . Let {\mathcal{C}}_{min}\subseteq{\mathcal{C}} be the easiest-to-teach concepts in {\mathcal{C}} , i.e., {\mathcal{C}}_{min}=\{C\in{\mathcal{C}}:\mathrm{TD}(C,{\mathcal{C}})=\mathrm{TD}_{min}({\mathcal{C}})\}\kern 5.0pt. The RT-dimension of {\mathcal{C}} is given by \mathrm{RTD}({\mathcal{C}})=\left\{\begin{array}[]{ll}\mathrm{TD}_{min}({\mathcal{C}})&\mbox{if ${\mathcal{C}}={\mathcal{C}}_{min}$}\\ \max\{\mathrm{TD}_{min}({\mathcal{C}}),\mathrm{RTD}({\mathcal{C}}\setminus{\mathcal{C}}_{min})\}&\mbox{otherwise}\end{array}\right.\kern 5.0pt. There is still one more teaching model, introduced in [ 4 ] , that we will need for technical reasons. It brings into play a so-called preference relation. The idea behind this is to release the teaching set for a concept C\in{\mathcal{C}} from the obligation to distinguish C from concepts having a lower preference than C itself. Here is the formal definition: Definition 2.9 (PBT-Model [ 4 ] ) . A strict partial ordering \prec on {\mathcal{C}} is called a preference relation on {\mathcal{C}} . We say that concept C\in{\mathcal{C}} is preferred over concept C^{\prime}\in{\mathcal{C}} with respect to \prec if C^{\prime}\prec C . A teaching set for C\in{\mathcal{C}} with respect to \prec is a subset D\subseteq{\mathcal{X}} which distinguishes C from any any other concept C^{\prime}\in{\mathcal{C}} except possibly the ones having a lower preference than C . In other words, for each concept C^{\prime}\in{\mathcal{C}}\setminus\{C\} that does not satisfy C^{\prime}\prec C (so that either C\prec C^{\prime} or C and C^{\prime} are incomparable), there exists an instance x\in D such that C(x)\neq C^{\prime}(x) . The size of a smallest teaching set for C\in{\mathcal{C}} with respect to \prec is denoted by \mathrm{TD}_{\prec}(C,{\mathcal{C}}) . The teaching dimension of {\mathcal{C}} with respect to \prec is then given by \mathrm{TD}_{\prec}({\mathcal{C}})=\max_{C\in{\mathcal{C}}}\mathrm{TD}_{\prec}(C,{\mathcal{C}})\kern 5.0pt. The PBT-dimension 5 5 5 PBT = Preference-Based Teaching of {\mathcal{C}} is given by \mathrm{PBTD}({\mathcal{C}})=\min_{\prec}\mathrm{TD}_{\prec}({\mathcal{C}})\kern 5.0pt, where \prec ranges over all preference relations on {\mathcal{C}} . A PB-teacher for {\mathcal{C}} is a pair (T,\prec) where \prec is a preference relation on {\mathcal{C}} and T is a mapping T:{\mathcal{C}}\rightarrow 2^{\mathcal{X}} such that, for each C\in{\mathcal{C}} , the set T(C)\subseteq{\mathcal{X}} is a teaching set for C with respect to \prec . The order of T is defined as \order(T)=\max_{C\in{\mathcal{C}}}|T(C)| . We briefly mention two quite natural choices for \prec : Definition 2.10 (Subset- and Superset-Preferences) . Let {\mathcal{C}}_{0} be a subclass of {\mathcal{C}} . We say that we have subset-preferences (resp. superset-preferences) on {\mathcal{C}}_{0} if, for all C,C^{\prime}\in{\mathcal{C}}_{0} , the inclusion C\subset C^{\prime} implies that C is preferred over C^{\prime} (resp. that C^{\prime} is preferred over C ). Obviously the following holds: Remark 2.11 . If (T,\prec) is a PB-teacher for {\mathcal{C}} , then \mathrm{PBTD}({\mathcal{C}})\leq\mathrm{TD}_{\prec}({\mathcal{C}})\leq\order(T) . Moreover, for each T:{\mathcal{C}}\rightarrow 2^{\mathcal{X}} and each preference relation \prec on {\mathcal{C}} , the following assertions are equivalent: 1. (T,\prec) is a PB-teacher for {\mathcal{C}} . 2. For each C\in{\mathcal{C}} : C is the unique most preferred (with respect to \prec ) concept in the version space induced by S_{T,C} . The above models are related as follows: 1. It was shown in [ 3 ] that \mathrm{RTD}({\mathcal{C}})=\max_{{\mathcal{C}}_{0}\subseteq{\mathcal{C}}}\mathrm{TD}_{min}({\mathcal{C}}_{0})\kern 5.0pt, (3) holds for every concept class {\mathcal{C}} . This implies that, for every concept class {\mathcal{C}} , we have \mathrm{RTD}({\mathcal{C}})\geq\mathrm{TD}_{min}({\mathcal{C}}) . 2. It was shown in [ 4 ] that \mathrm{RTD} and \mathrm{PBTD} coincide on finite concept classes. Example 2.12 (RT-Dimension of the Powerset) . It is obvious that \mathrm{RTD}(2^{\mathcal{X}})\leq|{\mathcal{X}}| and \mathrm{TD}_{min}(2^{\mathcal{X}})=|{\mathcal{X}}| . Since \mathrm{RTD} is lower-bounded by \mathrm{TD}_{min} , we have \mathrm{RTD}(2^{\mathcal{X}})\geq|{\mathcal{X}}| and, therefore, \mathrm{RTD}(2^{\mathcal{X}})=|{\mathcal{X}}| . Here is a weak pendant to Remark 2.6 : Remark 2.13 (Common Sense) . Let {\mathcal{C}}_{1},\ldots,{\mathcal{C}}_{r} be concept classes over pairwise disjoint domains {\mathcal{X}}_{1},\ldots,{\mathcal{X}}_{r} . Then, for {\mathcal{C}}={\mathcal{C}}_{1}\cup\ldots\cup{\mathcal{C}}_{r} , the following holds: \max_{i=1,\ldots,r}\mathrm{RTD}({\mathcal{C}}_{i})\leq\mathrm{RTD}({\mathcal{C}})\leq 1+\max_{i=1,\ldots,r}\mathrm{RTD}({\mathcal{C}}_{i})\kern 5.0pt. (4) Proof. The first inequality holds for reasons of monotonicity. The second-one holds because we can always add a positive example to the teaching set of a non-empty concept in {\mathcal{C}} (which is necessary only when the original teaching set consisted of negative examples only). Moreover, if \emptyset\in{\mathcal{C}} , we may consider \emptyset as the most preferred concept in {\mathcal{C}} . We omit the (more or less) straightforward details. ∎ Here comes a kind of RTD-version of the Sauer-Shelah Lemma: Remark 2.14 ( [ 8 ] ) . The upper bound on |{\mathcal{C}}| that is shown in ( 2 ) is valid also for d=\mathrm{RTD}({\mathcal{C}}) . This gives a weapon for lower-bounding the \mathrm{RTD} : |{\mathcal{C}}|>\sum_{i=0}^{d}\binom{|{\mathcal{X}}|}{i}\Rightarrow\mathrm{RTD}({\mathcal{C}})>d\kern 5.0pt. (5) In the course of the paper, we will proceed as follows: • We will often use equation ( 3 ) for deriving a lower bound on \mathrm{RTD}({\mathcal{C}}) by choosing a hard-to-teach subclass {\mathcal{C}}_{0}\subseteq{\mathcal{C}} . Occasionally, a lower bound will be directly obtained from ( 5 ). • Because the RTD-conjecture is less known under the name PBTD-conjecture, we will state the results in terms of the \mathrm{RTD} . On the other hand, we derive upper bounds on the \mathrm{RTD} by switching to the equivalent 6 6 6 for finite concept classes PBT-setting. More precisely, we obtain an upper bound on \mathrm{RTD}({\mathcal{C}}) by designing a PB-teacher (T,\prec) and by exploiting the facts that \order(T) upper-bounds \mathrm{PBTD}({\mathcal{C}}) and \mathrm{PBTD}({\mathcal{C}})=\mathrm{RTD}({\mathcal{C}}) . 3 Teaching Complexity of Classes Defined by Graphs As it was done in [ 7 ] , we associate the following concept classes with a given graph G=(V,E) : \displaystyle{\mathcal{C}}_{star}(G) \displaystyle= \displaystyle\{X\cup\{x\}:\ x\in V,X\subseteq N_{G}^{o}(x)\} \displaystyle{\mathcal{C}}_{con}(G) \displaystyle= \displaystyle\{X\subseteq V:\mbox{$G$ has a subgraph that is a tree with vertex set $X$}\} \displaystyle= \displaystyle\{X\subseteq V:\mbox{$X\neq\emptyset$ and $\langle X\rangle_{G}$ is connected}\} We will refer to sets in {\mathcal{C}}_{con}(G) as connected sets (in G ) . We would like to stress that the empty set is considered as connected, i.e., \emptyset\in{\mathcal{C}}_{con}(G) for every graph G . The main goal in this section is to show that, for every graph G and {\mathcal{C}} being either {\mathcal{C}}_{star}(G) or {\mathcal{C}}_{con}(G) , the RT-dimension and the VC-dimension of {\mathcal{C}} differ by at most 1 and the RT-dimension of {\mathcal{C}} is upper-bounded by the VC-dimension of {\mathcal{C}} . Throughout this section, the symbols G , V and E will denote a graph G with vertex set V and edge set E . Note that V can also be viewed as the set of instances of either {\mathcal{C}}_{star}(G) or {\mathcal{C}}_{con}(G) . 3.1 Stars as Concepts As usual \Delta(G)=\max_{x\in V}\deg_{G}(x) denotes the maximum vertex-degree in G . Note that, for any x\in V , the set N_{G}^{o}(x) is shattered by {\mathcal{C}}_{star}(G) . On the other hand, if S\subseteq V is shattered by {\mathcal{C}}_{star}(G) , then S\subseteq N_{G}(x) for some vertex x\in X (because there must be a concept in {\mathcal{C}}_{star}(G) that assigns label + to all vertices in S ). Hence the following holds: Theorem 3.1 ( [ 7 ] ) . \Delta(G)\leq\mathrm{VCD}({\mathcal{C}}_{star}(G))\leq\Delta(G)+1 . A similar result holds with RTD at the place of VCD: Theorem 3.2 . \Delta(G)\leq\mathrm{RTD}({\mathcal{C}}_{star}(G))\leq\Delta(G)+1 . Proof. Pick a vertex x_{0}\in V of degree \Delta(G) . Then {\mathcal{C}}_{0}=\{X\cup\{x_{0}\}:\ X\subseteq N_{G}^{o}(x_{0})\} is a subclass of {\mathcal{C}}_{star}(G) over domain V . The instances outside N_{G}^{o}(x_{0}) do not distinguish between distinct concepts in {\mathcal{C}}_{0} and are therefore useless for the purpose of teaching. But {\mathcal{C}}_{0} restricted to subdomain N_{G}^{o}(x_{0}) coincides with the powerset of N_{G}^{o}(x_{0}) . It follows that \mathrm{RTD}({\mathcal{C}}_{star}(G))\geq\mathrm{RTD}({\mathcal{C}}_{0})=|N_{G}^{o}(x_{0})|=\deg_{G}(x_{0})=\Delta(G)\kern 5.0pt, where the first inequality follows from a monotonicity argument. As for the upper bound on \mathrm{RTD}({\mathcal{C}}_{star}(G))=\mathrm{PBTD}({\mathcal{C}}_{star}(G)) , we argue as follows. Assuming subset-preferences, each concept can be taught by presenting all its elements as positive examples. Hence \mathrm{RTD}({\mathcal{C}}_{star}(G))\leq\max\{|C|:C\in{\mathcal{C}}_{star}(G)\}=1+\Delta(G) , which concludes the proof. ∎ Let V_{max}=\{x\in V:\deg_{G}(x)=\Delta(G)\} be the set of vertices of maximum degree in G . We consider the following equivalence relation on V_{max} : x\equiv y\Leftrightarrow N_{G}(X)=N_{G}(y)\kern 5.0pt. In other words, two vertices of maximum degree are considered as equivalent iff they have the same closed neighborhood in G . Note that the equivalence x\equiv y of two distinct vertices x\neq y\in V_{max} implies that x and y are adjacent. Let V_{max}=V_{1}\cup\ldots\cup V_{m} denote the partition of V_{max} into equivalence classes. For i=1,\ldots,m , let N_{i}\subseteq V be the common closed neighborhood of the vertices in V_{i} . Set V^{\prime}_{i}=N_{i}\setminus V_{i} . The following observations are rather obvious: • |N_{i}|=\Delta(G)+1 . • V_{i}\subseteq N_{i} so that N_{i}=V_{i}\cup V^{\prime}_{i} is a partition of N_{i} . • The vertices in V_{i} form a clique in G . • The condition V^{\prime}_{i}\subseteq N_{G}(v) (6) is satisfied by each v\in V_{i} but violated by each v\in V^{\prime}_{i} . 7 7 7 A vertex v\in N_{i} with V^{\prime}_{i} in its closed neighborhood is easily seen to have N_{i} in its closed neighborhood. Becsue |N_{i}|=\Delta(G)+1 , we even have N_{G}(v)=N_{i} . Thus v must be a vertex in V_{i} (and does therefore not belong to V^{\prime}_{i} ). Theorem 3.3 . With the above notation, the following holds: \mathrm{VCD}({\mathcal{C}}_{star}(G))=\Delta(G)+1 iff there exists an index i\in[m] and a vertex v\notin N_{i} that satisfies Condition ( 6 ). Proof. We start with the if-direction. Since |N_{i}|=\Delta(G)+1 , it suffices to show that N_{i} is shattered by {\mathcal{C}}_{star}(G) . Pick a subset S\subseteq N_{i} of N_{i} . We proceed by case analysis: Case 1: S contains an element x from V_{i} . Then, writing S=\{x\}\cup(S\setminus\{x\}) , we see that S is a member of {\mathcal{C}}_{star}(G) . Moreover, since S\subseteq N_{i} , we have S=S\cap N_{i} . Case 2: S\cap V_{i}=\emptyset . Then S\subseteq V^{\prime}_{i} and the concept \{v\}\cup S is a member of {\mathcal{C}}_{star}(G) . Moreover, since v\notin N_{i} , we have (\{v\}\cup S)\cap N_{i}=S . This discussion shows that N_{i} is shattered. We continue with the only-if direction. Pick a set S of size \Delta(G)+1 that is shattered. There must exist a concept in {\mathcal{C}}_{star}(G) which contains S resp. even equals S (since no concept in {\mathcal{C}}_{star}(G) has a size greater than \Delta(G)+1 ). This is possible only if S is the closed neighborhood of some vertex of maximum degree in G , i.e., if S=N_{i} for some i\in[m] . There must exist a concept in {\mathcal{C}}_{star}(G) whose intersection with N_{i} equals V^{\prime}_{i} . Thus there must exist a vertex v\notin V_{i} which satisfies the condition ( 6 ). As already observed above, a vertex satisfying this condition cannot belong to V^{\prime}_{i} . Hence v\notin N_{i} , which completes the proof. ∎ Theorem 3.4 . For any graph G : \mathrm{RTD}({\mathcal{C}}_{star}(G))\leq\mathrm{VCD}({\mathcal{C}}_{star}(G)) . Proof. In view of Theorems 3.1 , 3.2 and 3.3 it suffices to show that \mathrm{RTD}({\mathcal{C}}_{star}(G))\leq\Delta(G) under the following assumption: for each i\in[m] , the condition ( 6 ) is satisfied only by vertices v\in N_{i} and therefore 8 8 8 since this condition is violated by all v\in V^{\prime}_{i} only by vertices v\in V_{i} . Call a concept in {\mathcal{C}}_{star}(G) special if it contains V^{\prime}_{i} for some i\in[m] . Given the above assumption, a concept of this kind is necessarily of the form S\cup V^{\prime}_{i} for some non-empty S\subseteq V_{i} . In order to show that \Delta(G) upper-bounds \mathrm{RTD}({\mathcal{C}}_{star}(G))=\mathrm{PBTD}({\mathcal{C}}_{star}(G)) , we proceed as follows: • Non-special concepts are preferred over special ones. • Among the special concepts, say the ones containing V^{\prime}_{i} , we prefer the ones with the largest number of vertices in V_{i} . • On the non-special concepts, we have subset-preferences. • A non-special concept is taught by presenting all its vertices as positive examples. • A special concept of the form S\cup V^{\prime}_{i} for some i\in[m] and some non-empty S\subseteq V_{i} is taught by presenting all vertices from V^{\prime}_{i} as positive examples and all vertices from V_{i}\setminus S as negative examples. In any case, the concept C that is to be taught is the unique most preferred concept in the respective version space. A teaching set for a special concept containing V^{\prime}_{i} has size at most \Delta(G) because |N_{i}|=\Delta(G)+1 and the teaching set is of the form N_{i}\setminus S for some non-empty S\subseteq N_{i} . A teaching set for a non-special concept C is also of size at most \Delta(G) : either C is a subset of the closed neighborhood of a vertex of non-maximal degree or C is of the form S\cup T\subseteq N_{i} with \emptyset\neq S\subseteq V_{i} and T\subset V^{\prime}_{i} (so that |C|=|S|+|T|\leq|V_{i}|+|V^{\prime}_{i}|-1\leq\Delta(G) ). ∎ The preceding results imply that \Delta(G)\leq\mathrm{RTD}({\mathcal{C}}_{star}(G))\leq\mathrm{VCD}({\mathcal{C}}_{star}(G))\leq\Delta(G)+1\kern 5.0pt. (7) Exactly one of these inequalities must be strict. The following examples demonstrate that the strict inequality can occur in any of the three possible positions: Examples 3.5 . The (\Delta,\mathrm{RTD},\mathrm{VCD}) -triple of a graph G is defined as the triple (\Delta(G),\mathrm{RTD}({\mathcal{C}}_{star}(G)),\mathrm{VCD}({\mathcal{C}}_{star}(G)))\kern 5.0pt. Let us first consider the complete graph K_{n} , say with vertices 1,\ldots,n . Clearly \Delta(K_{n})=n-1 and {\mathcal{C}}_{star}(K_{n})=2^{[n]}\setminus\{\emptyset\} . It is obvious that this class has VC-dimension n-1 . According to ( 7 ), the RT-dimension also equals n-1 . Thus the (\Delta,\mathrm{RTD},\mathrm{VCD}) -triple of K_{n} equals (n-1,n-1,n-1) . Consider now the path P_{n} of length n\geq 2 with vertices 1,\ldots,n (in this order). Clearly \Delta(P_{n})=2 and {\mathcal{C}}_{star}(P_{n}) consists of all sets of 1 , 2 or 3 consecutive vertices on P_{n} . It is obvious that this class has VC-dimension 2 and, again by virtue of ( 7 ), the RT-dimension equals 2 as well. Thus the (\Delta,\mathrm{RTD},\mathrm{VCD}) -triple of P_{n} equals (2,2,2) . Let C_{4} be the cycle of length 4 with vertices a,b,c,d as shown in the left part of Fig. 1 . Clearly \Delta(C_{4})=2 and {\mathcal{C}}_{star}(C_{4})=2^{\{a,b,c,d\}}\setminus\{\emptyset,\{a,c\},\{b,d\},\{a,b,c,d\}\} . This class has a VC-dimension of at most 3 . Moreover it has 16-4=12>11=1+4+\binom{4}{2} concepts. From ( 5 ), we infer that \mathrm{RTD}({\mathcal{C}}_{star}(C_{4}))\geq 3 . In combination with ( 7 ), we may conclude that the (\Delta,\mathrm{RTD},\mathrm{VCD}) -triple of C_{4} equals (2,3,3) . The (\Delta,\mathrm{RTD},\mathrm{VCD}) -triple of C_{n} with n\geq 5 equals (2,2,2) . The reason for that is that the VC-dimension of {\mathcal{C}}_{star}(C_{n}) equals 2 for n\geq 5 . Loosely speaking: from a local perspective (by considering only path segments of length at most 3 on C_{n} ), there is not so much of a difference between C_{n} and P_{n} . Consider now the graph G with \Delta(G)=3 on the right side of Fig. 1 . The vertices a and b have the same closed neighborhood, namely \{a,b,c,d\} . In accordance with Theorem 3.3 , the vertex v demonstrates that the \mathrm{VCD}({\mathcal{C}}_{star}(G))=\Delta(G)+1=4 . An RTD-value (= \mathrm{PBTD} -value) of 3 can be achieved as follows: • Prefer concepts not containing v over concepts containing v . • On the concepts containing v , we have subset-preferences. • On the concepts not containing v , use superset-preferences. • Teach a concept containing v by presenting all its vertices as positive examples. • Teach a concept C not containing v (and therefore containing at least one of the vertices a,b,c,d ) by presenting all vertices in \{a,b,c,d\}\setminus C as negative examples. We conclude from this discussion that the (\Delta,\mathrm{RTD},\mathrm{VCD}) -triple of G equals (3,3,4) . a b c d a b c d v Figure 1: A graph with (\Delta,\mathrm{RTD},\mathrm{VCD}) -triple (2,3,3) and a second graph with (\Delta,\mathrm{RTD},\mathrm{VCD}) -triple (3,3,4) . 3.2 Connected Sets as Concepts For a connected graph G , let \ell(G) denote the number of leaves of a maximum-leaf spanning tree of G . For a graph G with connected components G_{1},\ldots,G_{r} , we define \ell(G)=\max_{i=1,\ldots,r}\ell(G_{i})\kern 5.0pt. (8) The following observations are rather obvious. Remark 3.6 . Suppose that G=(V,E) is a graph with components G_{i}=(V_{i},E_{i}) for i=1,\ldots,r where r\geq 2 . Then {\mathcal{C}}_{con}(G)=\bigcup_{i=1}^{r}{\mathcal{C}}_{con}(G_{i}) (9) and the domains V_{1},\ldots,V_{r} of {\mathcal{C}}_{con}(G_{1}),\ldots,{\mathcal{C}}_{con}(G_{r}) are pairwise disjoint. Moreover \displaystyle\mathrm{VCD}({\mathcal{C}}_{con}(G)) \displaystyle= \displaystyle\max_{i=1,\ldots,r}\mathrm{VCD}({\mathcal{C}}_{con}(G_{i})) (10) \displaystyle\max_{i=1,\ldots,r}\mathrm{RTD}({\mathcal{C}}_{con}(G_{i})) \displaystyle\leq \displaystyle\mathrm{RTD}({\mathcal{C}}_{con}(G))\leq\max_{i=1,\ldots,r}\mathrm{RTD}({\mathcal{C}}_{con}(G_{i}))\kern 5.0pt. (11) Proof. Equation ( 9 ) simply holds because a set X\in{\mathcal{C}}_{con}(G) cannot have a nonempty intersection with two or more components of G . Then ( 10 ) and ( 11 ) are a direct consequence of the corresponding equation resp. inequalities in ( 4 ). ∎ The following observations in Remark 3.7 and in Lemma 3.8 are quite obvious: Remark 3.7 . 1. For any graph G and any subgraph G^{\prime}\leq G : {\mathcal{C}}_{con}(G^{\prime})\subseteq{\mathcal{C}}_{con}(G) . 2. For any tree T , \ell(T) equals the number of leaves in T . 3. Let T^{\prime} be a connected subgraph of a tree T . Then T^{\prime} is a tree itself and \ell(T^{\prime})\leq\ell(T) . Moreover any connected subgraph of T which contains all leaves of T^{\prime} must necessarily contain all vertices of T^{\prime} . Lemma 3.8 . For any connected graph G , the following hold: 1. For any X\in{\mathcal{C}}_{con}(G) , there exists a spanning tree for \langle N_{G}(X)\rangle_{G} which has the vertices in N_{G}^{o}(X) among its leaves. 2. There exists a set X\in{\mathcal{C}}_{con}(G) such that |N_{G}^{o}(X)|=\ell(G) . 3. Any tree T\leq G with k leaves can be extended to a spanning tree T^{*} of G with at least k leaves. Moreover, if k=\ell(G) , then the extension T^{*} of T can be chosen such that the following holds: (a) T^{*} consists of T and additional paths starting at the leaves of T . (b) If there exists an interior vertex u of T such that each pair of distinct leaves in T can be connected by a path in G which does neither contain u nor any other leaf in T , then each pair of distinct leaves in T^{*} can be connected by a path in G which does neither contain u nor any other leaf in T^{*} . Proof. 1. The desired spanning tree T for \langle N_{G}(X)\rangle_{G} can be built as follows. Initialize T as an (arbitrarily chosen) spanning tree for \langle X\rangle_{G} . Then, for all y\in N_{G}^{o}(X) , do the following: pick a vertex x\in X which is adjacent to y and insert the edge (x,y) into T (so that y becomes a new leaf). 2. A suitable set X is the set of interior vertices of a maximum-leaf spanning tree T for G (so that N_{G}^{o}(X) is the set of T ’s leaves). 3. Suppose that T\leq G is a tree with k leaves. If T is not a spanning tree, then there exists an edge e that connects a vertex v in T with a vertex v^{\prime} not in T . Extend T by adding edge e and let T^{\prime} denote the new tree. The new vertex v^{\prime} is a leaf of T^{\prime} . Moreover, each leaf in T , with the possible exception of v , is still a leaf in T^{\prime} . Hence T^{\prime} has k or k+1 leaves. We max proceed in this manner until the iteratively extended tree is a spanning tree T^{*} of G . Suppose now that k=\ell(G) . Then T^{\prime} , consisting of T and the additional edge \{v,v^{\prime}\} , has exactly k leaves. It necessarily follows that v is a leaf in T but not a leaf in T^{\prime} . Using this argument iteratively, we see that the final spanning tree T^{*} consists of T and additional paths that start at the leaves of T . Finally suppose that there exists an interior vertex u of T such that each pair v,w of distinct leaves in T can be connected by a path P_{v,w} in G which does neither contain u nor any other leaf in T . Consider a pair v^{\prime},w^{\prime} of distinct leaves in T^{*} . Let v,w be the corresponding pair of leaves in T (such that T^{*} contains a path P_{v^{\prime},v} from v^{\prime} to v and another path P_{w,w^{\prime}} from w to w^{\prime} ). Then the composition of the paths P_{v^{\prime},v},P_{v,w},P_{w,w^{\prime}} is a path in G that connects v^{\prime} and w^{\prime} and does neither contain u nor any other leaf in T^{*} . ∎ As a direct consequence of Lemma 3.8 , we get the following result: Corollary 3.9 . For any connected graph G , the parameter \ell(G) coincides with the largest number k such that there exists a tree T\leq G with k leaves. Moreover it also coincides with the size of the largest open neighborhood of some set in {\mathcal{C}}_{con}(G) . Lemma 3.10 ( [ 7 ] ) . For any tree T : \mathrm{VCD}({\mathcal{C}}_{con}(T))=\ell(T) . Theorem 3.11 ( [ 7 ] ) . For any connected graph G : \ell(G)\leq\mathrm{VCD}({\mathcal{C}}_{con}(G))\leq\ell(G)+1 . Corollary 3.12 . For any graph G : \ell(G)\leq\mathrm{VCD}({\mathcal{C}}_{con}(G))\leq\ell(G)+1 . Proof. This is a direct consequence of Theorem 3.11 in combination with the equations ( 8 ) and ( 1 ). The application of ( 1 ) is justified by the first part of Remark 3.6 . ∎ Similar results hold with RTD at the place of VCD: Theorem 3.13 . 1. For any tree T : \mathrm{RTD}({\mathcal{C}}_{con}(T))=\ell(T) . 2. For any connected graph G : \mathrm{RTD}({\mathcal{C}}_{con}(G))\geq\ell(G) . 3. For any graph G : \ell(G)\leq\mathrm{RTD}({\mathcal{C}}_{con}(G))\leq\ell(G)+1 . Proof. 1. We first show that \ell(T) bounds \mathrm{RTD}({\mathcal{C}}_{con}(T)) from below. Let X_{0} be the set of interior vertices of T and let L_{0} be the set of its leaves. Consider the subclass {\mathcal{C}}_{0}=\{X_{0}\cup L:\ L\subseteq L_{0}\} of {\mathcal{C}}_{con}(G) . The instances in X_{0} or outside X_{0}\cup L_{0} do not distinguish between the concepts in {\mathcal{C}}_{0} . But {\mathcal{C}}_{0} restricted to the subdomain L_{0} equals 2^{L_{0}} . Hence \mathrm{RTD}({\mathcal{C}}_{con}(T))\geq\mathrm{TD}_{min}({\mathcal{C}}_{0})=|L_{0}|=\ell(T)\kern 5.0pt. We next show that \ell(T) bounds \mathrm{RTD}({\mathcal{C}}_{con}(T))=\mathrm{PBTD}({\mathcal{C}}_{con}(T)) from above. A nonempty concept in {\mathcal{C}}_{con}(T) is a nonempty connected subset X of the vertices of T so that T^{\prime}:=\langle X\rangle_{T} is a connected subgraph of T . The third assertion in Remark 3.7 implies that T^{\prime} is a tree itself. Moreover \ell(T^{\prime})\leq\ell(T) and X is the unique smallest concept in {\mathcal{C}}_{con}(T) that contains all leaves of T^{\prime} . Hence X can be taught by having subset-preferences and by presenting all leaves of T^{\prime} as positive examples. Hence X is taught by presenting \ell(T^{\prime})\leq\ell(T) examples. Thanks to subset-preferences, the empty set is successfully taught even if its teaching set is empty. 2. Fix a maximum-leaf spanning tree T of G . The first assertion in Remark 3.7 combined with the (already proven) first assertion of this theorem implies that \mathrm{RTD}({\mathcal{C}}_{con}(G))\geq\mathrm{RTD}({\mathcal{C}}_{con}(T))=\ell(T)=\ell(G)\kern 5.0pt. 3. Let G_{1},\ldots,G_{r} be the components of G . Pick an index i^{*}\in[r] that is a maximizer of \mathrm{RTD}({\mathcal{C}}_{con}(G_{i})) . Then \mathrm{RTD}({\mathcal{C}}_{con}(G))\stackrel{{\scriptstyle(\ref{eq:components-rtd})}}{{\geq}}\max_{i=1,\ldots,k}\mathrm{RTD}({\mathcal{C}}_{con}(G_{i}))\geq\max_{i=1,\ldots,k}\ell(G_{i})=\ell(G)\kern 5.0pt. We finally show that \ell(G)+1 bounds \mathrm{RTD}({\mathcal{C}}_{con}(G))=\mathrm{PBTD}({\mathcal{C}}_{con}(G)) from above. Let’s have superset-preferences on the concept class {\mathcal{C}}_{con}(G) . Fix a concept X\in{\mathcal{C}}_{con}(G) . Teach X by presenting an (arbitrarily chosen) element of X as a positive example and all elements in N_{G}^{o}(X) as negative examples. Since N_{G}^{o}(X) separates the vertices in X from all vertices outside N_{G}(x) , the resulting version space consists of the set X and all its subsets. Thanks to superset-preferences, X is the unique most preferred concept in the version space. The size of our teaching set for X equals 1+|N_{G}^{o}(X)| . It suffices to show that |N_{G}^{o}(X)|\leq\ell(G) . There is a unique index k\in[r] such that X\in{\mathcal{C}}_{con}(G_{k}) . Clearly N_{G}^{o}(X)=N_{G_{k}}^{o}(X) . We know from Corollary 3.9 that |N_{G_{k}}^{o}(X)|\leq\ell(G_{k}) . Clearly \ell(G_{k})\leq\ell(G) . ∎ The following result characterizes the graphs G with the property that \mathrm{VCD}({\mathcal{C}}_{con}(G))=\ell(G)+1 . A similar characterization is already contained in [ 7 ] . Lemma 3.14 . For any connected graph G=(V,E) , the following assertions are equivalent: 1. There exists a maximum-leaf spanning tree T^{*} of G and and an interior vertex u of T^{*} such that each pair of leaves in T^{*} can be connected by a path in G which does neither contain u nor any other leaf in T^{*} . 2. There exists a tree T\leq G with \ell(G) leaves and with an interior vertex u such that each pair of leaves in T can be connected by a path in G which does neither contain u nor any other leaf in T . 3. \mathrm{VCD}({\mathcal{C}}_{con}(G))=\ell(G)+1 . Proof. The first assertion clearly implies the second-one. An inspection of the third assertion in Lemma 3.8 reveals that the second assertion also implies the first-one. We next show that the second assertion implies the third-one. This implication is the special case k=\ell(G) of the following more general result: Claim: Suppose that there exists a tree T\leq G with k leaves and with an interior vertex u such that each pair of leaves in T can be connected by a path in G that does neither contain u nor any other leaf in T . Then \mathrm{VCD}({\mathcal{C}}_{con}(G))\geq k+1 . Proof of the Claim: Let L be the set of leaves in T . It suffices to show that the set L\cup\{u\} is shattered by {\mathcal{C}}_{con}(G) . More concretely, if S\subseteq L is an arbitrary but fixed subset of L , we must find connected sets X,X^{\prime}\subseteq V such that X\cap(L\cup\{u\})=S\ \mbox{ and }\ X^{\prime}\cap(L\cup\{u\})=S\cup\{u\}\kern 5.0pt. The set X^{\prime} can be simply chosen as the set of all vertices in T except for the leaves in L\setminus S . If S=\emptyset , we may set X:=\emptyset . Suppose now that S is a nonempty subset of L . Choose X now as the vertex set of the subgraph of G consisting of all paths P_{v,w} where v,w are (not necessarily distinct) vertices in S and P_{v,w} is a path connecting v and w but excluding the vertex u as well as any vertex in L\setminus\{v,w\} . We conclude from this discussion that the set L\cup\{u\} is indeed shattered by {\mathcal{C}}_{con}(G) so that \mathrm{VCD}({\mathcal{C}}_{con}(G))\geq k)+1 . In case of k=\ell(G) , we obtain \mathrm{VCD}({\mathcal{C}}_{con}(G))=\ell(G)+1 . The proof of the lemma can be accomplished by showing that the third assertion implies the second-one. Set \ell=\ell(G) and consider \ell+1 vertices v_{0},v_{1},\ldots,v_{\ell} which are shattered by {\mathcal{C}}_{con}(G) . Since these vertices are shattered, there must exist paths P_{i} for i=1,\ldots,k which connect v_{i} and v_{0} but exclude any v_{j} with j different from either 0 or i . These paths can be used in the obvious way to build a tree T with root v_{0} and leaves v_{1},\ldots,v_{\ell} . Again by the shattering argument, it follows that each pair of leaves in T can be connected by a path in G which does neither contain v_{0} nor any other leaf in T . Hence the second assertion is valid, which completes the proof of the lemma. ∎ Definition 3.15 (Opponent of a Connected Set) . Suppose that G=(V,E) is a graph and X\in{\mathcal{C}}_{con}(G)\setminus\{\emptyset\} . Then Y\in{\mathcal{C}}_{con}(G) is called a maximal opponent of X if Y spans a connected component in \langle V\setminus N_{G}(X)\rangle_{G} . Any connected subset of a maximal opponent of X is called an opponent of X . Lemma 3.16 . Let G be a graph, let X\in{\mathcal{C}}_{con}(G)\setminus\{\emptyset\} , and let Y be a maximal opponent of X . Then N_{G}^{o}(Y)\subseteq N_{G}^{o}(X) . Moreover, if X and Y are not part of the same component of G , then N_{G}^{o}(Y)=\emptyset . Proof. Let G_{i}=(V_{i},E_{i}) with i=1,\ldots,r be the components of G . There are unique indices j,k\in[r] such that X\subseteq V_{j} and Y\in V_{k} . If k\neq j then, since Y is a maximal opponent, we must have Y=V_{k} so that N_{G}^{o}(Y)=\emptyset . Suppose now that k=j . Since N_{G}^{o}(X) separates X from Y , we have N_{G}^{o}(Y)\cap X=\emptyset . Since Y spans a complete connected component in \langle V\setminus N_{G}(X)\rangle_{G} and V\subseteq V_{k} , the set Y must span a complete connected component in \langle V_{k}\setminus N_{G}(X)\rangle_{G} . Thus N_{G}^{o}(Y)\cap(V_{k}\setminus N_{G}(X))=\emptyset . Hence N_{G}^{o}(Y)\subseteq N_{G}^{o}(X) . ∎ Theorem 3.17 . For any graph G : \mathrm{RTD}({\mathcal{C}}_{con}(G))\leq\mathrm{VCD}({\mathcal{C}}_{con}(G)) . Proof. If \mathrm{VCD}({\mathcal{C}}_{con}(G))=\ell(G)+1 , then \mathrm{RTD}({\mathcal{C}}_{con}(G))\leq\mathrm{VCD}({\mathcal{C}}_{con}(G)) . This is simply because \ell(G)+1 , as we know already, is a general upper bound on \mathrm{RTD}({\mathcal{C}}_{con}(G)) . We may therefore assume that \mathrm{VCD}({\mathcal{C}}_{con}(G))=\ell(G) . Consider the following commitments in the preference-based setting: 1. We have superset-preferences on the concept class {\mathcal{C}}_{con}(G) . 2. If X\neq Y\in{\mathcal{C}}_{con}(G) such that, first, neither X\subset Y nor Y\subset X and, second, |N_{G}^{o}(X)|>|N_{G}^{o}(Y)| , then X is preferred over Y . In other words, among incomparable connected sets, the ones with the largest open neighborhood are preferred most. 3. A concept X\in{\mathcal{C}}_{con}(G) with |N_{G}^{o}(X)|<\ell(G) is taught be presenting the vertices in N_{G}^{o}(X) as negative examples and an arbitrarily chosen vertex u\in X as a positive example. 4. A concept X\in{\mathcal{C}}_{con}(G) with |N_{G}^{o}(X)|=\ell(G) is taught be presenting the vertices in N_{G}^{o}(X) as negative examples. It is obvious that all teaching sets are of size at most \ell(G) . It is furthermore obvious that, thanks to superset-preferences, a teaching set N_{G}^{o}(X) for X augmented by a single instance in X makes X the unique most preferred concept in the version space. Consider now a concept X\in{\mathcal{C}}_{con}(G) with \ell(G) vertices in its open neighborhood. Thanks to superset-preferences, the most preferred concepts in the version space are X and its maximal opponents. Recall from Lemma 3.16 that the open neighborhood of any maximal opponent Y of X is a subset of N_{G}^{o}(X) . Claim: For each maximal opponent Y of X , we have N_{G}^{o}(Y)\subset N_{G}^{o}(X) . Proof of the Claim: Let G_{i}=(V_{i},E_{i}) with i=1,\ldots,r be the components of G . Assume for sake of contradiction that there exists a maximal opponent Y of X such that N_{G}^{o}(Y)=N_{G}^{o}(X) . Then X and Y must belong to the same component, say X,Y\subseteq V_{k} . According to Lemma 3.8 there exists a tree T_{X}\leq G_{k} that is a spanning tree of \langle N_{G_{k}}(X)\rangle_{G_{k}} and has the \ell(G)=\ell(G_{k}) vertices of N_{G}^{o}(X)=N_{G_{k}}^{o}(X) among its leaves (so that there can be no other leaves in T_{X} ). Let T_{Y} denote the corresponding tree for Y . Since N_{G_{k}}^{o}(X) separates X from Y , the trees T_{X} and T_{Y} have no interior vertex in common. Choose two arbitrary leaves z_{1} and z_{2} of T_{X} . Then the path from z_{1} to z_{2} in T_{Y} does neither contain an interior vertex of T_{Y} nor another leaf of T_{X} . We may conclude from Lemma 3.14 that \mathrm{VCD}({\mathcal{C}}_{con}(G_{k}))=\ell(G_{k})+1=\ell(G)+1 . Since \mathrm{VCD}({\mathcal{C}}_{con}(G))\geq\mathrm{VCD}({\mathcal{C}}_{con}(G_{k})) , this is in contradiction with our initial assumption that \mathrm{VCD}({\mathcal{C}}_{con}(G))\leq\ell(G) . Since N_{G}^{o}(X) separates X from Y , we have X\cap Y=\emptyset . This implies that none of X and Y is a subset of the other-one. Thanks to N_{G}^{o}(Y)\subset N_{G}^{o}(X) , the concept X is preferred over Y . Since this reasoning applies to each maximal opponent of X , we may conclude that X is the unique most preferred concept in the version space induced by the (negative) examples in N_{G}^{o}(X) . ∎ The preceding results imply that, for any graph G , we have that \ell(G)\leq\mathrm{RTD}({\mathcal{C}}_{con}(G))\leq\mathrm{VCD}({\mathcal{C}}_{con}(G))\leq\ell(G)+1\kern 5.0pt. Exactly one of these inequalities must be strict. The examples below (including the graphs K_{n} , P_{n} and C_{4} that we already discussed in connection with (\Delta,\mathrm{RTD},\mathrm{VCD}) -triples) demonstrate that the strict inequality can be in any of the three possible positions. Examples 3.18 . The (\ell,\mathrm{RTD},\mathrm{VCD}) -triple of a connected graph G is defined as the triple (\ell(G),\mathrm{RTD}({\mathcal{C}}_{con}(G)),\mathrm{VCD}({\mathcal{C}}_{con}(G)))\kern 5.0pt. Note that \ell(K_{n})=n-1=\Delta(K_{n}) and {\mathcal{C}}_{con}(K_{n})=2^{[n]}\setminus\{\emptyset\}={\mathcal{C}}_{star}(K_{n}) . Therefore the (\ell,\mathrm{RTD},\mathrm{VCD}) -triple of K_{n} equals the (\Delta,\mathrm{RTD},\mathrm{VCD}) -triple of K_{n} and, as we know already, the latter equals (n-1,n-1,n-1) . Consider now paths P_{n} with n\geq 2 . Clearly 9 9 9 The two endpoints are the leaves. \ell(P_{n})=2 , {\mathcal{C}}_{con}(P_{n})=\{[i:j]:1\leq i\leq j\leq n\} and \mathrm{VCD}({\mathcal{C}}_{con}(P_{n}))=2 . It follows that \mathrm{RTD}({\mathcal{C}}_{con}(P_{n}))=2 as well. Hence the (\ell,\mathrm{RTD},\mathrm{VCD}) -triple of P_{n} equals (2,2,2) . We denote the vertices of C_{4} again by a,b,c,d (in this circular order). Clearly \ell(C_{4})=2 , and {\mathcal{C}}_{con}(C_{4})=2^{\{a,b,c,d\}}\setminus\{\emptyset,\{a,c\},\{b,d\}\} , which is a concept class of size 16-3=13 . The VC-dimension of this class is at most 3 . From 13>11=1+4+\binom{4}{2} and ( 5 ), we infer that its RT-dimension is at least 3 . We may therefore conclude that the (\ell,\mathrm{VCD},\mathrm{RTD}) -triple of C_{4} equals (2,3,3) . Consider finally the graph G that is shown in Fig 2 . It consists of a complete binary tree of height 2 (root a , interior vertices a,b,c , leaves d,e,f,g ) plus four additional edges (shown in red color) which connect \{d,e\} completely bipartitely with \{f,g\} . It is easy to see that any pair of leaves can be connected in G by a path which contains neither the root a nor another leaf. For instance, the path d,b,e connects the leaves d and e , and the leaves d and f are directly connected by one of the 4 additional edges. We may therefore apply the claim within the proof of Lemma 3.14 and conclude that the set \{a,d,e,f,g\} is shattered so that \mathrm{VCD}({\mathcal{C}}_{con}(G))\geq 5 . We claim that \mathrm{RTD}({\mathcal{C}}_{con}(G))\leq 4 . This would directly imply that the (\ell,\mathrm{RTD},\mathrm{VCD}) -triple equals (4,4,5) . In order to prove the claim, we will show show that each connected set in G has a teaching set of size at most 4 with respect to the simple preference relation of preferring sets of larger size over sets of smaller size: • For a connected set X of size 3 or more, we can simply present all vertices outside X (at most 4 many) as negative examples. • For singleton sets \{x\} , we can present x as a positive example and all vertices adjacent to x as negative examples. Since \Delta(G)=3 , the size of this teaching set is bounded by 4 . • The connected sets of size 2 (the only remaining case) are equal to the edges of G . By a straightforward symmetry argument, it suffices to consider the edges \{a,b\} , \{b,d\} and \{d,f\} . We will choose the respective open neighborhood as the teaching set (containing negative examples only). The following table shows for each of these edges the respective open neighborhood (= teaching set) and the respective set of opponents: \begin{array}[]{||c|c|c||}\hline\cr\mbox{edge}&\mbox{open neighborhood}&opponent(s)\\ \hline\cr\hline\cr\{a,b\}&\{c,d,e\}&\{f\},\{g\}\\ \hline\cr\{b,d\}&\{a,e,f,g\}&\{c\}\\ \hline\cr\{d,f\}&\{b,c,e,g\}&\{a\}\\ \hline\cr\end{array} As can be seen from this table, each of the three considered edges has only (one or two) opponents of size 1 . Since we prefer sets of larger size over sets of smaller size, each of the three edges will be preferred over its opponent(s) and over its connected proper (singleton) subsets. We conclude from this discussion that \mathrm{RTD}({\mathcal{C}}_{con}(G))\leq 4 . a b c d e f g Figure 2: A graph G with \mathrm{RTD}({\mathcal{C}}_{con}(G))=4 and \mathrm{VCD}({\mathcal{C}}_{con}(G))=5 . Directions of Future Research. Clarify whether the RTD-conjecture can be confirmed for concept classes induced by graphs in a way where concepts represent paths, cycles, cliques or other subgraphs of the given graph G . Explore whether the Sample-Compression conjecture can be confirmed for graph-induced concept classes.