In plain words: GPT-4 was put to work as a data analyst, running full analyses on databases from many fields and scored against professional human analysts with task-specific measures. It performed about as well as the humans.
Abstract · Is GPT-4 a Good Data Analyst?
As large language models (LLMs) have demonstrated their powerful capabilities in plenty of domains and tasks, including context understanding, code generation, language generation, data storytelling, etc., many data analysts may raise concerns if their jobs will be replaced by artificial intelligence (AI). This controversial topic has drawn great attention in public. However, we are still at a stage of divergent opinions without any definitive conclusion. Motivated by this, we raise the research question of "is GPT-4 a good data analyst?" in this work and aim to answer it by conducting head-to-head comparative studies. In detail, we regard GPT-4 as a data analyst to perform end-to-end data analysis with databases from a wide range of domains. We propose a framework to tackle the problems by carefully designing the prompts for GPT-4 to conduct experiments. We also design several task-specific evaluation metrics to systematically compare the performance between several professional human data analysts and GPT-4. Experimental results show that GPT-4 can achieve comparable performance to humans. We also provide in-depth discussions about our results to shed light on further studies before reaching the conclusion that GPT-4 can replace data analysts.
Liying Cheng, Xingxuan Li, Lidong Bing
arXiv:2305.15038 · cs.CL · submitted May 24, 2023 · updated Oct 23, 2023
abstract · pdf · html · 19 pages, 2 figures
All this real-world complexity can be tamed by stuffing the prompt with a ton of relevant context and an amazing prompt engine. We'll have bots that autonomously query the database hundreds of times building a 5 page "deep-dive" analytics report in minutes.
At least that's what we're trying at patterns.app.