Agentic-imodels: Evolving agentic interpretability tools via autoresearch

Chandan Singh, Yan Shuo Tan, Weijia Xu, Zelalem Gero, Weiwei Yang, Michel Galley, Jianfeng GaoarXiv 2026

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:

  1. Predictive Performance: Evaluated as the mean normalized rank of the model's root mean squared error (RMSE) across a large suite of datasets.
  2. 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.

Figure 2: The interpretability test protocol, illustrated on Ridge regression with four of the 43 tests. Synthetic data is generated and the model is fit. The LLM receives only the __str__ output and a query. The response is graded against the ground truth, which is obtained either from evaluating the fitted function or from knowledge of the ground-truth function. In some cases, the question itself requires evaluating the prediction function, e.g. in the counterfactual target test the value 8.50 is obtained by evaluating the model when setting x0 = 2.18, x1 = 0.0, x2 = 0.0. Here the LLM passes three tests but fails the counterfactual target test. Even though the information to compute the counterfactual target is present in the __str__ output, the representation does not make it easy for the LLM to solve the inverse problem compared to other model representations (e.g. a decision tree that makes the predicted value easily apparent in leaf nodes).

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.

Figure 1: (a) Overview of the AGENTIC-IMODELS autoresearch loop, which optimizes a Python class for predictive performance and agent interpretability (evaluated through LLM-based simulatability tests). (b) The discovered AGENTIC-IMODELS (blue points) improve the Pareto frontier of predictive performance and interpretability over baselines from the literature. See evaluation details in Sec. 4.2.

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

BibTeX
@misc{singh2026agentic,
  author = {Chandan Singh and Yan Shuo Tan and Weijia Xu and Zelalem Gero and Weiwei Yang and Michel Galley and Jianfeng Gao},
  title = {{Agentic-imodels: Evolving agentic interpretability tools via autoresearch}},
  year = {2026},
  eprint = {2605.03808},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.03808},
}
Figure