Do LLM-Generated Skills Make Better AI Data Scientists? A Component Ablation Across Data-Science Workflows

TL;DR

Study finds LLM-generated skills do not significantly improve performance in data science workflows.

cs.AI 🟡 Intermediate 2026-07-08 4 views
Wei-Jung Huang
large language models data science skill generation prompt engineering ablation study

Key Findings

Methodology

The study uses ablation experiments to analyze the effectiveness of LLM-generated skills across four stages: data preparation, extraction, statistical analysis, and reporting. Each stage uses one generated skill, comparing its performance against no-skill prompting.

Key Results

  • Result 1: Across 7,560 experiments, generated skills showed no significant improvement over no-skill prompting, with p-values all above 0.396.
  • Result 2: Supplemental length-matched control tests showed full skills performed similarly to task-irrelevant skill-formatted content.
  • Result 3: Ablation experiments found no skill component significantly improved performance.

Significance

This study highlights the limitations of using LLM-generated skills as a default single-shot prompting strategy in data science workflows, suggesting the need for more refined skill design and evaluation methods. For academia and industry, this means more careful skill generation and application.

Technical Contribution

The technical contribution lies in systematically evaluating the effectiveness of LLM-generated skills, revealing the impact of different skill components on task performance, and providing empirical data for skill generation and application.

Novelty

This study is the first to systematically evaluate the role of LLM-generated skills in data science workflows, providing more detailed component analysis compared to previous studies.

Limitations

  • Limitation 1: The study did not find any skill component that significantly improved task performance, possibly due to the quality of skill generation.
  • Limitation 2: The experiment did not include expert-written skills as a control, preventing evaluation of generated skills against high-quality manual skills.

Future Work

Future research could explore how to improve the quality of LLM-generated skills and optimize their application across different data science tasks.

AI Executive Summary

This study investigates the effectiveness of LLM-generated skills in data science workflows, finding no significant improvement in task performance across stages like data preparation, extraction, statistical analysis, and reporting. Through ablation experiments, the study analyzes the role of different skill components, showing that neither full skills nor ablated variants significantly improved performance.

The significance lies in revealing the current limitations of LLM-generated skills in practical applications, suggesting caution in their generation and use. While generated skills offer a low-maintenance alternative, their performance in data science tasks is similar to no-skill prompting, failing to provide expected enhancements.

Future research should focus on improving the quality of generated skills and optimizing application strategies across tasks to achieve more significant performance gains.

Deep Analysis

Background

With the advancement of large language models (LLMs), data scientists have started using these models to assist in repetitive tasks like data cleaning, SQL writing, statistical test selection, and result formatting. To avoid starting from scratch each time, reusable skill files have been proposed. However, manually writing and maintaining these skill files is cumbersome and time-consuming.

Core Problem

The core problem is whether LLM-generated skills can enhance data science task performance without adding to the manual maintenance burden. The study aims to evaluate the effectiveness of these generated skills across different data science workflow stages.

Innovation

The innovation lies in using ablation experiments to systematically analyze the impact of different components of LLM-generated skills on task performance. This method allows researchers to identify which components may help or hinder task performance.

Methodology

  • �� Generate one skill per stage: data preparation, extraction, statistical analysis, and reporting.
  • �� Conduct ablation experiments to analyze the impact of full skills and different components on task performance.
  • �� Use 56 tasks, 9 model configurations, and 3 providers for 7,560 experiments.

Experiments

The experimental design includes 56 tasks covering data preparation, extraction, statistical analysis, and reporting stages. Using 9 model configurations, 7,560 experiments compare the performance of generated skills against no-skill prompting.

Results

Results show no significant improvement in performance with generated skills compared to no-skill prompting. Supplemental length-matched control tests showed full skills performed similarly to task-irrelevant skill-formatted content.

Applications

The study suggests caution in using LLM-generated skills in data science workflows, possibly requiring a combination of manually written high-quality skills for better performance.

Limitations & Outlook

The study did not find any skill component that significantly improved task performance, possibly due to the quality of skill generation. The experiment did not include expert-written skills as a control, preventing evaluation of generated skills against high-quality manual skills.

Plain Language Accessible to non-experts

Imagine you're cooking in a kitchen. You have a cookbook that tells you how to prepare ingredients, cook, and plate. LLM-generated skills are like an automatically generated cookbook that tells you how to complete data science tasks. But the study found these auto-generated cookbooks aren't better than figuring it out yourself. Just like sometimes an auto-recipe might not suit your taste, LLM-generated skills might not fit specific tasks.

ELI14 Explained like you're 14

Imagine playing a game where there's an assistant telling you how to defeat monsters, level up, and collect gear. Now, imagine this assistant is a robot that automatically generates some advice. But the study found this advice isn't better than figuring it out yourself. Just like sometimes game assistants might give not-so-great advice, robot-generated advice might not fit every task.

Glossary

Large Language Model (LLM)

An AI model capable of generating and understanding natural language, typically used for complex language tasks.

Used in the study to generate skills for data science tasks.

Skill File

A document containing task guidance, examples, and reference notes, designed to assist in completing specific tasks.

Used to avoid starting from scratch each time.

Ablation Study

An experimental method that analyzes the impact of removing system components on overall performance.

Used to evaluate the impact of different components of LLM-generated skills on task performance.

Data Science Workflow

A series of steps followed by data scientists in analyzing and processing data, including data preparation, extraction, analysis, and reporting.

The application scenario evaluated in the study.

Prompt Engineering

The process of designing and optimizing input prompts to improve model output quality.

Used in designing skill and task prompts.

Open Questions Unanswered questions from this research

  • 1 How to improve the quality of LLM-generated skills for more significant performance gains?
  • 2 How to optimize the application strategy of skills across different data science tasks?

Applications

Immediate Applications

Automated Data Cleaning

Use generated skills to automate data cleaning tasks, but combine with manual skills to improve accuracy.

Long-term Vision

Intelligent Data Science Assistant

Develop intelligent assistants capable of automatically generating high-quality skills, overcoming issues of generation quality and task fit.

Abstract

Product data scientists often ask LLM-based agents to help with recurring execution tasks such as cleaning data, writing SQL, choosing statistical tests, and formatting results. Reusable skill files are meant to avoid prompting from scratch by packaging guidance for a task family. Expert-written skills can encode high-quality guidance, but writing and maintaining them across many data-science task families creates a manual bottleneck. We ask whether LLM-generated skills offer a useful low-curation alternative: do they improve performance over the task prompt alone? We test this question across four lifecycle stages: data preparation, data extraction, statistical analysis, and reporting, using one generated skill per stage. We find no reliable improvement from full generated skills over No-Skill prompting. We then ask whether any part of the skill is useful by ablating different skill components. The main ablation covers 56 tasks, nine model configurations, and three providers, yielding 7,560 runs. Compared with prompting using the task alone, neither the full generated skill nor any ablated skill variant significantly improves performance; all p-values are at least 0.396, and the total spread across variants is only 1.2 pp. A supplemental token-matched control adds 1,512 runs and finds that Full skills perform similarly to task-irrelevant skill-formatted content. The results caution against using one LLM-generated skill per data-science workflow as a default single-shot prompting strategy.

cs.AI