ConDABench

Interactive Evaluation of Language Models for Data Analysis

Avik Dutta, Priyanshu Gupta, Hosein Hasanbeig, Rahul Pratap Singh, Harshit Nigam, Sumit Gulwani, Arjun Radhakrishna, Gustavo Soares, Ashish Tiwari

Microsoft Microsoft

Abstract

Real-world data analysis tasks often come with under-specified goals and unclean data. User interaction is necessary to understand and disambiguate a user's intent, and hence, essential to solving these complex tasks. Existing benchmarks for evaluating LLMs on data analysis tasks do not capture these complexities or provide first-class support for interactivity. We introduce ConDABench, a framework for generating conversational data analysis (ConDA) benchmarks and evaluating external tools on the generated benchmarks. ConDABench consists of (a) a multi-agent workflow for generating realistic benchmarks from articles describing insights gained from public datasets, (b) 1,420 ConDA problems generated using this workflow, and (c) an evaluation harness that, for the first time, makes it possible to systematically evaluate conversational data analysis tools on the generated ConDA problems. Evaluation of state-of-the-art LLMs on the benchmarks reveals that while the new generation of models are better at solving more instances, they are not necessarily better at solving tasks that require long conversations. ConDABench is an avenue for model builders to measure progress towards truly collaborative models that can complete complex interactive tasks.

Synthetic Data Generation Framework

Benchmark Synthesis Framework

From an article and data d, Curation pipeline extracts a query-answer pair (q, a) for which the code generation pipeline produces code c to support the answer a. Details on the agents' implementation, including the prompt outlines, can be found on https://github.com/condabench/condabench_details.

Evaluation Framework

Benchmark Synthesis Framework

The evaluation harness uses a User Proxy to simulate real users, enabling interactive testing of data analysis tools. It measures both response correctness and conversation quality. This ensures fair, consistent evaluation of interactive DA systems.

Leaderboard

Framework Model Overall Easy Hard
Score ConvQ Score ConvQ Score ConvQ

Evaluation Metrics

  • Score: Percentage of correctly solved data analysis tasks
  • ConvQ: Percentage measuring interaction effectiveness
  • Easy/Hard: Task difficulty based on complexity and required reasoning steps