<!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>Ensembles of Proximity-Based One-Class Classifiers for Author Verification</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Faculty of Computer Science, Dalhousie University</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Magdalena Jankowska</institution>
          ,
          <addr-line>Vlado Kešelj, and Evangelos Milios</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2014</year>
      </pub-date>
      <fpage>1069</fpage>
      <lpage>1072</lpage>
      <abstract>
        <p>We use ensembles of proximity based one-class classifiers for authorship verification task. The one-class classifiers compare, for each document of the known authorship, the dissimilarity between this document and the most dissimilar other document of this authorship to the dissimilarity between this document and the questioned document. As the dissimilarity measure between documents we use Common N-Gram dissimilarity based on character or word n-grams.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        We describe our submission to the task of Author Identification of the PAN 2014
competition [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. This task presents participants with author verification problems, formulated
as follows: “Given a small set (no more than 5, possibly as few as one) of ‘known’
documents by a single person and a ‘questioned’ document, the task is to determine whether
the questioned document was written by the same person who wrote the known
document set.”
      </p>
      <p>The required output in the competition task is a real number in the range from 0 to
1, encoding the probability of the positive answer to this question. A probability score
that is less than 0.5 is interpreted as a negative answer; a probability score that is greater
than 0.5 is interpreted as a positive answer; the score of 0.5 is interpreted as the "I don’t
know" answer.</p>
      <p>
        The submissions are evaluated using the measure of area under the ROC curve
(AUC) based on the probability scores, and the c@1 measure [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. c@1 is equivalent
to accuracy when the "I don’t know" answer is not used. For a given number of
correct answers, the higher number of incorrect answers is replaced by "I don’t know", the
higher is c@1. The final evaluation score in the competition is the product of AUC and
c@1.
      </p>
      <p>
        The Author Identification at PAN 2014 is similar to the Author Identification task
at PAN 2013, described in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
We use an ensemble of our proximity-based one-class classifiers. The method is
described in detail in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. For the purpose of self-containment we describe our algorithm
below.
      </p>
      <p>Let A = d1, ..., dk , k 2, be a set of "known" documents written by a given
author. Let u b{e the questione≥ddocument which authorship we are to verify.</p>
      <p>}</p>
      <p>
        Our algorithm is a proximity-based one-class classification algorithm, based on
an idea resembling the idea of the k-centers algorithm [
        <xref ref-type="bibr" rid="ref7 ref8">8,7</xref>
        ]. The algorithm
calculates for each known document di the maximum dissimilarity between this document
and all other known documents Dmax(di, A) as well as the dissimilarity between this
document and the questioned document D(di, u), and finally the dissimilarity ratio
      </p>
      <p>D(di,u)
r(di, u, A) = Dmax(di,A) . We apply a threshold θ on the value of M (u, A) that is
the average of the r(di, u, A) over all known documents di, i = 1, ..., k. We classify u
as written by the same author as known documents iff M (u, A) &lt;= θ. Specifically, we
linearly scale the average dissimilarity ratio M (u, A) using the threshold θ, so that the
value of M equal to θ corresponds to the score 0.5, values greater than θ correspond to
the scores between 0 and 0.5, and values less than θ correspond to the scores between
0.5 and 1 (a cutoff is applied, i.e. all values of M (u, A) &lt; θ cutoff are mapped to the
score 1, and all values of M (u, A) &gt; θ + cutoff are mapped −to the score 0).</p>
      <p>
        For the dissimilarity measure between documents we use the Common N-Gram
(CNG) dissimilarity, proposed by Kešelj et al. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. For each document a sequence of the
most common n-grams (of characters or words) coupled with their frequencies
(normalized by the length of the document) is extracted; such a sequence is called a profile
of the document. The dissimilarity between two documents of the profiles P1 and P2 is
defined as follows:
      </p>
      <p>D(P1, P2) =</p>
      <p>X
x∈(P1∪P2)
fP1 (x) fP2 (x) !
fP1 (x)−+fP2 (x)
2
2
(1)
where x is an n-gram from the union of two profiles, and fPi (x) is the normalized
frequency of the n-gram x in the the profile Pi, i = 1, 2 (fPi (x) = 0 whenever x does
not appear in the profile Pi).</p>
      <p>If there is only one known document, we cut it in half to obtain two known
documents. We also truncate all documents in a given problem to the length of the shortest
one. We also make sure that each profile for a given problem has exactly the same
length in cases when the number of distinct n-grams in any of the documents within
given problem is less than the requested length of the profiles.</p>
      <p>
        Ensembles comprise of such classifiers that differ between themselves in at least
one of the following parameters: type of the tokens in n-grams (characters or words),
the length of n-grams, the length of profiles. We used ensembles with weighted
voting [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] in the competition submission. The output probability score of an ensemble is
an arithmetic average of the scores of the single classifiers.
3
      </p>
    </sec>
    <sec id="sec-2">
      <title>Selection of classifiers using training data</title>
      <p>
        We select classifiers for the ensembles separately for each corpus, based on their
performance on the training datasets. We investigate performance of classifiers, varying their
parameters. The tokens were utf8-encoded characters or turned to uppercase words. For
classifiers based on characters the length of n-grams varied from 3 to 10. For classifiers
based on word n-grams the length of n-grams varied from 1 to 6. The length of profiles
was in 200, 500, 1000, 1500, 2000, 2500, 3000 for both kinds of tokens. This space of
{ }
parameters results in 98 single classifiers: 56 character-based ones and 42 word-based
ones. Package Text::Ngrams [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] has been used in the software. For scaling of M values
to the probability scores the cutoff was set to 0.2.
      </p>
      <p>We select for each training corpora separately a fixed odd number of 31 classifiers
that yield the best AUC. Subsequently for each of those classifiers the optimal threshold
is found (i.e., the threshold for which the maximum accuracy is achieved). In an
ensemble for a given corpus, the threshold for all classifiers is set to one value: the average of
the optimal thresholds on the training data for the selected single classifiers.</p>
      <p>The ranges of AUC and of maximum accuracy (accuracy at the optimum threshold)
for the sets of 31 classifiers are presented in Table 1.</p>
      <p>We observe that our method performs best for the training corpus for Dutch essays
and Spanish articles. It performs worse on the Greek articles set. For the sets of English
novels and Dutch reviews the performance is low. Most likely the reason behind that
lies in the fact that in these two sets all but one problem have exactly one known
document. We observed that such problems are especially challenging for our method. This
is most likely because the two halves of a single known document, that we compare the
questioned document with, are much more similar to each other than two different
documents written by the same person. The reasons behind the low results on the English
essays set are not clear to us and require further investigation.
4</p>
    </sec>
    <sec id="sec-3">
      <title>Competition results</title>
      <p>The results of our submission on the PAN 2014 evaluation set for the Author
Identification tasks are presented in Table 2. Similarly as in our experiments on the training
data, the sets of English novels, English essays and Dutch reviews were most
challenging for our method, as discussed in section 3. On the English novel set the ensemble
achieved a noticeable lower AUC value then the separate classifiers on the training data.
Our method performed better on the sets of Dutch essays, Spanish articles, and Greek
articles.</p>
      <p>AUC
0.86892
0.6376
0.5179
0.49125
0.7308
0.8026
0.84201
0.54837
0.45727
0.68
0.73
final score
0.73165
0.35706
0.284
0.22464
0.49694
0.5859</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Jankowska</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Milios</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kešelj</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          :
          <article-title>Author Verification Using Common N-Gram Profiles of Text Documents</article-title>
          .
          <source>In: Proceedings of the 25th International Conference on Computational Linguistics. COLING '14 (August</source>
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Juola</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stamatatos</surname>
          </string-name>
          , E.:
          <article-title>Overview of the Author Identification Task at PAN 2013</article-title>
          . In: Forner,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Navigli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            ,
            <surname>Tufis</surname>
          </string-name>
          ,
          <string-name>
            <surname>D</surname>
          </string-name>
          . (eds.)
          <article-title>Working Notes Papers of the CLEF 2013 Evaluation Labs</article-title>
          (
          <year>September 2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Kešelj</surname>
          </string-name>
          , V.: Perl Package Text::
          <string-name>
            <surname>Ngrams</surname>
          </string-name>
          (
          <year>2013</year>
          ), http://www.cs.dal.ca/ vlado/srcperl/Ngrams
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Kešelj</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Peng</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cercone</surname>
          </string-name>
          , N.,
          <string-name>
            <surname>Thomas</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>N-gram-based Author Profiles for Authorship Attribution</article-title>
          .
          <source>In: Proceedings of the Conference Pacific Association for Computational Linguistics, PACLING'03</source>
          . pp.
          <fpage>255</fpage>
          -
          <lpage>264</lpage>
          . Dalhousie University, Halifax, Nova Scotia,
          <string-name>
            <surname>Canada</surname>
          </string-name>
          (
          <year>August 2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5. PAN: PAN competition, Author
          <string-name>
            <surname>Identification</surname>
          </string-name>
          (
          <year>2014</year>
          ), http://www.uniweimar.de/medien/webis/research/events/pan-14/pan14-web/author-identification.html
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Peñas</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rodrigo</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>A Simple Measure to Assess Non-response</article-title>
          .
          <source>In: Proceedings of the 49th Annual Meeting of the Association for Computational Linguistics: Human Language Technologies - Volume 1</source>
          . pp.
          <fpage>1415</fpage>
          -
          <lpage>1424</lpage>
          . HLT '
          <volume>11</volume>
          ,
          <string-name>
            <surname>Association</surname>
          </string-name>
          for Computational Linguistics, Stroudsburg, PA, USA (
          <year>June 2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Tax</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>One Class Classification</article-title>
          .
          <article-title>Concept-learning in the absence of counter-examples</article-title>
          .
          <source>Ph.D. thesis</source>
          , Delft University of Technology (
          <year>June 2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Ypma</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ypma</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Duin</surname>
            ,
            <given-names>R.P.</given-names>
          </string-name>
          :
          <article-title>Support Objects for Domain Approximation</article-title>
          .
          <source>In: Proceedings of International Conference on Artificial Neural Networks</source>
          . pp.
          <fpage>2</fpage>
          -
          <lpage>4</lpage>
          . Springer, Skovde, Sweden (
          <year>September 1998</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>