English

Contrastive Training Improves Zero-Shot Classification of Semi-structured Documents

Computation and Language 2022-10-12 v1 Artificial Intelligence

Abstract

We investigate semi-structured document classification in a zero-shot setting. Classification of semi-structured documents is more challenging than that of standard unstructured documents, as positional, layout, and style information play a vital role in interpreting such documents. The standard classification setting where categories are fixed during both training and testing falls short in dynamic environments where new document categories could potentially emerge. We focus exclusively on the zero-shot setting where inference is done on new unseen classes. To address this task, we propose a matching-based approach that relies on a pairwise contrastive objective for both pretraining and fine-tuning. Our results show a significant boost in Macro F1_1 from the proposed pretraining step in both supervised and unsupervised zero-shot settings.

Keywords

Cite

@article{arxiv.2210.05613,
  title  = {Contrastive Training Improves Zero-Shot Classification of Semi-structured Documents},
  author = {Muhammad Khalifa and Yogarshi Vyas and Shuai Wang and Graham Horwood and Sunil Mallya and Miguel Ballesteros},
  journal= {arXiv preprint arXiv:2210.05613},
  year   = {2022}
}
R2 v1 2026-06-28T03:16:10.864Z