I-MCTS: Enhancing Agentic AutoML via Introspective Monte Carlo Tree Search

Zujie Liang, Feng Wei, Wujiang Xu, Lin Chen, Yuxi Qian, Xinhui Wu · OpenReview

Abstract

Recent advancements in large language models (LLMs) have shown remarkable potential in automating machine learning tasks. However, existing LLM-based agents often struggle with low-diversity and suboptimal code generation. While recent work has introduced Monte Carlo Tree Search (MCTS) to address these issues, limitations persist in the quality and diversity of thoughts generated, as well as in the scalar value feedback mechanisms used for node selection. In this study, we introduce Introspective Monte Carlo Tree Search (I-MCTS), a novel approach that iteratively expands tree nodes through an introspective process that meticulously analyzes solutions and results from parent and sibling nodes. This facilitates a continuous refinement of the node in the search tree, thereby enhancing the overall decision-making process. Furthermore, we integrate a Large Language Model (LLM)-based value model to facilitate direct evaluation of each node's solution prior to conducting comprehensive computational rollouts. A hybrid rewarding mechanism is implemented to seamlessly transition the Q-value from LLM-estimated scores to actual performance scores. This allows higher-quality nodes to be traversed earlier. Applied to various ML tasks, our approach demonstrates a significant performance improvement compared to strong open-source AutoML agents, showcasing its effectiveness in enhancing agentic AutoML systems.

Introduction

Automating the machine learning workflow—from data preprocessing to model selection—remains a central challenge in data science. While Large Language Model (LLM) agents have demonstrated the ability to generate machine learning code, they frequently encounter difficulties with diversity and iterative refinement. Traditional agents often operate in a "single-pass" mode or utilize basic search algorithms like Monte Carlo Tree Search (MCTS) with static insight pools. These approaches often converge on local optima due to their reliance on simple scalar feedback (e.g., accuracy metrics) without the ability to analyze why a specific experiment failed. I-MCTS addresses these limitations by incorporating "introspection" into the search process, enabling agents to think critically before executing code.

The I-MCTS Framework

The I-MCTS framework introduces two primary innovations to the standard MCTS cycle:

  1. Introspective Node Expansion (INE): Rather than relying on a fixed set of ideas, I-MCTS dynamically generates search nodes. During expansion, the LLM acts as an "introspector," analyzing the code and results of both the parent node and its "sibling" nodes. By identifying specific strengths and weaknesses across these nodes, it proposes tailored, actionable insights for the next iteration.
  2. Hybrid Reward Mechanism (HRM): To mitigate the high computational cost of running full ML pipelines, I-MCTS employs an LLM-based value model to estimate a solution's potential before execution. An adaptive blending strategy is used: early in the search, the system relies on the LLM’s estimated scores; as actual execution results (rollouts) become available, the weight shifts toward real-world performance metrics.
The I-MCTS architecture featuring Introspective Node Expansion (INE) and the Hybrid Reward Mechanism (HRM).

The overall process follows the classic MCTS cycle—Selection, Expansion, Simulation, and Backpropagation—enhanced by these intelligent components to ensure a more purposeful search.

Experimental Evaluation

The effectiveness of I-MCTS was evaluated across 20 diverse machine learning datasets, including 13 classification tasks (e.g., credit-g, titanic) and 7 regression tasks (e.g., boston, house-prices). These datasets were sourced from the AutoML Benchmark (AMLB) and Kaggle competitions, representing a wide array of real-world tabular data challenges.

Results and Analysis

I-MCTS demonstrates superior performance across multiple metrics. As shown in the comparative analysis, I-MCTS achieved an average Normalized Score (NS) of 58.6%, outperforming previous state-of-the-art agents like SELA (55.4%) and established AutoML frameworks such as AutoGluon (53.2%).

Performance comparison of I-MCTS against state-of-the-art AutoML methods across 20 datasets.

Key findings from the evaluation include:

  • Top-1 Rate: I-MCTS identified the best-performing solution in 45% of the tasks, more than doubling the success rate of SELA (20%).
  • Verbal Feedback: The transition from simple scalar rewards to verbalized introspection allows the agent to learn from failures more effectively. By looking "sideways" at sibling nodes, the agent avoids redundant errors.
  • Inference-Time Scaling: The results confirm that increasing the number of MCTS rollouts leads to better performance, highlighting the benefits of scaling compute at inference time for complex reasoning tasks.

Conclusion

I-MCTS represents a significant step forward in agentic AutoML by enabling agents to perform introspective reasoning during the search process. While the approach introduces additional computational overhead due to increased LLM calls, the gains in solution quality and search efficiency are substantial. Future work will focus on expanding the agent's memory depth and applying the I-MCTS framework to more complex domains such as Computer Vision and Natural Language Processing.

Summary updated

Abstract

Recent advancements in large language models (LLMs) have shown remarkable potential in automating machine learning tasks. However, existing LLM-based agents often struggle with low-diversity and suboptimal code generation. While recent work has introduced Monte Carlo Tree Search (MCTS) to address these issues, limitations persist in the quality and diversity of thoughts generated, as well as in the scalar value feedback mechanisms used for node selection. In this study, we introduce Introspective Monte Carlo Tree Search (I-MCTS), a novel approach that iteratively expands tree nodes through an introspective process that meticulously analyzes solutions and results from parent and sibling nodes. This facilitates a continuous refinement of the node in the search tree, thereby enhancing the overall decision-making process. Furthermore, we integrate a Large Language Model (LLM)-based value model to facilitate direct evaluation of each node's solution prior to conducting comprehensive computational rollouts. A hybrid rewarding mechanism is implemented to seamlessly transition the Q-value from LLM-estimated scores to actual performance scores. This allows higher-quality nodes to be traversed earlier. Applied to the various ML tasks, our approach demonstrates a 6% absolute improvement in performance compared to the strong open-source AutoML agents, showcasing its effectiveness in enhancing agentic AutoML systems. Resource available at https://github.com/jokieleung/I-MCTS
BibTeX
@inproceedings{liang2026i,
  author = {Zujie Liang and Feng Wei and Wujiang Xu and Lin Chen and Yuxi Qian and Xinhui Wu},
  title = {{I-MCTS: Enhancing Agentic AutoML via Introspective Monte Carlo Tree Search}},
  booktitle = {EACL (Findings)},
  year = {2026},
  doi = {10.18653/v1/2026.findings-eacl.11},
}
Figure