<!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>Combining Meta-Learning and Optimization Algorithms for Parameter Selection</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>T. Gomes</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>P. Miranda</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>R. Prudeˆncio</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>A. Carvalho</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Universidade Federal de Pernambuco</institution>
          ,
          <country country="BR">Brazil</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this article we investigate the combination of metalearning and optimization algorithms for parameter selection. We discuss our general proposal as well as present the recent developments and experiments performed using Support Vector Machines (SVMs). Meta-learning was combined to single and multi-objective optimization techniques to select SVM parameters. The hybrid methods derived from the proposal presented better results on predictive accuracy than the use of traditional optimization techniques.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        The induction of a machine learning model with a good predictive
accuracy to solve a learning problem is influenced by a variety of
aspects, such as data pre-preprocessing, algorithm selection,
parameter optimization and training procedure. The study presented in this
paper focuses on a specific and relevant step of modeling: parameter
selection. Once a learning algorithm is chosen, the user has to
define its parameter values. Learning performance is usually affected
by a poor selection of these values. For instance, the performance of
SVMs depends on the adequate choice of its kernel function, kernel
parameters, regularization constant, among other aspects [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        Parameter selection is treated by many authors as an optimization
problem in which a search technique is employed to find the
configuration of parameters which maximizes the learning performance
estimated on the problem at hand. There is an extensive literature
applying optimization algorithms for parameter selection, especially for
Artificial Neural Networks. Although it represents a systematic
approach to parameter selection, this approach can be very expensive,
since a large number of candidate parameter configurations must be
evaluated to ensure that an optimal, or at least reasonably good, set
of parameters is found [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>
        Meta-learning, originally proposed for algorithm selection, has
also been adapted to parameter selection (e.g., for SVM [
        <xref ref-type="bibr" rid="ref1 ref6">6, 1</xref>
        ]). In
this approach, the choice of parameter values for a given task is
based on parameter values sucessfully adopted in similar problems.
Each meta-example in this solution includes: (1) a set of
characteristics (called meta-features) describing a learning problem; and (2) the
best configuration of parameters (among a set of candidates) tested
on that problem. A meta-learner is used to acquire knowledge from a
set of such meta-examples in order to recommend (predict) adequate
parameters for new problems based on their meta-features.
      </p>
      <p>Compared to the optimization approach, meta-learning tends to
be computationally more efficient, at least at the moment when the
recommendation of parameters is made. It must be observed that
meta-learning however is very dependent on the quality of its
metaexamples. It is usually difficult obtaining good results since
metafeatures are in general very noisy and the number of problems
available for meta-example generation is commonly limited.</p>
      <p>
        As discussed in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], good solutions to a particular search problem
can be used to indicate promising regions of the search space for
similar problems. Related ideas have been applied to improve
optimization tasks but in very different contexts (e.g. job shop scheduling
[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]). The positive results in these contexts motivated us to apply
similar ideas for optimizing learning parameters. Here, we present the
combination of optimization techniques and meta-learning for the
problem of parameter selection. Meta-learning is used to suggest an
initial set of solutions, which are then refined by a search technique.
In previous work, the search process starts by evaluating random
solutions from the parameter space. In the proposed hybrid approach,
the search process starts with successful solutions from previous
similar problems. Hence, we expect that meta-learning guides the search
directly to promising regions of the search space, thus speeding up
the convergence to good solutions.
      </p>
    </sec>
    <sec id="sec-2">
      <title>Input</title>
      <p>Problem
MDB</p>
    </sec>
    <sec id="sec-3">
      <title>Initial</title>
      <p>Candidates</p>
    </sec>
    <sec id="sec-4">
      <title>Candidate Parameters</title>
    </sec>
    <sec id="sec-5">
      <title>Search</title>
      <p>?
SVM
- Best</p>
      <p>Parameters
6</p>
    </sec>
    <sec id="sec-6">
      <title>Estimated Performance</title>
      <p>Figure 1 shows the general architecture of the proposed solution.
Initially, the Meta-Learner (ML) module retrieves a predefined number
of past meta-examples stored in a Meta-Database (MDB), selected
on the basis of their similarity to the input problem. Next, the Search
module adopts as initial search points the configurations of
successful parameter values on the retrieved meta-examples. In the Search
module, a search process iteratively generates new candidate values
for the SVM parameters. The final solution which is recommended
by the system is the best one generated by the Search module up to
its convergence or other stopping criteria.</p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], we performed experiments that evaluated the proposed
hybrid method using Particle Swarm Optimization (PSO) in the Search
module. The system was empirically tested on the selection of two
parameters for SVMs on regression problems: the parameter of
the RBF kernel and the regularization constant C, which may have
a strong influence in SVM performance. A database of 40
metaexamples was produced from the evaluation of a set of 399
configurations of ( , C) on 40 different regression problems. Each
metaexample refers to a single regression problem, which was described
in our work by 17 meta-features (see [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] for details).
      </p>
      <p>Hybrid−PSO
Meta−Learning</p>
      <p>PSO
Default LibSVM
0.6
0.55
0.5
E
SM0.45
N
m
u
iinm 0.4
M
0.35
0.3
0.250
Figure 2 compares the minimum NMSE (averaged over the 40
problems) obtained by SVM using the parameters suggested by
combining meta-learning and PSO, referred to as Hybrid-PSO (using 5
initial solutions recommended by meta-learning), and the two
methods individually, PSO (with random initialization, population size =
5) and meta-learning (which recommends the best configuration of
each retrieved meta-example). We also present in Figure 2 the
average NMSE achieved by the default heuristic adopted by the LibSVM
tool ( = inverse of the number of attributes and C=1). Finally,
Figure 2 shows the average NMSE that would be achieved if the best
parameter configuration had been chosen on each problem.</p>
      <p>By comparing PSO and meta-learning, we identified a trade-off in
their relative performances. Meta-learning is better than PSO for a
small number of recommended parameter configurations. It is also
better than the default LibSVM parameters. Hence, meta-learning
alone would be indicated in situations in which the SVM user had
strong resources constraints. In these situations, meta-learning could
recommend a lower number of configurations with intermediate
performance levels. PSO in turn is able to find better configurations
along its search and then it is more adequate if a higher number of
configurations can be tested.</p>
      <p>The Hybrid-PSO was able to combine the advantages of its
components. The performance of the Hybrid-PSO in the initial five
recommended configurations is of course the same as the performance
of meta-learning (since the initial configurations are recommended
by meta-learning). From that point of the curve, the Hybrid-PSO
consistently achieves better results compared to both the PSO and the</p>
      <p>6 8 10 12 14
Number of recommended configurations
16
18
20
3</p>
      <p>Conclusion
meta-learning. It converges earlier to solutions with similar NMSE
values compared to the best configurations observed in the 40
problems. There is an additional cost in recommending the configurations
by the hybrid approach which is the cost of the meta-learning
initialization (specially the cost of computing the meta-features). However,
we deployed meta-features with a low computational cost.</p>
      <p>
        In [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], we extended the previous work to perform Multi-Objective
Optimization (MOO) of SVM parameters. The Multi-Objective PSO
(MOPSO) algorithm was used to optimize the parameters ( , C)
regarding two conflicting objectives: complexity (number of support
vectors) and success rate. We evaluated the MOPSO in two
different versions: (1) MOPSO with initial population suggested by ML
(Hybrid MOPSO) and (2) MOPSO with random initial population.
In the meta-learning module, for each similar problem retrieved, we
generated a Pareto Front (a set of non-dominated solutions) by
applying the dominance evaluation to the 399 configurations of SVM
parameters considered. In order to suggest an initial population, we
select one random solution of each produced Pareto Front.
      </p>
      <p>In our experiments, the final Pareto Fronts optimized by the
MOPSO and the Hybrid MOPSO were evaluated using three metrics
for MOO problems: Spacing, Hypervolume and Spread. The
proposed hybrid approach was able to generate better comparative
results, considering the Spacing and Hypervolume metrics. Regarding
the maximum Spread, our approach lost in first generations, but was
similar to MOPSO in the last generations.</p>
      <p>The combination of meta-learning and optimization techniques
showed promising results for SVM parameter values selection. The
proposed approach can be easily adapted to other learning algorithms
(e.g., Artificial Neural Networks). A number of aspects need to be
investigated in our proposed solution such as alternative strategies to
integrate meta-learning in the optimization process. For instance, not
only the best solutions to similar problems can be considered, but
also diverse solutions in the search space. Additionally, the
limitations of the individual components (as usual in hybrid systems) need
to be dealt with. For instance, new strategies to augment the number
of datasets for meta-learning can improve the learning performance
in our context.</p>
      <p>Acknowledgments: The authors would like to thank CNPq, CAPES,
FAPESP and FACEPE (Brazilian Agencies) and FCT (Portuguese
Agency) for their financial support.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>S.</given-names>
            <surname>Ali</surname>
          </string-name>
          and
          <string-name>
            <given-names>K.</given-names>
            <surname>Smith-Miles</surname>
          </string-name>
          ,
          <article-title>'A meta-learning approach to automatic kernel selection for support vector machines'</article-title>
          ,
          <source>Neurocomputing</source>
          ,
          <volume>70</volume>
          (
          <issue>1-3</issue>
          ),
          <fpage>173</fpage>
          -
          <lpage>186</lpage>
          , (
          <year>2006</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>N.</given-names>
            <surname>Cristianini</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Shawe-Taylor</surname>
          </string-name>
          ,
          <article-title>An Introduction to Support Vector Machines and Other Kernel-Based Learning Methods</article-title>
          , Cambridge University Press,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>T.</given-names>
            <surname>Gomes</surname>
          </string-name>
          , R. B.
          <string-name>
            <surname>C. Prudeˆncio</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Soares</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Rossi</surname>
          </string-name>
          , ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Carvalho</surname>
          </string-name>
          , '
          <article-title>Combining meta-learning and search techniques to select parameters for support vector machines'</article-title>
          ,
          <source>Neurocomputing</source>
          ,
          <volume>75</volume>
          ,
          <fpage>3</fpage>
          -
          <lpage>13</lpage>
          , (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>S.</given-names>
            <surname>Louis</surname>
          </string-name>
          and
          <string-name>
            <surname>J. McDonnell</surname>
          </string-name>
          , '
          <article-title>Learning with case-injected genetic algorithms'</article-title>
          ,
          <source>IEEE Trans. on Evolutionary Computation</source>
          ,
          <volume>8</volume>
          ,
          <fpage>316</fpage>
          -
          <lpage>328</lpage>
          , (
          <year>2004</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>P.</given-names>
            <surname>Miranda</surname>
          </string-name>
          , R. B.
          <string-name>
            <surname>C. Prudeˆncio</surname>
          </string-name>
          , C. Soares,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Carvalho</surname>
          </string-name>
          , '
          <article-title>Multiobjective optimization and meta-learning for svm parameter selection'</article-title>
          , in
          <string-name>
            <surname>IJCNN</surname>
          </string-name>
          2012 (to appear), (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>C.</given-names>
            <surname>Soares</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Brazdil</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.</given-names>
            <surname>Kuba</surname>
          </string-name>
          , '
          <article-title>A meta-learning approach to select the kernel width in support vector regression'</article-title>
          ,
          <source>Machine Learning</source>
          ,
          <volume>54</volume>
          (
          <issue>3</issue>
          ),
          <fpage>195</fpage>
          -
          <lpage>209</lpage>
          , (
          <year>2004</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>