ANLS* -- A Universal Document Processing Metric for Generative Large Language Models
Not on the map. Why?
Abstract (arXiv)
Traditionally, discriminative models have been the predominant choice for tasks like document classification and information extraction. These models make predictions that fall into a limited number of predefined classes, facilitating a binary true or false evaluation and enabling the direct calculation of metrics such as the F1 score. However, recent advancements in generative large language models (GLLMs) have prompted a shift in the field due to their enhanced zero-shot capabilities, which eliminate the need for a downstream dataset and computationally expensive fine-tuning. However, evaluating GLLMs presents a challenge as the binary true or false evaluation used for discriminative models is not applicable to the predictions made by GLLMs. This paper introduces a new metric for generative models called ANLS* for evaluating a wide variety of tasks, including information extraction and classification tasks. The ANLS* metric extends existing ANLS metrics as a drop-in-replacement and is still compatible with previously reported ANLS scores. An evaluation of 7 different datasets, and more than 20 different GLLMs together with 3 different prompting methods using the ANLS* metric is also provided, demonstrating the importance of the proposed metric. We also benchmark a novel approach to generate prompts for documents, called SFT, against other prompting techniques such as LATIN. In almost all cases, SFT outperforms other techniques and improves the state-of-the-art, sometimes by as much as 10 percentage points. Sources are available at https://github.com/deepopinion/anlsstarmetric
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 22 of its 30 references that are in the map. First posted on arXiv 6 Feb 2024.
Builds on
22 of 30 references.
References · 22
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023GPT-4 Technical Reportcited by 18,396
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2014CIDEr: Consensus-based Image Description Evaluationcited by 2,046
- 2020DocVQA: A Dataset for VQA on Document Imagescited by 1,317
- 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 812
- 2019LayoutLM: Pre-training of Text and Layout for Document Image Understandingcited by 553
- 2022LayoutLMv3: Pre-training for Document AI with Unified Text and Image Maskingcited by 485
- 2020LayoutLMv2: Multi-modal Pre-training for Visually-Rich Document Understandingcited by 408
- 2021OCR-free Document Understanding Transformercited by 407
- 2019Scene Text Visual Question Answeringcited by 331
- 2021ICDAR2019 Competition on Scanned Receipt OCR and Information Extractioncited by 256
10 more
- 2023mPLUG-DocOwl: Modularized Multimodal Large Language Model for Document Understandingcited by 168
- 2023Document Understanding Dataset and Evaluation (DUDE)cited by 135
- 2023DocLLM: A layout-aware generative language model for multimodal document understandingcited by 116
- 2022Hierarchical multimodal transformers for Multi-Page DocVQAcited by 105
- 2023DocILE Benchmark for Document Information Localization and Extractioncited by 58
- 2021Document Collection Visual Question Answeringcited by 45
- 2022VRDU: A Benchmark for Visually-rich Document Understandingcited by 35
- 2023Layout and Task Aware Instruction Prompt for Zero-shot Document Image Question Answeringcited by 24
- 2021Greedy-layer Pruning: Speeding up Transformer Models for Natural Language Processingcited by 11
- 2022Improving the Trainability of Deep Neural Networks through Layerwise Batch-Entropy Regularizationcited by 7
Built on by
Citing papers per year: 2024: 1; 2025: 6; 2026: 3.
10 papers.
- 2025BoundingDocs: a Unified Dataset for Document Question Answering with Spatial Annotationscited by 8
- 2024Retrieval Augmented Structured Generation: Business Document Information Extraction As Tool Usecited by 3
- 2025Towards Reliable and Interpretable Document Question Answering via VLMscited by 2
- 2026GDP.pdf: Benchmarking Grounded Multimodal Reasoning over Professional PDF Documentscited by 2
- 2025Judge a Book by its Cover: Investigating Multi-Modal LLMs for Multi-Page Handwritten Document Transcriptioncited by 1
- 2025Unchecked and Overlooked: Addressing the Checkbox Blind Spot in Large Language Models with CheckboxQAcited by 1
- 2025CAD2DMD-SET: Synthetic Generation Tool of Digital Measurement Device CAD Model Datasets for fine-tuning Large Vision-Language Modelscited by 1
- 2025Legal Document Summarization: Enhancing Judicial Efficiency through Automation Detectioncited by 0
- 2026Lot Machine: Multimodal Lot Extraction from Auction Catalogscited by 0
- 2026From Pixels to Structure: Lightweight Vision-Language Models for Document OCR and Structured JSON Extractioncited by 0
- 2026From Pixels to Structure: Lightweight Vision-Language Models for Document OCR and Structured JSON Extraction8 Oct 2026
- 2026Lot Machine: Multimodal Lot Extraction from Auction Catalogs31 Aug 2026
- 2026GDP.pdf: Benchmarking Grounded Multimodal Reasoning over Professional PDF Documents13 Jul 2026
- 2025Towards Reliable and Interpretable Document Question Answering via VLMs12 Sep 2025
- 2025CAD2DMD-SET: Synthetic Generation Tool of Digital Measurement Device CAD Model Datasets for fine-tuning Large Vision-Language Models29 Aug 2025
- 2025Legal Document Summarization: Enhancing Judicial Efficiency through Automation Detection25 Jul 2025
- 2025Unchecked and Overlooked: Addressing the Checkbox Blind Spot in Large Language Models with CheckboxQA14 Apr 2025
- 2025Judge a Book by its Cover: Investigating Multi-Modal LLMs for Multi-Page Handwritten Document Transcription27 Feb 2025
- 2025BoundingDocs: a Unified Dataset for Document Question Answering with Spatial Annotations6 Jan 2025
- 2024Retrieval Augmented Structured Generation: Business Document Information Extraction As Tool Use30 May 2024