Evaluating ChatGPT's Information Extraction Capabilities: An Assessment of Performance, Explainability, Calibration, and Faithfulness

Bo Li, Gexiang Fang, Yang Yang, Quansen Wang, Wei Ye, Wen Zhao, Shikun ZhangarXiv 2023

Abstract

The capability of Large Language Models (LLMs) like ChatGPT to comprehend user intent and provide reasonable responses has made them extremely popular lately. In this paper, we focus on assessing the overall ability of ChatGPT using 7 fine-grained information extraction (IE) tasks. Specially, we present the systematically analysis by measuring ChatGPT's performance, explainability, calibration, and faithfulness, and resulting in 15 keys from either the ChatGPT or domain experts. Our findings reveal that ChatGPT's performance in Standard-IE setting is poor, but it surprisingly exhibits excellent performance in the OpenIE setting, as evidenced by human evaluation. In addition, our research indicates that ChatGPT provides high-quality and trustworthy explanations for its decisions. However, there is an issue of ChatGPT being overconfident in its predictions, which resulting in low calibration. Furthermore, ChatGPT demonstrates a high level of faithfulness to the original text in the majority of cases.

Introduction

Information Extraction (IE)—the process of turning unstructured text into structured data like entities, relations, and events—has traditionally been dominated by supervised models fine-tuned on specific datasets, such as BERT or RoBERTa. With the rise of Large Language Models (LLMs), there is significant interest in whether a general-purpose model like ChatGPT can replace these specialists. However, IE requires not just linguistic understanding but also adherence to strict schemas. This study addresses the gap in understanding ChatGPT’s reliability by evaluating its performance, explainability, calibration, and faithfulness across 14 datasets.

Methodology

The evaluation covers 7 fine-grained IE tasks (Entity Typing, NER, Relation Classification, etc.) across 14 datasets. Two distinct settings were employed:

  1. Standard-IE: ChatGPT is provided with a fixed set of candidate labels and must choose the most appropriate one.
  2. OpenIE: ChatGPT extracts information without a predefined label set, relying on its internal knowledge to generate reasonable descriptors.

Beyond standard F1 scores, the researchers measured explainability (logical consistency of reasons), calibration (matching confidence to accuracy), and faithfulness (grounding in source text).

Performance Analysis

In the Standard-IE setting, ChatGPT generally underperforms compared to fine-tuned baselines. For instance, on CoNLL2003 (NER), ChatGPT achieved a 67.2 F1 score, while the SOTA model reached 94.6.

Comparison of ChatGPT performance against BERT, RoBERTa, and SOTA models across IE tasks.

As shown in the table above, ChatGPT struggles significantly with complex tasks like Event Extraction (EE) and Relation Extraction (RE) compared to specialized models. However, it shows promise as a "candidate generator"; while its "top-1" prediction might be wrong, its "top-5" predictions often include the correct answer, reaching 94.9% recall on the BBN dataset.

The OpenIE Advantage

A key finding is that ChatGPT performs significantly better in OpenIE settings than in Standard-IE. This suggests that ChatGPT is better at understanding the underlying concept of an entity or relation than matching it to a specific, sometimes arbitrary, label in a rigid schema.

Performance comparison between Standard-IE and OpenIE settings.

For example, on the BBN (Entity Typing) task, accuracy jumped from 86.8% in the Standard setting to 97.2% in the Open setting. This indicates that ChatGPT's internal representations are highly effective when not constrained by predefined label sets.

Explainability, Calibration, and Faithfulness

ChatGPT provides high-quality, "human-like" explanations for its decisions. Even when its prediction is incorrect, the reasoning often remains logical and faithful to the source text. In over 95% of cases, ChatGPT’s explanations were found to be grounded in the original text, rarely hallucinating external information.

However, ChatGPT is poorly calibrated. It frequently assigns a confidence score of 100/100 to incorrect predictions. Unlike BERT-based models, which tend to be more "cautious" when they are likely to be wrong, ChatGPT maintains a high level of overconfidence regardless of its actual accuracy.

Conclusion

ChatGPT can be characterized as a "competent advisor" but a "poor specialist" for Information Extraction. While it struggles in rigid, label-constrained settings, it excels in open-ended extraction and provides logical, faithful explanations. Future work should focus on improving the calibration of LLMs and exploring domain-specific prompt engineering to bridge the performance gap with specialized models.

The datasets and code are available at https://github.com/pkuserc/ChatGPT_for_IE.

Summary updated

BibTeX
@misc{li2023evaluating,
  author = {Bo Li and Gexiang Fang and Yang Yang and Quansen Wang and Wei Ye and Wen Zhao and Shikun Zhang},
  title = {{Evaluating ChatGPT's Information Extraction Capabilities: An Assessment of Performance, Explainability, Calibration, and Faithfulness}},
  year = {2023},
  eprint = {2304.11633},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2304.11633},
}
Figure