<!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>SU@PAN'2015: Experiments in Author Veri cation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Stanimir Nikolov</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dobrinka Tabakova</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Stefan Savov</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yasen Kiprov</string-name>
          <email>yasen.kiprov@gmail.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Preslav Nakov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Qatar Computing Research Institute</institution>
          ,
          <addr-line>HBKU</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>So a University \St. Kliment Ohridski"</institution>
          ,
          <country country="BG">Bulgaria</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>We describe the submission of the So a University team for the Author Identi cation Task, part of the PAN 2015 Challenge. Given a small set of documents by a single person and a \questioned" document, possibly of a di erent genre and/or topic, the task is to determine whether the questioned document was written by the same person who wrote the known document set. This is a hard but realistic formulation of the task, also known as author veri cation. We experimented with an SVM classi er using variety of features extracted from publicly available resources. Our solution was among the fastest, and running time was an o cial evaluation metric; however, our results were not so strong on AUC and C1.</p>
      </abstract>
      <kwd-group>
        <kwd>author identi cation</kwd>
        <kwd>forensic linguistics</kwd>
        <kwd>text mining</kwd>
        <kwd>machine learning</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>We describe the submission of the So a University team, registered as kiprov15,
to the Author Identi cation task of the PAN 2015, the 13th evaluation lab on
uncovering plagiarism, authorship, and social software misuse.</p>
      <p>Given a small set of documents (no more than ve, possibly as few as one) 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. In practical terms, the output of the participating systems was
expected to be a real number between 0 and 1, which corresponds to the
probability of a positive answer. This is a hard but realistic formulation, known as
author veri cation, of the more general author identi cation task. Note that
unlike previous editions of the task, this year the questioned document di ered
from the documents in the known set in terms of genre and/or topic.</p>
      <p>The organizers provided training data in four languages (English, Greek,
Spanish, and Dutch), and we submitted a system for all four. We experimented
with an SVM classi er using variety of features extracted from publicly available
resources. Our system was among the fastest-running ones: each testset was
fully analysed and scored under two minutes, and time was an o cial evaluation
metric; however, we were not so strong on AUC and C1.</p>
    </sec>
    <sec id="sec-2">
      <title>Method</title>
      <p>
        We used GATE [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] to annotate the documents; then, we extracted features from
these annotations, and we used them to train a classi er using LibSVM [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. We
used SVM as it has proven its strength in a number of natural language
processing tasks, e.g., spam detection [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] and information extraction [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. The main
reason for us to choose GATE was that it could be initialized programmatically
within a Java project. This makes our solution faster and easily modi able.
      </p>
      <p>
        Our GATE processing pipeline includes the following components:
1. Reset PR
2. ANNIE Tokenizer [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]
3. ANNIE Sentence Splitter
4. Paragraph Transfer
5. Groovy script for adding features
6. Groovy script for adding n-grams
2.1
      </p>
      <sec id="sec-2-1">
        <title>Features</title>
        <p>
          Once the annotations were done, we extracted some features, which we then
used in the SVM classi er. While the challenge contained documents in di erent
languages (as well as genres and topics), we aimed to use as few language-speci c
markers as possible; thus, most of our features are token-based. Here is the list
of the features we used:
1. Average sentence length to character count ratio
2. Average sentence length to word count ratio
3. Average word length
4. Average paragraph length to word count ratio [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]
5. Average paragraph length to sentence count ratio
6. Punctuation to word count ratio
7. Sentence count to word count ratio
8. Word based n-grams of sizes 1,2,3
2.2
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>Classi cation</title>
        <p>
          Previous research has shown that machine learning can be used successfully
to tackle the task of author identi cation; see [
          <xref ref-type="bibr" rid="ref6 ref9">6, 9</xref>
          ] for an overview. In our
experiments, we used an SVM classi er. SVM has shown that it performs well
in high-dimensional spaces, and this was applicable to our task.
        </p>
        <p>We extracted the above-described features, and as a result, for each document
we obtained a feature vector. Given a problem, i.e., a set of known documents
and a questioned document, we aggregated these feature vectors for all known
documents. Similarly, we built a feature vector for the questioned document (but
this time there was nothing to aggregate as it is only one). Finally, we produced a
10-dimensional vector for the (known set, questioned document) pair as follows:
for the rst seven features (i.e., excluding the n-grams), we just subtracted them,
and for the n-gram features, we calculated separately the cosine similarity for
the 1-grams, the 2-grams and the 3-grams, and we used the values as eighth,
ninth and tenth features. Then, we scaled the real values to the [0;1] range, and
we saved the scaling factors. We further added a class label: same or di erent
(author). On testing, we produced the 10-dimensional vectors in the same way,
except that we reused the scaling factors from training.
3
3.1</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Experiments and Evaluation</title>
      <sec id="sec-3-1">
        <title>Experimental Setup</title>
        <p>We used the following datasets for training (we used them one at a time, as we
trained and tested separate models for each of the four languages):
{ pan15-authorship-veri cation-training-dataset-dutch-2015-04-19
{ pan15-authorship-veri cation-training-dataset-english-2015-04-19
{ pan15-authorship-veri cation-training-dataset-greek-2015-04-19
{ pan15-authorship-veri cation-training-dataset-spanish-2015-04-19
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>SVM Parameters</title>
        <p>As we mentioned above, we used LibSVM. We chose a C-SVM type of classi er
with radial basis function (RBF) kernel. We further set the following parameter
values: C = 1, = 0:5, " = 0:001. We used di erent cache sizes depending on
the purpose of the executions: testing on our machines or testing on TIRA.</p>
        <p>We selected the above SVM parameter values experimentally, following the
recipe in the Practical Guide to Support Vector Classi cation 3, which can be
found on the LibSVM website. After setting the described kernel and SVM type,
we manually tried di erent values for the C and the parameters as prescribed,
and we ended up with the above values. Given that the search process was not
automated, we might have missed some better parameter values.
3.3</p>
        <p>O</p>
        <p>cial Results
Our o cial results are summarized in Table 1. More detailed results can be found
at the corresponding TIRA page:4 look for kiprov15, which is our team's name.</p>
        <p>We can see in Table 1 that our highest score is for Greek, where our team
was ranked 9th out of 15. A notable characteristic of our solution is its runtime.
In all instances, our system was among the fastest-running ones: each testset
was fully analysed and scored under two minutes.</p>
        <p>However, our results for English, Spanish and Dutch are suprisingly low,
which could indicate a bug in the execution of the above-described pipeline. We
are planning a detailed investigation in future work.
3 http://www.csie.ntu.edu.tw/ cjlin/papers/guide/guide.pdf
4 http://www.tira.io/task/authorship-veri cation/</p>
        <p>A possible explanation for our relatively good results for Greek could be
the number of the known documents for each problem. It turns out that for
Greek, there are generally less known documents per problem in the training
data. This could help as having more known documents might be confusing for
the classi er. When these documents are from di erent genres and have di erent
text structure, the classi er might pick the wrong characteristics to focus on, i.e.,
try to model genre/structure instead of author.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Future Work</title>
      <p>We have described the submission of the So a University team for the PAN'2015
Author Identi cation Task. We experimented with an SVM classi er using
variety of features extracted from publicly available resources. Our solution was
among the fastest, but it did not perform very well in terms of AUC and C1.</p>
      <p>
        Note that our solution is con gurable and can be easily expanded and tweaked,
which we plan to explore in future work. For example, it is very easy to generate
new language-speci c features, e.g., by adding new processing resources to the
GATE pipeline. A wide range of these are readily available, but a careful
selection and evaluation might be further required. Such features can include lists
of stopwords, language-speci c resources, character n-grams [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], part-of-speech
n-grams, etc.
      </p>
      <p>Another idea is to try to arti cially expand the training data by using some
of the examples in the known set as questioned examples; with such a tweak, we
will provide more training examples to the SVM, which is likely to improve its
predictions at testing time.
5</p>
    </sec>
    <sec id="sec-5">
      <title>Source Code</title>
      <p>The project source code can be found on BitBucket:
https://bitbucket.org/StanimirNikolov/pan-author-identi cation
6</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgments</title>
      <p>We would like to thank the anonymous reviewers for their constructive
comments, which have helped us improve the paper.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Chih-Chung Chang</surname>
          </string-name>
          and
          <string-name>
            <surname>Chih-Jen Lin</surname>
          </string-name>
          .
          <article-title>LIBSVM: A library for support vector machines</article-title>
          .
          <source>ACM Transactions on Intelligent Systems and Technology</source>
          ,
          <volume>2</volume>
          :
          <issue>27</issue>
          :1{
          <fpage>27</fpage>
          :
          <fpage>27</fpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Hamish</given-names>
            <surname>Cunningham</surname>
          </string-name>
          , Diana Maynard, Kalina Bontcheva, and
          <string-name>
            <given-names>Valentin</given-names>
            <surname>Tablan</surname>
          </string-name>
          .
          <article-title>GATE: A Framework and Graphical Development Environment for Robust NLP Tools and Applications</article-title>
          .
          <source>In Proceedings of the 40th Anniversary Meeting of the Association for Computational Linguistics, ACL '02</source>
          , pages
          <fpage>168</fpage>
          {
          <fpage>175</fpage>
          , Philadelphia, Pennsylvania, USA,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Hamish</given-names>
            <surname>Cunningham</surname>
          </string-name>
          , Diana Maynard, Kalina Bontcheva, Valentin Tablan, Niraj Aswani, Ian Roberts, Genevieve Gorrell, Adam Funk, Angus Roberts, Danica Damljanovic, Thomas Heitz,
          <string-name>
            <given-names>Mark A.</given-names>
            <surname>Greenwood</surname>
          </string-name>
          , Horacio Saggion, Johann Petrak,
          <string-name>
            <given-names>Yaoyong</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>and Wim</given-names>
            <surname>Peters</surname>
          </string-name>
          .
          <source>Text Processing with GATE (Version 6)</source>
          .
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>G. Kokkinakis E.</given-names>
            <surname>Stamatatos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Fakotakis</surname>
          </string-name>
          .
          <article-title>Computer-based authorship attribution without lexical measures</article-title>
          .
          <source>Computers and the Humanities</source>
          ,
          <volume>35</volume>
          :
          <fpage>193</fpage>
          {
          <fpage>214</fpage>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Vlado</given-names>
            <surname>Keselj</surname>
          </string-name>
          , Fuchun Peng, Nick Cercone, and Calvin Thomas.
          <article-title>N-gram-based author pro les for authorship attribution</article-title>
          .
          <source>In Proceedings of the Conference of the Paci c Association for Computational Linguistics</source>
          , volume
          <volume>3</volume>
          <source>of PACLING '03</source>
          , pages
          <fpage>255</fpage>
          {
          <fpage>264</fpage>
          ,
          <string-name>
            <surname>Harifax</surname>
          </string-name>
          , Canada,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Moshe</given-names>
            <surname>Koppel</surname>
          </string-name>
          , Jonathan Schler, and
          <string-name>
            <given-names>Shlomo</given-names>
            <surname>Argamon</surname>
          </string-name>
          .
          <article-title>Computational methods in authorship attribution</article-title>
          .
          <source>Journal of the American Society for information Science and Technology</source>
          ,
          <volume>60</volume>
          (
          <issue>1</issue>
          ):9{
          <fpage>26</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>Yaoyong</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <article-title>Kalina Bontcheva, and Hamish Cunningham. SVM based learning system for information extraction</article-title>
          .
          <source>In Deterministic and statistical methods in machine learning</source>
          , pages
          <volume>319</volume>
          {
          <fpage>339</fpage>
          . Springer,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>Ruslan</given-names>
            <surname>Sharapov</surname>
          </string-name>
          and
          <string-name>
            <given-names>Ekaterina</given-names>
            <surname>Sharapova</surname>
          </string-name>
          .
          <article-title>Using of support vector machines for link spam detection</article-title>
          .
          <source>In Proceedings of the 2011 International Conference on Graphic and Image Processing</source>
          , ICGIP '
          <volume>11</volume>
          ,
          <string-name>
            <surname>page</surname>
            <given-names>828503</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cairo</surname>
          </string-name>
          , Egypt,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>Efstathios</given-names>
            <surname>Stamatatos</surname>
          </string-name>
          .
          <article-title>A survey of modern authorship attribution methods</article-title>
          .
          <source>Journal of the American Society for information Science and Technology</source>
          ,
          <volume>60</volume>
          (
          <issue>3</issue>
          ):
          <volume>538</volume>
          {
          <fpage>556</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>