Assessing Large Language Models Used for Extracting Table Information from Annual Financial Reports
Top Cited Papers
Open Access
Abstract
The extraction of data from tables in PDF documents has been a longstanding challenge in the field of data processing and analysis. While traditional methods have been explored in depth, the rise of Large Language Models (LLMs) offers new possibilities. This article addresses the knowledge gaps regarding LLMs, specifically ChatGPT-4 and BARD, for extracting and interpreting data from financial tables in PDF format. This research is motivated by the real-world need to efficiently gather and analyze corporate financial information. The hypothesis is that LLMs—in this case, ChatGPT-4 and BARD—can accurately extract key financial data, such as balance sheets and income statements. The methodology involves selecting representative pages from 46 annual reports of large Swiss corporations listed in the SMI Expanded Index from 2022 and copy–pasting text from these into LLMs. Eight analytical questions were posed to the LLMs, and their responses were assessed for accuracy and for identifying potential error sources in data extraction. The findings revealed significant variance in the performance of ChatGPT-4 and another LLM, BARD, with ChatGPT-4 generally exhibiting superior accuracy. This research contributes to understanding the capabilities and limitations of LLMs in processing and interpreting complex financial data from corporate documents.Keywords
This publication has 7 references indexed in Scilit:
- A critical assessment of using ChatGPT for extracting structured data from clinical notesnpj Digital Medicine, 2024
- MisCaltral: Reducing Numeric Hallucinations of Mistral with Precision Numeric CalculationResearch Square, 2023
- GPT4Graph: Can Large Language Models Understand Graph Structured Data ? An Empirical Evaluation and BenchmarkingarXiv, 2023
- Are ChatGPT and GPT-4 General-Purpose Solvers for Financial Text Analytics? A Study on Several Typical Tasks2023
- Limits for learning with language models2023
- PubTables-1M: Towards comprehensive table extraction from unstructured documents2022
- Evaluating Discourse Phenomena in Neural Machine Translation2018