VILA: Improving Structured Content Extraction from Scientific PDFs Using Visual Layout Groups

Zejiang Shen, Kyle Lo, Lucy Lu Wang, Bailey Kuehl, Daniel S. Weld +1 more
6/1/2021
cs.CLcs.CV

Official code: allenai/vila (179 stars, Python, Apache-2.0, last commit 2023-03-18).

Abstract

Accurately extracting structured content from PDFs is a critical first step for NLP over scientific papers. Recent work has improved extraction accuracy by incorporating elementary layout information, e.g., each token's 2D position on the page, into language model pretraining.

Show full abstract

We introduce new methods that explicitly model VIsual LAyout (VILA) groups, i.e., text lines or text blocks, to further improve performance. In our I-VILA approach, we show that simply inserting special tokens denoting layout group boundaries into model inputs can lead to a 1.9% Macro F1 improvement in token classification. In the H-VILA approach, we show that hierarchical encoding of layout-groups can result in up-to 47% inference time reduction with less than 0.8% Macro F1 loss. Unlike prior layout-aware approaches, our methods do not require expensive additional pretraining, only fine-tuning, which we show can reduce training cost by up to 95%. Experiments are conducted on a newly curated evaluation suite, S2-VLUE, that unifies existing automatically-labeled datasets and includes a new dataset of manual annotations covering diverse papers from 19 scientific disciplines. Pre-trained weights, benchmark datasets, and source code are available at https://github.com/allenai/VILA.

View on arXivView PDF

Code Implementations(1)

allenai/vilaOfficial100%
Apache-2.0

Incorporating VIsual LAyout Structures for Scientific Text Classification

17916Python, ShellJun 1, 20213 years agoApache-2.0

Similar Papers

Cite this paper

@article{shen2021vila,
  title  = {VILA: Improving Structured Content Extraction from Scientific PDFs Using Visual Layout Groups},
  author = {Zejiang Shen and Kyle Lo and Lucy Lu Wang and Bailey Kuehl and Daniel S. Weld and Doug Downey},
  year   = {2021},
  eprint = {2106.00676},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.00676}
}

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

Discussion