Paraphrase Detection
Two sentences can share almost no words and still say exactly the same thing. "How do I reset my password?" and "I forgot my login details — what now?" are one request, and a system that files them as two will answer one and leave the other sitting there.
Deciding sameness, not similarity
Paraphrase detection judges whether two pieces of text carry the same meaning. The input is a pair, the output is a label — paraphrase or not — and two shapes of model dominate:
- A cross-encoder reads both sentences together and scores the pair directly. Most accurate, and far too slow to compare one sentence against a million.
- A bi-encoder embeds each sentence independently and compares the vectors with cosine similarity. Slightly weaker, but the embeddings can be indexed in advance and searched instantly.
Where it earns its place
Collapsing duplicate questions on a support forum, routing a user's own phrasing to the right FAQ entry, merging near-identical news headlines, and flagging reworded passages in submitted work all reduce to this one decision. The standard training sets are MRPC, which travels inside GLUE, and Quora Question Pairs, with PAWS added later precisely because models were passing by word overlap alone.
Why overlap is not enough
Counting shared words gets you a long way and then fails in the two ways that matter: high overlap with opposite meanings ("flights from Paris to Rome" against "flights from Rome to Paris") and zero overlap with identical meaning. Only a model that represents meaning separates those cases, which is why a weak detector shows a reader the same answer three times and misses the one phrased in their own words.
Paraphrase detection decides whether two pieces of text express the same meaning, as a binary or graded label over a sentence pair. It is trained and measured on sets such as MRPC and Quora Question Pairs, and implemented with cross-encoders for accuracy or bi-encoders for searchable embeddings. Duplicate-question collapsing, FAQ routing and plagiarism checks depend on it, because surface word overlap both misses restatements and accepts pairs that merely share vocabulary.
Ask two people to describe the same film and you get two completely different sets of words. A friend listening to both has no trouble saying "you're making the same point" — and that simple judgement is one computers find surprisingly hard.
Paraphrase detection is software deciding whether two sentences mean the same thing, even when they share almost no words. It is why a help forum can tell you your question has already been answered, and why a support chatbot treats "my card won't work" and "payment keeps getting declined" as one problem instead of two. Without it, the same answer gets written a hundred times over, and the one phrasing a reader actually used goes unrecognised.