A Symbolic Framework for Systematic Evaluation of Mathematical Reasoning with Transformers. Meadows, J., Valentino, M., Teney, D., & Freitas, A. May, 2023.
Paper abstract bibtex Whether Transformers can learn to apply symbolic rules and generalise to out-of-distribution examples is an open research question. In this paper, we devise a data generation method for producing intricate mathematical derivations, and systematically perturb them with respect to syntax, structure, and semantics. Our task-agnostic approach generates equations, annotations, and inter-equation dependencies, employing symbolic algebra for scalable data production and augmentation. We then instantiate a general experimental framework on next-equation prediction, assessing systematic mathematical reasoning and generalisation of Transformer encoders on a total of 200K examples. The experiments reveal that perturbations heavily affect performance and can reduce F1 scores of $97{\}%$ to below $17{\}%$, suggesting that inference is dominated by surface-level patterns unrelated to a deeper understanding of mathematical operators. These findings underscore the importance of rigorous, large-scale evaluation frameworks for revealing fundamental limitations of existing models.
@misc{meadows_symbolic_2023,
title = {A {Symbolic} {Framework} for {Systematic} {Evaluation} of {Mathematical} {Reasoning} with {Transformers}},
url = {https://arxiv.org/abs/2305.12563v1},
abstract = {Whether Transformers can learn to apply symbolic rules and generalise to out-of-distribution examples is an open research question. In this paper, we devise a data generation method for producing intricate mathematical derivations, and systematically perturb them with respect to syntax, structure, and semantics. Our task-agnostic approach generates equations, annotations, and inter-equation dependencies, employing symbolic algebra for scalable data production and augmentation. We then instantiate a general experimental framework on next-equation prediction, assessing systematic mathematical reasoning and generalisation of Transformer encoders on a total of 200K examples. The experiments reveal that perturbations heavily affect performance and can reduce F1 scores of \$97{\textbackslash}\%\$ to below \$17{\textbackslash}\%\$, suggesting that inference is dominated by surface-level patterns unrelated to a deeper understanding of mathematical operators. These findings underscore the importance of rigorous, large-scale evaluation frameworks for revealing fundamental limitations of existing models.},
language = {en},
urldate = {2023-06-25},
publisher = {arXiv},
author = {Meadows, Jordan and Valentino, Marco and Teney, Damien and Freitas, Andre},
month = may,
year = {2023},
keywords = {computation and language, machine learning, mentions sympy},
}
Downloads: 0
{"_id":"7JyJs9Qxf4xeG2zWS","bibbaseid":"meadows-valentino-teney-freitas-asymbolicframeworkforsystematicevaluationofmathematicalreasoningwithtransformers-2023","author_short":["Meadows, J.","Valentino, M.","Teney, D.","Freitas, A."],"bibdata":{"bibtype":"misc","type":"misc","title":"A Symbolic Framework for Systematic Evaluation of Mathematical Reasoning with Transformers","url":"https://arxiv.org/abs/2305.12563v1","abstract":"Whether Transformers can learn to apply symbolic rules and generalise to out-of-distribution examples is an open research question. In this paper, we devise a data generation method for producing intricate mathematical derivations, and systematically perturb them with respect to syntax, structure, and semantics. Our task-agnostic approach generates equations, annotations, and inter-equation dependencies, employing symbolic algebra for scalable data production and augmentation. We then instantiate a general experimental framework on next-equation prediction, assessing systematic mathematical reasoning and generalisation of Transformer encoders on a total of 200K examples. The experiments reveal that perturbations heavily affect performance and can reduce F1 scores of $97{\\}%$ to below $17{\\}%$, suggesting that inference is dominated by surface-level patterns unrelated to a deeper understanding of mathematical operators. These findings underscore the importance of rigorous, large-scale evaluation frameworks for revealing fundamental limitations of existing models.","language":"en","urldate":"2023-06-25","publisher":"arXiv","author":[{"propositions":[],"lastnames":["Meadows"],"firstnames":["Jordan"],"suffixes":[]},{"propositions":[],"lastnames":["Valentino"],"firstnames":["Marco"],"suffixes":[]},{"propositions":[],"lastnames":["Teney"],"firstnames":["Damien"],"suffixes":[]},{"propositions":[],"lastnames":["Freitas"],"firstnames":["Andre"],"suffixes":[]}],"month":"May","year":"2023","keywords":"computation and language, machine learning, mentions sympy","bibtex":"@misc{meadows_symbolic_2023,\n\ttitle = {A {Symbolic} {Framework} for {Systematic} {Evaluation} of {Mathematical} {Reasoning} with {Transformers}},\n\turl = {https://arxiv.org/abs/2305.12563v1},\n\tabstract = {Whether Transformers can learn to apply symbolic rules and generalise to out-of-distribution examples is an open research question. In this paper, we devise a data generation method for producing intricate mathematical derivations, and systematically perturb them with respect to syntax, structure, and semantics. Our task-agnostic approach generates equations, annotations, and inter-equation dependencies, employing symbolic algebra for scalable data production and augmentation. We then instantiate a general experimental framework on next-equation prediction, assessing systematic mathematical reasoning and generalisation of Transformer encoders on a total of 200K examples. The experiments reveal that perturbations heavily affect performance and can reduce F1 scores of \\$97{\\textbackslash}\\%\\$ to below \\$17{\\textbackslash}\\%\\$, suggesting that inference is dominated by surface-level patterns unrelated to a deeper understanding of mathematical operators. These findings underscore the importance of rigorous, large-scale evaluation frameworks for revealing fundamental limitations of existing models.},\n\tlanguage = {en},\n\turldate = {2023-06-25},\n\tpublisher = {arXiv},\n\tauthor = {Meadows, Jordan and Valentino, Marco and Teney, Damien and Freitas, Andre},\n\tmonth = may,\n\tyear = {2023},\n\tkeywords = {computation and language, machine learning, mentions sympy},\n}\n\n\n\n","author_short":["Meadows, J.","Valentino, M.","Teney, D.","Freitas, A."],"key":"meadows_symbolic_2023","id":"meadows_symbolic_2023","bibbaseid":"meadows-valentino-teney-freitas-asymbolicframeworkforsystematicevaluationofmathematicalreasoningwithtransformers-2023","role":"author","urls":{"Paper":"https://arxiv.org/abs/2305.12563v1"},"keyword":["computation and language","machine learning","mentions sympy"],"metadata":{"authorlinks":{}}},"bibtype":"misc","biburl":"https://bibbase.org/zotero-group/nicoguaro/525293","dataSources":["YtBDXPDiQEyhyEDZC","tpWeaaCgFjPTYCjg3","8G4iFLj8NuzKYiymR"],"keywords":["computation and language","machine learning","mentions sympy"],"search_terms":["symbolic","framework","systematic","evaluation","mathematical","reasoning","transformers","meadows","valentino","teney","freitas"],"title":"A Symbolic Framework for Systematic Evaluation of Mathematical Reasoning with Transformers","year":2023}