NT5?! Training T5 to Perform Numerical Reasoning

Peng-Jian Yang, Ying Ting Chen, Yuechan Chen, Daniel Cer
4/15/2021
cs.CL

Official code: lesterpjy/numeric-t5 (23 stars, Jupyter Notebook, MIT, last commit 2021-06-04).

Abstract

Numerical reasoning over text (NRoT) presents unique challenges that are not well addressed by existing pre-training objectives. We explore five sequential training schedules that adapt a pre-trained T5 model for NRoT.

Show full abstract

Our final model is adapted from T5, but further pre-trained on three datasets designed to strengthen skills necessary for NRoT and general reading comprehension before being fine-tuned on the Discrete Reasoning over Text (DROP) dataset. The training improves DROP's adjusted F1 performance (a numeracy-focused score) from 45.90 to 70.83. Our model closes in on GenBERT (72.4), a custom BERT-Base model using the same datasets with significantly more parameters. We show that training the T5 multitasking framework with multiple numerical reasoning datasets of increasing difficulty, good performance on DROP can be achieved without manually engineering partitioned functionality between distributed and symbol modules.

View on arXivView PDF

Code Implementations(1)

MIT

Training T5 to perform numerical reasoning.

231Jupyter NotebookApr 6, 20215 years agoMIT
nlpnlp-tasksnumeracypythonquestion-answering+1 more

Similar Papers

Cite this paper

@article{yang2021nt,
  title  = {NT5?! Training T5 to Perform Numerical Reasoning},
  author = {Peng-Jian Yang and Ying Ting Chen and Yuechan Chen and Daniel Cer},
  year   = {2021},
  eprint = {2104.07307},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.07307}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.07307.svg)](https://codeofpaper.com/paper/2104.07307)

Discussion