Information Extraction from Legal Wills: How Well Does GPT-4 Do?

Alice Kwak, Cheonkam Jeong, Gaetano Forte, Derek Bambauer, Clayton Morrison, Mihai Surdeanu


Abstract
This work presents a manually annotated dataset for Information Extraction (IE) from legal wills, and relevant in-context learning experiments on the dataset. The dataset consists of entities, binary relations between the entities (e.g., relations between testator and beneficiary), and n-ary events (e.g., bequest) extracted from 45 legal wills from two US states. This dataset can serve as a foundation for downstream tasks in the legal domain. Another use case of this dataset is evaluating the performance of large language models (LLMs) on this IE task. We evaluated GPT-4 with our dataset to investigate its ability to extract information from legal wills. Our evaluation result demonstrates that the model is capable of handling the task reasonably well. When given instructions and examples as a prompt, GPT-4 shows decent performance for both entity extraction and relation extraction tasks. Nevertheless, the evaluation result also reveals that the model is not perfect. We observed inconsistent outputs (given a prompt) as well as prompt over-generalization.
Anthology ID:
2023.findings-emnlp.287
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2023
Month:
December
Year:
2023
Address:
Singapore
Editors:
Houda Bouamor, Juan Pino, Kalika Bali
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
4336–4353
Language:
URL:
https://aclanthology.org/2023.findings-emnlp.287
DOI:
10.18653/v1/2023.findings-emnlp.287
Bibkey:
Cite (ACL):
Alice Kwak, Cheonkam Jeong, Gaetano Forte, Derek Bambauer, Clayton Morrison, and Mihai Surdeanu. 2023. Information Extraction from Legal Wills: How Well Does GPT-4 Do?. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 4336–4353, Singapore. Association for Computational Linguistics.
Cite (Informal):
Information Extraction from Legal Wills: How Well Does GPT-4 Do? (Kwak et al., Findings 2023)
Copy Citation:
PDF:
https://aclanthology.org/2023.findings-emnlp.287.pdf