ChemHAS: Hierarchical Agent Stacking for Enhancing Chemistry Tools

Large Language Model (LLM)-based agents have demonstrated the ability to improve performance in chemistry-related tasks by selecting appropriate tools. However, their effectiveness remains limited by the inherent prediction errors of chemistry tools. In this paper, we take a step further by exploring how LLMbased agents can, in turn, be leveraged to reduce prediction errors of the tools. To this end, we propose ChemHAS (Chemical Hierarchical Agent Stacking), a simple yet effective method that enhances chemistry tools through optimizing agent-stacking structures from limited data. ChemHAS achieves state-of-the-art performance across four fundamental chemistry tasks, demonstrating that our method can effectively compensate for prediction errors of the tools. Furthermore, we identify and characterize four distinct agent-stacking behaviors, potentially improving interpretability and revealing new possibilities for AI agent applications in scientific research. Our code and dataset are publicly available at https: //anonymous.this http URL.
View on arXiv@article{li2025_2505.21569, title={ ChemHAS: Hierarchical Agent Stacking for Enhancing Chemistry Tools }, author={ Zhucong Li and Bowei Zhang and Jin Xiao and Zhijian Zhou and Fenglei Cao and Jiaqing Liang and Yuan Qi }, journal={arXiv preprint arXiv:2505.21569}, year={ 2025 } }