LLM-Guided Beam Search for Decision Graph Optimization with Dynamic Prompting
Abstract
Decision tree optimization for regression tasks faces challenges in capturing complex feature interactions due to restrictive binary splits, leading to suboptimal predictive performance. Conventional methods such as greedy algorithms or genetic programming, struggle with scalability and semantic coherence in large search spaces. We propose GraphBeam-LLM, a novel framework that integrates large language models (LLMs) with beam search to optimize directed acyclic graphs (DAGs), augmented by a dynamic prompting mechanism. By replacing binary trees with multi-path graphs, our approach enhances expressiveness, while LLM-guided extensions ensure semantically meaningful conditions. Dynamic prompting adapts search goals across iterations, balancing diversity and performance. Experiments on regression datasets, including abalone, wine, and cholesterol, demonstrate that GraphBeam-LLM achieves state-of-the-art mean squared error (MSE) reductions of 6.7% to 14.5% compared to baselines like CART and LLEGO, with improved interpretability and robustness, validating its efficacy in addressing complex regression tasks.
Fields of Study & Subjects
Advanced Graph Neural Networks
Explainable Artificial Intelligence (XAI)
Multimodal Machine Learning Applications
Publication details
- Journal / source
- Proceedings of the Nineteenth ACM International Conference on Web Search and Data Mining
- Publisher
- ACM
- Pages
- 227–237
- Publication date
- 16 February 2026