<!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>Voting with Random Neural Networks: a Democratic Ensemble Classifier</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Michele Donini</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrea Loreggia</string-name>
          <email>andrea.loreggia@gmail.com</email>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Maria Silvia Pini</string-name>
          <email>pini@dei.unipd.it</email>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Francesca Rossi</string-name>
          <email>frossi@math.unipd.it</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>: CSML - Istituto Italiano di Tecnologia</institution>
          ,
          <addr-line>Genoa</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>: IBM T.J. Watson Research Center</institution>
          ,
          <addr-line>Yorktown Heights, NY</addr-line>
          ,
          <country country="US">USA (</country>
          <institution>on leave from University of</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>One of the main problems in machine learning is the investigation of the relationships between features in different datasets. In this case, using different classifiers can be more appropriate for different regions. Many efforts have been spent in looking for the best classifier and in fine tuning of the parameters. This requires knowledge of the domain and good expertise in fine tuning of the various classifiers. We propose a technique of voting with neural networks that does not require knowledge of the domain and avoids for a specific research of hyper-parameters values, because neural networks topology and the hyperparameters are generated at random from a uniform distribution. The output of each neural network can be considered as a ranking over the probabilities that each sample belongs to a class, so the output of each neural network is a preference over the classes. We aggregate these preferences via different voting rules and we provide an empirical evaluation of the approach.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>In recent years researchers did a lot of work using multiple classifiers to solve complex
classification problems, indeed different classifiers can be more appropriate for different
regions of the solution space.</p>
      <p>
        Finding the best classifier and fine-tuning its hyper-parameters is a high-consuming
task, which requires many efforts and, at the same time, knowledge of the domain and
good expertise in fine-tuning of the various classifiers. Many different research works
have shown that no single learning algorithm can uniformly outperform other
algorithms over all data sets [
        <xref ref-type="bibr" rid="ref5 ref8">8, 5</xref>
        ], but during the last years neural networks show
promising performances in many different domains attracting attention of both researchers and
companies for their theoretical properties and their performance in real-world scenarios.
      </p>
      <p>
        Many researchers have studied methods for constructing good ensembles of
classifiers [
        <xref ref-type="bibr" rid="ref5 ref6 ref8">6, 8, 5</xref>
        ] and the main discovery is that ensembles are often much more accurate
than the individual classifiers [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Classifier combination is widely applied in many
different fields [
        <xref ref-type="bibr" rid="ref14 ref4">4, 14</xref>
        ], although in many cases the performance of a combination method
cannot be accurately estimated theoretically but can only be evaluated on an
experimental basis in specific working conditions (a specific set of classifiers, training data
and sessions, etc.). Techniques from decision theory are already been used in the past,
trying to improve the performance of some ensemble classifiers methods [
        <xref ref-type="bibr" rid="ref5 ref7">7, 5</xref>
        ].
      </p>
      <p>In this paper we provide a new approach in the ensemble classifier area that does
not require knowledge of the domain and that does not require a good expertise in fine
tuning of the parameters. This method exploits neural networks and voting theory.</p>
      <p>
        Voting theory [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] is a wide research area that considers similar scenarios: in an
election, voters vote by expressing their preferences over a set of candidates (that we
call objects or decisions), and a voting rule decides who the winner candidate is. Voting
theory provides many rules to aggregate preferences. If there are only two objects, the
best rule, according to many criteria, is majority voting [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. When there are more than
two objects, there are many voting rules one could use (Plurality, Borda, k-approval,
etc.), each with its pros and cons. Each rule takes in input (a part of) the preference
orderings of the voters and gives in output the winner object, that is, the object that is
considered to be the best according to the rule.
      </p>
      <p>We propose a technique of voting with neural networks that does not require
knowledge of the domain and avoids for a specific research of hyper-parameters values,
because neural networks topology and the hyper-parameters are generated at random from
a uniform distribution. The output of each neural network can be considered as a
ranking over the probabilities that each sample belongs to a class, so the output of each
neural network is a preference over the classes. We aggregate these preferences via
different voting rules.</p>
      <p>
        We provide an empirical evaluation of this approach by performing experiments on
several datasets (from UCI [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]). Experimental results show that most of the times this
approach outperforms some other ensemble classifiers methods on standard benchmark
datasets.
      </p>
      <p>The paper is organized as follows. In Section 2 and 3 we provide the basic notions
of neural networks and voting rules. In Section 4 we present our approach that exploits
voting theory in the ensemble classifier domain using neural networks and we provide
experimental results. Finally, in Section 5 we summarize the results of the paper and we
give some hints for future work.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Neural networks</title>
      <p>
        A neural network is a structure used for classification or regression tasks especially
when the dimensionality of data is high and non-linearity make these tasks hard to
accomplish [
        <xref ref-type="bibr" rid="ref13 ref3">3, 13</xref>
        ].
      </p>
      <p>
        The neural network technique is inspired by the brain neural activity [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]: a set
of nodes [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] are used to read the input information, these input are then aggregated
using a weighted sum that in turn it is processed with an activation function f . Figure 1
describes these relationships between inputs and outputs of a single node.
      </p>
      <p>
        We can use multiple nodes at the same time, this allows for a more complex structure
which is able to learn complex function from high-dimensional and non-linear data [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
Figure 2 shows an example of of neural network with multiple nodes. The modular
approach of the deep network allows for a stack implementation of the network using
different framework.
 
Hidden Layers

a winning candidate.
a collection of n total orderings over the set of candidates, one for each voter xi 2
Given a profile, a voting rule, also known as a social choice function, maps it onto
Some examples of widely used voting rules are:
– Plurality: each voter states who the preferred candidate is, and the candidate who
is preferred by the largest number of voters wins;
– Borda: given m candidates, each voter gives a ranking of all candidates, the i-th
ranked candidate has a score m i, and the candidate with the greatest sum of
scores wins;
– k-Approval: each voter approves k candidates on m total candidates, and the
candidate with most votes of approval wins.
      </p>
      <p>
        Each of these rules has its advantages and drawbacks. Voting theory provides an
axiomatic characterization of voting rules in terms of desirable properties such as: the
absence of a dictator, unanimity, anonymity, neutrality, monotonicity, independence of
irrelevant alternatives, and resistance to manipulation [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
4
      </p>
    </sec>
    <sec id="sec-3">
      <title>Our approach and experimental results</title>
      <p>In this section we briefly describe our approach and we report a preliminary evaluation.</p>
      <p>We propose a technique of voting with neural networks. Each neural network is a
voter and the output of each neural network can be considered as a ranking over the
probabilities that each sample belongs to a class, so the output of each neural network
is a preference over the classes. We aggregate these preferences via different voting
rules.</p>
      <p>
        Neural Networks give very good performances in many different domains, for this
reason in this approach we use these structures as classifiers, but usually experts spend
a lot of time in coming up with a network that has the best structure and fine-tuning
its hyper-parameters to reach best performances. In this work we argue in favour of a
random search of these values, as already studied in literature [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>Networks are generated to use the same input and with the same numbers of output
nodes, this because they use the same input and they have to predict the same type of
output. The number of hidden layers hi is drawn from a uniform distribution in the
range 2 hi 5. Given the number of features f in input, the number of nodes ni i is
such that 2f ni f 2 for the i-th hidden layer. The output of the last layer of each
network can be seen as a ranking over the probability that a sample belongs to a class.
The class with higher value is the most preferred one. These rankings or preferences can
be aggregated using a voting rule, in such a way we can reward with different points
classes that are ranked in the output of each neural network.</p>
      <p>Different neural networks can generalize the learning functions in different ways
as to learn different areas of the solutions space. So, while the most preferred class of
some neural networks can be wrong, its full ranking over classes can bring diversity
in the community of neural networks and their aggregation can reward the right class.
There could exist classes with the same probabilities, in these cases ties are broken
lexicographically in favor of the class with smaller value.</p>
      <p>In the experimental tests we consider voting systems with 10 voters, where each
voter is a random network. We aggregate outputs of neural networks using different
voting systems as well as a weighted version of each voting system. This means that
after the training phase, each network shows a training accuracy which can be used as a
trustworthy factor. In the weighted version of the election, we use the training accuracy
value of each neural network as a multiplication factor of the output. This means that
for each candidate ci, its total score can be computed as follow:
tot score(ci) = X acc(n)</p>
      <p>scoreV (pos(ci; n))
n2N
where: acc(n) is the training accuracy value for the neural network n, pos(ci; n) is
the rank of candidate ci in the output of the network n, and score(pos) is the reward
that a specific voting rule V gives to a candidate ranked in the pos-th position.</p>
      <p>It is important to notice that different voting systems have the same performances
when the number of classes (or candidates) is 2.</p>
      <p>
        Table 1 reports a preliminary analysis of our approach on 17 datasets from the UCI
[
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] repository. We aggregated the output of 10 random neural networks using different
voting rules, namely Borda, Plurality and k-approval, where k is n2 , that is the number
of classes n for each dataset divided by 2.
      </p>
      <p>We performed two different elections for each voting rule: an unweighted election,
where each neural network (which is a voter in the elections) has the same weight,
and a weighted election, where the contribution that each neural network preference
gives to a candidate is multiply by its training accuracy. The weighted voting system
represents an election where the training performance of each network is considered as
its trustworthiness parameter.</p>
      <p>
        Table 1 reports accuracies that are averaged over 10-fold cross validation, and the
numbers inside parenthesis are the standard deviations. The columns of Table 1 labelled
with Local Voting and Local NB report performances shown in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], while the column
labelled with Voting reports performances presented in [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>
        Experimental results show that our approach outperforms the approaches presented
in [
        <xref ref-type="bibr" rid="ref5 ref7">7, 5</xref>
        ] in 7 out of 17 datasets, just for 1 dataset (i.e. mushroom) the performance is the
same. For the remaining 9 datasets performances are very close to the state-of-the-art
with a mean absolute error of 0.0499.
      </p>
    </sec>
    <sec id="sec-4">
      <title>Conclusions and future work</title>
      <p>In this paper we have proposed a technique of voting with neural networks. This
approach does not require knowledge of the domain and avoids for a specific research of
hyper-parameters values. We have evaluated the approach experimentally and we have
noted that the performance of our method in some cases is also better than the state
of the art methods that require expertise both in the knowledge of the domain and in
machine learning.</p>
      <p>
        An interesting future work would be to extend our work by considering complex
neural structures able to deal with structured data or images. In this way we could
compare our approach with the one shown in the literature [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>K. J.</given-names>
            <surname>Arrow</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. K.</given-names>
            <surname>Sen</surname>
          </string-name>
          , and
          <string-name>
            <given-names>K.</given-names>
            <surname>Suzumura</surname>
          </string-name>
          .
          <article-title>Handbook of Social Choice and Welfare</article-title>
          . North-Holland,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J.</given-names>
            <surname>Bergstra</surname>
          </string-name>
          and
          <string-name>
            <given-names>Y.</given-names>
            <surname>Bengio</surname>
          </string-name>
          .
          <article-title>Random search for hyper-parameter optimization</article-title>
          .
          <source>Journal of Machine Learning Research</source>
          ,
          <volume>13</volume>
          :
          <fpage>281</fpage>
          -
          <lpage>305</lpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>C. M.</given-names>
            <surname>Bishop</surname>
          </string-name>
          .
          <article-title>Neural Networks for Pattern Recognition</article-title>
          . Oxford University Press,
          <year>1995</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>T. G.</given-names>
            <surname>Dietterich</surname>
          </string-name>
          .
          <article-title>An experimental comparison of three methods for constructing ensembles of decision trees: Bagging, boosting, and randomization</article-title>
          .
          <source>Machine Learning</source>
          ,
          <volume>40</volume>
          (
          <issue>2</issue>
          ):
          <fpage>139</fpage>
          -
          <lpage>157</lpage>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>I.</given-names>
            <surname>Gandhi</surname>
          </string-name>
          and
          <string-name>
            <given-names>M.</given-names>
            <surname>Pandey</surname>
          </string-name>
          .
          <article-title>Hybrid ensemble of classifiers using voting</article-title>
          .
          <source>In Green Computing and Internet of Things (ICGCIoT)</source>
          , 2015 International Conference on, pages
          <fpage>399</fpage>
          -
          <lpage>404</lpage>
          . IEEE,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>J.</given-names>
            <surname>Kittler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Hatef</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R. P. W.</given-names>
            <surname>Duin</surname>
          </string-name>
          .
          <article-title>Combining classifiers</article-title>
          .
          <source>In Proceedings of the Sixth International Conference on Pattern Recognition</source>
          , pages
          <fpage>897</fpage>
          -
          <lpage>901</lpage>
          ,
          <string-name>
            <surname>Silver</surname>
            <given-names>Spring</given-names>
          </string-name>
          , MD,
          <year>1996</year>
          . IEEE Computer Society Press.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>S. B.</given-names>
            <surname>Kotsiantis</surname>
          </string-name>
          and
          <string-name>
            <given-names>P. E.</given-names>
            <surname>Pintelas</surname>
          </string-name>
          .
          <article-title>Local voting of weak classifiers</article-title>
          .
          <source>KES Journal</source>
          ,
          <volume>9</volume>
          (
          <issue>3</issue>
          ):
          <fpage>239</fpage>
          -
          <lpage>248</lpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>S. B.</given-names>
            <surname>Kotsiantis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I. D.</given-names>
            <surname>Zaharakis</surname>
          </string-name>
          , and
          <string-name>
            <surname>P. E. Pintelas.</surname>
          </string-name>
          <article-title>Machine learning: a review of classification and combining techniques</article-title>
          .
          <source>Artif. Intell. Rev.</source>
          ,
          <volume>26</volume>
          (
          <issue>3</issue>
          ):
          <fpage>159</fpage>
          -
          <lpage>190</lpage>
          ,
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>M.</given-names>
            <surname>Kubat</surname>
          </string-name>
          .
          <article-title>Neural networks: a comprehensive foundation by simon haykin</article-title>
          , macmillan,
          <year>1994</year>
          , ISBN 0-02-352781-7.
          <string-name>
            <given-names>Knowledge</given-names>
            <surname>Eng</surname>
          </string-name>
          . Review,
          <volume>13</volume>
          (
          <issue>4</issue>
          ):
          <fpage>409</fpage>
          -
          <lpage>412</lpage>
          ,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>C. B. D. Newman</surname>
            and
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Merz</surname>
          </string-name>
          .
          <source>UCI repository of machine learning databases</source>
          ,
          <year>1998</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>F.</given-names>
            <surname>Rosenblatt</surname>
          </string-name>
          .
          <article-title>The perceptron: A probabilistic model for information storage and organization in the brain</article-title>
          .
          <source>Psych. Rev.</source>
          ,
          <volume>65</volume>
          :
          <fpage>386</fpage>
          -
          <lpage>407</lpage>
          ,
          <year>1958</year>
          .
          <article-title>(Reprinted in Neurocomputing (</article-title>
          MIT Press,
          <year>1988</year>
          ).).
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>F.</given-names>
            <surname>Rosenblatt</surname>
          </string-name>
          . Principles of Neurodynamics. Spartan, New York,
          <year>1962</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>D.</given-names>
            <surname>Rumelhart</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Hinton</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Williams</surname>
          </string-name>
          .
          <source>Learning Internal Representations by Error Propagation</source>
          .
          <year>1986</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>R.</given-names>
            <surname>Wall</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Cunningham</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Walsh</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Byrne</surname>
          </string-name>
          .
          <article-title>Explaining the output of ensembles in medical decision support on a case by case basis</article-title>
          .
          <source>Artificial Intelligence in Medicine</source>
          ,
          <volume>28</volume>
          (
          <issue>2</issue>
          ):
          <fpage>191</fpage>
          -
          <lpage>206</lpage>
          ,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>