mlsanityData to 7 Oct 2026

The Law of Large Documents: Understanding the Structure of Legal Contracts Using Visual Cues

arXiv 2107.08128 ↗First posted 16 Jul 2021cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

Large, pre-trained transformer models like BERT have achieved state-of-the-art results on document understanding tasks, but most implementations can only consider 512 tokens at a time. For many real-world applications, documents can be much longer, and the segmentation strategies typically used on longer documents miss out on document structure and contextual information, hurting their results on downstream tasks. In our work on legal agreements, we find that visual cues such as layout, style, and placement of text in a document are strong features that are crucial to achieving an acceptable level of accuracy on long documents. We measure the impact of incorporating such visual cues, obtained via computer vision methods, on the accuracy of document understanding tasks including document segmentation, entity extraction, and attribute classification. Our method of segmenting documents based on structural metadata out-performs existing methods on four long-document understanding tasks as measured on the Contract Understanding Atticus Dataset.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 12 of its 20 references that are in the map. First posted on arXiv 16 Jul 2021.

Builds on

12 of 20 references.

References · 12

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2018Neural Network Acceptability Judgmentscited by 952
  3. 2019Predicting the Type and Target of Offensive Posts in Social Mediacited by 268
  4. 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 232
  5. 2019Large-Scale Multi-Label Text Classification on EU Legislationcited by 104
  6. 2018Chargrid: Towards Understanding 2D Documentscited by 100
  7. 2015A Neural Network Approach to Context-Sensitive Generation of Conversational Responsescited by 98
  8. 2020Recurrent Chunking Mechanisms for Long-Text Machine Reading Comprehensioncited by 29
  9. 2016Hierarchical Question Answering for Long Documentscited by 21
  10. 2019BERT Goes to Law School: Quantifying the Competitive Advantage of Access to Large Legal Corpora in Contract Understandingcited by 16
  11. 2019Long-length Legal Document Classificationcited by 10
  12. 2020OCR Graph Features for Manipulation Detection in Documentscited by 2

Built on by

Cited by year

Citing papers per year: 2022: 3; 2023: 0; 2024: 0; 2025: 1.

4 papers.