{"_id":"b2z5KuGWwnZ2F7dF2","bibbaseid":"agarwal-aditya-goyal-analyzingthenuancesoftransformerspolynomialsimplificationabilities-2021","author_short":["Agarwal, V.","Aditya, S.","Goyal, N."],"bibdata":{"bibtype":"article","type":"article","title":"Analyzing the Nuances of Transformers' Polynomial Simplification Abilities","url":"http://arxiv.org/abs/2104.14095","abstract":"Symbolic Mathematical tasks such as integration often require multiple well-defined steps and understanding of sub-tasks to reach a solution. To understand Transformers' abilities in such tasks in a fine-grained manner, we deviate from traditional end-to-end settings, and explore a step-wise polynomial simplification task. Polynomials can be written in a simple normal form as a sum of monomials which are ordered in a lexicographic order. For a polynomial which is not necessarily in this normal form, a sequence of simplification steps is applied to reach the fully simplified (i.e., in the normal form) polynomial. We propose a synthetic Polynomial dataset generation algorithm that generates polynomials with unique proof steps. Through varying coefficient configurations, input representation, proof granularity, and extensive hyper-parameter tuning, we observe that Transformers consistently struggle with numeric multiplication. We explore two ways to mitigate this: Curriculum Learning and a Symbolic Calculator approach (where the numeric operations are offloaded to a calculator). Both approaches provide significant gains over the vanilla Transformers-based baseline.","urldate":"2021-05-03","journal":"arXiv:2104.14095 [cs]","author":[{"propositions":[],"lastnames":["Agarwal"],"firstnames":["Vishesh"],"suffixes":[]},{"propositions":[],"lastnames":["Aditya"],"firstnames":["Somak"],"suffixes":[]},{"propositions":[],"lastnames":["Goyal"],"firstnames":["Navin"],"suffixes":[]}],"month":"April","year":"2021","note":"arXiv: 2104.14095","keywords":"artificial intelligence, machine learning, uses sympy","bibtex":"@article{agarwal_analyzing_2021,\n\ttitle = {Analyzing the {Nuances} of {Transformers}' {Polynomial} {Simplification} {Abilities}},\n\turl = {http://arxiv.org/abs/2104.14095},\n\tabstract = {Symbolic Mathematical tasks such as integration often require multiple well-defined steps and understanding of sub-tasks to reach a solution. To understand Transformers' abilities in such tasks in a fine-grained manner, we deviate from traditional end-to-end settings, and explore a step-wise polynomial simplification task. Polynomials can be written in a simple normal form as a sum of monomials which are ordered in a lexicographic order. For a polynomial which is not necessarily in this normal form, a sequence of simplification steps is applied to reach the fully simplified (i.e., in the normal form) polynomial. We propose a synthetic Polynomial dataset generation algorithm that generates polynomials with unique proof steps. Through varying coefficient configurations, input representation, proof granularity, and extensive hyper-parameter tuning, we observe that Transformers consistently struggle with numeric multiplication. We explore two ways to mitigate this: Curriculum Learning and a Symbolic Calculator approach (where the numeric operations are offloaded to a calculator). Both approaches provide significant gains over the vanilla Transformers-based baseline.},\n\turldate = {2021-05-03},\n\tjournal = {arXiv:2104.14095 [cs]},\n\tauthor = {Agarwal, Vishesh and Aditya, Somak and Goyal, Navin},\n\tmonth = apr,\n\tyear = {2021},\n\tnote = {arXiv: 2104.14095},\n\tkeywords = {artificial intelligence, machine learning, uses sympy},\n}\n\n\n\n\n\n\n\n\n\n\n\n","author_short":["Agarwal, V.","Aditya, S.","Goyal, N."],"key":"agarwal_analyzing_2021","id":"agarwal_analyzing_2021","bibbaseid":"agarwal-aditya-goyal-analyzingthenuancesoftransformerspolynomialsimplificationabilities-2021","role":"author","urls":{"Paper":"http://arxiv.org/abs/2104.14095"},"keyword":["artificial intelligence","machine learning","uses sympy"],"metadata":{"authorlinks":{}}},"bibtype":"article","biburl":"https://bibbase.org/zotero-group/nicoguaro/525293","dataSources":["YtBDXPDiQEyhyEDZC","fhHfrQgj3AaGp7e9E","qzbMjEJf5d9Lk78vE","45tA9RFoXA9XeH4MM","MeSgs2KDKZo3bEbxH","nSXCrcahhCNfzvXEY","ecatNAsyr4f2iQyGq","tpWeaaCgFjPTYCjg3"],"keywords":["artificial intelligence","machine learning","uses sympy"],"search_terms":["analyzing","nuances","transformers","polynomial","simplification","abilities","agarwal","aditya","goyal"],"title":"Analyzing the Nuances of Transformers' Polynomial Simplification Abilities","year":2021}