Executive Summary

About 10.5% of the labels in RVL-CDIP, the standard benchmark for document image classification, are wrong, according to a full audit of the dataset. Stefan Larson and Kevin Leach of the University of Michigan reported the result in "Data Quality in RVL-CDIP: A Systematic Audit," posted to arXiv on October 23, 2026, after checking all 400,000 pages one by one. The same audit found that 35.2% of the test set is identical or nearly identical to documents in the training set, and that about 16,000 pages still carry personal data such as birth dates and home addresses.

The paper cites LayoutLLM's 98.8% as the best accuracy reported on the benchmark. Its 1.2% error rate is roughly one ninth of the label error rate the authors measured. "A model cannot be correct more often than the labels against which it is scored," they write, and they argue that score gaps among the top models cannot be read straight as differences in classification skill. A classifier that looks only at the ID codes stamped in page margins gets 69% of the 16 categories right.

The authors retrained 13 models on a version with corrected labels, ID codes removed and duplicated test pages dropped. Accuracy rose by 0.9 to 2.9 points depending on the model, and LayoutLMv3 reached 96.5%. LayoutLLM, the 98.8% model, was not among those retrained, and the paper gives no label error rate for the test set alone. Pebblous maps the five defects onto the label accuracy, record consistency, relevance, representativeness and identifiability items of ISO/IEC 5259-2. The paper does not mention the ISO standard; the mapping is Pebblous's interpretation.

Key Figures

Source: arXiv 2610.32126, abstract and full text

10.51%

Label error rate

All 400,000 pages checked. 31.26% in the letter category

35.2%

Test pages also in training

Identical or near-identical; a lower bound

69%

Accuracy from ID codes alone

16 categories; random guessing gets 6.25%

+0.9–2.9 pts

Accuracy gain after cleanup

13 models. LayoutLMv3 94.8→96.5%

1

All 400,000 RVL-CDIP Pages Checked, 10.51% Mislabeled

RVL-CDIP is a document image classification dataset released in 2015. Its 400,000 grayscale images were drawn from document scans made public during US tobacco litigation and sorted into 16 categories, including letter, memo, resume and specification, with 25,000 pages each. The split is 320,000 pages for training, 40,000 for validation and 40,000 for testing. The authors surveyed 34 papers that report document classification results on RVL-CDIP and found that 23 of them used no other dataset to report classification performance.

The audit covered every page rather than a sample. Seven undergraduate researchers worked through the 400,000 pages over about two years, one category at a time in batches of 1,000. Each page's label was judged "yes," "no" or "unsure," and the project lead reviewed every "no" and "unsure" and a share of the "yes" calls. On 1,500 pages from five categories seen by several reviewers, agreement reached a Fleiss' κ of 0.74, which the authors classify as substantial.

Wrong labels came to 10.51% of the dataset. Pages that fit none of the 16 categories made up 5.17%, pages filed under the wrong category 3.84%, and pages mixing several categories 1.49%. Counting "unsure" pages raises the figure to 11.48%. A 2023 EACL paper by the same authors estimated 8.1% from a sample. The authors cite the gap as evidence that sample estimates can undercount errors.

Error rates varied widely by category, from 31.26% for letter to 1.48% for resume. The errors also had a direction: 83.9% of the relabeled letter pages moved to memo. The line between a letter and an internal memo is the blurriest boundary in the dataset.

Type of label error Share
Fits none of the categories 5.17%
Filed under the wrong category 3.84%
Mixes several categories 1.49%
Total (11.48% with "unsure") 10.51%

The 10.51% figure covers all 400,000 pages. The authors report a separate rate for the training set (8.97% without mixed pages, 10.45% with them) but none for the test set alone. The paper therefore has no test-set figure to set directly against the 1.2% error rate of the 98.8% model.

2

35.2% of RVL-CDIP Test Pages Also Appear in Training

The second defect is overlap between test and training pages. The authors first used CLIP image embeddings to pick the 10 training pages most similar to each test page. They then matched keypoints between the two images with SuperPoint and LightGlue and kept a pair as a duplicate only if at least 100 points matched and a text comparison (Ratcliff/Obershelp similarity) scored 0.2 or higher.

One test page CLIP embeddings pick the 10 most similar training-page candidates Fine-grained check 100+ keypoints matched (SuperPoint·LightGlue) + text similarity ≥0.2 Confirmed duplicate 100% precision 82.9% recall → 35.2% is a lower bound
▲ Pebblous original diagram — overlap-detection pipeline (reinterpreted from paper §3)

On 1,472 pairs checked by hand, the procedure had 100% precision and 82.9% recall. Every pair it flagged was a real duplicate, but it missed roughly 17% of the real ones, so the 35.2% figure is a lower bound. The authors say they deliberately tuned the procedure toward precision.

The validation set showed almost the same rate, 35.38%. The authors attribute the overlap to the same documents entering the original collection several times, not to a faulty split. By category, specification was highest at 82.20%, which means about four in five specification test pages have a matching page in training. At the category level, overlap and label error were almost uncorrelated (r = −0.05). With only 16 categories behind that number, the authors treat it as a hypothesis.

When a test page matches a page the model saw in training, the test score measures recall of seen pages as well as the ability to sort unseen ones. That is why the retraining in section 6 includes a condition that scores models with the overlapping test pages removed. We could not confirm how much scores change when only the overlap is removed.

3

Bates ID Codes Alone Reach 69% Accuracy; Removing Them Costs a Top Model 11 Points

About 92% of RVL-CDIP pages still carry Bates-style ID codes stamped during legal discovery. They are serial numbers added to the page margin, unrelated to what the document says. A classifier the authors built on features of these codes alone got the 16 categories right 69% of the time. With 16 categories, random guessing gets 6.25%.

The authors located and erased the codes with a YOLOv8-based detector and tested again. A top model's accuracy fell by 11.0 points. The result shows the model leaning heavily on code patterns that have nothing to do with the task, on top of the layout and content of the documents. In a company's own document data, scanner headers, department form numbers and file naming conventions could play the same role. That link is Pebblous's interpretation.

4

RVL-CDIP-N and -O: Outside Documents Cost 16 to 28 Points, and Swapping OCR Engines Moves Scores up to 8.3

The authors built two separate test sets from documents outside RVL-CDIP. RVL-CDIP-N holds 1,002 pages gathered from DocumentCloud and web search and covers 12 of the original 16 categories; most of its documents date from 2006 or later, and 65 to 95% were created digitally. RVL-CDIP-O holds 2,915 pages from outside the 16 categories, such as court filings, manuals and sheet music.

Image-only models lost 16 to 28 points of accuracy on the outside documents. Text models, which read the words, dropped only 3 to 4 points. The abstract gives 16 to 28 points and the introduction 14 to 28, so the lower bound differs within the paper itself. We follow the abstract.

Most RVL-CDIP pages are old scans from a single body of litigation. The sharp drop for image models on newly created digital documents can be read as a question of how well the data represents the documents a model will actually have to classify. That reading is Pebblous's interpretation, and section 7 maps it to the representativeness item.

The OCR engine was another variable. Keeping the model architecture fixed and switching only the OCR engine between Tesseract 4.1.1 and AWS Textract shifted accuracy by 4.1 to 8.3 points. That is larger than the 0.19 to 0.82 point gap between LayoutLM generations. The earlier papers the authors surveyed used a range of engines, including Tesseract, EasyOCR, Microsoft OCR, Textract and TextIn. The authors argue that scores on the same benchmark are hard to compare side by side when the OCR engines differ.

5

RVL-CDIP Holds 15,956 Pages With Personal Data, Including 2,342 Social Security Numbers

Sensitive personal data appeared on 15,956 RVL-CDIP pages (4.0%). US Social Security numbers showed up on 2,342 of them, and the regions marked as personal data totaled 39,435. By type, birth dates led with 12,800 regions, followed by place of birth (6,125), marital status (4,228), home address (3,908) and nationality (2,647).

The authors tested four automatic personal-data detectors, judged them unusable on these scans and marked the pages by hand. Agreement on whether a region was sensitive reached a Fleiss' κ of 0.918. Instead of covering marked regions with black boxes, they replaced them with fake values matched in font, size and slant. In a test on 445 resumes, the predicted labels of a DiT classifier did not change, which the authors cite as evidence that the de-identification did not damage the classification task.

The authors point out that these documents were never created for public machine learning use. They add a warning that a name, birth date, address and Social Security number on the same page supply most of what identity theft requires. That warning is the authors' claim, made in the paper's Broader Impact section.

6

13 Models Retrained on Cleaned RVL-CDIP, LayoutLMv3 Reaches 96.5%

The authors re-evaluated 25 public model conditions and retrained 13 of the models from scratch on cleaned data. The strictest condition ("Full") applied label corrections, ID-code removal and removal of test pages that overlap with training. Under it, the test set shrank from 40,000 pages to 23,132. The 11 neural networks were trained three times with different seeds; the two SVMs were trained once.

Model Original accuracy After cleanup (Full) Change
AlexNet89.390.2+0.9
GoogLeNet89.290.8+1.6
SqueezeNet88.790.5+1.8
VGG-1691.392.3+1.0
ResNet-5090.992.1+1.2
ResNeXt-5091.392.6+1.3
DiT-base92.894.3+1.5
BERT-base92.393.4+1.1
RoBERTa-base92.594.1+1.6
LayoutLM-base93.495.2+1.8
LayoutLMv3-base94.896.5+1.7
TF-IDF SVM88.990.3+1.4
TF-IDF+SigLIP SVM93.196.0+2.9

Source: Larson and Leach (2026), Table 12. Test-set accuracy (%); neural networks averaged over three runs.

All 13 models improved, by 0.9 to 2.9 points. The largest gain went to a simple SVM that combines text features with image features. Some rankings changed as well. TF-IDF+SigLIP SVM, which trailed LayoutLM on the original data (93.1 against 93.4), finished ahead of it after cleanup (96.0 against 95.2).

Running released checkpoints on the cleaned test set without retraining gave a different picture. DocXClassifier slipped slightly, from 94.0 to 93.4, while Donut fell 9.2 points, from 95.2 to 86.0. The same cleanup pushed different models in opposite directions, and the authors do not name a cause. The practical lesson from this table is that changing the test set alone is not enough to read the effect of cleanup; the training data has to be fixed and the model retrained before the results can be interpreted.

The authors do not call for dropping RVL-CDIP right away. They recommend treating it as a widely used but flawed yardstick, using the cleaned version and reporting results on outside documents alongside it. The next benchmark, they write, should come with published labeling guidelines, a measured label error rate, a verified split, personal data removed, documented provenance, a fixed text layer and a paired test set of outside documents. They ask model builders to release the fine-tuned classifier together with the backbone, or at least per-document predictions and confidence scores. The corrected labels, duplicate lists and ID-code annotations are public on Hugging Face (stefan-hf/rvlcdip-label-fixes and others) and at rvlcdip-errors.com. The paper does not state a license for these resources.

7

RVL-CDIP Defects Against ISO/IEC 5259-2 Quality Items and DataClinic Diagnosis

ISO/IEC 5259-2, the international standard for the quality of AI training data, defines measurement items for each quality characteristic (see the ISO 5259-2 data quality cheat sheet). The paper does not mention the standard. The table below maps the paper's five defects to items in the standard and is Pebblous's interpretation. It separates items that match directly from items that need more interpretation.

Defect in the paper ISO/IEC 5259-2 item How firm the match is
Label errors, 10.51% Acc-ML-7 data label accuracy Close to the definition
Test-train overlap, 35.2% Con-ML-1 data record consistency (duplicate record ratio) Close to the definition
15,956 pages with personal data Idn-ML-1 identifiability ratio Close to the definition
ID-code shortcut, 69% Rel-ML-1/2 feature and record relevance Needs interpretation: treats the codes as features unrelated to the task
16 to 28 point drop on outside documents Rep-ML-1 representativeness ratio Needs interpretation: depends on how the target population is defined

Put to a company's own document classification data, the same questions narrow to four. Has anyone rechecked every label for category pairs with blurry boundaries, such as letters and memos? Have copies of the same form slipped across from the training documents into the test documents? Can a model guess the category from traces unrelated to content, such as scanner headers or form numbers? Are customer documents being used for training with personal data still on them? These four questions are Pebblous's translation of the paper's list of defects into a practical checklist.

The defects can also be mapped to the diagnostic levels of DataClinic. Level I checks for missing values, consistency and class balance cover label accuracy and record consistency. The embedding-based density measurement at Levels II and III looks for duplicate candidates in unusually dense regions, and its analysis of distribution shape points to gaps in representativeness. The paper's procedure, which picks duplicate candidates with CLIP embeddings before confirming them with fine-grained matching, follows the same structure. This mapping is also Pebblous's interpretation; DataClinic has not been run on RVL-CDIP.

Editor's Note

The paper's title, authors, submission date (October 23, 2026, v1) and the figures in its abstract (about 10.5% label errors, 35.2% test-train overlap, 69% from ID codes, a 16 to 28 point drop on outside documents, 4.1 to 8.3 points from OCR, about 16,000 pages with personal data, 0.9 to 2.9 points from retraining, LayoutLMv3 at 96.5%) were confirmed on the arXiv abstract page. LayoutLLM's 98.80%, the comparison with its 1.2% error rate, the sentence "A model cannot be correct more often than the labels against which it is scored," the survey of 23 out of 34 papers and the training-set error rates were confirmed in sections 2 and 5 of the arXiv HTML full text. The error-type shares, per-category figures, duplicate-detection procedure with its precision and recall, personal-data counts by type, the retraining results in Table 12 and the DocXClassifier and Donut results were taken from the same HTML text during Pebblous's research phase. We could not confirm the name of the model that lost 11.0 points when the ID codes were removed. The view that sample estimates undercount errors, the view that OCR engines make comparisons difficult and the personal-data warning are the authors' claims. The practical lesson in section 6, the link to company documents in section 3, the representativeness reading in section 4, the ISO/IEC 5259-2 mapping and four checklist questions in section 7, and the DataClinic link are Pebblous's interpretation.

Data Quality Series

This article belongs to the papers strand (DQ-2) of the Pebblous Data Quality series. The previous post in the same strand, "Label Noise Audit Counts Wrong Labels a Model Already Memorized," covered a method that estimates the share of wrong labels from a single trained model. How closely such methods can track a figure that seven people measured by checking every RVL-CDIP page is the question that links the two posts.

Other strands of the series include "EU AI Act Training Data Standard prEN 18284 Is Still a Draft" (DQ-3), on a draft standard for EU AI Act training data, and "ACU-Bench Flags Forecast Text That Contradicts the Data" (DQ-4), on a forecasting benchmark dataset.

R

References

Academic Papers

Public Assets

  • 4.Larson, S., & Leach, K. (2026). "RVL-CDIP Errors." — Project site publishing the label annotations and duplicate verification set.