<!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>E ect of Metalearning on Feature Selection Employment</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Silvia Nunes das D</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Carlos Soares</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Duncan Ruiz</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>INESC TEC/Faculdade de Engenharia, Universidade do Porto</institution>
          ,
          <addr-line>Porto</addr-line>
          ,
          <country country="PT">Portugal</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Pontif cia Universidade Catolica do Rio Grande do Sul</institution>
          ,
          <addr-line>Porto Alegre</addr-line>
          ,
          <country country="BR">Brasil</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Feature Selection is important to improve learning performance, reduce computational complexity and decrease required storage. There are multiple methods for feature selection, with varying impact and computational cost. Therefore, choosing the right method for a given data set is important. In this paper, we analyze the advantages of metalearning for feature selection employment. This issue is relevant because a wrong decision may imply additional processing, when FS is unnecessarily applied, or in a loss of performance, when not used in a problem for which it is appropriate. Our results showed that, although there is an advantage in using metalearning, these gains are not yet su ciently relevant, which opens the way for new research to be carried out in the area.</p>
      </abstract>
      <kwd-group>
        <kwd>feature selection</kwd>
        <kwd>metalearning</kwd>
        <kwd>metalearning evaluation</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Feature selection (FS) is a widely employed technique for reducing dimensionality
[
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. It aims to select a subset of variables from the input data, that can e ciently
describe these data while reducing e ects from noise or irrelevant variables and
still provide good prediction results, as well as lower computational cost and better
model interpretability [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>
        Recent works have approached the problem of FS method selection under the
perspective of metalearning [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], showing interesting rst results and paving the way
for novel applications to be fully explored [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. These works are based
on the well-known no-free-lunch theorem [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] which assumes that there is no single
FS algorithm that is always the best for all problems. In order to prevent the data
miner to experiment with di erent methods using a trial and error approach, which
can be time consuming and costly especially with very large data sets, metalearning
is used for the automatic recommendation of the FS algorithm that is best suited
for a given problem.
      </p>
      <p>However, existing approaches on metalearning for FS method selection focus
their evaluation at the meta-level, e.g. whether it is possible to guess which is the
best FS method for a given data set. They ignore the magnitude of the gain/loss that
the method yields in terms of base-level performance (e.g., what is the di erence
in classi cation performance of applying a learning algorithm with and without the
selected FS method).</p>
      <p>Thus, the purpose of this study is to extend the evaluation of metalearning
approaches to FS method selection by taking into account the-base level performance.</p>
      <p>We address two research questions. First, we investigate whether metalearning is
useful for indicating when to use FS or not. The results show the advantages of
using metalearning when compared to baselines as random choice and choice based
on the majority class. In the second question, we analyze the gains in base-level
performance associated with the use of metalearning. In this experiment, the results
obtained by the metalearning strategy are very close to those obtained by an ideal
meta-model (oracle), although they are also close to the recommendation based on
the majority class.</p>
      <p>This paper is organized as follows: Section 2 discusses related work. Section
3 shows our experimental analysis and results obtained. Section 4 presents our
conclusions and future work.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>
        In the context of FS, the use of metalearning is relatively new and there are only a
few studies that o er signi cant advances towards solving it [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>
        Post et al. [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] presented a large scale experiment on the bene ts of using FS for
binary classi cation problems. They used 394 data sets, 12 classi cation algorithms
and 1 FS method in two experiments: the rst one investigates for which learning
algorithms FS improves predictive performance, and the second experiment applies
metalearning to recommend when to use FS for each learning algorithm. The rst
results pointed out the usefulness of FS for the di erent learning algorithms. In the
second experiment the focus was the evaluation of di erent sets of meta-features
under the behavior of metalearning strategy. The results show bene ts of the use
of metalearning, but the proposed strategy is not analyzed in terms of other
recommendation strategies neither at the meta-level nor at the base-level, where the
obtained performance gain is evaluated.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Metalearning for the Recommendation of Feature</title>
    </sec>
    <sec id="sec-4">
      <title>Selection Methods</title>
      <p>
        In this paper, we intend to increase the quality of the FS employment in classi cation
problems, extending the experiments carried out in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] in order to evaluate the
advantages of applying metalearning to decide when to employ FS, both at the
meta-level and at the base-level. We address two research questions:
1. Is metalearning useful for indicating when to use FS or not?
2. What are the gains in base-level performance associated with the use of
metalearning?
      </p>
      <p>The experimental setup is detailed below.
3.1</p>
      <sec id="sec-4-1">
        <title>Experimental Setup</title>
        <p>
          As discussed earlier, we extend the experiments carried out in [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], since it is the most
comprehensive study in the use of metalearning for FS method recommendation,
and also because it is the only one that uses metalearning in order to indicate
when to use FS. For this purpose, we used the experimental results of the
baselevel provided by the authors in the OpenML platform to evaluate the performance
gain of the proposed metalearning strategy. Further details about the data sets,
algorithms, and meta-features can be obtained from OpenML 1.
        </p>
        <p>Brie y, 394 data sets of binary classi cation problems were used, containing
between 10 to 200,000 examples. One FS method (CfS-SubsetEval, a correlation-based
method) and 12 machine learning algorithms (AdaBoost, Hoe dingTree, K-Nearest
Neighbor, Logistic, Multilayer Perceptron, J48, JRip, Naive Bayes, Random Forest,
REPTree, Stochastic Gradient Descent, Support Vector Machine) were applied to
these data sets, using 10-fold-cross-validation. For each pair data set/learning
algorithm the performance was evaluated with and without FS, based on the AUC
measure, given the imbalanced distribution of classes in the data sets. At the meta-level,
40 meta-features were extracted from each data set (simple, statistical,
informationtheoretic, landmarkers and FS landmarkers). Every instance in the meta-database
are two-fold cross validation runs on a algorithm, one run with FS and one run
without FS, and the meta-target is a label indicating whether the run with FS had
a better performance. As meta-learner was used the Random Forest algorithm (with
100 trees).</p>
        <p>In this work, we employ a typical leave-one-out cross-validation procedure
(LOOCV) to evaluate the quality of the recommendation made by the metalearning
strategy, both at the meta-level and at the base-level.
3.2</p>
      </sec>
      <sec id="sec-4-2">
        <title>Meta-level Evaluation</title>
        <p>For the rst question, we carried out a set of experiments with the goal of providing a
proof of concept in metalearning applied to FS recommendation. By testing whether
the use of metalearning increases the quality of the decision between to use FS
or not, we aim to show that using this strategy can avoid an ad hoc choice. We
compare it with four distinct baselines: i) alwaysFS - a strategy that recommends the
application of FS for all problems; ii) neverFS - a strategy that never recommends
the use of FS; iii) random - a strategy that randomly selects whether to use FS or
not; and iv) default - a strategy that selects the most frequent choice between using
FS or not (majority class) in the data sets considered, for each algorithm. Table 1
shows the results of the experiment in terms of performance measured by AUC.</p>
        <p>With these results, it is possible to see that metalearning shows a superior
performance for all the learning algorithms. In ROC curves an ideal result is one that
maximize the true positive rate while minimizing the false positive rate. As
expected, the strategies alwaysFS, neverFS and default obtained an average
performance, since they can not minimize the false positive rate. The random strategy has
a balance between the true positive rate and false positive rate, which also leads to
an average performance. Thus, metalearning stands out as being the best approach
for decision making about the use of FS.</p>
        <p>
          However, in a statistical validation we can see that, although there is a di erence
between the use of metalearning and the random strategy, this di erence is not
1 https://www.openml.org/s/15
statistically signi cant. In contrast, the di erence between using metalearning and
alwaysFS, neverFS and default is statistically relevant. These tests were carried out
using the methodology proposed by Demsar [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]: Friedman rank test with Nemenyi
test for post-hoc multiple comparisons, and presented in Figure 1. Recommendation
strategies are sorted by their average ranking (lower is better), and those connected
by a horizontal line are statistically equivalent.
        </p>
        <p>1</p>
        <p>CD
2
3
4</p>
        <p>5
metalearning
random
neverFS
alwaysFS
default</p>
        <p>= 0:05) of the experiments at the meta-level.
3.3</p>
      </sec>
      <sec id="sec-4-3">
        <title>Base-Level Evaluation</title>
        <p>In this experiment, our goal is to evaluate the performance gain obtained through
the use of metalearning for FS employment at base-level, i.e, directly on the
performance of the learning algorithms. For this, metalearning was applied over the 12
meta-databases and, for each data set, the recommendation to use FS or not in a
given data set was scored according to the performance obtained by the
corresponding class at the base-level, in terms of AUC. As baselines, we use two approaches:
i) default - a strategy that select the most frequent choice between using FS or not
(majority class); and ii) oracle - an ideal meta-model that always selects the best
option for each data set. Table 2 presents these results.</p>
        <p>Results show a small advantage in the average performance of metalearning
relative to the default strategy. Despite being small, the advantage is consistent
for all algorithms. In addition, the results also show a small di erence between the
performance of metalearning and the oracle, which shows a bene t in the application
of the latter strategy of recommendation. The Critical Di erence (CD) diagrams
generated in the base-level experiments is presented in Figure 2.</p>
        <p>oracle
metalearning</p>
        <p>CD
1
2
3
default</p>
        <p>This diagram re ects the results presented in Table 2, indicating that there
is no statistical di erence between metalearning and the default recommendation
(majority class) in terms of performance gain. In addition, we can also note that,
although the average performance of metalearning is close the oracle, statistical
analysis shows that this di erence is signi cant.</p>
        <p>
          However, when we take into account that the application of FS does not
significantly improve the performance of the learning algorithms for most data sets [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ],
we can evaluate the gains obtained by the metalearning for problems in which the
use of FS achieves greatest impact. Table 3 presents these results. For each learning
algorithm, we considered the amount of data sets for which the application of FS
get a gain above 5% in the nal result and the percentage of metalearning hits on
these signi cant sets.
        </p>
        <p>Figure 3 presents details of these results for the K-NN and SGD algorithms. Since
the instance-based algorithms are sensitive to the curse of dimensionality, it was
expected that FS would bring performance gains to the K-NN, which was con rmed
in the results. In general, the application of FS provided a performance increase
greater than 5% in 154 data sets (about 39%), and among these, metalearning
achieved a hit rate of 83.12%. In the case of the SGD algorithm, it was expected
that its performance would not be a ected by the number of features, so it did not
have great advantage in the FS application. However, the results show that about
18% of the data sets bene ted from the FS application, and that metalearning
obtained a 55.5% hit rate on these data.</p>
        <p>140
120
100
ts80
s60
e
a
tD40
a
20
0</p>
        <sec id="sec-4-3-1">
          <title>K-Nearest Neighbor</title>
          <p>Frequency
Hits
250
200
s150
tse
taa100
D
50
0</p>
        </sec>
        <sec id="sec-4-3-2">
          <title>Stochastic Gradient Descent</title>
          <p>Frequency
Hits
In this work we evaluate the use of metalearning to indicate when to employ feature
selection in conjunction with di erent classi cation algorithms. The results showed
that both at the meta-level and at the base-level, metalearning outperforms the
baselines analyzed, although in the statistical test the di erence is not always
signi cant. However, when we analyze the advantages of metalearning in the problems
where FS causes the greatest impact in terms of performance, we can observe good
results. Thus, suggestions for future works in this area indicate the possibility of
extending the analysis to include new FS methods, in order to better generalize the
results in relation to diversi ed inductive biases. In addition, we can develop new
meta-features more appropriate for the problem.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgments.</title>
      <p>This work is nanced by the ERDF European Regional Development Fund through
the Operational Programme for Competitiveness and Internationalisation -
COMPETE 2020 Programme within project POCI-01-0145-FEDER-006961, and by
National Funds through the FCT Fundac~ao para a Ci^encia e a Tecnologia (Portuguese
Foundation for Science and Technology) as part of project UID/EEA/50014/2013.
The authors also would like to thank CAPES for the nancial support through the
project PDSE/88881.135787/2016-01.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Brazdil</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Carrier</surname>
            ,
            <given-names>C.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Soares</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vilalta</surname>
          </string-name>
          , R.: Metalearning:
          <article-title>Applications to data mining</article-title>
          . Springer-Verlag Berlin Heidelberg (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Chu</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hsu</surname>
            ,
            <given-names>A.L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chou</surname>
            ,
            <given-names>K.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bandettini</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lin</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Does feature selection improve classi cation accuracy? Impact of sample size and feature selection on classi cation using anatomical magnetic resonance images</article-title>
          .
          <volume>60</volume>
          ,
          <issue>59</issue>
          {
          <fpage>70</fpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Demsar</surname>
          </string-name>
          , J.:
          <article-title>Statistical comparisons of classi ers over multiple data sets</article-title>
          .
          <source>Journal of Machine learning research. 7</source>
          ,
          <issue>1</issue>
          {
          <fpage>30</fpage>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Filchenkov</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pendryak</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Datasets meta-feature description for recommending feature selection algorithm</article-title>
          .
          <source>In: Arti cial Intelligence and Natural Language and Information Extraction, Social Media and Web Search FRUCT Conference</source>
          , pp.
          <volume>11</volume>
          {
          <fpage>18</fpage>
          . IEEE,
          <string-name>
            <surname>St. Petersburg</surname>
          </string-name>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Guyon</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Elissee</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>An introduction to variable and feature selection</article-title>
          .
          <source>Journal of machine learning research. 3</source>
          ,
          <issue>1157</issue>
          {
          <fpage>1182</fpage>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Parmezan</surname>
            ,
            <given-names>A.R.S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>H.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>F.C.</given-names>
          </string-name>
          :
          <article-title>Metalearning for choosing feature selection algorithms in data mining: Proposal of a new framework</article-title>
          .
          <source>Expert Systems with Applications</source>
          .
          <volume>75</volume>
          ,
          <issue>1</issue>
          {
          <fpage>24</fpage>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Post</surname>
            , M.J., van der Putten, P., van Rijn,
            <given-names>J.N.</given-names>
          </string-name>
          <article-title>Does Feature Selection Improve Classi cation? A Large Scale Experiment in OpenML</article-title>
          .
          <source>In: International Symposium on Intelligent Data Analysis</source>
          , pp.
          <volume>158</volume>
          {
          <fpage>170</fpage>
          . Springer, Stockholm (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Shilbayeh</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vadera</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Feature selection in meta learning framework</article-title>
          .
          <source>In: Science and Information Conference</source>
          , pp.
          <volume>269</volume>
          {
          <fpage>275</fpage>
          . IEEE, London (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Tang</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Alelyani</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,Liu, H.:
          <article-title>Feature selection for classi cation: A review</article-title>
          .
          <source>Data Classi cation: Algorithms and Applications</source>
          .
          <volume>37</volume>
          ,
          <issue>1</issue>
          {
          <fpage>33</fpage>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Vilalta</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Drissi</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>A perspective view and survey of meta-learning</article-title>
          .
          <source>Arti cial Intelligence Review</source>
          .
          <volume>18</volume>
          ,
          <issue>77</issue>
          {
          <fpage>95</fpage>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Song</surname>
            ,
            <given-names>Q.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhang</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Xu</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zhou</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>A feature subset selection algorithm automatic recommendation method</article-title>
          .
          <source>Journal of Arti cial Intelligence Research</source>
          .
          <volume>47</volume>
          ,
          <issue>1</issue>
          {
          <fpage>34</fpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Wolpert</surname>
            ,
            <given-names>D. H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Macready</surname>
          </string-name>
          , W.G.:
          <article-title>No free lunch theorems for optimization</article-title>
          .
          <source>IEEE transactions on evolutionary computation</source>
          .
          <volume>37</volume>
          ,
          <issue>67</issue>
          {
          <fpage>82</fpage>
          (
          <year>1997</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>