Recursive Tree Grammar Autoencoders
Not on the map. Why?
Abstract (arXiv)
Machine learning on trees has been mostly focused on trees as input to algorithms. Much less research has investigated trees as output, which has many applications, such as molecule optimization for drug discovery, or hint generation for intelligent tutoring systems. In this work, we propose a novel autoencoder approach, called recursive tree grammar autoencoder (RTG-AE), which encodes trees via a bottom-up parser and decodes trees via a tree grammar, both learned via recursive neural networks that minimize the variational autoencoder loss. The resulting encoder and decoder can then be utilized in subsequent tasks, such as optimization and time series prediction. RTG-AEs are the first model to combine variational autoencoders, grammatical knowledge, and recursive processing. Our key message is that this unique combination of all three elements outperforms models which combine any two of the three. In particular, we perform an ablation study to show that our proposed method improves the autoencoding error, training time, and optimization score on synthetic as well as real datasets compared to four baselines. We further prove that RTG-AEs parse and generate trees in linear time and are expressive enough to handle all regular tree grammars.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 3 Dec 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 1; 2024: 1; 2025: 1.
5 papers.
- 2025Grammar-based Ordinary Differential Equation Discoverycited by 6
- 2022Project proposal: A modular reinforcement learning based automated theorem provercited by 1
- 2023gym-saturation: Gymnasium environments for saturation provers (System description)cited by 1
- 2024Bridging the Gap between Learning and Inference for Diffusion-Based Molecule Generationcited by 1
- 2021ast2vec: Utilizing Recursive Neural Encodings of Python Programscited by 0
- 2025Grammar-based Ordinary Differential Equation Discovery3 Apr 2025
- 2024Bridging the Gap between Learning and Inference for Diffusion-Based Molecule Generation8 Nov 2024
- 2023gym-saturation: Gymnasium environments for saturation provers (System description)16 Sep 2023
- 2022Project proposal: A modular reinforcement learning based automated theorem prover6 Sep 2022
- 2021ast2vec: Utilizing Recursive Neural Encodings of Python Programs22 Mar 2021