Work

HIRA: A Human-in-the-Loop Retrieval-Augmented Cascade for Document Classification in Regulated Industries

Year: 2026
Type: conference-paper
Abstract: Document classification in regulated industries is constrained by data residency, limited cold-start labels, scarce review capacity, and costly model-governance procedures. In this setting, the practical goal is not only to obtain high accuracy, but also to reduce LLM calls, avoid frequent model retraining, and send only the most ambiguous cases to human review. We present HIRA, a training-free, on-premises retrieval-augmented cascade for document classification in regulated deployments. HIRA first combines BM25 over OCR text, dense text embeddings, and image-level representations through validation-calibrated weighted reciprocal-rank fusion. Confident documents are classified directly by retrieval. Uncertain or visually confusable documents are passed to a locally hosted LLM verifier, which receives the OCR text, retrieved exemplars, label descriptions, and confusion-specific terms. When the verifier remains uncertain, the document is sent to human review. Each correction is then stored as a margin-weighted retrieval exemplar and also updates a Dirichlet-smoothed confusion graph, allowing the system to improve without updating model weights. On a private 80-class trade-finance corpus, HIRA processes the full 30,233-document production stream while requesting human correction for only 1,945 documents (6.4%), improving Macro-F1 from 0.6218 to 0.8548 . On the corrected Tobacco-3482 benchmark, HIRA reaches 0.9423 Macro-F1 with a locally hosted DeepSeek-R1-Distill-Qwen-32B verifier, 17.4 percentage points above the zero-shot LLM baseline, while invoking the verifier for only about 40% of documents and therefore reducing LLM calls by approximately 60% . With 518 human corrections, corresponding to 24.8% of the pool, HIRA matches the fully labelled pool oracle in which all 2,086 pool documents are indexed with their ground-truth labels. These results show that selective human feedback and retrieval-memory adaptation can provide a practical alternative to repeated model retraining for long-tail document classification in regulated deployments.
Language: English
Open Access status: hybrid
OpenAlex ID: W7204186272
FWCI:
Cites: 26
Cited by:
Related to: 9