# 抄袭检测

抄袭检测是通过计算将可疑文档与候选来源进行比对，以定位被复制或经过紧密改写的文本。在占主导地位的外部检测模式下，系统在参考集合中搜索与可疑文档相匹配的段落；在内部检测模式下，则寻找单一文档内部暗示文本插入的风格断裂。遵循PAN评测系列的做法，抄袭以三种形式进行研究：逐字复制、改写式抄袭（在不加引注的情况下进行同义词替换、语序调整以及增删词语的重新表述）和摘要式抄袭（简洁地复用要点，篇幅远短于原文）。<sup>[1](https://arxiv.org/html/2406.16288v1)</sup> 系统输出的是对齐的段落对和相似度分数，而非裁定结论：例如，MOSS能自动检测程序相似性，却无从得知代码为何相似，因此必须由人来判定是否发生了抄袭。<sup>[2](https://theory.stanford.edu/~aiken/moss/)</sup>

| 关键事实 | 详情 |
|---|---|
| 输出 | 带字符偏移量的对齐段落、相似度分数及来源检索结果；不自动给出裁定<sup>[2](https://theory.stanford.edu/~aiken/moss/)</sup><sup> • </sup><sup>[3](https://pan.webis.de/clef12/pan12-web/text-alignment.html)</sup> |
| 核心原理 | 哈希化k元组指纹；winnowing（筛选）算法的性能与局部指纹识别的已证下界相差不超过33%<sup>[4](http://theory.stanford.edu/%7Eaiken/publications/papers/sigmod03.pdf)</sup> |
| 标准基准 | PAN-PC-09：41,223份文档，94,202个人工抄袭案例<sup>[5](https://downloads-cf.webis.de/publications/papers/barroncedeno_2010.pdf)</sup> |
| 综合得分 | \( \mathrm{plagdet} = F_{1} / \log_{2}(1 + \mathrm{gran}) \)，对碎片化检测进行惩罚<sup>[6](https://ceur-ws.org/Vol-1178/CLEF2012wn-PAN-PotthastEt2012.pdf)</sup> |
| PAN最佳对齐结果 | 0.7386 plagdet（PAN'12）；0.87818（PAN 2014），基线为0.42191<sup>[3](https://pan.webis.de/clef12/pan12-web/text-alignment.html)</sup><sup> • </sup><sup>[7](https://pan.webis.de/clef14/pan14-web/text-alignment.html)</sup> |
| 现实中的弱点 | 在一项针对八种语言的15个网络服务的测试中，没有系统能找出全部抄袭，且所有系统在改写文本上均表现不足<sup>[8](https://link.springer.com/article/10.1186/s41239-020-00192-4)</sup> |
| 大语言模型时代 | 在PAN 2025的LLM生成数据集上，嵌入相似度在0.5精确率下达到0.8召回率<sup>[9](https://ceur-ws.org/Vol-4038/paper_280.pdf)</sup> |

## 工作原理

大多数系统建立在文档指纹识别之上：文本被切分为相互重叠的k元组（长度为k的连续子串），每个k元组经哈希处理，哈希值的一个子集成为该文档的指纹；指纹匹配即表明存在共享文本。对k元组进行哈希处理对输入形式所作的假设极少，因此同一引擎可扩展至新的数据格式。<sup>[4](http://theory.stanford.edu/%7Eaiken/publications/papers/sigmod03.pdf)</sup> Schleimer、Wilkerson和Aiken于2003年引入了局部指纹识别算法这一类方法以及winnowing算法：在由\( w = t - k + 1 \)个连续k元组哈希值构成的每个窗口中，winnowing选取最小哈希值（并列时取最右侧者），从而保证检测出所有长度至少为t的匹配，同时忽略低于噪声阈值k的匹配；他们证明了winnowing的性能与任何局部算法的下界相差不超过33%。<sup>[4](http://theory.stanford.edu/%7Eaiken/publications/papers/sigmod03.pdf)</sup>

基于重叠文本片段的方法比较相互重叠的n元组或q元组子序列，通常用Jaccard相似度对重叠程度打分。<sup>[10](https://www.frontiersin.org/journals/computer-science/articles/10.3389/fcomp.2025.1504725/full)</sup> 语义方法则将文本表示在向量空间模型中，以TF-IDF对n元组维度加权，用余弦系数衡量相似度，从而能够在不泄露文档内容的情况下标记出部分复制。<sup>[11](https://journals.plos.org/plosone/article/file?id=10.1371%2Fjournal.pone.0319551&type=printable)</sup> 另一种互补的信号是引用模式分析：Bela Gipp在2014年的专著中从文献耦合与引用复用的角度发展抄袭检测，恰好在措辞已被完全重写而来源未被替换时发挥作用。<sup>[12](https://doi.org/10.1007/978-3-658-06394-8)</sup>

## 实现方法

外部检测是一个“先检索后验证”的流水线，分为来源检索（找出最可能的可疑—来源文档对）和文本对齐（对抄袭段落进行分类和定位）两个环节。<sup>[1](https://arxiv.org/html/2406.16288v1)</sup> 预处理通常包括大小写折叠、分词、去除停用词和短词以及Porter词干化，然后用32位FNV-1a对n元组进行哈希；一份含l个词的文档产生\( m = l - n + 1 \)个n元组，其中经winnowing式选取后约保留\( 2m/(w+1) \)个作为指纹。<sup>[13](https://sciendo.com/pdf/10.2478/acss-2021-0022)</sup> 候选来源通过关键短语查询在ChatNoir搜索引擎等网络索引中检索获得。<sup>[6](https://ceur-ws.org/Vol-1178/CLEF2012wn-PAN-PotthastEt2012.pdf)</sup>

随后，详细对齐分三个阶段进行：播种（寻找种子匹配）、扩展（将其生长为段落）和过滤（丢弃虚假匹配）。<sup>[13](https://sciendo.com/pdf/10.2478/acss-2021-0022)</sup>

评测通常使用精确率、召回率、F值、粒度（检测出的覆盖片段的碎片化程度）以及plagdet，以PAN数据集为标准评测基准，其中包含合成跨语言案例和人工混淆单语案例。<sup>[11](https://journals.plos.org/plosone/article/file?id=10.1371%2Fjournal.pone.0319551&type=printable)</sup> 综合得分为\( \mathrm{plagdet}(S, R) = F_{1} / \log_{2}(1 + \mathrm{gran}(S, R)) \)，其中\( F_{1} \)是[精确率与召回率](https://www.edgepedia.org/zh/precision-and-recall)的等权调和平均；对数项用于平滑粒度惩罚。<sup>[6](https://ceur-ws.org/Vol-1178/CLEF2012wn-PAN-PotthastEt2012.pdf)</sup> PAN'12要求系统输出包含检测段落字符偏移量和长度的XML文件，按宏平均精确率、召回率、粒度和plagdet评分。<sup>[3](https://pan.webis.de/clef12/pan12-web/text-alignment.html)</sup>

## 起源

复制检测源于1995年斯坦福大学的两个系统。在《ACM SIGMOD Record》上，Brin、Davis和García-Molina提出对文档进行登记并检测完整或部分复制，并构建了一个名为COPS的工作原型。<sup>[14](https://doi.org/10.1145/568271.223855)</sup> 同年，Shivakumar和García-Molina描述了SCAM——一种基于信息检索技术的复制检测机制。<sup>[15](http://infolab.stanford.edu/~shiva/Pubs/scam.pdf)</sup> 决定性的算法进展出现在2003年，Schleimer、Wilkerson和Aiken在SIGMOD上引入了局部文档指纹识别与winnowing。<sup>[4](http://theory.stanford.edu/%7Eaiken/publications/papers/sigmod03.pdf)</sup> 系统性评测始于2009年首届PAN竞赛，由Potthast及其同事组织，围绕PAN抄袭语料库PAN-PC-09构建，这是首个能够对内部检测和外部检测进行大规模评测的语料库；共有13支队伍参加，Grozea及其同事赢得了外部检测任务，内部检测的获胜者则使用了字符n元组剖面。<sup>[5](https://downloads-cf.webis.de/publications/papers/barroncedeno_2010.pdf)</sup>

## 变体

- **N元组shingling**：比较相互重叠的n元组子序列，通常使用Jaccard相似度；简单快速，但仅能捕捉词汇层面的重叠。<sup>[10](https://www.frontiersin.org/journals/computer-science/articles/10.3389/fcomp.2025.1504725/full)</sup>
- **指纹选取变体**：在召回率与索引规模之间权衡；在采用PAN 2014获胜对齐器的两阶段系统中，最佳选取算法为0 mod p、winnowing和MFBW。<sup>[13](https://sciendo.com/pdf/10.2478/acss-2021-0022)</sup>
- **内部检测**：在单一文档内部标记风格偏离，使用字符n元组剖面和基于字符三元组频率的PCA距离分数等方法。<sup>[11](https://journals.plos.org/plosone/article/file?id=10.1371%2Fjournal.pone.0319551&type=printable)</sup>
- **跨语言检测**：利用多语言嵌入模型以及KBSim和XCNN等知识图谱混合方法发现翻译式抄袭。<sup>[10](https://www.frontiersin.org/journals/computer-science/articles/10.3389/fcomp.2025.1504725/full)</sup>
- **代码抄袭检测**：分为基于属性、基于词元和基于结构的方法（将源代码抽象为AST或程序依赖图）。<sup>[16](https://drops.dagstuhl.de/storage/01oasics/oasics-vol038-slate2014/OASIcs.SLATE.2014.143/OASIcs.SLATE.2014.143.pdf)</sup>
- **语义—句法混合系统**：将Word2Vec、GloVe、FastText和BERT的嵌入相似度与句法向量结合为最终分数。<sup>[17](https://dl.acm.org/doi/10.1007/s10115-026-02837-8)</sup>

## 应用

已部署的系统包括MOSS——一个免费的网络服务，用于比较约二十几种语言的程序，在词元哈希上实现winnowing；以及JPlag，它使用贪心字符串拼接算法比较词元串。<sup>[2](https://theory.stanford.edu/~aiken/moss/)</sup><sup> • </sup><sup>[18](https://arxiv.org/pdf/2102.03997v1.pdf)</sup> 在文本方面，[Turnitin](https://www.edgepedia.org/zh/turnitin)是一家商业匹配服务，被150个国家的15,000家机构使用，将提交的作业与其自身的网络爬取内容、已发表文章以及以往提交作业的存档进行比对。<sup>[8](https://link.springer.com/article/10.1186/s41239-020-00192-4)</sup>

## 局限与替代方案

逐字复制能被简单的字符串匹配很好地捕捉，但改写式抄袭和摘要式抄袭要困难得多，因为其与来源的词汇和句法相似度有限。<sup>[1](https://arxiv.org/html/2406.16288v1)</sup> 一项针对15个基于网络的文本匹配系统的协作测试，使用八种语言的材料，采用复制粘贴、同义词替换、改写和翻译等伪装手段，发现没有系统能找出全部抄袭，部分系统会误标非抄袭材料，且所有系统在改写文本上均表现不足。<sup>[8](https://link.springer.com/article/10.1186/s41239-020-00192-4)</sup> [混淆](https://www.edgepedia.org/zh/obfuscation)攻击成本低廉：在测试的七个系统中，六个被Unicode字符替换击败，五个被将每五个词中的第五个替换为同义词的手段击败。<sup>[19](https://openresearch.surrey.ac.uk/view/pdfCoverPage?download=true&filePid=13140389400002346&instCode=44SUR_INST)</sup> 源代码工具也呈现同样的模式：接受评测的十一个工具均无法抵御代码结构的细粒度变换，其中JPlag和Plaggie最为稳健，而基于图的比较可能更强。<sup>[18](https://arxiv.org/pdf/2102.03997v1.pdf)</sup> 由于重叠文本并不总意味着抄袭，测试文献建议借助专家人工审查并组合使用至少两个系统进行判定。<sup>[8](https://link.springer.com/article/10.1186/s41239-020-00192-4)</sup><sup> • </sup><sup>[19](https://openresearch.surrey.ac.uk/view/pdfCoverPage?download=true&filePid=13140389400002346&instCode=44SUR_INST)</sup>

大语言模型改变了问题的两个方面。人类检测大型自回归模型所生成改写的准确率仅略高于随机水平，[GPT-3](https://www.edgepedia.org/zh/gpt-3)为53%，T5为56%，而在ENAI测试中，顶级商业系统PlagScan无法可靠识别机器改写。<sup>[20](https://aclanthology.org/anthology-files/pdf/emnlp/2022.emnlp-main.62.pdf)</sup> PAN 2025以一项生成式任务作为回应：基于100,000份arXiv文档构建的大规模LLM生成抄袭数据集，在该数据集上，朴素的基于嵌入的语义相似度在0.5精确率下达到最高0.8的召回率，而Linq-Embed-Mistral检索基线优于所有四份参赛提交。<sup>[9](https://ceur-ws.org/Vol-4038/paper_280.pdf)</sup> 新的检测器直接针对机器文本：如[GPTZero](https://www.edgepedia.org/zh/gptzero)、DetectGPT和OpenAI Classifier等AI文本分类器，<sup>[11](https://journals.plos.org/plosone/article/file?id=10.1371%2Fjournal.pone.0319551&type=printable)</sup> 以及SearchLLM——它通过搜索引擎检索候选来源，用LLM重新生成这些来源，并在候选与输入之间的相似度分数\( \sigma_{c} \)超过阈值\( \alpha \)时将输入判定为人类所写。<sup>[21](https://aclanthology.org/2026.eacl-long.79.pdf)</sup>

## References

1. [PlagBench: Exploring the Duality of Large Language Models in Plagiarism Generation and Detection](https://arxiv.org/html/2406.16288v1)
2. [Moss: A System for Detecting Software Similarity (official system page)](https://theory.stanford.edu/~aiken/moss/)
3. [PAN at CLEF 2012 - Text Alignment (task page)](https://pan.webis.de/clef12/pan12-web/text-alignment.html)
4. [Winnowing: Local Algorithms for Document Fingerprinting (Schleimer, Wilkerson, Aiken, SIGMOD 2003)](http://theory.stanford.edu/%7Eaiken/publications/papers/sigmod03.pdf)
5. [Corpus and Evaluation Measures for Automatic Plagiarism Detection](https://downloads-cf.webis.de/publications/papers/barroncedeno_2010.pdf)
6. [Overview of the 4th International Competition on Plagiarism Detection (PAN'12)](https://ceur-ws.org/Vol-1178/CLEF2012wn-PAN-PotthastEt2012.pdf)
7. [PAN at CLEF 2014 - Text Alignment (task page)](https://pan.webis.de/clef14/pan14-web/text-alignment.html)
8. [Testing of support tools for plagiarism detection](https://link.springer.com/article/10.1186/s41239-020-00192-4)
9. [Overview of the Plagiarism Detection Task at PAN 2025](https://ceur-ws.org/Vol-4038/paper_280.pdf)
10. [Plagiarism types and detection methods: a systematic survey of algorithms in text analysis](https://www.frontiersin.org/journals/computer-science/articles/10.3389/fcomp.2025.1504725/full)
11. [Comparative analysis of text-based plagiarism detection techniques](https://journals.plos.org/plosone/article/file?id=10.1371%2Fjournal.pone.0319551&type=printable)
12. [Bela Gipp (2014). Citation-based Plagiarism Detection. .](https://doi.org/10.1007/978-3-658-06394-8)
13. [Evaluation of Fingerprint Selection Algorithms in a Two-Stage Plagiarism Detection System](https://sciendo.com/pdf/10.2478/acss-2021-0022)
14. [Sergey Brin, James Davis, Héctor García-Molina (1995). Copy detection mechanisms for digital documents. ACM SIGMOD Record.](https://doi.org/10.1145/568271.223855)
15. [SCAM: A Copy Detection Mechanism for Digital Documents (Shivakumar, Garcia-Molina)](http://infolab.stanford.edu/~shiva/Pubs/scam.pdf)
16. [Plagiarism detection: a tool survey and comparison](https://drops.dagstuhl.de/storage/01oasics/oasics-vol038-slate2014/OASIcs.SLATE.2014.143/OASIcs.SLATE.2014.143.pdf)
17. [A novel semantic–syntactic hybrid plagiarism detection system based on word embeddings and similarity measures](https://dl.acm.org/doi/10.1007/s10115-026-02837-8)
18. [Evaluating the robustness of source code plagiarism detection tools to pervasive plagiarism-hiding modifications](https://arxiv.org/pdf/2102.03997v1.pdf)
19. [Defeating plagiarism detection systems (character and word substitution attacks)](https://openresearch.surrey.ac.uk/view/pdfCoverPage?download=true&filePid=13140389400002346&instCode=44SUR_INST)
20. [How Large Language Models are Transforming Machine-Paraphrased Plagiarism](https://aclanthology.org/anthology-files/pdf/emnlp/2022.emnlp-main.62.pdf)
21. [SearchLLM: Detecting LLM Paraphrased Text by Measuring the Similarity with Regeneration of the Candidate Source via Search Engine](https://aclanthology.org/2026.eacl-long.79.pdf)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › 语言与视觉人工智能 › 自然语言处理 › NLP任务与方法

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/plagiarism-detection

English original: https://www.edgepedia.org/plagiarism-detection
