A Symbolic Framework for Systematic Evaluation of Mathematical Reasoning with Transformers. Meadows, J., Valentino, M., Teney, D., & Freitas, A. May, 2023.
A Symbolic Framework for Systematic Evaluation of Mathematical Reasoning with Transformers [link]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