TamperCert: A Benchmark for Detecting Text Tampering in Degree Certificates

ChiFung Kwan, Kangzhong Wang, Youqian Zhang, Weijie Chen, Jiaqi Gao, Yongjian Wu, Eugene Yujun Fu, Qingqing Ye, Haibo HuarXiv 2026

Imagine you’re an admissions officer at a top university. You receive a digital photo of a degree certificate. It looks perfect—the seals are crisp, the signatures are elegant, and the font is consistent. But is it real? In 2024, the University of Hong Kong discovered that 30 master’s students had enrolled using forged credentials.

As generative AI makes "perfect" forgeries easier than ever, a new paper introduces TamperCert, a benchmark designed to see if our best digital detectives can actually spot these high-stakes fakes.

TL;DR

TamperCert is a new benchmark of over 20,000 forged degree certificates created using everything from Photoshop to state-of-the-art Generative AI. The sobering takeaway: while we can often catch "raw" digital edits, simply taking a photo of a forged certificate on a screen acts like a "cloaking device," making the forgery nearly invisible to current AI detectors.

What Problem Does This Paper Address?

Degree certificates are the keys to the kingdom—they unlock jobs, visas, and higher education. Traditionally, verifying them meant tedious manual checks or expensive blockchain systems that most universities haven't adopted yet.

The "old school" way to forge a document involved manual Photoshop work, which often left behind digital "scars" (artifacts) that forensic tools could spot. However, new Scene-Text Editing models and General-Purpose Generative AI (like GPT-4 or Gemini) can now rewrite text while perfectly preserving the background and font.

The authors noticed a massive gap: existing forgery benchmarks focus on things like receipts or street signs, not formal, high-stakes documents. Furthermore, most researchers test detectors on "clean" digital files, but in the real world, a verifier often receives a grainy screenshot or a smartphone photo of a screen.

Figure 1. Text tampering on a degree certificate, illustrated with a sample certificate. The holder’s name is replaced, and a verifier may receive a screenshot or a phone photograph, not the edited file on which detectors are usually tested.

Methods

The researchers built a rigorous pipeline to test the limits of forgery detection:

  1. Source Material: They started with 400 genuine certificates from 38 different universities.
  2. The Forgery: They used 11 different methods to change just the holder's name. These ranged from manual Photoshop edits to advanced AI models like AnyText2 and Qwen-Image-Edit.
  3. The "Real World" Filter: This is the clever part. For every forged image, they created five versions:
  4. Lossless: The raw, edited file.
  5. JPEG: Standard compressed version.
  6. Resized: Scaled down to 75%.
  7. Screenshot: A capture of the image in a web browser.
  8. Phone Photograph: A literal photo of a monitor displaying the certificate.
  9. The Detectors: They evaluated 13 specialized detectors (including tampering localizers and AI-image detectors) and commercial Multimodal Large Language Models (MLLMs) like Claude.
An overview of the TamperCert pipeline, from genuine certificates to five-version evaluation.

Datasets

The primary contribution is the TamperCert dataset. Unlike previous datasets (like DocTamper or TFR), TamperCert uses real degree certificates and applies 11 different tampering methods to the exact same text region, allowing for a true apples-to-apples comparison of how different forgery techniques evade detection.

Key Insights and Ideas

  • The Recapture Loophole: Taking a photo of a screen (recapture) destroys the microscopic noise patterns and JPEG artifacts that forensic tools rely on. For many detectors, performance dropped from "near-perfect" on digital files to "no better than a coin flip" on phone photos.
  • Generative AI is "Cleaner": General-purpose generative models (like GPT-Image) often produce text that is more legible and "natural" to OCR (Optical Character Recognition) engines than specialized scene-text models, which sometimes produce distorted characters.
  • The Localization Failure: If a forger uses AI to regenerate the entire image (Full-Image Regeneration) rather than just editing a small box, localizers fail completely. There is no "boundary" between the original and the fake for the AI to find.
  • MLLMs are Overconfident: Commercial models like Claude are great at spotting "messy" scene-text edits but missed up to 89% of forgeries made by high-end generative models.

Key Results

The results highlight a significant vulnerability in our current verification infrastructure:

  • Detection Accuracy: On standard JPEG files, the best detector (DTD) achieved an AUC of 0.98 (nearly perfect). However, on phone photographs, that same detector's performance plummeted to 0.40—worse than random guessing in some cases.
  • OCR Success: Forgeries made by Photoshop or General-Purpose AI were read correctly by OCR engines almost as often as genuine names, meaning automated "text-matching" checks are easily fooled.
Figure 3. Share of forgeries in which OCR reads the target name correctly. The green dashed line is the share for the original names of genuine certificates.

Limitations and Future Work

The authors are upfront about the remaining challenges:

  • Scope: The study focused only on the holder's name and Latin scripts. Forgers also target dates, degrees, and non-Latin characters.
  • Physical World: The benchmark doesn't yet cover certificates that have been physically printed and then scanned back in—a common real-world scenario.
  • The "Unseen" Problem: Even when they trained a detector specifically on TamperCert, it struggled to catch forgery methods it hadn't seen during training, suggesting we are still in a high-stakes cat-and-mouse game.

In the end, the paper serves as a warning: if you're verifying a degree based on a photo sent over email, you might be looking at a masterpiece of AI fiction that no current tool can reliably debunk.

Summary updated

Abstract

Degree certificates play a critical role in high-stakes decisions such as university admission, immigration, and hiring. The issuing institution vouches for the holder, so a forged certificate may let its bearer pass these checks. Degree certificate forgery is increasingly prevalent. Yet, many assume that it is easy to spot. Reported cases show otherwise: in 2024, the business school of the University of Hong Kong found that about 30 master's students had enrolled with forged academic credentials. Few studies have looked at how to detect forged degree certificates, partly because public benchmarks are scarce. We present TamperCert, a benchmark built from 400 real degree certificates issued by 38 universities. Each certificate was subjected to 11 publicly available tampering methods to alter the holder's name and further processed with four additional post-processing techniques, resulting in over 20,000 forged images. We evaluate 13 detectors, a commercial multimodal large language model (MLLM), and detectors trained on TamperCert.Our findings reveal that no detector is reliable for every tampering method. Consequently, a determined forger may still evade detection. Moreover, the commercial MLLM misses most forgeries made by general-purpose generative models, and post-processing, such as resizing an image or photographing it with a camera, severely degrades detection.
BibTeX
@misc{kwan2026tampercert,
  author = {ChiFung Kwan and Kangzhong Wang and Youqian Zhang and Weijie Chen and Jiaqi Gao and Yongjian Wu and Eugene Yujun Fu and Qingqing Ye and Haibo Hu},
  title = {{TamperCert: A Benchmark for Detecting Text Tampering in Degree Certificates}},
  year = {2026},
  eprint = {2611.30419},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.30419},
}
Figure