Information Extraction from Documents: Question Answering vs Token Classification in real-world setups

Laurent Lam, Pirashanth Ratnamogan, Joël Tang, William Vanhuffel, Fabien Caspani
4/21/2023
cs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Research in Document Intelligence and especially in Document Key Information Extraction (DocKIE) has been mainly solved as Token Classification problem. Recent breakthroughs in both natural language processing (NLP) and computer vision helped building document-focused pre-training methods, leveraging a multimodal understanding of the document text, layout and image modalities. However, these breakthroughs also led to the emergence of a new DocKIE subtask of extractive document Question Answering (DocQA), as part of the Machine Reading Comprehension (MRC) research field. In this work, we compare the Question Answering approach with the classical token classification approach for document key information extraction. We designed experiments to benchmark five different experimental setups : raw performances, robustness to noisy environment, capacity to extract long entities, fine-tuning speed on Few-Shot Learning and finally Zero-Shot Learning. Our research showed that when dealing with clean and relatively short entities, it is still best to use token classification-based approach, while the QA approach could be a good alternative for noisy environment or long entities use-cases.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lam2023information,
  title  = {Information Extraction from Documents: Question Answering vs Token Classification in real-world setups},
  author = {Laurent Lam and Pirashanth Ratnamogan and Joël Tang and William Vanhuffel and Fabien Caspani},
  year   = {2023},
  eprint = {2304.10994},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.10994v1}
}

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/2304.10994.svg)](https://codeofpaper.com/paper/2304.10994)

Discussion