[Paper Review] An Empirical Study on Information Extraction using Large Language Models
This study evaluates ChatGPT on 14 IE subtasks across 17 datasets under zero-shot, few-shot ICL, and few-shot chain-of-thought, revealing a substantial gap to SOTA, a proposed soft-matching eval approach, robustness insights, and prevalent error types.
Human-like large language models (LLMs), especially the most powerful and popular ones in OpenAI's GPT family, have proven to be very helpful for many natural language processing (NLP) related tasks. Therefore, various attempts have been made to apply LLMs to information extraction (IE), which is a fundamental NLP task that involves extracting information from unstructured plain text. To demonstrate the latest representative progress in LLMs' information extraction ability, we assess the information extraction ability of GPT-4 (the latest version of GPT at the time of writing this paper) from four perspectives: Performance, Evaluation Criteria, Robustness, and Error Types. Our results suggest a visible performance gap between GPT-4 and state-of-the-art (SOTA) IE methods. To alleviate this problem, considering the LLMs' human-like characteristics, we propose and analyze the effects of a series of simple prompt-based methods, which can be generalized to other LLMs and NLP tasks. Rich experiments show our methods' effectiveness and some of their remaining issues in improving GPT-4's information extraction ability.
Motivation & Objective
- Assess ChatGPT's performance on information extraction (IE) tasks across multiple datasets and subtasks.
- Investigate how in-context learning (ICL) and chain-of-thought (COT) prompts affect IE performance.
- Analyze robustness and error patterns to identify limitations and data quality concerns.
- Propose a soft-matching evaluation strategy to better reflect ChatGPT's span predictions.
Proposed method
- Evaluate ChatGPT on 17 datasets covering 14 IE subtasks under zero-shot, 5-shot ICL, and 5-shot COT settings.
- Design and compare five zero-shot prompts per sub-task to measure prompt sensitivity and report mean and std deviations.
- Construct few-shot ICL prompts by selecting the best zero-shot prompt and adding five demo examples from the training set; construct few-shot COT prompts by adding manually built chain-of-thought explanations.
- Introduce a soft-matching evaluation strategy to account for longer or qualifier-containing spans produced by ChatGPT, using edit-distance based similarity with a threshold gamma.
- Compare ChatGPT results against state-of-the-art (SOTA) methods, using F1 as the evaluation metric and reporting Ratios to SOTA.
- Provide robustness analyses by examining invalid outputs, irrelevant context, target-type frequency, and entity order sensitivity.
Experimental results
Research questions
- RQ1How does ChatGPT perform on 14 IE subtasks across 17 datasets in zero-shot, few-shot ICL, and few-shot COT settings?
- RQ2To what extent do few-shot ICL and COT prompts improve or fail to bridge the gap to SOTA?
- RQ3How do evaluation criteria (hard vs soft matching) impact measured performance for ChatGPT on IE tasks?
- RQ4What are the main robustness challenges and error types when using ChatGPT for IE?
- RQ5Can data annotation quality be affected or improved by using ChatGPT in annotation workflows?
Key findings
- There is a substantial performance gap between ChatGPT and SOTA methods, increasing with task difficulty.
- Few-shot ICL generally improves results (roughly 3–13 F1 points) but usually does not reach SOTA; few-shot COT does not guarantee gains over ICL.
- Soft-matching evaluation yields consistent gains over hard-matching, with up to 14.53 F1 points in some ABSA sub-tasks, but still does not reach SOTA levels.
- ChatGPT rarely outputs invalid responses, but irrelevant context and long-tail target types significantly degrade performance, while subject–object understanding in RE tasks is limited.
- Unannotated spans are the dominant error type (about one-third of errors), raising concerns about annotation quality and suggesting potential for ChatGPT-assisted annotation.
- ChatGPT shows limited sensitivity to entity order in RE tasks, indicating weak understanding of some subject–object relationships.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.