Abstract
AbstractMachine learning on trees has been mostly focused on trees as input. 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 three features: recursive processing, grammatical knowledge, and deep learning. Our key message is that this unique combination of all three features outperforms models which combine any two of the three. Experimentally, we show that RTG-AE 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.
Funder
Deutsche Forschungsgemeinschaft
Deutsches Forschungszentrum für Künstliche Intelligenz GmbH (DFKI)
Publisher
Springer Science and Business Media LLC
Subject
Artificial Intelligence,Software
Reference48 articles.
1. Aiolli, F., Da San, G. M., & Sperduti, A. (2015). An efficient topological distance-based tree kernel. IEEE Transactions on Neural Networks and Learning Systems, 26(5), 1115–1120. https://doi.org/10.1109/TNNLS.2014.2329331.
2. Allamanis, M., Chanthirasegaran, P., Kohli, P., & Sutton, C. (2017). Learning continuous semantic representations of symbolic expressions. In Proceedings of the ICML (pp. 80–88). http://proceedings.mlr.press/v70/allamanis17a.html.
3. Alon, U., Zilberstein, M., Levy, O., & Yahav, E. (2019). Code2vec: Learning distributed representations of code. In Proceedings of the ACM programming languages (Vol. 3). https://doi.org/10.1145/3290353.
4. Bacciu, D., Micheli, A., & Podda, M. (2019). Graph generation by sequential edge prediction. In M. Verleysen (Ed.), Proceedings of the ESANN (pp. 95–100). https://www.elen.ucl.ac.be/Proceedings/esann/esannpdf/es2019-107.pdf.
5. Bille, P. (2005). A survey on tree edit distance and related problems. Theoretical Computer Science, 337(1), 217–239. https://doi.org/10.1016/j.tcs.2004.12.030.
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献