A Novel Text Copy Detection Method based on Semantic Feature

Jianjun Zhang, Xingming Sun, Jin WangInternational Journal of Database Theory and Application 2014

Abstract

With the rapid development of the Internet, getting shared resources on the network is becoming easier, and various forms of plagiarism are beginning to breed. Consequently, research into text copy detection technology is increasingly important. Traditional copy detection technology is based on term frequency statistics and does not consider context semantics. Some plagiarism can be easily executed by replacing synonyms, changing sentence structure, or translating between languages—methods that traditional technology fails to detect. In this paper, a text copy detection method based on semantics is proposed. By using an improved TF-IDF algorithm, terms can be more accurately extracted from each document in the corpus. A terms category is built in the database by mapping documents to terms. During detection, terms are read from the database and matched. Testing results show that, compared to the traditional TF-IDF algorithm, the improved method more accurately detects plagiarism.

Introduction

Traditional text copy detection often relies on basic statistics like term frequency. However, these methods struggle with "smart" plagiarism—where a writer changes sentence structures, swaps words for synonyms, or translates text between languages. A major limitation of the standard TF-IDF (Term Frequency-Inverse Document Frequency) algorithm is that it treats the entire document collection as a single, flat pool, failing to account for how a word's importance changes depending on the subject matter. The authors aim to fix this "category blindness" to better identify the semantic "fingerprint" of a text.

Methodology

The core innovation is the C-TFIDF (Category TF-IDF) algorithm. The system architecture follows a structured pipeline from corpus construction to report generation.

System architecture of the proposed semantic-based text copy detection method.
  1. Chinese Word Segmentation: Using the ICTCLAS system, the system breaks Chinese text into discrete tokens.
  2. The C-TFIDF Formula: Traditional IDF calculates a word's rarity across the whole corpus. C-TFIDF modifies this by looking at the distribution of a term within a specific category versus its distribution in other categories. If a term appears frequently in one category but rarely in others, it is assigned a higher weight as a "semantic feature word."
  3. Feature Keyword Library: A library is built using a MySQL database. For a new document, the system extracts the top keywords and performs an exact match search.
  4. Plagiarism Threshold: If a document shares 3 or more of these top keywords with an existing document in the corpus, it is flagged as a potential copy.

Experimental Setup

The researchers used the SOUGOU Chinese experimental corpus, consisting of 8,000 articles across eight distinct fields: financial, health, education, sports, military, tourism, culture, and recruiting. An evaluation set of 120 documents (15 from each category) was used to test the accuracy of keyword extraction and detection rates.

Key Results

The researchers compared their C-TFIDF method against the traditional TF-IDF approach using human-selected keywords as the gold standard.

Accuracy rate distribution and average accuracy for the improved C-TFIDF method.
  • Keyword Extraction Accuracy: The traditional TF-IDF reached an average accuracy of 44.92%, while the improved C-TFIDF reached 59.83%.
  • Detection Accuracy: With the keyword count set to 8, the system achieved its highest correct detection rate of 75%. However, setting the keyword count too high (e.g., 15) caused the detection rate to drop significantly to 25%, as finding exact matches for many specific terms became too restrictive.

Conclusion

The C-TFIDF method improves keyword selection by considering contextual rarity relative to the topic. While it outperforms traditional statistical methods, future work should focus on incorporating sentence structure analysis and more advanced semantic modeling to catch even more sophisticated forms of plagiarism that go beyond keyword manipulation.

Summary updated

BibTeX
@article{zhang2014novel,
  author = {Jianjun Zhang and Xingming Sun and Jin Wang},
  title = {{A Novel Text Copy Detection Method based on Semantic Feature}},
  journal = {International Journal of Database Theory and Application},
  year = {2014},
  doi = {10.14257/ijdta.2014.7.5.12},
}
Figure