Lightweight Spatial Modeling for Combinatorial Information Extraction From Documents
<|reference_start|>Lightweight Spatial Modeling for Combinatorial Information Extraction From Documents: Documents that consist of diverse templates and exhibit complex spatial structures pose a challenge for document entity classification. We propose KNN-former, which incorporates a new kind of spatial bias in attention calculation based on the K-nearest-neighbor (KNN) graph of document entities. We limit entities' attention only to their local radius defined by the KNN graph. We also use combinatorial matching to address the one-to-one mapping property that exists in many documents, where one field has only one corresponding entity. Moreover, our method is highly parameter-efficient compared to existing approaches in terms of the number of trainable parameters. Despite this, experiments across various datasets show our method outperforms baselines in most entity types. Many real-world documents exhibit combinatorial properties which can be leveraged as inductive biases to improve extraction accuracy, but existing datasets do not cover these documents. To facilitate future research into these types of documents, we release a new ID document dataset that covers diverse templates and languages. We also release enhanced annotations for an existing dataset.<|reference_end|>
@article{dong2024lightweight,
    title={Lightweight Spatial Modeling for Combinatorial Information Extraction
  From Documents},
    author={Yanfei Dong, Lambert Deng, Jiazheng Zhang, Xiaodong Yu, Ting Lin,
  Francesco Gelli, Soujanya Poria, Wee Sun Lee},
    journal={arXiv preprint arXiv:2405.06701},
    year={2024},
    doi={10.18653/v1/2023.findings-eacl.108},
    archivePrefix={arXiv},
    eprint={2405.06701},
    primaryClass={cs.CL cs.AI}
}