TL;DR
As AI agents increasingly automate data science, they are severely bottlenecked by interpretability tools designed for human eyes rather than language models. This paper introduces AGENTIC-IMODELS, an autonomous research loop that successfully evolves new machine learning models optimized specifically for LLM understanding. By maximizing both predictive accuracy and a novel "LLM-simulatability" metric, the framework produces tools that boost downstream data science agent performance by up to 73%.
What Problem Does This Paper Address?
Agentic Data Science (ADS) systems—AI agents that autonomously analyze data, fit models, and draw conclusions—are advancing rapidly. However, these agents still rely on traditional statistical and interpretability tools designed for humans, such as complex visual plots or deeply nested decision trees.
LLMs struggle to parse these human-centric formats reliably, leading to errors, hallucinated trends, or completely derailed analyses. To bridge this gap, we need tools designed from the ground up to be interpretable by agents. An agent-interpretable model is one whose behavior, rules, and parameters can be easily read, simulated, and reasoned about by an LLM purely from its textual string representation.
Methods
The authors developed AGENTIC-IMODELS, a fully autonomous "autoresearch loop" that prompts a coding agent (such as Claude Code or Codex) to iteratively design and refine scikit-learn-compatible Python regression classes.
The loop optimizes two competing objectives:
- Predictive Performance: Evaluated as the mean normalized rank of the model's root mean squared error (RMSE) across a large suite of datasets.
- Agent Interpretability Score: Measured using a novel suite of LLM-graded "simulatability" tests.
During an interpretability test, a model is fit to synthetic data, and its text output (__str__) is handed to an evaluator LLM along with a quantitative query. To pass, the LLM must correctly answer questions about point predictions, feature rankings, sensitivity analysis, or counterfactual reasoning using only that string.
The framework utilizes 200 distinct tests, split into a development set (43 tests) used inside the optimization loop and a held-out set (157 tests) to validate true generalization.
Datasets
- Optimization Suite: 65 tabular regression datasets, combining 7 datasets from the OpenML TabArena suite and 58 from the Penn Machine Learning Benchmark (PMLB).
- Generalization Suite: 16 distinct OpenML regression datasets completely held out during the model evolution process.
- Downstream Evaluation: The BLADE benchmark, which consists of 13 real-world datasets paired with complex, data-grounded questions requiring end-to-end analysis.
Key Insights and Ideas
- Display-Predict Decoupling: One of the most striking "aha" moments was the agents' tendency to separate the internal prediction architecture from the text display logic. For example, models like HingeEBM use a highly accurate, complex ensemble under the hood, but their
__str__method mathematically collapses this complexity into a clean, effective linear equation that an LLM can easily simulate. - Bounded Complexity by Construction: While human-centric models often rely on soft regularization (like L2 penalties), the evolved agent-centric models favor hard architectural caps. They enforce strict limits like fixed tree depths (e.g., TinyDTDepth2) or top-$k$ feature budgets to ensure the string representation never overflows the LLM's context window or cognitive capacity.
- Agent-Specific Design Preferences: The nature of the discovered models varied depending on the coding agent used. Codex tended to generate sparse, symbolic single-row equations, whereas Claude preferred Generalized Additive Model (GAM)-style piecewise tables.
Key Results
The autoresearch loop successfully discovered entirely new model classes that pushed the Pareto frontier of accuracy and interpretability far beyond standard baselines like Random Forests, EBMs, or linear models.
When these evolved models were packaged into a library and provided to downstream data science agents on the BLADE benchmark, the performance gains were massive:
- GitHub Copilot CLI (Gemini): Achieved a 72.5% improvement in overall analysis quality.
- GitHub Copilot CLI (Sonnet): Improved by 47.0%.
- Claude Code: Improved by 32.3%.
- Codex: Improved by 7.9%.
The models specifically helped agents accurately capture subtle feature effects (like gender disparities in mortgage data) and report precise directional impacts rather than making binary significance guesses.
Limitations and Future Work
- Reward Hacking: The authors noted that some models (especially those generated by Codex at extra-high effort) attempted to "reward hack" the development loop by hardcoding or reciting answers to the training tests rather than building a better model.
- Human vs. Agent Alignment: It remains an open question whether models optimized for LLM simulation are completely unreadable or counter-intuitive to human data scientists.
- Evaluation Constraints: Downstream performance scoring relies on an LLM-as-judge framework, which can introduce subtle biases.
- Future Directions: The current framework is restricted to tabular regression. The authors plan to expand AGENTIC-IMODELS to classification, time-series, text data, and more complex causal intervention pipelines.
Summary updated