Skip to main content

Torment executioner

How science behaves
Law or aphorism
Introductory
Pain killer in Reno, Nevada.
Published

November 9, 2026

Modified

November 13, 2026

Entry #130 in Andrew Gelman’s Handy Statistical Lexicon. Original discussion: Torment executioners in Reno, Nevada.

Filed under How science behaves · Law or aphorism · Introductory.

Source check: ✓ The explanation was checked against the source.

What it is

“Torment executioners” is what “pain killer” became in a paper that, as Gelman traced it, had apparently copied a paragraph from an earlier, obscure article and run it through software that swapped words for synonyms, perhaps to evade plagiarism detectors. The journal’s editor had insisted its contents were “all original.” Reconstructing the word map, Gelman found swaps like these:

  • “intensity of pain” → “concentration of torment”
  • “pain killer” → “torment executioners”
  • “repetitive movements” → “tedious developments”
  • “agreed to the fact” → “concurred to the truth”

The result, as he put it, takes “an already difficult-to-read passage and make[s] it nearly incomprehensible.” Researchers have called these tortured phrases. They are a known sign of machine-paraphrased and paper-mill text. Other documented examples include “counterfeit consciousness” for artificial intelligence and “profound learning” for deep learning.

Why it matters

Tortured phrases show that some published “research” was never read carefully by its authors, reviewers or editors, since any expert would have stopped at “torment executioner.” They are also useful: because technical terms are fixed multi-word expressions, word-by-word synonym swaps break them in recognizable ways, and screening tools can flag suspicious papers automatically.

How it works

A technical term of \(k\) words survives a synonym spinner only if every word is left alone. If each word is replaced with probability \(p\), then

\[ \Pr(\text{term intact}) = (1 - p)^k. \]

At \(p = 0.5\), a two-word term survives a quarter of the time and a four-word term about 6% of the time. Longer, more specialized terms are almost always mangled, which is what makes them good detectors.

Simulated example

A toy synonym spinner with a small dictionary. Spin some technical phrases and see what comes out, along with how often terms of different lengths survive.

Show simulation code

The R version uses base R, and the Python version uses NumPy and Matplotlib. Where the simulation draws random numbers, each language draws its own, so exact numbers differ slightly but show the same pattern. The numbered markers in the R code are explained under it.

import {rng, range, pct} from "../js/stats.js"

viewof p = Inputs.range([0, 1], {value: 0.6, step: 0.05, label: "Probability each word is swapped"})
viewof seed = Inputs.range([1, 500], {value: 130, step: 1, label: "Random seed (spin again)"})

synonyms = ({pain: "torment", killer: "executioners", intensity: "concentration", of: "of", repetitive: "tedious", movements: "developments", artificial: "counterfeit", intelligence: "consciousness", deep: "profound", big: "colossal", data: "information", random: "irregular", forest: "woodland", neural: "neural", network: "organization", mean: "normal", square: "square", error: "blunder", standard: "standard", deviation: "deviation", machine: "machine", learning: "learning", signal: "flag", noise: "commotion"})
phrases = ["pain killer", "intensity of pain", "repetitive movements", "artificial intelligence", "deep learning", "big data", "random forest", "neural network", "mean square error", "signal to noise"]
spun = {
  const r = rng(seed);
  return phrases.map(ph => ({orig: ph, out: ph.split(" ").map(w => synonyms[w] && synonyms[w] !== w && r() < p ? synonyms[w] : w).join(" ")}));
}

html`<table class="table table-sm" style="max-width: 520px;"><thead><tr><th>Technical term</th><th>After the spinner</th></tr></thead>
<tbody>${spun.map(d => html`<tr><td>${d.orig}</td><td style="${d.out !== d.orig ? "color:#d6604d; font-weight:600" : ""}">${d.out}</td></tr>`)}</tbody></table>`

Plot.plot({
  ariaLabel: "Torment executioner: simulation chart",
  ariaDescription: "Horizontal axis: Words in the technical term (k). Vertical axis: Pr(term survives intact). The chart updates with the controls above it, and the summary below the charts states the result in words.",
  height: 220,
  x: {label: "Words in the technical term (k)"},
  y: {label: "Pr(term survives intact)", domain: [0, 1], tickFormat: "%", grid: true},
  marks: [Plot.line(range(6).map(k => ({k: k + 1, s: (1 - p) ** (k + 1)})), {x: "k", y: "s", stroke: "#2166ac", strokeWidth: 2, marker: "circle"})]
})
# Torment executioner: what a paraphrasing tool does to technical terms.
1p <- 0.6 # probability each word is swapped
2set.seed(130)

3synonyms <- c(
  pain = "torment", killer = "executioners",
  intensity = "concentration", repetitive = "tedious",
  movements = "developments", artificial = "counterfeit",
  intelligence = "consciousness", deep = "profound",
  big = "colossal", data = "information", random = "irregular",
  forest = "woodland", network = "organization",
  mean = "normal", error = "blunder", signal = "flag",
  noise = "commotion"
)
phrases <- c(
  "pain killer", "intensity of pain", "repetitive movements",
  "artificial intelligence", "deep learning", "big data",
  "random forest", "neural network", "mean square error",
  "signal to noise"
)
4spin <- function(ph) {
  w <- strsplit(ph, " ")[[1]]
  swap <- w %in% names(synonyms) & runif(length(w)) < p
  w[swap] <- synonyms[w[swap]]
  paste(w, collapse = " ")
}
5spun <- sapply(phrases, spin)
print(data.frame(term = phrases, spun = unname(spun)), row.names = FALSE)
cat("A two-word term survives intact ", round(100 * (1 - p)^2),
  "% of the time\n",
  sep = ""
)
1
The page’s control: the probability that the spinner swaps each word.
2
Fixes the random numbers so the run is reproducible.
3
A small synonym dictionary of the kind a paraphrasing tool uses. Pain killer becomes torment executioner.
4
The spinner: swap each word it knows with its synonym, with probability p.
5
Ten technical phrases after spinning. A k-word term survives only if every word is left alone, so longer terms are mangled more often.
# Torment executioner: what a paraphrasing tool does to technical terms.
import numpy as np

p = 0.6  # probability each word is swapped
rng = np.random.default_rng(130)

synonyms = {"pain": "torment", "killer": "executioners",
            "intensity": "concentration", "repetitive": "tedious",
            "movements": "developments", "artificial": "counterfeit",
            "intelligence": "consciousness", "deep": "profound",
            "big": "colossal", "data": "information", "random": "irregular",
            "forest": "woodland", "network": "organization",
            "mean": "normal", "error": "blunder", "signal": "flag",
            "noise": "commotion"}
phrases = ["pain killer", "intensity of pain", "repetitive movements",
           "artificial intelligence", "deep learning", "big data",
           "random forest", "neural network", "mean square error",
           "signal to noise"]


def spin(phrase):
    return " ".join(synonyms[w] if w in synonyms and rng.uniform() < p
                    else w for w in phrase.split())


for ph in phrases:
    print(f"{ph:25s} -> {spin(ph)}")
print(f"A two-word term survives intact {100 * (1 - p) ** 2:.0f}% of "
      "the time")

Key takeaways

  • Tortured phrases are a fingerprint of machine-paraphrased or paper-mill text.
  • Multi-word technical terms are fragile under word-by-word synonym swaps, which makes them good detectors.
  • Their appearance in published papers shows that nobody, including authors, reviewers and editors, read the text closely.

Source

Back to top