2023 · 23 citations · 34 references
ComputingComputer ScienceComputational LinguisticsKnowledge RepresentationNatural Language ProcessingInformation ExtractionLanguage ModelingLanguage ModelsLearning From DemonstrationNatural Language UnderstandingAnswer ExtractionBenchmark DatasetsIn-context Learning
Large language models such as GPT‑3 and ChatGPT excel at NLP tasks via in‑context learning, yet their application to document information extraction has not been explored, partly due to modality and task gaps. The authors introduce ICL‑D3IE, an in‑context learning framework that equips LLMs to perform document information extraction using diverse demonstration examples. ICL‑D3IE selects hard, distinct segments from training documents as hard demonstrations, designs relationship‑describing and formatting demos to aid positional understanding, and iteratively updates the diverse demonstrations to improve performance. Experiments on three benchmark datasets show that ICL‑D3IE enables Davinci‑003/ChatGPT to outperform previous pre‑trained methods fine‑tuned on full training in both in‑distribution and out‑of‑distribution settings. Code is available at https://github.com/MAEHCM/ICL-D3IE.
Large language models (LLMs), such as GPT-3 and ChatGPT, have demonstrated remarkable results in various natural language processing (NLP) tasks with in-context learning, which involves inference based on a few demonstration examples. Despite their successes in NLP tasks, no investigation has been conducted to assess the ability of LLMs to perform document information extraction (DIE) using in-context learning. Applying LLMs to DIE poses two challenges: the modality and task gap. To this end, we propose a simple but effective in-context learning framework called ICL-D3IE, which enables LLMs to perform DIE with different types of demonstration examples. Specifically, we extract the most difficult and distinct segments from hard training documents as hard demonstrations for benefiting all test instances. We design demonstrations describing relationships that enable LLMs to understand positional relationships. We introduce formatting demonstrations for easy answer extraction. Additionally, the framework improves diverse demonstrations by updating them iteratively. Our experiments on three widely used benchmark datasets demonstrate that the ICL-D3IE framework enables Davinci-003/ChatGPT to achieve superior performance when compared to previous pre-trained methods fine-tuned with full training in both the in-distribution (ID) setting and in the out-of-distribution (OOD) setting. Code is available at https://github.com/MAEHCM/ICL-D3IE.
34
Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Nils Reimers, Iryna Gurevych · 2019 · 10.9K citations · Full text
Neural Architectures for Named Entity Recognition
Guillaume Lample, Miguel Ballesteros, Sandeep Subramanian et al. · 2016 · 4.4K citations · Full text
PaLM: Scaling Language Modeling with Pathways
Aakanksha Chowdhery, Sharan Narang, Jacob Devlin et al. · arXiv (Cornell University) · 2022 · 2.1K citations · Full text
Emergent Abilities of Large Language Models
Yi Tay, Rishi Bommasani, Colin Raffel et al. · arXiv (Cornell University) · 2022 · 1K citations · Full text