Manuscript Offprint

arXiv:2609.31341

The Right Information Extraction Pipeline Depends on the Document: Accuracy-Energy Trade-offs for Small, Local Models

Christoph Walser, Mauricio Fadel Argerich, Jonathan Fürst

Abstract

Whether an information extraction pipeline should process page images or parsed text depends on the document, and the answer flips across the layout spectrum. We study this trade-off under a constraint that rules out (closed) cloud services: privacy-sensitive documents processed on-premise by small ( ≤\leq 8B parameter) text-only and vision-language models, evaluated on both accuracy and energy over a design space spanning input representation, model family, and inference configuration. Benchmarking on the near-plain-text Kleister-NDA contracts and the layout-rich VRDU forms, we find that batching is the dominant energy lever, cutting energy per page by 38–85% at no cost in accuracy, while FP8 quantization saves 27–32% when requests are served one at a time but less than 1 mWh per page (9–19%) once batching is applied. Preprocessing dominates what remains: neural OCR costs 17× more energy per page than classical OCR and never reaches the Pareto frontier. Which representation wins flips with the type of document: vision–language models on layout-rich documents and small text-only models with a cheap parser on near-plain text, where they are both more accurate and cheaper than any vision–language configuration. Our work yields concrete guidelines for energy-efficient, privacy-compliant local information extraction.

1 Introduction

Documents in practice span a wide layout spectrum. At one end sit layout-rich documents (e.g., registration forms, invoices), where the meaning of a value depends on its position in a two-dimensional arrangement of boxes and tables. At the other sit near-plain text documents, such as contracts and reports, that encode almost nothing in their visual structure (Ding et al., 2025; Watanabe et al., 1995). Extraction pipelines are not indifferent to this: a model that reads page images directly has an advantage where layout carries meaning, and pays a cost for a modality it does not need when processing near-plain text documents.

Large Language Models (LLMs) and Vision Language Models (VLMs) have transformed key information extraction (KIE), replacing rigid rule-based heuristics (Luo et al., 2024; Colakoglu et al., 2025). However, their deployment remains constrained: Large transformer architectures demand computational resources that resource-constrained settings cannot supply (Caravaca, 2026), and routing sensitive documents to third-party providers risks data leakage and frequently violates data protection regulations in domains like finance and healthcare (Ding et al., 2025). Both pressures push toward small, locally deployable models running on-premise under tighter data governance. We therefore propose KIE should be considered not as a prediction problem alone but as a multi-objective one, balancing extraction quality against end-to-end energy, across small ( ≤\leq 8B parameter) general-purpose LLMs, VLMs, and specialized architectures.

Following this proposal, we benchmark pipelines at both ends of the layout spectrum: the near-plain-text Kleister-NDA contracts (Stanisławek et al., 2021) and the densely structured VRDU registration forms (Wang et al., 2023). The design space covers visual-first processing on raw page images and text-first processing via OCR, across model families and inference configurations. Holding the model, parser and serving configuration fixed across two corpora that differ in both layout and length is what lets us show that the preferred pipeline inverts between them. The main contributions of our work are:

• A systematic comparison of local document IE pipelines from an accuracy–energy perspective.

• An analysis of how preprocessing choices (na-tive vision vs. OCR vs. parser) impact both total pipeline energy and downstream extraction accuracy.

• An evaluation of deployment optimizations, showing that request batching reduces energy per page by 38–85% without harming extraction quality, and that the benefit of FP8 quantization shrinks roughly tenfold once batching is in place.

• Practical deployment recommendations for building accurate, energy-efficient, and privacy-compliant IE pipelines.

All configurations and code to reproduce our results are available at https://github.com/chrewbroccoli/local-ie-energy.

References (23)