<!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>Semantic-based Features for Author Profiling Identification: First insights</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Delia-Irazú Hernández</string-name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Rafael Guzmán-Cabrera</string-name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Antonio Reyes</string-name>
          <email>antonioreyes@isit.edu.mx</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Martha-Alicia Rocha</string-name>
          <email>mrocha@dsic.upv.es</email>
          <xref ref-type="aff" rid="aff1">1</xref>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Instituto Superior de Intérpretes y Traductores</institution>
          ,
          <country country="MX">México</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Instituto Tecnológico de León</institution>
          ,
          <country country="MX">México</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Universidad Politécnica de Valencia</institution>
          ,
          <country>España</country>
        </aff>
        <aff id="aff3">
          <label>3</label>
          <institution>Universidad de Guanajuato</institution>
          ,
          <country country="MX">México</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2013</year>
      </pub-date>
      <abstract>
        <p>In this article we present a semantic-based approach concerning the identification of particular author's traits, such as age and gender, from social media texts. The model here described is intended to provide information on different levels of analysis: from textual markers to semantics. Different classifiers were used to assess the performance and scope of the model.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Nowadays, social interaction through Internet is becoming a major problem due to the
insufficient control regarding the authenticity of users profiles. For instance, a 35 years
old man may easily impersonate anybody just by creating a fake profile. The
consequences are in some cases very dangerous. In particular, if we consider pedophilia,
bullying, extortion, etc.</p>
      <p>Author profiling is the task of identifying personal characteristics of Internet users
(such as age, gender, native language) based on analysing their interactions, mainly,
considering textual patterns in their texts. The task has various applications such as
security, forensics, marketing, among others.</p>
      <p>In this article we present an approach for identifying two main characteristics
regarding the way in which Internet users interact: age and gender. The approach is
grounded on detecting textual features considering different types of information: from
to textual markers to semantics. The article is organized as follows: Section 2 introduces
the features of our model. Section 3 describes the set of experiments carried out to
assess the model, as well as the main results. Finally, in Section 4, the main conclusions
are given.</p>
    </sec>
    <sec id="sec-2">
      <title>Features Description</title>
      <p>This section describes the set of features used in our model. Each feature is intended
to provide information concerning different levels of analysis: from textual markers to
semantics. They are:
1. Signatures: concerning explicit linguistic markers within a text.
2. Chatslang: concerning words and expressions commonly used in internet forums.
3. Context: concerning the presence of discriminating clusters across the classes.
4. Emotionality: concerning the use of words to communicate emotions, feelings,
moods, etc.
5. Semantic similarity: concerning the semantic relatedness among the words of a
text.</p>
      <p>
        As described in [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], signatures are intended to identify textual markers that are used
to throw focus onto certain aspects of a text. For instance, the use of capitals or
emoticons. Such elements are often used to communicate something implicitly. Let us
consider the presence of words in capitals. Beyond their morphosyntantic category (noun,
adjective, verb), such words may reveal underlying information that is not explicitly
given; i.e. anger, fear, happiness, joy, etc. The complete list of markers is given by the
presence of punctuation marks (and sequences of them), words in capitals, emoticons,
and quotation marks.
      </p>
      <p>The second feature consists of a set of words that are often used by internet users
as a subcode to communicate their messages more accurately. Words and abbreviations
such as lol (Laughing out loud), 2U2 (To you too), TGFF (Thank God for Friday) are
examples of such subcode. In order to obtain a reliable set of words to represent this
feature, we used a common chat slang dictionary extracted from web 5 as a simple list
of terms.</p>
      <p>
        The following feature, context, is intended to identify common elements across the
different classes of the corpus. To this end, we employed a cluster algorithm described
in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The result is a set of descriptive and discriminating words to represent each class.
Such words are then used as descriptors of general contexts concerning both genre and
age.
      </p>
      <p>
        Emotionality is a feature to integrate information related to the communication of
subjective matters through the selection of particular words. The Dictionary of Affect
in Language ([
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]) was used to represent this type of information. It is divided in three
categories: Activation, Imagery, and Pleasantness. Each is intended to quantify the
emotional content of words in terms of scores obtained from human raters.
      </p>
      <p>
        The last feature is used to measure the semantic relatedness of the words. This is
done in order to determine a threshold of semantic similarity among the different types
of discourses profiled by the authors. The WordNet::Similarity toolkit described in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]
was used for obtaining the similarity.
      </p>
      <p>
        In addition to the features above described, a list of Bag of Words (the most frequent
words in the corpus) was used. Finally, the Jaccard similarity coefficient ([
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]) was
applied over the texts in order to focus on informative words rather than only on frequent
ones.
      </p>
      <sec id="sec-2-1">
        <title>5 http://www.chatslang.com/terms/common</title>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Experiment and Results</title>
      <p>For our experiments we use a subset of 12.000 conversations from the PAN 13 Training
Corpus for Author Profiling Task6. 9.000 conversations was used for training (1.500
each class) and 3.000 for test (500 each class). All the six classes included in the PAN
2013 training corpus were considered (female 10s - 30s and male 10s - 30s).</p>
      <p>Each conversation is represented as a numerical vector in which each entry
represent a feature. Then we make different combinations of the features proposed and we
classified the conversations using various learning algorithms.</p>
      <p>The first combination is called SBF, Semantic-bases features consist of Semantic
similarity + Signatures + ChatSlang + Emotionality measures. The second
combination is composed of the SBF + BOW. The third combination is composed for SBF
+ Jaccard Distance.The fourth combination consist of SBF + BOW + Jaccard
Distance. The fifth combination is only the Jaccard Distance. Sixth combination is Jaccard
Distance + BOW, and the seventh consists of Jaccard Distance + Context. The
learning algorithms applied to this combinations were Naive Bayes (NB) , Support Vector
Machines (SVM), Multilayer Perceptron (MP), Decision tree (J48), and a bagging of
classifiers (NB + SVM + J48).</p>
      <p>The Table 1 introduces the results obtained from different experiments in terms of
accuracy.</p>
      <p>Experiments</p>
      <p>NB SVM MP J48 Bagging Average</p>
      <p>In the MP column there are some results in blank because the dimensionality of
numerical vectors for each conversation is very large; therefore, the algorithm did not
converge with this experiments.</p>
      <p>After analyzing the results above described, we removed some features in order
to reduce the dimension of the vector. The SBF experiment was modified taking into
account only the semantic similarity and emotionality measures (SBFM). Finally, we
carried out a new experiment using SBFM+Jaccard Distance+BOW. This experiment
was assessed with the NB classifier. The accuracy rate reported increased up to 23.66%.</p>
      <sec id="sec-3-1">
        <title>6 http://pan.webis.de</title>
        <p>From the previous insights, we defined a final model which was integrated with the
features: SBFM+Jaccard Distance+BOW. According to our best results, the NB
classifier was used to participate in the author profiling task in PAN 2013 competition. The
results, considering both English and Spanish, are shown in the Table 2.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Conclusions</title>
      <p>In this article we present an approach to identify author profiling. This research is based
on semantic features. The set of features we use are: signatures, chat slang, context,
emotionality, semantic similarity, Jaccard similarity and BOW. A tree structure was
developed in order to weigh the set of features and select the best ones. After analyzing the
results, we could realize that the author profiling task has a high level of overlap between
classes; hence, the difficulty of correctly identifying the classes increases substantially.
The future work consists of developing an algorithm for principal components analysis
(PCA) in order to obtain highly discriminating features.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Karypis</surname>
          </string-name>
          , G.:
          <article-title>Cluto. A clustering toolkit</article-title>
          .
          <source>technical report 02-017. Tech. rep.</source>
          , University of Minnesota, Department of Computer Science. (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Manning</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schütze</surname>
          </string-name>
          , H.:
          <article-title>Foundations of statistical natural language processing</article-title>
          . MIT Press, Cambridge, MA, USA (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Pedersen</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Patwardhan</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Michelizzi</surname>
          </string-name>
          , J.: Wordnet:
          <article-title>:similarity - measuring the relatedness of concepts</article-title>
          .
          <source>In: Proceeding of the 9th National Conference on Artificial Intelligence (AAAI04)</source>
          . pp.
          <fpage>1024</fpage>
          -
          <lpage>1025</lpage>
          . Association for Computational Linguistics, Morristown, NJ, USA (
          <year>2004</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Reyes</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Veale</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>A multidimensional approach for detecting irony in Twitter. Language Resources and Evaluation (</article-title>
          <year>2012</year>
          ), DOI: 10.1007/s10579-012-9196-x
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Whissell</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Using the revised dictionary of affect in language to quantify the emotional undertones of samples of natural language</article-title>
          .
          <source>Psychological Reports</source>
          <volume>105</volume>
          (
          <issue>2</issue>
          ),
          <fpage>509</fpage>
          -
          <lpage>521</lpage>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>