<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Towards Meta-learning over Data Streams (Abstract)</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jan N. van Rijn</string-name>
          <email>j.n.van.rijn@liacs.leidenuniv.nl</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Joaquin Vanschoren</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Eindhoven University of Technology</institution>
          ,
          <addr-line>Eindhoven</addr-line>
          ,
          <country country="NL">Netherlands</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Leiden University</institution>
          ,
          <addr-line>Leiden</addr-line>
          ,
          <country country="NL">Netherlands</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>University of Waikato</institution>
          ,
          <addr-line>Hamilton, New</addr-line>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>University of Waikato</institution>
          ,
          <addr-line>Hamilton</addr-line>
          ,
          <country country="NZ">New Zealand</country>
        </aff>
      </contrib-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Modern society produces vast streams of data. Many stream
mining algorithms have been developed to capture general trends in these
streams, and make predictions for future observations, but relatively
little is known about which algorithms perform particularly well on
which kinds of data. Moreover, it is possible that the
characteristics of the data change over time, and thus that a different algorithm
should be recommended at various points in time. Figure 1 illustrates
this. As such, we are dealing with the Algorithm Selection
Problem [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] in a data stream setting. Based on measurable meta-features
from a window of observations from a data stream, a meta-algorithm
is built that predicts the best classifier for the next window. Our
results show that this meta-algorithm is competitive with
state-of-theart data streaming ensembles, such as OzaBag [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], OzaBoost [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]
and Leveraged Bagging [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>
        We first construct a meta-dataset consisting of 49 data streams,
generated using various data stream generators from the MOA
workbench [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], including the Rotating Hyperplane Generator and Random
RBF Generator. In addition, we use a newly created Bayesian
Network Generator, which takes a dataset as input, preferably consisting
of real-world data and a reasonable amount of features, and builds
a Bayesian Network using this dataset as input [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. The Bayesian
Network is then used to generate a data stream, determining each
feature of each instance using the probability tables. These streams
all contain 1;000;000 instances. We also include commonly used
large datasets, such as Covertype, Pokerhand and the 20 Newsgroups
dataset.
      </p>
      <p>
        We run three types of classifiers over these datasets [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. These are
instance incremental classifiers, which learn from each example as
it arrives, batch incremental classifiers, which learn from batches of
examples, and ensembles of classifiers. The score of these
classifiers is recorded at each window of 1;000 instances. Furthermore,
we calculate various meta-features for all of these intervals, most
of which are described in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. These meta-features are typically
categorised as one of the following: simple (number of instances,
number of attributes, number of classes), statistical (mean standard
deviation of attributes, mean kurtosis of attributes, mean skewness
of attributes), information theoretic (class entropy, mean entropy of
attributes, noise-signal ratio) or landmarkers [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] (performance of
a simple classifier on the data). We also introduce stream-specific
meta-features based on change detection, which count the number of
changes detected by the ADWIN [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and DDM [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] change detectors.
      </p>
      <p>
        The results of all experiments, as well as the generated datasets,
classifiers used, and the meta-dataset itself, are available on
OpenML [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ].
      </p>
      <p>Hoef ding Tree
Naive Bayes
SPegasos
k-NN
40</p>
      <p>
        We now aim to determine whether this meta-knowledge can
improve the predictive performance of data stream algorithms. We run a
sliding window of 1;000 examples over each of the base data streams,
and train a meta-algorithm using the meta-features and classifier
scores for that window to predict which classifier should be used in
the next window. The meta-algorithm is a Random Forest using
100 trees and 10 attributes, as implemented in Weka [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. We
distinguish between meta-level accuracy and base-level accuracy.
Metalevel accuracy indicates how the meta-algorithm performs on the
meta-learning task of predicting the best algorithm for a given
window; base-level accuracy indicates how an ensemble of these base
classifiers would actually perform on the base data stream, using the
meta-algorithm to decide which base classifier to use for each
window. The choice of meta-algorithm and the window size were
determined experimentally.
      </p>
      <p>
        Table 1 shows the results obtained from this experiment. We
evaluate how well the meta-learning selects between 13 base stream
classifiers, listed in Table 2. All classifiers are run with the default
parameter settings as selected in MOA [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. As described above, we
can distinguish between three different types of stream mining
algorithms, and we evaluate how the meta-learning approach performs
within these subgroups as well.
      </p>
      <p>Column A indicates the number of classifiers of each type,
also indicated in Table 2. Column “Majority” denotes which
classifier is the overall best in each group; here HT is short
for Hoeffding Trees, SMO stands for a Support Vector
Machine with a Polynomial Kernel and LB-HT means
Leveraged Bagging Hoeffding Trees. The column
“Percentage” shows the percentage of 1;000-example windows where
this overall best algorithm wins. Since the meta-learner has to predict
which base classifier to use in each window, this value represents the
default accuracy of the meta-learning task.</p>
      <p>Next, RFmeta shows the accuracy of the Random Forest
meta80:78
68:17
56:20
50:92</p>
      <p>ZeroRbase
Parameters
84:59
76:02
86:12
86:30
classifier in predicting the best classifier for a given window. The
last three columns show the accuracy that can be obtained on the
base data stream using three different strategies. Column ZeroRbase
shows the accuracy obtained by always selecting the best overall base
classifier. For instance, the value in the “Ensembles” row shows the
accuracy of an ensemble of Leveraged Bagged Hoeffding
Trees, averaged over all data streams. RFbase shows the accuracy
obtained when the Random Forest meta-classifier predicts the
base classifier to be used in each window, again averaged over all
data streams. Finally, column MAXbase shows the accuracy obtained
if the meta-classifier always correctly predicted the best classifier for
each window. Intuitively, RFbase shows the performance of the
metaclassifier, ZeroRbase can be used as a baseline, and MAXbase shows
the maximum score that the meta-classifier could have obtained.</p>
      <p>Determining the best instance incremental classifier yields good
results. In more than 80% of the cases, the correct classifier is
predicted. This also translates into good base-level performance.
An ensemble of our meta-classifier and only the 5 instance
incremental classifiers, which is markedly cheaper to train, yields
a score of 84:07%, which not only outperforms the best
overall instance incremental classifier, a Hoeffding Tree with
80:98% accuracy, but is also comparable to the best overall base
classifier, a Leveraged Bagged Hoeffding Trees
ensemble (with 10 base-classifiers), which scores 84:27%. Moreover,
it also outperforms the other ensembles, OzaBag (82:58%) and
OzaBoost (80:55%). The Random Forest meta-learner has
more difficulty selecting among all 13 base-classifiers, which shows
room for progress, but even then it performs slightly better than the
overall best base classifier. Furthermore, the RFbase performances
are in many cases close to the maximal possible value, MAXbase. This
indicates that the main challenge is to find ways to improve this limit.
Better results are likely to be obtained using parameter optimisation,
and by using a larger set of algorithms.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>A.</given-names>
            <surname>Bifet</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.</given-names>
            <surname>Gavalda</surname>
          </string-name>
          .
          <article-title>Learning from Time-Changing Data with Adaptive Windowing</article-title>
          .
          <source>In SDM</source>
          , volume
          <volume>7</volume>
          , pages
          <fpage>139</fpage>
          -
          <lpage>148</lpage>
          . SIAM,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            <surname>Bifet</surname>
          </string-name>
          , G. Holmes,
          <string-name>
            <given-names>R.</given-names>
            <surname>Kirkby</surname>
          </string-name>
          , and
          <string-name>
            <given-names>B.</given-names>
            <surname>Pfahringer</surname>
          </string-name>
          . MOA:
          <article-title>Massive Online Analysis</article-title>
          .
          <source>J. Mach. Learn. Res.</source>
          ,
          <volume>11</volume>
          :
          <fpage>1601</fpage>
          -
          <lpage>1604</lpage>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>A.</given-names>
            <surname>Bifet</surname>
          </string-name>
          , G. Holmes, and
          <string-name>
            <given-names>B.</given-names>
            <surname>Pfahringer</surname>
          </string-name>
          .
          <article-title>Leveraging Bagging for Evolving Data Streams</article-title>
          .
          <source>In Machine Learning and Knowledge Discovery in Databases</source>
          , volume
          <volume>6321</volume>
          of Lecture Notes in Computer Science, pages
          <fpage>135</fpage>
          -
          <lpage>150</lpage>
          . Springer,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>J.</given-names>
            <surname>Gama</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Medas</surname>
          </string-name>
          , G. Castillo, and
          <string-name>
            <given-names>P.</given-names>
            <surname>Rodrigues</surname>
          </string-name>
          .
          <article-title>Learning with Drift Detection</article-title>
          .
          <source>In SBIA Brazilian Symposium on Artificial Intelligence</source>
          , volume
          <volume>3171</volume>
          of Lecture Notes in Computer Science, pages
          <fpage>286</fpage>
          -
          <lpage>295</lpage>
          . Springer,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>M.</given-names>
            <surname>Hall</surname>
          </string-name>
          , E. Frank,
          <string-name>
            <given-names>G.</given-names>
            <surname>Holmes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Pfahringer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Reutemann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>and I. H.</given-names>
            <surname>Witten</surname>
          </string-name>
          .
          <source>The WEKA Data Mining Software: An Update. ACM SIGKDD explorations newsletter</source>
          ,
          <volume>11</volume>
          (
          <issue>1</issue>
          ):
          <fpage>10</fpage>
          -
          <lpage>18</lpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>Nikunj</surname>
            <given-names>C</given-names>
          </string-name>
          <string-name>
            <surname>Oza</surname>
          </string-name>
          .
          <article-title>Online Bagging and Boosting</article-title>
          .
          <source>In Systems, man and cybernetics</source>
          , 2005 IEEE international conference on, volume
          <volume>3</volume>
          , pages
          <fpage>2340</fpage>
          -
          <lpage>2345</lpage>
          . IEEE,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Bernhard</given-names>
            <surname>Pfahringer</surname>
          </string-name>
          , Hilan Bensusan, and
          <string-name>
            <surname>Christophe</surname>
          </string-name>
          Giraud-Carrier.
          <article-title>Tell me who can learn you and I can tell you who you are: Landmarking various learning algorithms</article-title>
          .
          <source>In Proceedings of the 17th international conference on machine learning</source>
          , pages
          <fpage>743</fpage>
          -
          <lpage>750</lpage>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>J.</given-names>
            <surname>Read</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bifet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Pfahringer</surname>
          </string-name>
          , and
          <string-name>
            <given-names>G.</given-names>
            <surname>Holmes</surname>
          </string-name>
          .
          <article-title>Batch-Incremental versus Instance-Incremental Learning in Dynamic and Evolving Data</article-title>
          .
          <source>In Advances in Intelligent Data Analysis XI</source>
          , pages
          <fpage>313</fpage>
          -
          <lpage>323</lpage>
          . Springer,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J. R.</given-names>
            <surname>Rice</surname>
          </string-name>
          .
          <source>The Algorithm Selection Problem. Advances in Computers</source>
          ,
          <volume>15</volume>
          :
          <fpage>65118</fpage>
          ,
          <year>1976</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>Q.</given-names>
            <surname>Sun</surname>
          </string-name>
          and
          <string-name>
            <given-names>B.</given-names>
            <surname>Pfahringer</surname>
          </string-name>
          .
          <article-title>Pairwise meta-rules for better meta-learningbased algorithm ranking</article-title>
          .
          <source>Machine learning</source>
          ,
          <volume>93</volume>
          (
          <issue>1</issue>
          ):
          <fpage>141</fpage>
          -
          <lpage>161</lpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <surname>J. N. van Rijn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Bischl</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Torgo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Gao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Umaashankar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Fischer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Winter</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Wiswedel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. R.</given-names>
            <surname>Berthold</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Vanschoren. OpenML: A Collaborative Science</surname>
          </string-name>
          <article-title>Platform</article-title>
          .
          <source>In Machine Learning and Knowledge Discovery in Databases</source>
          , pages
          <fpage>645</fpage>
          -
          <lpage>649</lpage>
          . Springer,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <surname>J. N. van Rijn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Holmes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Pfahringer</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Vanschoren</surname>
          </string-name>
          .
          <article-title>The Bayesian Network Generator: A data stream generator</article-title>
          .
          <source>Technical Report 03/2014</source>
          , Computer Science Department, University of Waikato,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>