Mathematical Formula Representation via Tree Embeddings
Mathematical Formula Representation via Tree Embeddings
复制标题
DOI:
--
复制
发表时间:
2021
影响因子:
4.6
通讯作者:
Zichao Wang;Andrew S. Lan;Richard Baraniuk
中科院分区:
文献类型:
--
作者:
Zichao Wang;Andrew S. Lan;Richard Baraniuk
We propose a new framework for learning mathematical formula representations using tree embeddings. By representing each symbolic formula (such as math equation) as an operator tree , we can explicitly capture its inherent structural and semantic properties. Our framework consists of a tree encoder that encodes the formula’s operator tree into a vector and a tree decoder that generates a formula from a vector in operator tree format. To improve the quality of formula tree generation, we develop a novel tree beam search algorithm that is of independent scientific interest. We validate our framework on a formula reconstruction task and a similar formula retrieval task on a new real-world dataset of over 770k formulae collected online. Our experimental results show that our framework significantly outperforms various baselines.