---
title: "Paraphrase type identification for plagiarism detection using"
description: "Alvi and colleagues identify reordered text and synonymous substitutions in paired sentences using word alignment, context, and embeddings."
canonical: "https://research.elamur.ai/free/en/papers/alvi-2021-paraphrase-type-identification-plagiarism-detection/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/alvi-2021-paraphrase-type-identification-plagiarism-detection/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2021](https://md.research.elamur.ai/free/en/papers/2021/) / Paraphrase type identification for plagiarism detection using contexts and word embeddings

# Paraphrase type identification for plagiarism detection using contexts and word embeddings

Paper · 2021 · Faisal Alvi, Mark Stevenson and Paul David Clough

**Authors:** Faisal Alvi, [Mark Stevenson](https://md.research.elamur.ai/free/en/authors/mark-stevenson/) and Paul David Clough · **Year:** 2021 · **Venue:** International Journal of Educational Technology in Higher Education · **Licence:** [CC BY (OpenAlex best open-access location)](https://creativecommons.org/licenses/by/4.0/)

International Journal of Educational Technology in Higher Education · [licence](https://creativecommons.org/licenses/by/4.0/)

- [PDF](https://educationaltechnologyjournal.springeropen.com/track/pdf/10.1186/s41239-021-00277-8)
- [DOI 10.1186/s41239-021-00277-8](https://doi.org/10.1186/s41239-021-00277-8)

## Summary

A plagiarism report can show that a passage resembles a source and point the reader to the matching text. A reviewer still has to work out how the wording changed and whether the reuse was properly acknowledged. Faisal Alvi, Mark Stevenson and Paul Clough study a specific part of that job. Given a source sentence and a sentence derived from it, can a system locate the words or phrases that were moved or replaced and identify which kind of change occurred? Their method is designed to add this information to the matches a plagiarism checker already produces.

The authors begin by standardizing the spelling surface of the sentences and filtering the pairs for length and overlap. To find changes in order, they look for runs of shared words, then check whether those runs occur in a different sequence or fit a pattern that rearranges corresponding phrases. To find substitutions, the system aligns the sentences and looks for different expressions with matching text on both sides. Where that local evidence is missing, it can compare individual content words using pretrained [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/), which represent words as numerical vectors. A separate rule handles cases in which a compound is written as a single word in one sentence and as separate words in the other.

The evaluation uses 211 pairs drawn from a collection of short answers that university students revised from Wikipedia sources to simulate plagiarism. The pairs contain 28 annotated reorderings and 304 annotated substitutions. The system achieved an overall F₁ of 0.90579 for locating reordered spans. For substitutions, the strongest overall combination was the Smith–Waterman alignment algorithm adapted for plagiarism detection with ConceptNet Numberbatch embeddings. It achieved an F₁ of 0.80184. Meteor gave the best substitution F₁ on Task B, which had the largest share of heavily revised pairs. The evaluation credits overlapping characters in a detected span, so a partially correct location can receive partial credit.

The results show how a report could make a sentence match easier to inspect. It could point to a clause that moved or a phrase that was replaced and show the corresponding wording in the source. The experiments establish how well the method recovers human annotations in the selected sentence pairs. Whether the added detail improves reviewers’ decisions about actual plagiarism remains an open question.

## Deep dive: Paraphrase type identification for plagiarism detection using contexts and word embeddings

Alvi and colleagues identify reordered text and synonymous substitutions in paired sentences using word alignment, context, and embeddings. · about 32 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### From finding a match to describing a change

A source-based plagiarism checker has to find passages worth comparing in the first place. The commercial systems discussed by the authors supply similarity scores and indicate where corresponding passages appear in the submitted text and possible sources. That output gives a reviewer places to look. The paper treats the judgment that follows as a human responsibility because plagiarism concerns attribution as well as textual reuse. The location of a match can inform that judgment, while the relevance of any acknowledgment has to be assessed in context.

Paraphrase makes the comparison more demanding because the writer can preserve the sense of a passage while changing its wording and structure. A run of identical words might survive inside a revised sentence but appear in a different place. A phrase might give way to a single word, or a word might be expanded into a phrase. Several changes can occur in the same sentence. As a result, a sentence-level similarity measure and a description of what happened to a particular phrase address different questions. The authors ask for a description that names the operation and locates the affected text in both versions.

The paper situates paraphrasing among several ways reused material can appear. Earlier surveys discussed direct copying, reuse disguised through translation, and reuse through summarization, among other forms. Some classified paraphrase as a way of preserving meaning. Others placed it under structural or deliberate textual manipulation. Across these classifications, a paraphrase type describes an operation within a piece of reused text. A category such as synonymous substitution can therefore apply to a particular span even when the surrounding passage also contains additions, omissions or changes in order.

The distinction matters for the input as well as the output. In the authors’ proposed integration, an external-source detection system identifies matching sections and passes them to a paraphrase-type component. In the experiment, the source and revised sentences have already been paired. The component’s job begins with those two inputs. By asking whether a specific phrase moved or was replaced, the study can evaluate a detector against marked spans, instead of reducing each pair to a single judgment about overall similarity.

#### Why focus on substitution and reordering?

Earlier paraphrase typologies, as reviewed in the paper, describe changes at several linguistic levels. They include substituting terms with similar or opposite polarity, changing modality, using ellipsis, and altering how someone’s words are reported. Categories in different typologies can overlap without being identical. For instance, the paper’s comparison places some substitutions involving greater or lesser specificity under the broader category of same-polarity substitution. For detection, a category needs an operational definition that tells a reader which changes count and gives annotators a way to mark them.

Synonymous substitution was an obvious candidate because earlier studies often encountered it. The paper cites shares of 45%, 37% and 32% for synonymous substitutions in the respective datasets discussed by Barrón-Cedeño and colleagues, Bhagat, and Sun and Yang. Those figures describe the composition of particular collections, each with its own material and categorization. For Alvi and colleagues they motivate the choice to study substitution. At the same time, prior work placed reordering among the recurring ways text is revised even though it was less frequent. Reordering poses a different detection problem because a system can see much of the original vocabulary and still have to reconstruct which occurrences correspond.

The paper also draws on assessments of plagiarism tools. It cites a survey in which none of the 15 tested tools met the survey’s criteria for a useful system. In the tests summarized by Alvi and colleagues, synonym replacement in material taken from Wikipedia generally led to poorer performance, and manual paraphrase remained difficult. That observation concerns finding disguised reuse. The authors’ own experiment starts further downstream, but it takes seriously the same gap between visible word matches and the relationship a person can recognize between two passages.

#### What earlier systems could contribute

The paper describes several established ways to compare text. Character and word [n-grams](https://md.research.elamur.ai/free/en/concepts/n-gram/) capture contiguous sequences that two texts share. Vector representations and semantic measures offer other ways to score resemblance. The authors also discuss approaches that combine lexical resources and vector-based word similarities with measures of overlap or edit distance. Another line of work combined character-level features, while a syntactic and semantic measure used WordNet similarity. The earlier [re-examination of machine translation metrics for paraphrase identification](https://md.research.elamur.ai/free/en/papers/madnani-2012-re-examining-machine-translation-metrics/) appears in this account of ways to recognize paraphrases. In these comparisons, similarity is evidence that two stretches of text should be considered together. The paper’s additional question is what type of change to record once the stretches have been paired.

Alignment offers a way to get from whole-sentence resemblance to individual correspondences. An alignment links units across texts. In [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/), those units can be in different languages. In monolingual alignment, the system looks for corresponding expressions in sentences in the same language. A link can connect a word to a phrase as well as a word to another word. The example from [Labeled Alignment for Recognizing Textual Entailment](https://md.research.elamur.ai/free/en/papers/wang-2013-labeled-alignment-recognizing-textual-entailment/) uses a matrix to make those correspondences visible. A cell marks a proposed connection between a position on one side and a position on the other. Several cells can be involved in expressing a correspondence whose two sides have different lengths.

Alvi and colleagues describe tools such as Meteor and the Berkeley Aligner as precedents for alignment. They also describe a pipeline from [Back to Basics for Monolingual Alignment](https://md.research.elamur.ai/free/en/papers/sultan-2014-back-basics-monolingual-alignment-exploiting/) that handles different sources of evidence in succession. It starts with identical word sequences, proceeds through named entities and content words, and ends with stopwords. A stopword, in this setting, is a frequent grammatical word such as a determiner or conjunction. Such words can help locate the boundaries of a change when they line up, while their frequency makes them weak evidence for some individual word correspondences. This dual role carries through to the new detector.

### The method, step by step

#### The sentences and their annotations

The authors start from the Corpus of Plagiarised Short Answers, in which university students answered questions using material from Wikipedia under conditions designed to simulate different degrees of reuse. The corpus distinguishes near copies, light revisions, heavy revisions and answers in the no-plagiarism condition. The Subcorpus of Paraphrased Sentences organizes source sentences and corresponding light and heavy revisions across the tasks. Its 101 files are the starting collection from which the authors select pairs for their own experiment. The reported unit for the experiment is a pair of sentences. The unit to be detected inside each pair is a change with a span on each side.

The filter draws on the construction of the Microsoft Research Paraphrase Corpus. The paper traces that precedent to [Unsupervised Construction of Large Paraphrase Corpora](https://md.research.elamur.ai/free/en/papers/dolan-2004-unsupervised-construction-large-paraphrase-corpora/) and gives [Automatically Constructing a Corpus of Sentential Paraphrases](https://md.research.elamur.ai/free/en/papers/dolan-2005-automatically-constructing-corpus-sentential-paraphrases/) as the detailed account of the selection criteria. Alvi and colleagues retain the sentence-length and word-overlap requirements and adapt the sentence-similarity and relative-length requirements. The purpose of the combined screen is to retain pairs with enough common material for comparison and enough variation for a substantive change to be possible.

Before filtering, the system converts letters to lower-case and removes punctuation while retaining apostrophes. The paper gives possessive forms involving Google and Bayes as reasons to preserve that mark. Lowercasing means capitalization alone cannot block a match. Keeping the apostrophe preserves a distinction that the later matching rules can choose to relax for certain endings. The preprocessing therefore determines which differences reach the alignment stage and which are treated as incidental for this task.

Every sentence must fall within 5–40 words. The sentences in a pair must share at least 3 words and have an edit distance of at least 3. Edit distance expresses how much editing is required to transform one sequence into another. The overlap criterion asks for common material, while the minimum edit distance asks for variation. The shorter sentence must also be at least 60% as long as the longer sentence, measured in words. This condition excludes pairs in which the two inputs differ too greatly in length, even if they contain a locally similar phrase.

For the remaining criterion, the paper represents each sentence as a vector over words. It calculates cosine similarity, a measure of how closely the vectors point in the same direction, with a minimum accepted value of 0.25 for sentence selection.

```
sim(S⃗, T⃗) = (S⃗ · T⃗) / (‖S⃗‖ · ‖T⃗‖)
```

Here `sim` denotes the similarity function. `S⃗` and `T⃗` are the word-based representations of the two sentences. The dot in the numerator is the dot product, which adds the products of corresponding vector coordinates. The double bars denote vector length. The dot between the lengths is ordinary multiplication, and the slash divides the dot product by that product of lengths. For this filter the vectors describe complete sentences. Later, the authors use the same kind of comparison between vectors for individual words, with a separate cutoff and a different purpose.

Once the filter has selected the pairs, the authors annotate both forms of change. In a reordering, words from the source recur in a different sequence. The authors allow function words to change around the reused content, as when a phrase with a preposition becomes a possessive construction. Their formal description emphasizes permutation with added stopwords, and their discussion and examples also treat removal of function words as compatible with reordering. In a synonymous substitution, a word or phrase is replaced by wording that has the same or roughly the same meaning in the sentence. The important comparison is between the senses of the expressions in use. A replacement can fit the definition even when the two expressions have different grammatical forms or lengths.

A sentence pair can contain several marked changes. One example in the paper distinguishes changes in order, an insertion and a substitution within the same pair, so the label for one change cannot stand in for a description of the whole sentence. The insertion illustrates a change that lies outside the detection task evaluated here. The procedure looks for the locations of supported change types within a pair, including the location in the source and the location in the revision.

From paired sentences to labeled text spans The steps in order.

#### Finding where text moved

The reordering stage begins by looking for contiguous runs of matching words. The authors use Greedy String Tiling, which looks for the longest matching runs first, then works down to shorter runs. Each aligned run ties a location in the source to a location in the revision. If the sentences have reused an entire phrase, the phrase can act as a unit when the detector checks its order relative to other material. Starting with longer shared runs also gives a recurring word some local context before the detector has to decide where it belongs.

The paper allows a small relaxation of identity at this point. Its matching rules can treat forms with endings in `s` or apostrophe-bearing endings as near matches. For instance, Google can be matched to its possessive form. This allows the detector to use a recurrent name as part of a shared run even if the two sentences use different constructions around it. The relaxation concerns the form of words in the tiling stage. It does not require a semantic comparison using embeddings.

The minimum tile length is expressed as `n ≥ 2`, where `n` is the number of words in a contiguous sequence and the inequality includes sequences of that length or longer. A single occurrence of a common word gives weak evidence for a tile because the same word may recur in either sentence. The paper illustrates this with repeated instances of *that*. A link based on the word alone has multiple plausible destinations, whereas an adjoining run provides more information. Single words can still be relevant when the system checks permutations. Leaving individual words out of the initial tiling step addresses one source of ambiguity while leaving the later detector to resolve other cases.

Once shared segments have been found, the detector looks at their order. If a segment represented by `A` comes before `B` in the source and after it in the revision, their order has flipped. The labels refer to matched units, which may be words or longer runs. A moved clause and the words that precede or follow it can therefore be treated in the same general way as shorter neighboring units. The comparison depends on identifying corresponding spans before deciding which relative order they occupy.

The authors show how several apparently different permutations can be covered by the same search. With source order `A B C`, the revision order `A C B` leaves `A` fixed and exchanges `B` with `C`. The revision order `B C A` can be seen as an exchange of `A` with the intact block `B C`. Similarly, `C A B` exchanges `C` with the intact block `A B`. These are cases in which a search for exchanges of two units can account for a different arrangement of three labeled segments.

```
3! = 6
```

Here `3` is the number of labeled segments in the paper’s example. The exclamation mark is the factorial operation, which counts their possible linear arrangements, and `6` is the number of arrangements listed, including the unchanged order. The reversal `C B A` is the case the authors treat as requiring a separate pattern for three units. Their search accordingly looks for exchanges of the form `AB` to `BA` and reversals of the form `ABC` to `CBA`. The reduction concerns how the tested arrangements are represented. It leaves open which matched words or phrases have to be assigned to the slots in an individual sentence pair.

#### Recognizing changes around movable phrases

A pure permutation can account for an intact clause changing places. Some rearrangements also change the small words that connect the content. The authors use paraphrase patterns to handle these. A pattern contains slots for the expressions that correspond across the pair, along with any fixed wording that specifies the relationship between the slots. If a source expression uses a construction of the form `X of Y` and the revision places `Y` immediately before `X`, the two content slots survive, but the preposition gives way to a different construction. Here `X` and `Y` stand for the expressions that fill the slots.

The paper also gives a coordination pattern in which the two items on either side of *and* switch places. It can be understood as a reversal of three units if the conjunction occupies the middle position. The rule and the permutation then offer two ways of representing the same observable arrangement. The authors allow the patterns to work in either direction, so a construction involving *of* can be the source or the revision. Their pattern examples include changes to the connecting material as well as exchanges of slots. They describe implementing a small set of patterns, with the possibility of expanding it for another dataset.

For a longer movement, the authors describe a Task B pair about reusing code. A phrase describing how little modification is required appears at the end of the source and at the beginning of the revision. Much of the sentence survives in the same wording, yet its organization changes. Shared runs let the detector represent the moved phrase and the rest of the sentence as spans whose order can be compared. That example illustrates why the output can cover a whole-sentence rearrangement even though the evidence begins with matches between smaller parts.

The system gives reordering priority because the authors regard a change in the position of retained material as the more specific explanation. Substitution admits words or phrases that do not occur elsewhere in the source. Reordering is tied more closely to material the two sentences already share. Once the system finds reordered correspondences, it marks them in the representation used for substitutions. The procedure can therefore carry the evidence from the more constrained stage into the broader comparison.

#### Aligning sentences to find replacements

The substitution stage looks first for nearby material that aligns. The authors use the Smith–Waterman algorithm adapted for plagiarism detection for their main version. It is a local alignment procedure. It looks for correspondence within the sentences and can accommodate gaps, rather than expecting every word to pair with a word at the same position. The matrix represents positions in the source along one dimension and positions in the revision along the other. A series of aligned positions can mark shared text on either side of wording that changed.

```
(m + 1) × (n + 1)
```

This is the size of the alignment matrix. `m` is the number of words in the source sentence, and `n` is the number in the revised sentence. The `+ 1` terms reserve an additional row and column in the alignment grid. The multiplication sign separates the row and column counts. In discussing contextual substitutions, the authors also use sentinel rows and columns, or artificial matching boundaries, to supply context at the ends of the sentences.

```
M[i, j] = max(
  M[i − 1, j − 1] + sim(a, b),
  M[i, j − 1] + gap,
  M[i − 1, j] + gap,
  0
)
```

`M` is the alignment-score matrix. `i` and `j` index positions along the source and revised sentences. The bracketed pair identifies a cell, and subtracting `1` moves back by one position on the relevant axis. `a` and `b` are the words under comparison at those positions. In this equation `sim(a, b)` is the scoring rule for a word match or mismatch, distinct from the vector cosine function used for selection. The paper assigns `10` to a match and `-1` to a mismatch. `gap` is the penalty for advancing in one sentence without pairing its word to a word in the other, and the paper sets it to `-1`. The `+` signs add the current comparison score or penalty to the score of a preceding cell. `max` selects the largest candidate score. The `0` provides a floor from which a local alignment can restart.

The diagonal candidate continues the alignment by comparing words from both sentences. The horizontal and vertical candidates continue it with a gap on one side. The positive match score makes a run of corresponding words strong evidence, and the negative terms permit an alignment to pass through local differences at a cost. These scores help locate shared material. A subsequent rule uses the arrangement of matches around the intervening text to decide whether to label it a substitution.

The paper distinguishes contextual and non-contextual substitutions by their immediate surroundings. The contextual route applies when the wording on the left matches across the sentences and the wording on the right also matches. In the matrix, the two matches appear diagonally before and after the candidate change. Consider the paper’s example in which *little* becomes *minimal* between *with* and *or*. Those neighboring words pick out where the change begins and ends. The rule can use the same evidence when the expressions between the boundaries have unequal lengths.

In another example, *the documents* corresponds to *they*. The shared boundaries help the system link a noun phrase and a pronoun even though the two would be difficult to treat as an ordinary dictionary synonym pair. This is an application of the idea behind [distributional semantics](https://md.research.elamur.ai/free/en/concepts/distributional-semantics/) at the level of the sentence pair. A shared environment is evidence for the relationship between the expressions. The paper’s criterion is local and concrete. It asks whether there is a match on each side of the candidate span in these sentences.

At a sentence boundary, there can be no real word outside the first or last expression. The artificial beginning and end matches supply a boundary in these cases. The paper illustrates this with *Longer* corresponding to *Long* at the start of a sentence. After normalization, a difference in word form remains, and the sentinel allows the detector to evaluate it using the same arrangement of evidence it uses for an internal replacement. This example belongs to the contextual route because of the aligned boundaries.

#### Finding replacements when the surroundings differ

A revision can change enough of a sentence that one or both neighbors of a replacement no longer match. The paper illustrates this with *reuse* corresponding to *to be used again* in a passage about existing code. The material adjoining the expressions has changed position or wording, so the local boundaries do not provide the same evidence as in the *little* and *minimal* example. The case explains why the authors distinguish the two routes. It also illustrates a hard case for the embedding rule, which compares individual words. The paper offers the longer correspondence as an example of the category that lacks shared contexts, rather than as evidence that a word-vector comparison can recover arbitrary phrases.

For content words, the system calculates cosine similarity using pretrained vectors. These are representations obtained before the detection experiment. The experiment uses them to judge how similar a candidate word pair is. The comparison uses the same mathematical operation as the sentence filter, with a vector for each word in place of a word-based vector for each sentence. The paper describes a cutoff of 0.50 for ConceptNet Numberbatch in its method and reports a word-similarity cutoff of 0.500 in the comparison. Its examples include *need* with *required* and *anymore* with *longer*. Those cases show what the embedding route contributes when exact neighboring matches are unavailable.

The rule applies the embedding cutoff to pairs of content words. The paper illustrates the motivation with high similarities involving *won’t*, *will* and *be*. A frequent grammatical word can have several plausible numerical neighbors in the other sentence. Accepting those pairs on the basis of the cutoff would create opportunities for spurious links. A word such as a conjunction can still be valuable as a shared boundary for the contextual route. Its treatment depends on whether its identity is helping to locate a change or its vector is being used as direct evidence for a substitution.

A separate rule covers changes in how compounds are written. The paper gives *subproblem* and *sub problem*, and *webpage* and *web page*. These are correspondences between a word and a short sequence of words that are apparent from their written forms. They broaden the route for non-contextual matches without requiring the comparison of an unrestricted phrase against an individual word. Together, the contextual rule, the content-word comparison and the compound rule give the system different ways to place a substitution label on corresponding spans.

#### Counting a match between a detection and an annotation

The comparison is based on the locations and lengths of character spans. The paper represents a human annotation as a tuple describing one span on each side of the pair.

```
s = (sₛₜₐᵣₜ, sₛᵢ𝓏ₑ, tₛₜₐᵣₜ, tₛᵢ𝓏ₑ)
```

`s` is one annotated instance. Its first entry, `sₛₜₐᵣₜ`, is where the source span begins, and `sₛᵢ𝓏ₑ` is its length. The third entry, `tₛₜₐᵣₜ`, marks the start in the paraphrased sentence, and `tₛᵢ𝓏ₑ` gives that span’s length. The parentheses and commas group the entries in order. The two spans can have different lengths because a change can connect a word, for instance, to a longer expression.

```
r = (s′ₛₜₐᵣₜ, s′ₛᵢ𝓏ₑ, t′ₛₜₐᵣₜ, t′ₛᵢ𝓏ₑ)
```

`r` is a detection from the system. The primed entries give the detected start and length on the source side, then the detected start and length on the revised side. Primes distinguish those positions and lengths from the annotated ones. The system labels each detection as a reordering or a substitution, and the scores are reported for the two types separately.

The overlap between a detection and an annotation consists of the character positions they share. Suppose a detected phrase includes the whole annotated change and also some adjacent text. The detected span covers the annotation, but part of the detection lies beyond it. A narrower detection inside the annotation has the opposite issue. Its proposed text can be fully supported while some of the marked change remains uncovered. The two measures distinguish these cases by dividing the covered material by different quantities.

```
precision = (1 / |R|) × Σᵣ∈R |⋃ₛ∈S (s ∩ r)| / |r|
```

`R` is the set of detections and `S` is the set of annotations in the evaluation. The vertical bars denote a count, either of instances in a set or of character positions in a span or overlap. `Σᵣ∈R` sums over each detection `r` belonging to `R`, with `∈` denoting membership. For a particular detection, `s ∩ r` gives the character overlap with annotation `s`. The union `⋃ₛ∈S` collects those overlaps across annotations, counting a shared position once. The slash divides the count of covered characters by the size of the detection. Multiplying the resulting sum by `1 / |R|` gives the average over detections.

```
recall = (1 / |S|) × Σₛ∈S |⋃ᵣ∈R (s ∩ r)| / |s|
```

Here the summation `Σₛ∈S` runs over annotations, and the union `⋃ᵣ∈R` collects the character overlap with all relevant detections for each annotation. The term `|s|` is the annotation’s size in characters, and `|S|` is the number of annotations. The division therefore measures how much of each annotated change was recovered. The factor `1 / |S|` averages that quantity over annotated instances.

```
F₁ = (2 · precision · recall) / (precision + recall)
```

`F₁` is the harmonic mean of the precision and recall just defined. The dots denote multiplication, `2` is the multiplier in the harmonic mean, the plus sign adds the two scores in the denominator, and the slash divides the numerator by that sum. Because precision and recall are averages over instances, a long annotated change does not receive more weight overall merely because it contains more characters. Character-level scoring still distinguishes a nearly complete detection from one that covers only a small part of that same change. The authors describe this approach as macro-averaging over spans and relate it to the measures used in the PAN plagiarism detection evaluations.

### Experiments and results

#### What was evaluated

The experiments use the 211 sentence pairs retained from the Subcorpus of Paraphrased Sentences. The authors report pooled results over the evaluated collection and separate results for Tasks A through E, which correspond to the questions in the underlying short-answer corpus. These task breakdowns show how performance varies within the same corpus. The paper describes selection, annotation and evaluation over the resulting collection, with no separate training and test split reported. The word representations used in the substitution comparisons are pretrained.

The annotation inventory contains 332 changes across the two categories. Substitutions account for 304 annotations, or 91.57% of that inventory. Reorderings account for 28 annotations, or 8.43%. These frequencies refer to marked changes, not to whole sentence pairs. Because a single pair can contain multiple changes, reading the scores as proportions of correctly classified sentences would miss the unit being measured. The result of interest is how closely the system’s labeled spans agree with the marked locations and how often marked material receives coverage.

The experiments handle the two types differently. For reordering, the paper reports the performance of its complete string-tiling, permutation and pattern procedure. Its discussion includes an earlier graph-based method by Kumar, which addressed plagiarism detection in the presence of artificial reordering. For synonymous substitution, the paper evaluates combinations of aligners and embeddings within the same detection task, allowing direct comparison on the annotated spans.

#### Reordering across the short-answer tasks

On the pooled sentence collection, the reordering detector gives a precision of 0.86339 and a recall of 0.95256, with an F₁ of 0.90579. The relatively high recall shows that the annotated reorderings generally received coverage under the character-overlap measure. Precision is lower because the system can propose a reordering in the wrong place or include unsupported material in a proposed span. The figures describe average overlap across instances, so they allow a detection to receive some credit for locating only part of a movement.

Tasks A and E have strong F₁ scores, at 0.95964 and 0.95054, respectively. Task C scores 1.00000 for precision, recall and F₁ on its annotated instances. The paper relates these results to the concentration of reorderings across tasks and to the kinds of changes its method covers. The detected movements include shifts within phrases, rearrangements that make use of function-word changes, and movements of longer spans. The task scores describe that mix of edits in this collection.

The pattern differs in Tasks B and D. In Task B, recall is 1.00000, precision is 0.57143 and F₁ is 0.72727. Under this evaluation the system covers the marked instances, while a greater share of its reported material lacks support from the annotations. Task D has a precision of 0.66667 and a recall of 0.83159, producing an F₁ of 0.74005. Its scores reflect incomplete coverage as well as proposed reordered material that fails to match the annotations. This difference between the tasks would be difficult to see from F₁ alone.

Kumar’s graph-based work is relevant because it also addresses changed order. Alvi and colleagues report its precision of 0.698, recall of 0.672 and F₁ of 0.674 on the Corpus of Plagiarised Short Answers. Those scores are for plagiarism detection under artificial reordering. The present experiment evaluates character spans labeled as instances of reordering. The tasks therefore provide different denominators and different meanings for a successful detection. The paper gives the earlier result as context for the difficulty of changed word order and explains that variation in definitions prevents a direct comparison for the paraphrase-type task.

#### Substitution across aligners and embeddings

The substitution experiment pairs each of the available aligners with each embedding resource. The aligners are the Smith–Waterman version for plagiarism detection, the monolingual aligner from [Meteor Universal](https://md.research.elamur.ai/free/en/papers/denkowski-2014-meteor-universal-language-specific-translation/) and Sultan and colleagues’ aligner. The embedding resources are ConceptNet Numberbatch, FastText and [GloVe](https://md.research.elamur.ai/free/en/concepts/glove/). The paper associates FastText with the work on [Advances in Pre-Training Distributed Word Representations](https://md.research.elamur.ai/free/en/papers/mikolov-2017-advances-pre-training-distributed-word/) and cites [GloVe: Global Vectors for Word Representation](https://md.research.elamur.ai/free/en/papers/pennington-2014-glove-global-vectors-word-representation/) for GloVe. The reported word-similarity cutoff for the comparison is 0.500. Each combination yields a set of located substitutions that can be evaluated against the same annotations.

Synonymous substitution F₁ by aligner and embeddings across all short-answer pairs ConceptNet Numberbatch leads with every aligner, and Smith–Waterman gives the strongest overall combination.

**The numbers**

| System or setting | F₁ |
| --- | --- |
| Smith–Waterman with ConceptNet Numberbatch (this paper) | 0.80184 |
| Smith–Waterman with GloVe | 0.75047 |
| Smith–Waterman with FastText | 0.74678 |
| Meteor with ConceptNet Numberbatch | 0.76911 |
| Meteor with GloVe | 0.72335 |
| Meteor with FastText | 0.71105 |
| Sultan with ConceptNet Numberbatch | 0.74906 |
| Sultan with GloVe | 0.70470 |
| Sultan with FastText | 0.69744 |

The leading combination gives a precision of 0.76158 and a recall of 0.84658 overall. With the same embeddings, Meteor gives a precision of 0.74246 and a recall of 0.79774, while Sultan gives a precision of 0.74671 and a recall of 0.75142. The pooled F₁ ordering is consistent with Smith–Waterman’s stronger coverage of annotated instances. The paired precision scores also show that the stronger coverage does not come at the expense of lower pooled precision in this comparison.

The chart uses the pooled table’s values for all combinations. The authors’ prose describes a step down from ConceptNet Numberbatch through FastText to GloVe. In the table, GloVe’s pooled F₁ is above FastText’s with each aligner. Both accounts place ConceptNet Numberbatch first. The table provides the more precise account of how the alternatives rank in the pooled evaluation.

The same Smith–Waterman and ConceptNet Numberbatch combination leads on Task A with an F₁ of 0.72947, Task C with 0.88979, Task D with 0.89058 and Task E with 0.76696. The lowest task-level maximum is on Task B, where Meteor with ConceptNet Numberbatch reaches an F₁ of 0.70408. In other words, changing the task can change which aligner leads even though the embedding resource used by the strongest combination stays the same.

Synonymous substitution F₁ on Task B with ConceptNet Numberbatch held fixed Meteor leads Smith–Waterman and Sultan on the task with the largest share of heavy revisions.

**The numbers**

| System or setting | F₁ |
| --- | --- |
| Smith–Waterman | 0.68691 |
| Meteor (this paper) | 0.70408 |
| Sultan | 0.69362 |

A closer look at Task B shows the tradeoff behind the ranking. With ConceptNet Numberbatch, Meteor obtains a precision of 0.63040 and a recall of 0.79725. Smith–Waterman’s precision is 0.56943 and its recall is 0.86546. Sultan goes further towards precision, with 0.66949, while its recall falls to 0.71955. Meteor reaches the strongest F₁ by retaining more coverage than Sultan while yielding better agreement with annotations among its proposed spans than Smith–Waterman. The other tasks show why the authors keep the pooled conclusion distinct from the finding on this task.

### What the ablations show

The paper compares choices of aligner and embedding resource and analyzes results by task and example. It leaves out component-removal ablations that would measure the separate contributions of tiling, permutation rules, paraphrase patterns, contextual matching, embeddings, and compound rules. The comparisons it does provide can identify where a component choice changes performance, while its worked examples show what individual rules can do and how particular errors arise.

#### Alignment and embedding choices

The substitution grid supports two comparisons. With a single aligner held fixed, changing the embedding resource changes the similarity evidence available for non-contextual word matches. ConceptNet Numberbatch leads the pooled F₁ comparisons in each of these groups. The contextual rules and the alignment choice remain part of the calculation, so the grid measures the effect of changing the resource in the full procedure at the reported cutoff. It leaves the results of separately tuning the similarity cutoff for each resource untested.

Holding the embeddings fixed gives a comparison of aligners. With ConceptNet Numberbatch, Smith–Waterman leads on the pooled collection in both precision and recall. Local alignment is relevant to the method because neighboring matches define the boundaries used by the contextual route. The paper’s examples show that shared words can surround a meaningful replacement even when the replacement has a different length from the source expression. Better alignment can help the detector locate those boundaries. The scores combine contextual instances with other substitutions, so the observed difference between aligners cannot be assigned specifically to the treatment of boundaries.

The pooled results also show why it is useful to change both components in the same experiment. Meteor with ConceptNet Numberbatch gives an F₁ of 0.76911 across the collection, above Smith–Waterman with either FastText or GloVe. Smith–Waterman with ConceptNet Numberbatch still leads overall. Aligning the sentences and comparing word representations both affect the final spans, and a ranking of complete combinations preserves that dependency. The table does not identify a universal ranking of aligners across resources, evaluation measures and tasks.

#### The effect of difficult revisions

Task B gives the authors a way to examine performance where revisions are especially extensive. The paper reports that 23/28 of its sentence pairs, or 82.142%, are in the high-revision category, the largest share among the tasks. Its substitution F₁ scores are weaker across aligners and embeddings, and the authors attribute this in particular to lower precision. When a student changes more of a sentence, fewer pieces of the original may survive in the places the detector expects. A plausible pair of words can then be hard to distinguish from other candidates with similar forms or meanings. The task results are consistent with this account.

The revision category varies together with the task, the particular source passages and the students’ edits. The comparison therefore shows an association between the task with the most heavy revisions and poorer substitution performance. It does not measure the effect of revision intensity with the text otherwise held constant. Meteor’s performance on this task is also a result about balancing coverage and the support for proposed matches. Its precision and recall show that the best aggregate alignment choice is not automatically the best choice on the most heavily revised task.

#### How a plausible permutation becomes a false positive

The reordering error examined by the authors comes from a heavily revised Task B example that discusses pages and their relative importance. A form of *important* and a form of *pages* occur in both sentences. Taking the source’s later occurrence of *important* together with a nearby occurrence of *pages* produces a sequence that appears to switch their order in the revision. At the level of the two chosen terms, the permutation passes the pattern check.

The surrounding sentences give a different correspondence. The authors explain that the final instances of *important* should align with one another. The revised phrase *important pages* corresponds to source wording that describes pages as themselves important earlier in the sentence. Pairing it with the later words gives a formally valid permutation over the wrong occurrences. The failure is in the correspondence on which the reorder decision rests. Once the wrong occurrences are linked, even a correctly implemented permutation rule can propose a spurious span.

This example complements the rationale for beginning with tiles that contain multiple words. A longer run can resolve ambiguity that a single repeated word creates. Heavy revision can also break those runs into smaller pieces, leaving the detector with less evidence about which occurrence was carried over. The paper uses the error to explain some of the lower precision in Tasks B and D. It does not report how many incorrect detections arise from that mechanism, so the example establishes a possible cause and shows what it looks like in an individual case.

The worked contextual and non-contextual substitution examples serve a similar explanatory role. A matched pair of boundaries can locate a pronoun corresponding to a noun phrase, while a similarity score can suggest a word replacement with changed neighbors. Neither example measures how frequently its route finds a change that all other routes miss. The experiments establish the performance of the combined procedure and the differences between tested configurations. A measured division of successes and errors by detection rule remains open.

### Limitations

#### Limits identified by the authors

The authors explicitly identify contract cheating and ghostwriting as cases in which paraphrase-type identification may contribute little. Their method looks for changes relative to supplied source text. If an outside writer produces fresh material for a student, the academic integrity problem concerns who did the work. There may be no copied passage whose substitution or movement can be marked. The authors see the technique as one source of evidence within plagiarism review, with the judgment about actual misconduct remaining with a human evaluator.

They also restrict their evaluated detector to synonymous substitution and word reordering. Insertion and deletion appear in the prior typologies and in the paper’s examples of how sentence pairs can change. The authors identify detection of insertions and deletions as future work. They also propose bringing more types together in an integrated framework. The current results apply to the specific categories and definitions used to annotate the corpus, including the allowance for near-equivalent expressions and for function-word changes around reordering.

The authors discuss applying the general approach to languages beyond the English material studied. They point to multilingual applications of alignment, word representations for other languages and the broader work on cross-language plagiarism detection. That discussion describes a possible extension. The experiments in the paper are monolingual. Adapting the method would additionally require deciding how to handle the forms, connecting words and phrase patterns relevant to the language involved.

#### Limits visible in the evaluation

The corpus contains revisions actually made by university students in a simulation of plagiarism. The source material comes from Wikipedia, the revisions answer a defined set of questions, and the selected input is already paired at sentence level. This setup is appropriate for isolating span identification. It leaves a deployment question about how the detector behaves when an upstream system offers uncertain, partial or incorrect source matches. Errors in identifying a source or choosing sentence boundaries would affect the evidence available to the downstream rules.

The filter further narrows the evaluated material. Accepted pairs have to be long enough to compare, similar enough in length and vocabulary, and different enough to avoid near-identical inputs under the stated thresholds. As a consequence, the reported numbers describe pairs already judged suitable for this form of comparison. A short paraphrase, a much longer rewrite, or a sentence pair with little vocabulary in common can fall outside the conditions under which the scores were measured. Even within the selected collection, Task B shows that a different concentration of heavy revisions can change the precision and recall balance.

The annotation counts differ considerably between types. Reordering scores rest on 28 annotations in the pooled collection, with those instances distributed across the tasks. Substitution scores rest on 304. The task scores, including the perfect result for reordering in Task C, have to be read with that support in mind. The paper reports point estimates. The evidence leaves uncertainty about how stable the task rankings would be across other samples, topics or writing settings. It also leaves open how consistently a separate group of annotators would draw the same boundaries for approximate substitutions or for complex changes involving several edits.

The overlap measure is useful for examining where a system directs attention, but it leaves a separate question about exact spans. If a proposed highlight covers only part of a moved clause, it can still receive credit. If it includes nearby text that did not move, that extra text mainly lowers precision. The results consequently describe average character coverage and accuracy at the instance level. Exact recovery of both boundaries, the usefulness of imperfect highlights, and the time a reviewer needs to interpret a report would require their own measurements.

Some choices also matter for reproducing the substitution comparison. The prose names ConceptNet Numberbatch 19.04, while the associated filename in the paper is `numberbatch-en-19.08.txt.gz`. The paper gives two different version cues for that resource. The authors say that the datasets used in the research are available from the corresponding author on reasonable request. Access to the sentence pairs and marked spans would help establish which instances underlie the results and allow a reproduction to test how version choice and span handling affect them.

Finally, the experiments evaluate the detector against annotations, while the proposed application involves a reviewer interpreting evidence in a plagiarism report. A span link can help the reviewer find a candidate change. The experiments leave the effect on review decisions unmeasured, including whether the extra detail makes a correct judgment easier, how frequently a misleading link creates extra work, and how a reviewer weighs the highlighted wording alongside acknowledgment of the source. The authors’ educational suggestions, including using the examples to teach paraphrase, likewise describe possible uses beyond the reported evaluation.

### What came after

No later work is documented that builds directly on this detector, so its subsequent adoption or evaluation remains open. The paper itself points toward detecting insertions and deletions, combining detectors for more paraphrase types, and extending the approach to other languages. It also proposes a role for the output in plagiarism reports and in instruction about paraphrasing. These directions follow from the study’s division of labor. The detector can locate a particular change when it has a source and a revision to compare. Broader coverage and evidence about how people use the resulting highlights are separate questions for follow-up research.

## Cite

Cite as Faisal Alvi, Mark Stevenson and Paul David Clough. 2021. Paraphrase type identification for plagiarism detection using contexts and word embeddings. International Journal of Educational Technology in Higher Education.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1186/s41239-021-00277-8](https://doi.org/10.1186/s41239-021-00277-8)

```bibtex
@article{alvi2021paraphrase,
  title = {{Paraphrase type identification for plagiarism detection using contexts and word embeddings}},
  author = {Faisal Alvi, Mark Stevenson and Paul David Clough},
  journal = {International Journal of Educational Technology in Higher Education},
  year = {2021},
  doi = {10.1186/s41239-021-00277-8},
  url = {https://doi.org/10.1186/s41239-021-00277-8}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
