InsightBench: Evaluating Business Analytics Agents Through Multi-Step Insight Generation

Gaurav Sahu, Abhay Puri, Juan A. Rodriguez, Amirhossein Abaskohi, Mohammad Chegini, Alexandre Drouin, Perouz Taslakian, Valentina Zantedeschi, Alexandre Lacoste, David Vázquez, Nicolas Chapados, Christopher Pal, Sai Rajeswar, Issam H. LaradjiICLR 2024

TL;DR

This paper introduces InsightBench, a novel benchmark designed to evaluate the end-to-end data analytics capabilities of Large Language Model (LLM) agents. Unlike existing benchmarks that focus on single queries, InsightBench assesses an agent's ability to generate insights through a multi-step process, from formulating questions to summarizing findings and suggesting actions, which is crucial for real-world business decision-making.

What Problem Does This Paper Address?

Extracting actionable insights from vast datasets is fundamental for effective business decision-making. While LLMs have shown promise in assisting with data analysis tasks, current evaluation benchmarks often fall short. They typically focus on narrow, single-step code completion or answering specific queries, failing to capture the complex, iterative nature of real-world data analysis. This process involves a human analyst (or an agent) formulating a high-level goal, then iteratively identifying key questions, interpreting answers, and synthesizing insights to arrive at a comprehensive summary and actionable steps. Existing benchmarks also struggle with consistent and reliable evaluation due to the subjective nature of human assessment. This paper addresses the need for a standardized, automated benchmark that can evaluate the full spectrum of end-to-end data analytics capabilities of LLM agents.

Methods

The core of this work is the introduction of InsightBench, a benchmark comprising 100 diverse datasets derived from ServiceNow's platform, covering business use cases like finance and incident management. Each dataset is accompanied by carefully curated "planted" insights, meaning specific trends or anomalies are embedded within the data.

The evaluation process for agents on InsightBench is multi-step:

  1. Goal Formulation: Agents are given a high-level goal.
  2. Question Generation: Agents formulate relevant questions to explore the data.
  3. Insight Extraction: Agents answer these questions, extracting insights.
  4. Summary and Actionable Steps: Agents synthesize these insights into a summary and propose actionable steps.

A key innovation is the use of LLaMA-3-Eval, an LLM-based evaluation mechanism (inspired by G-Eval), to assess the quality and relevance of the generated insights. This approach aims to provide a more consistent and reliable evaluation than human assessment. The paper also introduces AgentPoirot, a baseline data analysis agent designed to perform this end-to-end process.

Datasets

The paper introduces InsightBench, a new benchmark dataset consisting of 100 tabular datasets. These datasets are synthetically generated but mimic real-world enterprise data structures from the ServiceNow platform. They cover five key themes: Incident Management, User Management, Finance Expenses, Inventory Management, and Enterprise Goal Management.

Each dataset is designed with:

  • Clear Goals: A SMART goal is provided for each dataset.
  • Planted Insights: Specific trends and anomalies are embedded to ensure discoverability.
  • Ground-Truth Analysis Notebooks: Expert-annotated Jupyter notebooks detailing the analysis process, questions, plots, insights, and actionable steps.

This differs from existing benchmarks by focusing on multi-step analysis rather than single-query answering and by providing embedded, discoverable insights for more robust evaluation.

Key Insights and Ideas

  • End-to-End Analytics is Key: The paper strongly emphasizes that evaluating LLM agents solely on single-query answering is insufficient. True utility lies in their ability to navigate complex, multi-step analytical processes, mirroring human data scientists.
  • LLM-based Evaluation is Viable: Using LLMs like LLaMA-3 for evaluation (LLaMA-3-Eval) offers a promising, scalable, and consistent alternative to human evaluation, addressing subjectivity and cost concerns.
  • SMART Goals Drive Performance: The performance of data analysis agents is significantly boosted by well-defined, specific, measurable, attainable, relevant, and timely (SMART) goals, highlighting the importance of clear objectives in guiding exploration.
  • Diverse Questioning is Crucial: Agents that can generate a diverse set of follow-up questions, exploring different analytical angles (descriptive, diagnostic, predictive, prescriptive), tend to perform better than those restricted to a single question type.

Key Results

  • AgentPoirot Outperforms Baselines: The proposed AgentPoirot agent consistently outperforms the Pandas Agent (a popular existing approach) on InsightBench, both in terms of ROUGE-1 and LLaMA-3-Eval scores, demonstrating its effectiveness in multi-step data analysis.
  • LLaMA-3-Eval is a Reliable Evaluator: LLaMA-3-Eval shows strong alignment with human judgment and provides consistent results, making it a feasible open-source alternative to closed-source evaluators like GPT-4.
  • Model Performance Varies: While GPT-40 generally achieves the best overall performance, AgentPoirot with LLaMA-3-70b performs competitively, outperforming GPT-3.5-turbo and approaching GPT-4-turbo in some metrics.
  • Dataset Characteristics Matter: Agent performance varies across dataset categories (excelling in Asset, Goal, and Finance Management) and difficulty levels (performing better on easier tasks).
  • Generic Goals Hinder Performance: Using generic goals like "find interesting trends" drastically reduces agent performance compared to using specific SMART goals.
  • Trend Intensity Affects Discovery: Agents struggle to detect subtle trends (low intensity) and can fail to identify trends with negative slopes, indicating limitations in nuanced pattern recognition.

Limitations and Future Work

  • Dataset Bias: The datasets are synthesized based on ServiceNow patterns, which may not fully capture the complexity or unexpected behaviors of all real-world enterprise data.
  • Benchmark Scope: While InsightBench covers several business areas, future work could expand to include more diverse data types (e.g., unstructured text, logs, emails) and domains (e.g., healthcare, e-commerce).
  • Agent Limitations: The paper notes that agents can struggle with subtle trends and may not always discover insights with negative slopes.
  • Future Directions: The authors suggest expanding the benchmark to include more nuanced scenarios, themes, and data types, as well as integrating visual data analysis and real-world deployment feedback. They also aim to refine the adaptive framework for better integration into software development processes.

Summary updated

BibTeX
@inproceedings{sahu2024insightbench,
  author = {Gaurav Sahu and Abhay Puri and Juan A. Rodriguez and Amirhossein Abaskohi and Mohammad Chegini and Alexandre Drouin and Perouz Taslakian and Valentina Zantedeschi and Alexandre Lacoste and David Vázquez and Nicolas Chapados and Christopher Pal and Sai Rajeswar and Issam H. Laradji},
  title = {{InsightBench: Evaluating Business Analytics Agents Through Multi-Step Insight Generation}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=AtQPYBvbDK},
}
Figure