SelfAI: Building a Self-Training AI System with LLM Agents
Xiao Wu, Ting-Zhu Huang, Liang-Jian Deng, Xiaobing Yu, Yu Zhong, Shangqi Deng, Ufaq Khan, Jianghao Wu, Xiaofeng Liu, Imran Razzak, Xiaojun Chang, Yutong Xie
TL;DR
SelfAI addresses limitations of autonomous scientific discovery systems by introducing a general multi-agent framework that couples a User Agent, a reasoning-driven Cognitive Agent with optimal stopping, and an Experiment Manager to orchestrate large-scale, fault-tolerant experiments. It defines two novel metrics, $Score$ and $ ext{AUP}_D$, to quantify discovery efficiency and search diversity, and demonstrates strong, cross-domain performance with reduced redundant trials compared to Bayesian optimization and pure LLM baselines. Across 12 tasks in 6 domains, SelfAI consistently achieves favorable trajectories and early stopping, while maintaining interaction with human researchers to guide exploration. The work lays a practical blueprint for human-AI collaborative scientific discovery and outlines avenues for memory integration, retrieval-augmented reasoning, and autonomous tooling to further enhance cognitive autonomy in research.
Abstract
Recent work on autonomous scientific discovery has leveraged LLM-based agents to integrate problem specification, experiment planning, and execution into end-to-end systems. However, these frameworks are often confined to narrow application domains, offer limited real-time interaction with researchers, and lack principled mechanisms for determining when to halt exploration, resulting in inefficiencies, reproducibility challenges, and under-utilized human expertise. To address these gaps, we propose \textit{SelfAI}, a general multi-agent platform that combines a User Agent for translating high-level research objectives into standardized experimental configurations, a Cognitive Agent powered by LLMs with optimal stopping criteria to iteratively refine hyperparameter searches, and an Experiment Manager responsible for orchestrating parallel, fault-tolerant training workflows across heterogeneous hardware while maintaining a structured knowledge base for continuous feedback. We further introduce two novel evaluation metrics, Score and $\text{AUP}_D$, to quantify discovery efficiency and search diversity. Across regression, NLP, computer vision, scientific computing, medical imaging, and drug discovery benchmarks, SelfAI consistently achieves strong performance and reduces redundant trials compared to classical Bayesian optimization and LLM-based baselines, while enabling seamless interaction with human researchers.
