<!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>Design and Implementation of an Academic Search System Based on a General Query Language and Automatic Question Answering</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Zi Xiong</string-name>
          <email>zixiong@whu.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yue Qi</string-name>
          <email>yueq2017@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Wei Lu</string-name>
          <email>weilu@whu.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Qikai Cheng</string-name>
          <email>chengqikai0806@163.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Academic Search; Search intention; Domain Specific Language; Task-oriented Dialogue System</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>School of Information Management, Wuhan University</institution>
          ,
          <addr-line>Wuhan</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2020</year>
      </pub-date>
      <fpage>89</fpage>
      <lpage>91</lpage>
      <abstract>
        <p>This research designs and implements an academic search system with two major innovations: 1) proposing a general query language SSL to describe the academic search intention in a unified and standardized way, 2) proposing a user intention recognition method to help to improve traditional automatic question answering systems, and conduct several experiments to prove the efectiveness of our method. We finally applied the SSL language and intention recognition method to a QA-oriented academic system which is innovative compared with traditional query-based systems.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>INTRODUCTION</title>
      <p>
        The academic search engine is a key tool for scholars to access
academic information. Search engines such as Google scholar and
Baidu Xueshu have played an important role in researchers’ work.
These engines index millions of scholarly documents but
overwhelm their users with hundreds of results in response to a simple
query. Nowadays, automatic question answering(QA) has achieved
big success in mobile search and helps to improve the eficiency
of search engines[
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ]. In this paper, we design and implement a
general query language for both academic search and academic
QA. As an applied validation challenge, we build a QA-oriented
academic search engine that achieves good performance in a real
application.
      </p>
      <p>Our work focuses on solving two problems: design of a general
query language for academic search (Section 3) and understanding the
search intentions of users’ questions (Section 4). We further validate
the solutions of these two problems with a implemented system
of QA-oriented academic search engine (Section 5). Our complete
research framework is shown in Figure 1.</p>
    </sec>
    <sec id="sec-2">
      <title>SSL: SCHOLAR SPECIFIC LANGUAGE</title>
      <p>
        We propose a scholar specific language SSL for both academic
search and academic QA. The SSL designed in our work is a
semantic representation of the user’s search intention that can help
diferent academic search engine implementation understand users’
search intentions in a unified way. A Search/QA system is usually
composed of two key modules: query understanding module (QUM)
and information processing module (IPM). In most of the cases,
these two modules tightly coupled. With the introduction of SSL
designed in our research, QUM and IPM can be decoupled. We refer
to the traditional design process of domain-specific languages[
        <xref ref-type="bibr" rid="ref3 ref4">3, 4</xref>
        ]
when defining SSL. In semantic, we define the classicfiation and
composition of academic search intentions based on the analysis
of search log analysis and academic search engines. In grammar,
we describe the corresponding grammatical rules based on JSON
format through ABNF[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>The details of the SSL definition is presented in appendix A. The
grammar of SSL consists of 20 rules with the left side of "=" as the
name of the rule and the right side as the body of the rule. The
body consists of decomposed elements with "," as connectors, which
may be subrules or terminal symbols such as "", "", etc. In general
structure, SSL mainly consists of 3 modules:</p>
      <p>1. Type module, which is used to represent the type of purpose
information or intention.</p>
      <p>2. Field module, which expresses the query mode which is the
specific combination of destination information attributes.</p>
      <p>3. Refinement module, which is used to represent the refined
query semantics of the result information, includes both the
postifltering semantics and the secondary retrieval semantics.
3
3.1</p>
    </sec>
    <sec id="sec-3">
      <title>UNDERSTANDING USER INTENTION</title>
    </sec>
    <sec id="sec-4">
      <title>Intention Recognition</title>
      <p>
        The functional modules of our task-oriented dialogue system
include question understanding, dialogue management, and search
modules. Our research focuses on the intention recognition task[
        <xref ref-type="bibr" rid="ref6 ref7">6,
7</xref>
        ], which aims to improve the understanding of the user’s search
intention. We use text classifiers to infer user’s search intention
through dialog text and conduct intention recognition experiments
on several real-world datasets, and prove that the model based on
RNN classifier has the best efect of all the classifiers.
      </p>
      <p>Copyright 2020 for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0).</p>
      <p>After the classification model, a few steps are then taken to
implement our intention function.</p>
      <p>• After classification, we define several question templates to</p>
      <p>match the search method.
• In dialog management, a strategy based on the finite state is
adopted for state tracking, and a dialog is generated based
on the knowledge base and templates.
• Before retrieval, the SSL mapping and parsing module can</p>
      <p>replace the user intentions by SSL expressions.</p>
      <p>The detail of the dialog system is shown in Figure 2. With the
dialog system design, our method can provide a reusable framework
for academic search to map user input to general query language.
3.2</p>
    </sec>
    <sec id="sec-5">
      <title>Experiment</title>
      <p>Dataset and Labeling. We use the search log of Baidu Academic
and Luojia Academic search as the data of intention recognition
experiment. The dataset are labeled with 4 query intention labels:
literature query, academic entities query, academic concept query,
and free question-answering. It includes 20000 query texts
automatically labeled based on rules, word segmentation, and entity
recognition to enrich the data, and 1500 manmually labeled. 1000
of the 1500 manmually labeled data are used for training and the
other 500 for testing, ensuring the result is reliable.</p>
      <p>Table 1: Comparison with Baselines.</p>
      <sec id="sec-5-1">
        <title>Methods</title>
        <p>Naive Bayes
Logistic Regression</p>
        <p>SVM</p>
      </sec>
      <sec id="sec-5-2">
        <title>MV-LSTM(Ours)</title>
        <p>Precision
0.6969
0.9506
0.9136
0.9519</p>
        <p>Recall
0.6952
0.9549
0.9124
0.9512</p>
        <p>
          F1
0.6855
0.9505
0.9126
0.9513
Result and Analysis. Based on the above datasets, search
intention categories are divided into four major classes literature,
academic entity class, academic concept and free question-and-answer.
The experiment compares four classification algorithms (Naive
Bayes, SVM, Logistic regression, and MV-LSTM[
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]), among which
Naive Bayes is taken as the baseline. The experiment result is shown
in Table 1. Note that we don’t use complicated language models
like BERT because we aim to develop a lightweight framework that
is universally available in real applications.
        </p>
        <p>The result shows that the MV-LSTM model achieves the best
performance in our intention classification task and outperforms
the baseline by 26.6%, proving its usefulness.
4
4.1</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>QA-ORIENTED ACADEMIC SEARCH</title>
    </sec>
    <sec id="sec-7">
      <title>ENGINE</title>
    </sec>
    <sec id="sec-8">
      <title>System Framework</title>
      <p>The system architecture can be logically divided into the physical
layer, data layer, technical layer, and application layer. The physical
layer briefly describes the construction of the underlying server and
storage device. The data layer describes the storage of structured
and unstructured data. The technical layer mainly involves two core
modules of the system question answering module and retrieval
module. The application layer describes that the system provides
interactive QA-oriented academic search services with a web-based
engine. The detailed system framework is shown in Figure 3.
4.2</p>
    </sec>
    <sec id="sec-9">
      <title>System Deployment</title>
      <p>As shown in Figure 4, there is a dialog box on the left for users to
conduct QA-oriented information retrieval(results shown in the
bottom-right list). Users can also get answers directly through
conversation with QA module. Our system also provides a set of
retrieval tools on the upper-right for users to conduct traditional
academic retrieval. Our system has been integreted into Luojia
academic search engine Xiaobu.</p>
      <p>A</p>
      <p>DEFINITION OF SSL
• intent = "" module ""
• module = type "," field ["," refinement]
• type = DQUOTE "type" DQUOTE ":" intent-category
• field = DQUOTE "field" DQUOTE ":" fields
• refinement = DQUOTE "refinement" DQUOTE ":"
refinements
• intent-category = DQUOTE ("paper"/"citation"/"entity"/"concept"/"qa")</p>
      <p>DQUOTE
• name = "subject", "author", "time", "title", "keywords",
"abstract", "source", "institution", "foundation", "doi",
"classification_code", "content", "paper_type", "journal", "conference",
"question", "concept"
• item = DQUOTE [bool] 1*char DQUOTE
• bool = "+" / "|" / "-"
• refinements = "" quantity "," rank ["," field] ""
• quantity = DQUOTE "quantity" DQUOTE ":" quantity-item
• quantity-item = "-1" / number
• rank = DQUOTE "rank" DQUOTE ":" rank-item
• rank-item = DQUOTE ("relevence" / "citations" /
"download_num" / "time") DQUOTE
• number = D *DIGIT
• D = "1" / "2" / "3" / "4" / "5" / "6" / "7" / "8" / "9"
• char = unescaped / escaped
• unescaped = %x20-21 / %x23-5B / %x5D-FF
• escaped = %x5C (""" / "¨/ "b" / "f " / "n" / "r" / "t" / ("u"4(ALPHA
/ DIGIT)))</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Amit</given-names>
            <surname>Mishra</surname>
          </string-name>
          and
          <article-title>Sanjay Kumar Jain. A survey on question answering systems with classification</article-title>
          .
          <source>Journal of King</source>
          Saud University-Computer and Information Sciences,
          <volume>28</volume>
          (
          <issue>3</issue>
          ):
          <fpage>345</fpage>
          -
          <lpage>361</lpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Yang</surname>
            <given-names>Li</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>Qingliang</given-names>
            <surname>Miao</surname>
          </string-name>
          , Ji Geng, Christoph Alt, Robert Schwarzenberg, Leonhard Hennig, Changjian Hu, and
          <string-name>
            <given-names>Feiyu</given-names>
            <surname>Xu</surname>
          </string-name>
          .
          <article-title>Question answering for technical customer support</article-title>
          .
          <source>In NLPCC</source>
          , pages
          <fpage>3</fpage>
          -
          <lpage>15</lpage>
          . Springer,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Martin</given-names>
            <surname>Fowler</surname>
          </string-name>
          .
          <article-title>Domain-specific languages</article-title>
          .
          <source>Pearson Education</source>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Diomidis</given-names>
            <surname>Spinellis</surname>
          </string-name>
          .
          <article-title>Notable design patterns for domain-specific languages</article-title>
          .
          <source>Journal of systems and software</source>
          ,
          <volume>56</volume>
          (
          <issue>1</issue>
          ):
          <fpage>91</fpage>
          -
          <lpage>99</lpage>
          ,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>Dave</given-names>
            <surname>Crocker</surname>
          </string-name>
          and
          <string-name>
            <given-names>Paul</given-names>
            <surname>Overell</surname>
          </string-name>
          .
          <article-title>Augmented bnf for syntax specifications: Abnf</article-title>
          .
          <source>Technical report, RFC 2234</source>
          ,
          <string-name>
            <surname>November</surname>
          </string-name>
          ,
          <year>1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <article-title>[6] Broder and Andrei. A taxonomy of web search</article-title>
          .
          <source>Acm Sigir Forum</source>
          ,
          <volume>36</volume>
          (
          <issue>2</issue>
          ):
          <fpage>3</fpage>
          ,
          <year>2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>Madian</given-names>
            <surname>Khabsa</surname>
          </string-name>
          ,
          <string-name>
            <surname>Zhaohui Wu</surname>
            , and
            <given-names>C</given-names>
          </string-name>
          <string-name>
            <surname>Lee</surname>
          </string-name>
          <article-title>Giles</article-title>
          .
          <article-title>Towards better understanding of academic search</article-title>
          .
          <source>In 2016 IEEE/ACM Joint Conference on Digital Libraries (JCDL)</source>
          , pages
          <fpage>111</fpage>
          -
          <lpage>114</lpage>
          . IEEE,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Shengxian</given-names>
            <surname>Wan</surname>
          </string-name>
          , Yanyan Lan, Jiafeng Guo, Jun Xu,
          <string-name>
            <given-names>Liang</given-names>
            <surname>Pang</surname>
          </string-name>
          , and Xueqi Cheng.
          <article-title>A deep architecture for semantic matching with multiple positional sentence representations</article-title>
          .
          <source>In AAAI</source>
          , volume
          <volume>16</volume>
          , pages
          <fpage>2835</fpage>
          -
          <lpage>2841</lpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>