VALERIO BORELLI

PhD Graduate

PhD program:: XXXVIII


supervisor: Enrico Scala
co-supervisor: Alfonso Emilio Gerevini

Thesis title: Learning Graph Neural Network Heuristics for Numeric Planning Problems

Numeric planning extends classical planning by allowing the representation of continuous quantities and resources, making it suitable for modeling complex real-world problems. However, the infinite state space and the complexity of numeric conditions make the derivation of effective domain-independent heuristics particularly challenging. While Graph Neural Networks (GNNs) have shown great promise in learning heuristics for classical planning by exploiting the relational structure of the problems, their application to numeric planning is still in its infancy. Existing approaches often struggle to capture the rich structural dependencies defined by numeric constraints, or they rely on architectures that fail to generalize effectively across different problem sizes. In this thesis, we propose a novel GNN-based architecture designed to learn heuristic functions for numeric planning problems. Unlike previous works that treat numeric fluents as isolated node features, our approach explicitly encodes grounded numeric conditions (both preconditions and goals) as edges in the graph, integrating numeric values directly into the message-passing mechanism. This allows the network to reason about the logical and arithmetic relationships between objects, leading to more informative distance estimates. To support the integration of deep learning with automated planning, we introduce LeapNP (Learning and Planning Framework for Numeric Problems), a modular and extensible Python framework based on Unified Planning. Furthermore, we address the computational bottleneck of evaluating neural networks during search by proposing novel search algorithms tailored for GPU acceleration. Specifically, we introduce Multiple Evaluation Best-First Search (MBFS), which exploits batch processing to evaluate states in parallel, and Adaptive Width Best-First Search (AWBFS), a dynamic algorithm that adjusts the search width based on heuristic feedback to escape plateaus efficiently. Experimental results on domains from the IPC 2023 Numeric Track demonstrate that our architecture significantly outperforms both traditional heuristics and state-of-the-art learning-based approaches in domains with complex numeric structures. Moreover, we show that AWBFS effectively leverages the throughput of modern GPUs, achieving higher coverage and better plan quality compared to standard greedy search strategies.

Research products

11573/1767188 - 2026 - LeapNP: A Modular Python Framework for Benchmarking Learned Heuristics in Numeric Planning †
Borelli, V.; Gerevini, A. E.; Scala, E.; Serina, I. - 01a Articolo in rivista
paper: FUTURE INTERNET (Basel : MDPI) pp. - - issn: 1999-5903 - wos: WOS:001701170600001 (1) - scopus: 2-s2.0-105031112120 (1)

11573/1767186 - 2026 - Learning Heuristic Functions with Graph Neural Networks for Numeric Planning
Borelli, Valerio; Gerevini, Alfonso; Scala, Enrico; Serina, Ivan - 04b Atto di convegno in volume
conference: 40th AAAI Conference on Artificial Intelligence, AAAI 2026 (sgp)
book: Proceedings of the AAAI Conference on Artificial Intelligence - ()

11573/1755670 - 2025 - Learning Heuristic Functions with Graph Neural Networks for Numeric Planning (Extended Abstract)
Borelli, Valerio; Gerevini, Alfonso Emilio; Scala, Enrico; Serina, Ivan - 04d Abstract in atti di convegno
conference: 18th International Symposium on Combinatorial Search, SoCS 2025 (Glasgow, Scotland, United Kingdom)
book: The International Symposium on Combinatorial Search - ()

11573/1755677 - 2025 - Regularised Loss Function for Goal Recognition as a Deep Learning Task
Olivato, Matteo; Chiari, Mattia; Serina, Lorenzo; Borelli, Valerio; Tummolo, Massimiliano; Serina, Ivan; Rossetti, Nicholas; Gerevini, Alfonso Emilio - 04b Atto di convegno in volume
conference: 34th International Conference on Artificial Neural Networks (Kaunas; Lithuania)
book: Artificial Neural Networks and Machine Learning – ICANN 2025. 34th International Conference on Artificial Neural Networks, Kaunas, Lithuania, September 9–12, 2025, Proceedings, Part I - (978-3-032-04558-4; 978-3-032-04557-7)

11573/1755680 - 2024 - Learning Heuristics with Graph Neural Networks for Numeric Planning: A Preliminary Study
Borelli, Valerio; Gerevini, Alfonso Emilio; Scala, Enrico; Serina, Ivan - 04b Atto di convegno in volume
conference: 2024 Conference of the Italian Association for Artificial Intelligence (AIxIA) Doctoral Consortium, AIxIA-DC 2024 (Bolzano, Italia)
book: Proceedings of the AIxIA Doctoral Consortium 2024 co-located with the 23rd International Conference of the Italian Association for Artificial Intelligence (AIxIA 2024) - ()

11573/1725870 - 2023 - Neural Network Heuristics for Numeric Planning: A Preliminary Study
Borelli, Valerio; Gerevini, Alfonso Emilio; Scala, Enrico; Serina, Ivan - 04b Atto di convegno in volume
conference: AIxIA Doctoral Consortium 2023 (Rome; Italy)
book: AIxIA-DC 2023. AIxIA Doctoral Consortium 2023. Proceedings of the AIxIA Doctoral Consortium 2023 co-located with the 22nd International Conference of the Italian Association for Artificial Intelligence (AIxIA 2023) - ()

© Università degli Studi di Roma "La Sapienza" - Piazzale Aldo Moro 5, 00185 Roma