Context-Aware Classification of Legal Document Pages
Not on the map. Why?
Abstract (arXiv)
For many business applications that require the processing, indexing, and retrieval of professional documents such as legal briefs (in PDF format etc.), it is often essential to classify the pages of any given document into their corresponding types beforehand. Most existing studies in the field of document image classification either focus on single-page documents or treat multiple pages in a document independently. Although in recent years a few techniques have been proposed to exploit the context information from neighboring pages to enhance document page classification, they typically cannot be utilized with large pre-trained language models due to the constraint on input length. In this paper, we present a simple but effective approach that overcomes the above limitation. Specifically, we enhance the input with extra tokens carrying sequential information about previous pages - introducing recurrence - which enables the usage of pre-trained Transformer models like BERT for context-aware page classification. Our experiments conducted on two legal datasets in English and Portuguese respectively show that the proposed approach can significantly improve the performance of document page classification compared to the non-recurrent setup as well as the other context-aware baselines.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 14 of its 30 references that are in the map. First posted on arXiv 5 Apr 2023.
Builds on
14 of 30 references.
References · 14
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2015Bidirectional LSTM-CRF Models for Sequence Taggingcited by 546
- 2022LayoutLMv3: Pre-training for Document AI with Unified Text and Image Maskingcited by 485
- 2016End-to-end Sequence Labeling via Bi-directional LSTM-CNNs-CRFcited by 341
- 2021DocFormer: End-to-End Transformer for Document Understandingcited by 256
- 2015Evaluation of Deep Convolutional Nets for Document Image Classification and Retrievalcited by 213
- 2021LayoutXLM: Multimodal Pre-training for Multilingual Visually-rich Document Understandingcited by 103
- 2020Memory Transformercited by 76
- 2019Portuguese Named Entity Recognition using BERT-CRFcited by 73
- 2022OCR-IDL: OCR Annotations for Industry Document Library Datasetcited by 35
- 2018Document Image Classification with Intra-Domain Transfer Learning and Stacked Generalization of Deep Convolutional Neural Networkscited by 20
2 more
Built on by
Citing papers per year: 2024: 1; 2025: 2.
3 papers.
- 2024Natural Language Processing for the Legal Domain: A Survey of Tasks, Datasets, Models, and Challengescited by 42
- 2025Benchmarking Multi-Step Legal Reasoning and Analyzing Chain-of-Thought Effects in Large Language Modelscited by 10
- 2025Computational Law: Datasets, Benchmarks, and Ontologiescited by 2
- 2025Benchmarking Multi-Step Legal Reasoning and Analyzing Chain-of-Thought Effects in Large Language Models11 Nov 2025
- 2025Computational Law: Datasets, Benchmarks, and Ontologies6 Mar 2025
- 2024Natural Language Processing for the Legal Domain: A Survey of Tasks, Datasets, Models, and Challenges25 Oct 2024