Introduction
As Large Language Models (LLMs) are increasingly deployed as autonomous data science agents, their ability to handle real-world data becomes critical. While frontier models demonstrate impressive capabilities on curated, "clean" datasets, real-world data is frequently "dirty"—marred by missing values, sensor errors, and logical inconsistencies. This paper introduces RADAR (Robust And Data Aware Reasoning), a benchmark designed to quantify the "robustness gap" in LLMs when faced with imperfect tabular data.
The RADAR Framework
The researchers developed a systematic approach to evaluate "data awareness"—the ability of a model to recognize and appropriately handle data artifacts. The benchmark consists of 2,980 table-query pairs derived from 53 diverse tasks across domains like health, education, and STEM.
To simulate real-world messiness, the framework injects five programmatic perturbations:
- Missing Data: Null or empty entries.
- Bad Values: Erroneous placeholders (e.g.,
#REF!). - Outliers: Contextually implausible values (e.g., a resting heart rate of 220 bpm).
- Inconsistent Formatting: Mixed units or date formats (e.g., "22 lbs" vs "22 pounds").
- Inconsistent Logic: Contradictions between fields (e.g., a flight's arrival time occurring before its departure).
Key Findings
The study reveals a significant performance collapse when models transition from clean to perturbed data. Even frontier reasoning models like o4-mini and Gemini 2.5 Pro struggle, with performance dropping by up to 59% in some scenarios.
The Robustness Gap
Under direct prompting, models often fail to identify outliers or logical errors, leading to incorrect conclusions. For instance, a model might include a physiologically implausible "walking" row in a calorie calculation unless it specifically "thinks" to exclude it based on domain knowledge.
Code Agents vs. Direct Prompting
The evaluation compared two primary interaction modes:
- Direct Prompting: Models reasoning over raw text. This method hits a "scaling wall" as table sizes increase, with performance dropping toward zero as context grows (approaching 16K tokens).
- Code Agents: Models writing Python code. While more resilient to table size, these agents often lack "data intuition," applying generic cleaning routines (like dropping all rows with missing values) without understanding the underlying data quality issues.
Conclusion
The RADAR benchmark highlights that current LLMs, while "smart," lack the skepticism required for reliable data science. "Inconsistent Logic" remains the most challenging artifact to detect, requiring complex multi-column reasoning. Future development of AI agents must prioritize data awareness to ensure they don't blindly process erroneous data into flawed insights.
Summary updated