<!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>Dependency Parsing and bidirectional LSTM-CRF for Aspect-level Sentiment Analysis of Chinese</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Huichao Xiong</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Hua Yan</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zhixian Zeng</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Binhui Wang</string-name>
          <email>wangbh@nankai.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Nankai University</institution>
          ,
          <addr-line>Tianjin</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Aspect-level sentiment analysis of Chinese is to extract, aggregate a21 apply fine-grained aspect-level sentiment information from text for sentiment understanding, and it is useful in various application domains. It usually first extracts aspect terms and sentiment words simultaneously, then pairs the aspect terms with sentiment words, and lastly classifies the aspect-level sentiment. In this sense, we formulate this problem as a pipeline of aspect terms and sentiment words extraction through sequence labeling, aspect-sentiment word pairing, and aspect-level sentiment classification. In this paper, we use a bidirectional LSTM-CRF model to extract aspect terms and sentiment words, some syntax rules based on dependency parsing to pair aspect and sentiment words, and mainstream classifiers to determine the sentiment polarities.</p>
      </abstract>
      <kwd-group>
        <kwd>Aspect-level sentiment analysis</kwd>
        <kwd>dependency parsing</kwd>
        <kwd>bidirectional LSTM-CRF</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Aspect-level sentiment analysis (ABSA) has been used in various application
domains, including online marketing, corporate public opinion monitoring, and
government opinion survey. Previous work used topic models for ABSA, while these
methods learned topics are overly abstract and their work focuses on document-level
sentiment classification [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ]. In addition, most research focused on the English
language, only few work aims at ABSA of Chinese [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. To understand sentiments at the
level of aspects, there are two fundamental tasks, i.e., aspect term extraction and
aspect-based sentiment classification. Since it is difficult to combine them in one step,
in this paper we first extract and pair the aspect terms with sentiment words, and then
classify for the aspect-level sentiment.
      </p>
      <p>We first extract aspect terms and sentiment words using a BI-LSTM-CRF
(Bidirectional Long-Short Term Memory Conditional Random Field) model that utilizes both
the contextual information in bidirectional pathways and the sentence-level tags
through a CRF layer. We then pair the aspects with sentiments using some syntax
rules. Lastly, we use classifiers to classify sentiment polarity of aspect terms.</p>
    </sec>
    <sec id="sec-2">
      <title>Approach</title>
      <p>Our approach includes three parts: aspect/sentiment extraction by BI-LSTM-CRF,
pairing aspect and sentiment words by syntax rules and gaining sentiment polarity of
aspects through classifiers.
2.1</p>
      <sec id="sec-2-1">
        <title>BI-LSTM-CRF</title>
        <p>BI-LSTM-CRF model includes bidirectional LSTM and CRF (shown in Figure 1). It
uses both the preceding input features and the future input features.</p>
        <p>
          Fig. 1. A BI-LSTM-CRF Model [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ]
2.2
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>Syntax Rules</title>
        <p>After aspect terms and sentiment words are extracted from reviews, some syntax rules
can help find the relation between the aspect terms and their corresponding sentiment
words, to generate the aspect-sentiment pairs. Considering there may have some
sentiment words without any toward aspect terms, but we need get these pairs if the
sentiment words exist. So, we should first detect aspects and sentiment words then gain
the dependency structure shows which words depend on (modify or are arguments of)
which other words. In order to get the relation between aspects and sentiment words
and find the actual aspect terms lastly, we use the Chinese NLP tool jieba
(https://github.com/fxsjy/jieba) for word segmentation and LTP
(https://github.com/HITSCIR/ltp) for dependency parsing. As illustrated in Table 1, their relations usually are
ATT (attribute), SBV (subject-verb) and IOB (indirect-object). As the aspect usually
appear in front of sentiment, their relation of position in a sentence can be used.
这是一款漂亮的衬衫。
(This is a beautiful shirt.)
iphone销量提升。
(The sales of iphone rises.)
抵制苹果品牌来支持Nokia。
(Resist the selling of iphone to support Nokia.)
We form a lexicon from training set and use it to prepare the features for both training
and testing sets. Due to the known “no free lunch theorem” in supervised learning, we
use traditional classifiers, including Naïve Bayes (NB), Logistic Regression (LR) and
Support Vector Machines (SVM) to determine the polarity of sentiment words that
doesn’t appear in the lexicon.
3</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Experiments</title>
      <p>To evaluate the performances of the models on the two sub-tasks of ABSA: 1) aspect
term extraction 2) aspect-based sentiment classification. The metrics for the two
subtasks are precision (P), recall (R), and F1-score (F1). We compare the performance
across multiple models in Table2. We find that the models with CRF components
perform better than without, and that bidirectional LSTM works better than LSTM in
one direction.</p>
      <sec id="sec-3-1">
        <title>Relation</title>
        <p>ATT
SBV
IOB</p>
      </sec>
      <sec id="sec-3-2">
        <title>Models</title>
        <sec id="sec-3-2-1">
          <title>LSTM+LR</title>
        </sec>
        <sec id="sec-3-2-2">
          <title>LSTM+NB</title>
        </sec>
        <sec id="sec-3-2-3">
          <title>LSTM+SVM</title>
        </sec>
        <sec id="sec-3-2-4">
          <title>BI-LSTM+LR</title>
        </sec>
        <sec id="sec-3-2-5">
          <title>BI-LSTM+NB</title>
        </sec>
        <sec id="sec-3-2-6">
          <title>BI-LSTM+SVM CRF+LR CRF+NB CRF+SVM</title>
        </sec>
        <sec id="sec-3-2-7">
          <title>LSTM-CRF+LR</title>
          <p>P</p>
        </sec>
      </sec>
      <sec id="sec-3-3">
        <title>Aspect Extraction R F1</title>
        <p>46.36
52.75
49.34
76.87
77.10
76.99
83.20
69.74
75.88</p>
      </sec>
      <sec id="sec-3-4">
        <title>Sentiment Classification</title>
        <p>
          P R F1
59.35 65.74 62.38
58.48
48.60
71.08
67.05
51.91
69.79
This paper reviews and applies the bidirectional LSTM-CRF model in the product
reviews in Chinese and systematically compares the performances across multiple
state-of-the-art models that cast aspect term and sentiment word extraction to
sequence labeling. Then, we use mainstream classifiers to gain the corresponding
sentiment polarity of aspect terms. Experimental results show that the BI-LSTM-CRF
with LR outperforms other counterparts. As one future work, we will try to
incorporate convolutional neural networks into the BI-LSTM model with some attention
mechanism [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] for CRF input to discover the implicit aspects.
        </p>
        <p>Acknowledgments. This work is supported by Tianjin Social Science Planning
Topics TJXC15-002.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Lin</surname>
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>He</surname>
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Joint sentiment/topic model for sentiment analysis</article-title>
          .
          <source>Proceedings of the 18th ACM conference on Information and knowledge management</source>
          .
          <volume>375</volume>
          -
          <fpage>384</fpage>
          (
          <year>2009</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Titov</surname>
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McDonald R.:</surname>
          </string-name>
          <article-title>Modeling online reviews with multi-grain topic models</article-title>
          .
          <source>Proceedings of the 17th international conference on World Wide Web</source>
          .
          <fpage>111</fpage>
          -
          <lpage>120</lpage>
          (
          <year>2008</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Lipenkova</surname>
            ,
            <given-names>J.:</given-names>
          </string-name>
          <article-title>A system for fine-grained aspect-based sentiment analysis of Chinese</article-title>
          .
          <source>Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics</source>
          .
          <fpage>55</fpage>
          -
          <lpage>60</lpage>
          (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. Huang
          <string-name>
            <given-names>Z.</given-names>
            ,
            <surname>Xu</surname>
          </string-name>
          <string-name>
            <given-names>W.</given-names>
            ,
            <surname>Yu</surname>
          </string-name>
          <string-name>
            <surname>K.</surname>
          </string-name>
          :
          <article-title>Bidirectional LSTM-CRF models for sequence tagging</article-title>
          .
          <source>arXiv preprint arXiv:1508</source>
          .
          <year>01991</year>
          (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Bahdanau</surname>
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cho</surname>
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bengio</surname>
            <given-names>Y.:</given-names>
          </string-name>
          <article-title>Neural machine translation by jointly learning to align and translate</article-title>
          .
          <source>arXiv preprint arXiv:1409.0473</source>
          (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>