RAPT: Retrieval-Augmented Post-hoc Thresholding for Multi-Label Classification
On the map: Retrieval-augmented generation → Generation and context integration
Abstract (arXiv)
Industrial multi-label document understanding pipelines score candidate labels and threshold or rank them to form a label set per document. This early selection step directly affects the accuracy of downstream information extraction from the document, as well as the associated verification effort. In practice, OCR noise, label imbalance, instance-dependent label cardinality, and asymmetric error costs make global score thresholds brittle and hard to maintain as document formats evolve. We present RAPT, a deployment-oriented retrieval-augmented score thresholding wrapper, applied post-hoc to improve label set selection without retraining the underlying classifier. RAPT is a model-agnostic wrapper: any predictor that provides document representations for similarity search and per label confidence scores can be used, including metric learning encoders and fine-tuned transformer classifiers. For each query document, given a classifier's score vector, RAPT retrieves similar document thresholding situations (cases) and adapts the query's label set selection threshold using their outcomes. The adaptation selects the final label set by locally aggregating neighbour solutions (e.g. average label count, cutoff calibration). Evaluation compared multi-label classifiers (metric learners and transformers) combined with RAPT against global and label-wise thresholding baselines, and against few-shot LLMs. Across an industrial dataset and six public benchmarks, RAPT consistently outperformed global and label-wise static thresholding baselines. In the industrial setting, RAPT achieved its best predictive performance with metric learners, reaching 0.87 Macro-F1, while fine-tuned transformer variants on average achieved 0.775 Macro-F1, outperforming fewshot LLM baselines (K = 5) by 2x and requiring at least 115x less inference time and 13.5x less GPU memory.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 15 of its 35 references that are in the map. First posted on arXiv 15 May 2026.
Builds on
15 of 35 references.
References · 15
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2016Matching Networks for One Shot Learningcited by 2,255
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,254
- 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,143
- 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 1,009
- 2019Publicly Available Clinical BERT Embeddingscited by 1,002
- 2018Deep k-Nearest Neighbors: Towards Confident, Interpretable and Robust Deep Learningcited by 207
- 2024A Survey on Efficient Inference for Large Language Modelscited by 205
- 2019Large-Scale Multi-Label Text Classification on EU Legislationcited by 104
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2023Retrieval-augmented Multi-label Text Classification
- 2025Automatic Labelling with Open-source LLMs using Dynamic Label Schema Integration
- 2026Label-Centric Knowledge Retrieval for Zero-Shot Text Classification
- 2023Weakly-Supervised Scientific Document Classification via Retrieval-Augmented Multi-Stage Training
- 2025Retrieval-augmented Encoders for Extreme Multi-label Text Classification
- 2026HIRA: A Human-in-the-Loop Retrieval-Augmented Cascade for Document Classification in Regulated Industries
- 2023Large language models can accurately predict searcher preferences
- 2024Evaluating Retrieval Quality in Retrieval-Augmented Generation