Neural-Guided Equation Discovery
Jannis Brugger, Mattia Cerrato, David Richter, Cedric Derstroff, Daniel Maninger, Mira Mezini, Stefan Kramer
TL;DR
The paper introduces MGMT, a modular grammar-guided Monte-Carlo Tree Search framework for equation discovery that supports both supervised and reinforcement learning. It evaluates how neural guidance, grammar-based action spaces, and dataset embeddings affect discovery quality, finding that supervised learning often outperforms reinforcement learning and grammars outperform token-based action spaces. It also introduces AmEx-MCTS and Risk-seeking MCTS to improve search efficiency and contrasts various tabular-data embeddings via contrastive learning to inform dataset representations. The study articulates seven desirable properties for equation-discovery systems, demonstrates continual learning across tasks, and highlights practical insights for scaling, parallelization, and handling noisy data in future work.
Abstract
Deep learning approaches are becoming increasingly attractive for equation discovery. We show the advantages and disadvantages of using neural-guided equation discovery by giving an overview of recent papers and the results of experiments using our modular equation discovery system MGMT ($\textbf{M}$ulti-Task $\textbf{G}$rammar-Guided $\textbf{M}$onte-Carlo $\textbf{T}$ree Search for Equation Discovery). The system uses neural-guided Monte-Carlo Tree Search (MCTS) and supports both supervised and reinforcement learning, with a search space defined by a context-free grammar. We summarize seven desirable properties of equation discovery systems, emphasizing the importance of embedding tabular data sets for such learning approaches. Using the modular structure of MGMT, we compare seven architectures (among them, RNNs, CNNs, and Transformers) for embedding tabular datasets on the auxiliary task of contrastive learning for tabular data sets on an equation discovery task. For almost all combinations of modules, supervised learning outperforms reinforcement learning. Moreover, our experiments indicate an advantage of using grammar rules as action space instead of tokens. Two adaptations of MCTS -- risk-seeking MCTS and AmEx-MCTS -- can improve equation discovery with that kind of search.
