<!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>Unsupervised method for the authorship identification task</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Esteban Castillo</string-name>
          <email>esteban.castillojz@udlap.mx</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ofelia Cervantes</string-name>
          <email>ofelia.cervantes@udlap.mx</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Darnes Vilariño</string-name>
          <email>darnes@cs.buap.mx</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>David Pinto</string-name>
          <email>dpinto@cs.buap.mx</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Saul León</string-name>
          <email>saul.ls@live.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Benemérita Universidad Autónoma de Puebla Faculty of Computer Science</institution>
          ,
          <country country="MX">Mexico</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Universidad de las Américas Puebla Department of Computer Science</institution>
          ,
          <addr-line>Electronics and Mechatronics</addr-line>
          ,
          <country country="MX">Mexico</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2014</year>
      </pub-date>
      <fpage>1035</fpage>
      <lpage>1041</lpage>
      <abstract>
        <p>This paper presents an approach for tackling the authorship identification task. The approach is based on comparing the similarity between a given unknown document against the known documents using a number of different phrase-level and lexical-syntactic features, so that an unknown document can be classified as having been written by the same author, if the different similarity measures obtained are close to a predetermined threshold for each language in the task. The method has shown competitive results, achieving the overall 6th place in the competition ranking.</p>
      </abstract>
      <kwd-group>
        <kwd>Authorship verification</kwd>
        <kwd>features</kwd>
        <kwd>similarity measures</kwd>
        <kwd>unsupervised learning</kwd>
        <kwd>threshold</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Discovering the correct features in a raw text in order to unambiguously allow to
attribute the authorship of a given anonymous document is a very hard problem that
recently (empowered by the continuous growing of information in Internet) has become
of high interest in areas like information retrieval (IR), Natural Language Processing
(NLP) and computational linguistics. Taking into account the above, the most common
framework for mapping candidate authors with unknown documents is the authorship
attribution problem, where, given texts of uncertain authorship and sample documents
from a small, finite set of candidate authors, the task consists of mapping the uncertain
texts onto their true authors among the candidates. This problem is considered as an
unreasonably easy task while a more demanding problem (often presented in documents
on the web) is the author verification task, where, in a given set of documents by a
single author and a questioned document, the problem is to determine if the questioned
document was written by that particular author or not. In this sense, the importance of
finding the correct features for characterizing the signature or particular writing style of
a given author is fundamental for solving the authorship problem.
The results reported in this paper were obtained in the framework of the 8th
International Workshop on Uncovering Plagiarism, Authorship, and Social Software Misuse
(PAN 14), in particular, in the task named Author Identification. For this purpose, we
have attempted an approach for representing the features that will be taken into account
in the process of authorship verification using an unsupervised learning method. The
proposed approaches are discussed in the following sections.</p>
      <p>The rest of this paper is structured as follows. In Section 2 it is presented the
description of the features used in the task to be tackled. Section 3 shows the Proposed
approach (unsupervised algorithm) used in the experiments. The experimental setting
and a discussion of the obtained results are given in Section 4. Finally, the conclusions
of this research work is presented in Section 5.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Description of the features and similarity measures used in the task</title>
      <p>
        In this work we explore a combination of different types of features in a text frecuency
vector [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] to represent the writing style of the authors. For all languages in the author
verification task, we consider using lexical-syntactic features because they are relatively
easy to quantify as well as they provide the syntactic order in which the words are
used to form the ideas. On the other hand, it is also considered (in an unsupervised
classification) the use of different metrics to determine the similarity of the feature
vectors related to the documents of known origin against the documents of unknown
origin. Both types of elements are described below.
2.1
      </p>
      <sec id="sec-2-1">
        <title>Lexical-syntactic features</title>
        <p>
          In this approach are considered the following features for representing the particular
writing style of a given author:
– Phrase level features
1. Word prefixes. A group of letters added before a word or base to alter its
meaning and form a new word.
2. Word sufixes. A group of letters added after a word or base to alter its meaning
and form a new word.
3. Stopwords. A group of words that bear no content or relevant semantics in the
text.
4. Punctuation marks. Conventional signs and certain typographical devices as
aids to the understanding and correct reading, both silently and aloud, of
handwritten and printed texts.
5. Word N-grams. A contiguous sequence [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] of n words from a text or speech.
6. Skip-grams. A technique [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] where the n-grams are used to stored sequences
of words, but they allow to skip tokens.
– Character level features
1. Vowel combination. Word consonants are removed and, thereafter, the
remaining vowels are combined. Each vowel combination is considered to be a
feature. Adjacent repetition of vowels are considered as only one vowel.
2. Vowel permutation. Word consonants are removed and, thereafter, the vowel
permutation is considered to be a feature.
2.2
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>Similarity measures</title>
        <p>
          In this approach the following metrics are considered to determine the similarity of the
documents:
– Latent semantic analysis (LSA). A technique[
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] which analyzes relationships
between a set of documents and the terms they contain by producing a set of concepts
related to the documents and terms. LSA assumes that words which are close in
meaning will occur in similar pieces of text.
– Jaccard similarity. A metric used for comparing the similarity and diversity of
sample sets. The Jaccard coefficient measures similarity between finite sample sets,
and it is defined as the size of the intersection divided by the size of the union of
the sample sets and is given by:
– Euclidean distance. A metric used for comparing the similarity between two
vectors p and q, where, p = (p1; p2; :::; pn) and q = (q1; q2; :::; qn), then the distance
from p to q, or from q to p is given by:
        </p>
        <p>J S(A; B) = jA T Bj</p>
        <p>jA S Bj
vu n
d(q; p) = tuX(qi
i=1
pi)2
– Chebyshev Distance. A metric defined on a vector space where the distance
between two vectors p and q, is the greatest of their differences along any coordinate
dimension. The distance is given by:</p>
        <p>DChebyshev(q; p) := max(j qi
i
pi j)
– Cosine similarity. A measure of similarity between two vectors of an inner product
space that measures the cosine of the angle between them. Given two vectors of
attributes, p and q, the cosine similarity, is represented using a dot product and
magnitude and is defined as:
cos( ) =</p>
        <p>p q
k p kk q k
= pPn
i=1(pi)2</p>
        <p>Pn
i=1 pi</p>
        <p>qi
pPn</p>
        <p>i=1(qi)2
(1)
(2)
(3)
(4)
end
LSA1 max(vector1 [0] ; : : : ; vector1 [n]);
LSA2 max(vector2 [0] ; : : : ; vector2 [n]);
LSA3 max(vector3 [0] ; : : : ; vector2 [n]);
M axSimilarity max(Cosine; J accard; LSA1; LSA2; LSA3)
if M axSimilarity &gt;= then</p>
        <p>result same author
else
end</p>
        <p>result
end</p>
        <p>dif f erent author
Algorithm 1: Proposed approach using an unsupervised learning method</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Proposed approach</title>
      <p>For tackling the authorship identification task we propose a methodology (see
algorithm 1) in which we used an unsupervised learning method. We evaluate different
feature vectors with different similarity measures in order to identify if an unknown
document belongs to an author. For each language, three types of text representations
are evaluated:
– A frequency vector of all the vocabulary in the test documents.
– A frequency vector of all the combined Lexical syntactic features of the test
documents:
1. Word prefixes
2. Word sufixes
3. Stopwords
4. Punctuation marks
5. N-grams(from 1 to 5)
6. Skip-grams (from 1 to 5)
7. Vowel combination
8. Vowel permutation
– A similarity vector using the LSA algorithm for each word in the test documents.</p>
      <p>
        Different distance/similarity measures were tested, including the Jaccard similarity
for the vocabulary feature vector, the cosine similarity fo the Frequency vector of all
the combined Lexical syntactic features and Chebyshev Distance, Euclidean distance
and cosine similarity for the LSA vectors. The best similarities of each document of
unknown origin were obtained and a threshold (see table 1) to determine if the document
belongs to an author. The threshold was obtained using a classification tree [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]
with the maximum similarities measures values (see section 2.2) as features in a vector
representation using the training data set.
The results obtained with the approach are discussed in this section. First, we describe
the dataset used in the experiments and, thereafter, the results obtained.
4.1
      </p>
      <sec id="sec-3-1">
        <title>Data sets</title>
        <p>
          The description of the six text collections used in the experiments are shown in Table 2.
As can be seen, the data set is made up of different languages/genres within the author
verification task, where, each problem consists of some (up to five) known documents
written by a single person and only one questioned document. All documents within a
single problem instance are in the same language and the documents are matched for
register, theme, and date of writing.
In Table 3 we present the results obtained by our approach using the TIRA tool [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ]
with each one of the data sets considered in the competition. The results were evaluated
according to the area under the ROC curve (AUC) measure [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] and the c@1 measure
[
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]. Three different languages (each one, with different genres) were tackled out. The
best performance was obtained with the Dutch language in the essays genre, followed
by the Greek language in the articles genre, and the English language in the essays
genre. However, a low performance was obtained (with respect to the other teams in the
competition) in the Dutch, Spanish and English languages in the reviews, articles and
novels genres. We consider these results were obtained because of the use of empirical
thresholds in the final classification of the unknown documents. Further analysis will
investigate this issue. It is worth to notice that we obtained the sixth place from 13 teams
and that our approach always performed better than the competition baselines.
Dutch
Dutch
English
English
Greek
Spanish
essays
reviews
essays
novels
articles
articles
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Conclusions</title>
      <p>We have presented an approach that uses an unsupervised method with lexical-syntactic
features. Even if the runtime is greater than the most approaches of this competition, the
performance is good. It was surprising that being a Spanish native language team, we
performed better in Dutch and Greek languages, but it is a good oportunity for
analyzing the text into more depth for determining the reason of this issue. As we mentioned
before, we have executed the same methodology across the different languages, varying
basically only the thresholds applied in the final classification. However, more
experiments continue to be performed to analyze whether or not these changes introduce
significant variations in the data sets. Future work is planned to observe the performance
of the proposed methodology using different similarity measures.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Agarwal</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Graepel</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Herbrich</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Har</given-names>
            <surname>Peled</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Roth</surname>
          </string-name>
          ,
          <string-name>
            <surname>D.</surname>
          </string-name>
          :
          <article-title>Generalization bounds for the area under the roc curve</article-title>
          .
          <source>Journal of Machine Learning Research</source>
          <volume>6</volume>
          ,
          <fpage>393</fpage>
          -
          <lpage>425</lpage>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Garner</surname>
            ,
            <given-names>S.R.</given-names>
          </string-name>
          : Weka:
          <article-title>The waikato environment for knowledge analysis</article-title>
          .
          <source>In: In Proc. of the New Zealand Computer Science Research Students Conference</source>
          . pp.
          <fpage>57</fpage>
          -
          <lpage>64</lpage>
          (
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Gollub</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Potthast</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Beyer</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Busse</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pardo</surname>
            ,
            <given-names>F.M.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stamatatos</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stein</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Recent trends in digital text forensics and its evaluation - plagiarism detection, author identification, and author profiling</article-title>
          . In: Forner,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Müller</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Paredes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            ,
            <surname>Rosso</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Stein</surname>
          </string-name>
          ,
          <string-name>
            <surname>B</surname>
          </string-name>
          . (eds.)
          <source>CLEF. Lecture Notes in Computer Science</source>
          , vol.
          <volume>8138</volume>
          , pp.
          <fpage>282</fpage>
          -
          <lpage>302</lpage>
          . Springer (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Guthrie</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Allison</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Guthrie</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wilks</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>A closer look at skip-gram modelling</article-title>
          .
          <source>In: Proceedings of the Fifth international Conference on Language Resources</source>
          and
          <article-title>Evaluation (LREC-</article-title>
          <year>2006</year>
          ). Genoa,
          <string-name>
            <surname>Italy</surname>
          </string-name>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Houvardas</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stamatatos</surname>
          </string-name>
          , E.:
          <article-title>N-gram feature selection for authorship identification</article-title>
          . In: Euzenat,
          <string-name>
            <given-names>J.</given-names>
            ,
            <surname>Domingue</surname>
          </string-name>
          ,
          <string-name>
            <surname>J</surname>
          </string-name>
          . (eds.)
          <source>AIMSA. Lecture Notes in Computer Science</source>
          , vol.
          <volume>4183</volume>
          , pp.
          <fpage>77</fpage>
          -
          <lpage>86</lpage>
          . Springer (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Landauer</surname>
            ,
            <given-names>T.K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Folt</surname>
            ,
            <given-names>P.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Laham</surname>
            ,
            <given-names>D.:</given-names>
          </string-name>
          <article-title>An introduction to latent semantic analysis</article-title>
          .
          <source>Discourse processes 25(2)</source>
          ,
          <fpage>259</fpage>
          -
          <lpage>284</lpage>
          (
          <year>1998</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Manning</surname>
            ,
            <given-names>C.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Raghavan</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schütze</surname>
          </string-name>
          , H.: Introduction to Information Retrieval. Cambridge University Press, New York, NY, USA (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <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>
          . In: Lin,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Matsumoto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            ,
            <surname>Mihalcea</surname>
          </string-name>
          ,
          <string-name>
            <surname>R</surname>
          </string-name>
          . (eds.) ACL. pp.
          <fpage>1415</fpage>
          -
          <lpage>1424</lpage>
          . The Association for Computer Linguistics (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Witten</surname>
            ,
            <given-names>I.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Frank</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          :
          <article-title>Data Mining: Practical Machine Learning Tools</article-title>
          and Techniques,
          <string-name>
            <surname>Second Edition</surname>
          </string-name>
          (Morgan Kaufmann Series in Data Management Systems). Morgan Kaufmann Publishers Inc., San Francisco, CA, USA (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>