Neuro-Symbolic AI for Analytical Solutions of Differential Equations
Orestis Oikonomou, Levi Lingsch, Dana Grund, Siddhartha Mishra, Georgios Kissas
TL;DR
This work introduces SIGS, a grammar-guided neuro-symbolic framework for discovering analytical solutions to differential equations. It combines a context-free grammar-based library of solution atoms with a Grammar Variational Autoencoder to embed candidate expressions into a smooth latent space, enabling a two-stage structure search and coefficient refinement guided by the PDE residual. SIGS achieves state-of-the-art performance by recovering exact closed-form solutions when available and delivering accurate symbolic approximations for problems lacking closed forms, outperforming leading symbolic and neural baselines in both accuracy and speed. The approach emphasizes interpretability and principled search over brute-force symbolic regression, with potential for Automating Ansatz design via language models and integration with hybrid numerical-symbolic strategies in future work.
Abstract
Analytical solutions of differential equations offer exact insights into fundamental behaviors of physical processes. Their application, however, is limited as finding these solutions is difficult. To overcome this limitation, we combine two key insights. First, constructing an analytical solution requires a composition of foundational solution components. Second, iterative solvers define parameterized function spaces with constraint-based updates. Our approach merges compositional differential equation solution techniques with iterative refinement by using formal grammars, building a rich space of candidate solutions that are embedded into a low-dimensional (continuous) latent manifold for probabilistic exploration. This integration unifies numerical and symbolic differential equation solvers via a neuro-symbolic AI framework to find analytical solutions of a wide variety of differential equations. By systematically constructing candidate expressions and applying constraint-based refinement, we overcome longstanding barriers to extract such closed-form solutions. We illustrate advantages over commercial solvers, symbolic methods, and approximate neural networks on a diverse set of problems, demonstrating both generality and accuracy.
