Doc2Graph: a Task Agnostic Document Understanding Framework based on Graph Neural Networks

Andrea Gemelli, Sanket Biswas, Enrico Civitelli, Josep Lladós, Simone Marinai
8/23/2022
cs.CV
gnn

Official code: andreagemelli/doc2graph (142 stars, Jupyter Notebook, MIT, PyTorch, last commit 2026-11-03).

Abstract

Geometric Deep Learning has recently attracted significant interest in a wide range of machine learning fields, including document analysis. The application of Graph Neural Networks (GNNs) has become crucial in various document-related tasks since they can unravel important structural patterns, fundamental in key information extraction processes.

Show full abstract

Previous works in the literature propose task-driven models and do not take into account the full power of graphs. We propose Doc2Graph, a task-agnostic document understanding framework based on a GNN model, to solve different tasks given different types of documents. We evaluated our approach on two challenging datasets for key information extraction in form understanding, invoice layout analysis and table detection. Our code is freely accessible on https://github.com/andreagemelli/doc2graph.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Doc2Graph transforms documents into graphs and exploit a GNN to solve several tasks.

14228Jupyter Notebook, PythonApr 28, 20224 weeks agoMIT
deep-learningdocument-understandinggeometric-deep-learninggnnkey-information-extraction+4 more

Similar Papers

Cite this paper

@article{gemelli2022docgraph,
  title  = {Doc2Graph: a Task Agnostic Document Understanding Framework based on Graph Neural Networks},
  author = {Andrea Gemelli and Sanket Biswas and Enrico Civitelli and Josep Lladós and Simone Marinai},
  year   = {2022},
  eprint = {2208.11168},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.11168}
}

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

Discussion