Learning to Discover Efficient Mathematical Identities

By Wojciech Zaremba, Karol Kurach, Rob Fergus. 2014

57 citations recorded by the source corpus.

In this paper we explore how machine learning techniques can be applied to the discovery of efficient mathematical identities. We introduce an attribute grammar framework for representing symbolic expressions. Given a grammar of math operators, we build trees that combine them in different ways, looking for compositions that are analytically equivalent to a target expression but of lower computational complexity. However, as the space of trees grows exponentially with the complexity of the target expression, brute force search is impractical for all but the simplest of expressions. Consequently, we introduce two novel learning approaches that are able to learn from simpler expressions to guide the tree search. The first of these is a simple n-gram model, the other being a recursive neural-network. We show how these approaches enable us to derive complex identities, beyond reach of brute-force search, or human derivation.

Subfields: Artificial Intelligence, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Percy Liang
  3. Quoc V. Le
  4. Luke S. Zettlemoyer
  5. Yoshua Bengio
  6. Jianfeng Gao
  7. Graham Neubig
  8. Pushmeet Kohli

In Natural Language Processing

  1. Charles Sutton
  2. Graham Neubig
  3. Rishabh Singh
  4. Pushmeet Kohli
  5. Miltiadis Allamanis
  6. Luke S. Zettlemoyer
  7. Guillaume Lample
  8. Xinyun Chen

Citations in the corpus