Evaluating Out-of-Distribution Performance on Document Image Classifiers

Stefan Larson, Gordon Lim, Yutong Ai, David Kuang, Kevin Leach
10/14/2022
cs.CVcs.CL

Official code: gxlarson/RVL-CDIP-OOD (7 stars, last commit 2023-08-15).

Abstract

The ability of a document classifier to handle inputs that are drawn from a distribution different from the training distribution is crucial for robust deployment and generalizability. The RVL-CDIP corpus is the de facto standard benchmark for document classification, yet to our knowledge all studies that use this corpus do not include evaluation on out-of-distribution documents.

Show full abstract

In this paper, we curate and release a new out-of-distribution benchmark for evaluating out-of-distribution performance for document classifiers. Our new out-of-distribution benchmark consists of two types of documents: those that are not part of any of the 16 in-domain RVL-CDIP categories (RVL-CDIP-O), and those that are one of the 16 in-domain categories yet are drawn from a distribution different from that of the original RVL-CDIP dataset (RVL-CDIP-N). While prior work on document classification for in-domain RVL-CDIP documents reports high accuracy scores, we find that these models exhibit accuracy drops of between roughly 15-30% on our new out-of-domain RVL-CDIP-N benchmark, and further struggle to distinguish between in-domain RVL-CDIP-N and out-of-domain RVL-CDIP-O inputs. Our new benchmark provides researchers with a valuable new resource for analyzing out-of-distribution performance on document classifiers. Our new out-of-distribution data can be found at https://github.com/gxlarson/rvl-cdip-ood.

View on arXivView PDF

Code Implementations(1)

70Jan 16, 20233 years ago

Similar Papers

Cite this paper

@article{larson2022evaluating,
  title  = {Evaluating Out-of-Distribution Performance on Document Image Classifiers},
  author = {Stefan Larson and Gordon Lim and Yutong Ai and David Kuang and Kevin Leach},
  year   = {2022},
  eprint = {2210.07448},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.07448}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.07448.svg)](https://codeofpaper.com/paper/2210.07448)

Discussion