AgentAda: Skill-Adaptive Data Analytics for Tailored Insight Discovery

Amirhossein Abaskohi, Amrutha Varshini Ramesh, Shailesh Nanisetty, Chirag Goel, David Vázquez, Christopher Pal, Spandana Gella, Giuseppe Carenini, Issam H. Laradji · DOI

Abstract

AgentAda is a skill-informed autonomous agent designed to bridge the gap between general-purpose Large Language Models (LLMs) and specialized data science tasks. By leveraging a curated library of 74 analytical skills, AgentAda automatically selects appropriate tools for specific datasets, personas, and goals. This approach yields deeper, more factual insights compared to standard LLM-based tools. Evaluation using the new KAGGLEBENCH benchmark and the SCORER framework demonstrates that AgentAda significantly outperforms baselines in analytical depth and accuracy, achieving 90.6% accuracy on complex data tasks.

Introduction

While Large Language Models (LLMs) have demonstrated remarkable capabilities in code generation, they often struggle with the "science" aspect of data science. Most existing LLM-based analytics tools are general-purpose, tending to provide surface-level summaries or basic descriptive statistics when tasked with dataset analysis. They lack the structured reasoning required to determine when to apply advanced techniques such as predictive modeling, trend analysis, or specific natural language processing (NLP) workflows.

Furthermore, evaluating the quality of generated insights is inherently difficult due to subjectivity and the requirement for domain expertise. AgentAda addresses these challenges by introducing a "skill-informed" architecture that treats analytical methods as blueprints, grounding the LLM's reasoning in established data science practices.

Methods

AgentAda operates through a structured, four-stage pipeline designed to move beyond simple descriptive statistics to deep, persona-driven insights.

The AgentAda pipeline: from dual-stage question generation to skill-matched insight extraction.
  1. Dual-Stage Question Generation: The agent first generates foundational questions about the data. It then utilizes its Skill Library to "up-level" these into advanced, skill-oriented questions tailored to a specific user persona (e.g., a meteorologist) and goal.
  2. Hybrid RAG Skill Matcher: For each question, a Retrieval-Augmented Generation (RAG) system searches the library of 74 analytical skills to identify the top three most relevant techniques.
  3. Code Generation & Self-Correction: The agent generates executable Python code based on the retrieved skill's documentation. It includes a self-correction mechanism that uses error messages to refine code, averaging 1.8 attempts per dataset.
  4. Insight Extraction: A multimodal LLM interprets the resulting plots and statistics to produce concise, actionable insights.

To evaluate these insights, the authors developed SCORER (Structured Calibration Of Ratings via Expert Refinement), an "LLM-as-a-judge" framework optimized via TextGrad to align with human expert judgment.

Datasets and Benchmarking

The system was evaluated using KAGGLEBENCH, a new benchmark comprising 700 curated Jupyter notebooks across 49 domains and 28 task types. This benchmark focuses on complex, insight-driven tasks rather than simple code execution. Additional testing was performed on Insight-Bench and InfiAgent-DABench to ensure generalizability against state-of-the-art baselines.

Results

AgentAda demonstrates significant improvements over general-purpose agents in both quantitative accuracy and qualitative depth.

Qualitative comparison showing how AgentAda provides deeper, decomposed time-series analysis compared to a general agent.
  • Accuracy: On the KaggleBench QA task, AgentAda achieved 90.6% accuracy, outperforming GPT-4o (78.8%) and specialized tools like Pandas AI (80.4%).
  • Human Preference: In blind tests, human evaluators preferred AgentAda’s analyses 48.78% of the time, compared to 27.67% for an unskilled version of the same agent.
  • Analytical Depth: The agent showed its strongest gains in "Depth of Analysis," consistently outperforming MetaGPT and Pandas AI by providing more nuanced interpretations.
  • Evaluation Alignment: The SCORER judge achieved high correlation with human experts, providing a scalable proxy for evaluating insight quality.

Conclusion and Future Work

AgentAda successfully bridges the gap between general LLM capabilities and specialized data science needs by utilizing a library of analytical blueprints. While currently focused on single-table datasets, future work will expand the system to handle multi-table analysis and complex relational schemas. Additionally, the authors plan to expand the skill library to include more unstructured data processing (text and images) and a broader set of generic skills for niche tasks.

Summary updated

BibTeX
@misc{abaskohi2025agentada,
  author = {Amirhossein Abaskohi and Amrutha Varshini Ramesh and Shailesh Nanisetty and Chirag Goel and David Vázquez and Christopher Pal and Spandana Gella and Giuseppe Carenini and Issam H. Laradji},
  title = {{AgentAda: Skill-Adaptive Data Analytics for Tailored Insight Discovery}},
  year = {2025},
  eprint = {2504.07421},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.07421},
}
Figure