<!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>Similarity Overlap Metric and Greedy String Tiling at PAN 2012: Plagiarism Detection</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>The University of Sheffield</institution>
          ,
          <country country="UK">UK</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2012</year>
      </pub-date>
      <abstract>
        <p>This paper reports the best performed approach followed for the candidate document retrieval task and the approach used for the detailed comparison task of the Plagiarism detection track in PAN 2012. The aim of the participation was to understand a few of the computer-assisted approaches used for plagiarism detection. The plagiarism detection is dependent on two broad tasks, (1) the candidate document retrieval task and (2) the detailed comparison task. The N-gram similarity overlap metric was used for candidate document retrieval task and the greedy string tiling algorithm for detailed comparison task. The evaluation results suggested that the approach used for the candidate document retrieval task was highly competitive, but the approach used for detailed comparison task need much more improvement.</p>
      </abstract>
      <kwd-group>
        <kwd>plagiarism detection</kwd>
        <kwd>candidate document retrieval</kwd>
        <kwd>detailed comparison</kwd>
        <kwd>similarity overlap</kwd>
        <kwd>greedy string tiling</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Plagiarism may be referred to as idea(s) taken from or words copied or replicated from
any given source document without referring to the original work or the source [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. As
the number of online resources is increasing and chances of the risk of plagiarism is
high, there is a need to detect plagiarism from online resources. There are a number of
automatic plagiarism detection tools currently in existence to prevent the unauthorized
use of others work/ideas. But there is a need to identify the right set of documents
from the online resources and the right sections of text which are plagiarized at a good
detection rate. The candidate document retrieval task and detailed comparison task were
conducted as a part of Plagiarism detection track in PAN 2012. This paper reports the
best performed approach followed for these tasks in PAN 2012.
2.1
A set of suspicious documents were provided for the candidate document retrieval task
which had text with paragraphs. The text from each suspicious document were split
into sentences using the OpenNLP’s [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] maximum entropy classifier [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and the model
trained on opennlp training data for english [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. To obtain the most useful information
from the provided data, it was identified from experimentation that a minimum of four
lines together had useful information to search. The useful information represents the
context of the paragraph, which were mostly dependent on the pronouns, nouns and
verbs. Further details on extracting the useful information is discussed further.
Upto four sentences were considered together for formulating the query. The query
included upto 10 words accepted by ChatNoir search engine through the ChatNoir API
[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Each sentence was tagged using OpenNlp’s [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] pre-built model, trained on the Penn
Tree Bank [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] dataset. After each sentence was pos tagged, stopwords were removed
from the sentences. Also, the words with tags other than a noun, pronoun, verb and
adjective were removed and the remaining unique useful words were used as search terms
for the chatnoir search engine. When the number of search terms were above 10 per
paragraph, only the first 10 unique words were considered for the search since the
chatnoir search API had a limit of upto 10 search terms per query. The search terms were
then formulated as a query and provided as input the ChatNoir API. The search engine
returned search results in JSON format and they were logged for further analysis.
2.2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Search results analysis:</title>
      <p>
        The ChatNoir [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] search engine, based on the query terms, returned the search results
in JSON format. For each of the provided suspicious documents, N-JSON data were
returned for N-paragraphs (a paragraph is a set of four sentences) identified from the
suspicious document. Each of the JSON data had the unique identifiers of the relevant
documents returned as search results. Also, when the query terms did not match any
criteria in the search index, no results were reported. The logged search results were
parsed using JSON-simple parser [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], and the ChatNoir API [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] was used to
download the content of the search results as well. Also, repetitive search results were not
downloaded to ensure that the bandwidth and the server load is reduced. Each of the
relevant documents downloaded were compared with the suspicious document and a
similarity overlap metric was computed. The similarity overlap metric as provided in
[
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], given below was identified as a suitable metric to determine the relevant documents.
      </p>
      <p>
        Sim(overlap)(suspDoc; srcDoc) = intersect(set(suspDoc;Ngram);set(srcDoc;Ngram))
min(set(suspDoc;Ngram);set(srcDoc;Ngram))
To compute the similarity score between the suspicious document and the source
document, each document (i.e., the suspicious document and the source document) was
split into n-grams. For the PAN, the number of grams was set to 5. After splitting the
text of the souce document and the suspicious documents into 5-grams, the unique set
of 5-grams from each document were passed through an intersection function. The
intersection function produced the number of common 5-grams between the source
document and the suspicious document. The intersection value was then divided by the
mininum number of unique 5-grams identified. As provided in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], the overlap score
always lies between 0 and 1, where 0 means there is no similarity between the
suspicious document and the source document and 1 means that the suspicious document
and the source document are similar to each other. Based on the similarity score
obtained for each source document against the suspicious document, the documents were
sorted in descending order and the most relevant documents were identified as
potentially plagiarized documents. The PAN 2012 evaluation results with precision 0.6582 &amp;
recall 0.2775 suggested that, the said approach is one of the best approaches used for
identifying the candidate documents.
3
3.1
      </p>
      <sec id="sec-2-1">
        <title>Detailed Comparison</title>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Algorithm used:</title>
      <p>
        The basic algorithm used to detect the plagiarized sections of the text for the detailed
comparison task was Greedy String Tiling (GST) algorithm. The GST algorithm
identifies the longest plagiarized sequence of substrings from the text of the source document
and returns the sequence as tiles (i.e., the sequence of substrings) from the source
document and the suspicious document. The GST algorithm was implemented based on
running Karp-Rabin matching [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
3.2
      </p>
    </sec>
    <sec id="sec-4">
      <title>System:</title>
      <p>
        Given the training data [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], the idea was to initially classify each of the document pair
into one among the classes of no-plagiarism, no-obfuscation, artificial-low,
artificialhigh, translation and simulated-paraphrase and to set the minimum tile length
accordingly. The idea behind the initial classification was to improve the precision. A short
experiment was conducted to test how GST works on the different training data. During
the experiment, it was noticed that GST with minimum tile length of 10 did not identify
all the plagiarized sections of the documents. Therefore the minimum tile length was
varied based on the classifier output. For classification purposes, the training data [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]
provided for the detailed comparison task was used. Weka’s [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] Random Subspace
Classifier was chosen for the training and classifying the document pair into one among
the said classes. Based on short experimentation on different classifiers using weka GUI
experimenter, the Random Subspace Classifier was chosen based on the 10 fold cross
validation results. To train the classifier, the following features were used:
1. Suspicious unigram count
2. Source unigram count
3. Count of unigrams found in both suspicious and source text
4. Number of suspicious n-grams
5. Number of source n-grams
6. Similarity score computed between the source and suspicious documents
7. Intersection score computed between the source and suspicious documents
8. Number of tiles identified between the document pair
9. Is source document translated
The entire training set which included one thousand document pairs for each class was
used for training the Random subspace classifier. The 10-fold cross-validation across
the training set produced 0.798 precision, 0.79 recall and 0.791 F-measure. Although
there was over-fitting, the classifier was not optimized due to time constraints. The
output of the classifier was also used to reduce the computation time especially when
no-plagiarism pairs were provided for the detailed comparison task. Also when a
document pair is classified as translated, bing translator api was used to identify the
provided source document’s language and to translate the identified language to english.
The translated document is then passed through string tiling algorithm. Moreover, based
on the document pair identified by the classifier, the minimum tile length was varied.
The minimum tile length was set for each classification based on experimentation with
different settings. The minimum tile length set for each class is summarized in the table
1.
The PAN evaluation results with scores plagDet 0.0452519, precision 0.6229785, recall
0.0758258 and granularity 6.9317042, suggested that the system need to be optimized
on further research and experimentation with different settings.
4
      </p>
      <sec id="sec-4-1">
        <title>Conclusions</title>
        <p>In this paper, the best performing approach for candidate document retrieval and the
GST algorithm used for detailed comparison task in PAN 2012 is described. While the
candidate document retrieval approach followed state of the art similarity overlap
metric for identifying overlap score between the suspicious document and the retrieved set
of documents, a relatively different approach was used to identify the query terms from
the suspicious document for search. Though, GST algorithm being used as the state of
the art algorithm to detect plagiarism, the system’s performance was not as expected.
At the time of development few parameters were tested due to time constraints. In the
next opportunity, further enhancements to the system will be incorporated on further
research. It was a very good learning experience for the participation of PAN 2012.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1. Json-simple.
          <source>Online (January</source>
          <year>2009</year>
          ), http://code.google.com/p/json-simple/w/list
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Grassegger</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hagen</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Michel</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Potthast</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stein</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tippmann</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Welsch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Chatnoir search engine</article-title>
          .
          <source>Online</source>
          (
          <year>2009</year>
          ), http://webis15.medien.uni-weimar.de/
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Kottmann</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Margulies</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ingersoll</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Drost</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kosin</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Baldridge</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goetz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Morton</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Silva</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Autayeu</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Galitsky</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Apache opennlp</article-title>
          .
          <source>Online (May</source>
          <year>2011</year>
          ), http://opennlp.apache.org
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Manning</surname>
            ,
            <given-names>C.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schutze</surname>
          </string-name>
          , H.:
          <article-title>Foundations of statistical natural language processing</article-title>
          . MIT Press (
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Marcus</surname>
            ,
            <given-names>M.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santorini</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Marcinkiewicz</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          :
          <article-title>Building a large annotated corpus of english: the penn treebank</article-title>
          .
          <source>Computational Linguistics</source>
          <volume>19</volume>
          (
          <year>1992</year>
          ), ftp://ftp.cis.upenn.edu/pub/treebank/doc/cl93.ps.gz
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Maurer</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kappe</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zaka</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Plagiarism - a survey</article-title>
          .
          <source>Journal of Universal Computer Science 12 no. 8</source>
          ,
          <fpage>1050</fpage>
          -
          <lpage>1084</lpage>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Nawab</surname>
            ,
            <given-names>R.M.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stevenson</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Clough</surname>
          </string-name>
          , P.: University of sheffield
          <source>lab report for pan at clef</source>
          <year>2010</year>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Potthast</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stein</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hagen</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gollub</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <article-title>BarrÃs¸n-CedeÃs´o,</article-title>
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Rosso</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Gupta</surname>
          </string-name>
          ,
          <string-name>
            <surname>P.:</surname>
          </string-name>
          <article-title>Pan12 detailed comparison training corpus</article-title>
          . http://pan.webis.de/ (
          <year>March 2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Wise</surname>
            ,
            <given-names>M.J.:</given-names>
          </string-name>
          <article-title>String similarity via greedy string tiling and running karp-rabin matching</article-title>
          .
          <source>Online (December</source>
          <year>1993</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <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>
          ,
          <string-name>
            <surname>Trigg</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hall</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Holmes</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cunningham</surname>
            ,
            <given-names>S.J.: Weka:</given-names>
          </string-name>
          <article-title>Practical machine learning tools and techniques with java implementations (</article-title>
          <year>1999</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>