Metraipolis › archive › dc_082724c0c0bd
Pre-Inference Routing for Cost-Efficient Document Field Extraction — arXiv:2608.06607
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.06607
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T09:46:45.222Z
- SHA-256 of the archived text
ca6c138fb1e375d56b8c164e006f8c56425a117e10b1d8502a6b0e14fb5a03fe- Stable URL of this page
https://metraipolis.com/documento/dc_082724c0c0bd
How to cite
Pre-Inference Routing for Cost-Efficient Document Field Extraction — arXiv:2608.06607 — arXiv (en), https://arxiv.org/abs/2608.06607 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_082724c0c0bd (Metraipolis archive dc_082724c0c0bd, sha256 ca6c138fb1e375d56b8c164e006f8c56425a117e10b1d8502a6b0e14fb5a03fe)
BibTeX
@misc{dc082724c0c0bd,
title = {Pre-Inference Routing for Cost-Efficient Document Field Extraction — arXiv:2608.06607},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.06607},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_082724c0c0bd; sha256 ca6c138fb1e375d56b8c164e006f8c56425a117e10b1d8502a6b0e14fb5a03fe},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.06607. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Most document-extraction systems use a single model for all documents. This is simple but can be costly for easy cases and less effective for difficult ones. We examine whether we can predict a document's difficulty before extraction using inexpensive, document-based signals, and use this to choose between a cheaper and a stronger extractor. We find that routing only helps if two conditions hold: the cheaper model fails often enough to make routing worthwhile, and those failures can be predicted from visible features such as image quality and layout. We turn these into a practical test and apply it to five genres. When both conditions are met, the calibrated router reduces cost by 31-33% on receipts and 77% on degraded ad-buy forms while keeping quality within 0.02 F1 of always choosing the large model. Routing does not help if either condition is missing, as with clean digital invoices or nutrition labels that are already easy to read. A small labeled pilot can predict whether routing will work, and in the two cases where we ran it first, the prediction was correct. A simple bag-of-words router works about as well as engineered features, showing that the main limit is the genre, not the router design; we use interpretable features to help explain which genres can be routed. The router must be retrained for each dataset and does not transfer across datasets, even within the same genre. These results hold for two model pairs with cost differences of 5x and 3x. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-10 in cs.CL). Categorie arXiv: Computation and Language (cs.CL) ; Information Retrieval (cs.IR); Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2608.06607 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-19T09:46:37.207Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-08-10?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).