Overcoming Barriers to Skill Injection in Language Modeling: Case Study in Arithmetic

Mandar Sharma, Nikhil Muralidhar, Naren Ramakrishnan
11/3/2022
cs.CLcs.AIcs.LG

Official code: Mandar-Sharma/OvercomingBarriers (4 stars, Jupyter Notebook, last commit 2022-11-03).

Abstract

Through their transfer learning abilities, highly-parameterized large pre-trained language models have dominated the NLP landscape for a multitude of downstream language tasks. Though linguistically proficient, the inability of these models to incorporate the learning of non-linguistic entities (numerals and arithmetic reasoning) limits their usage for tasks that require numeric comprehension or strict mathematical reasoning.

Show full abstract

However, as we illustrate in this paper, building a general purpose language model that also happens to be proficient in mathematical reasoning is not as straight-forward as training it on a numeric dataset. In this work, we develop a novel framework that enables language models to be mathematically proficient while retaining their linguistic prowess. Specifically, we offer information-theoretic interventions to overcome the catastrophic forgetting of linguistic skills that occurs while injecting non-linguistic skills into language models.

View on arXivView PDF

Code Implementations(1)

40Jupyter Notebook, PythonNov 3, 20224 years ago

Similar Papers

Cite this paper

@article{sharma2022overcoming,
  title  = {Overcoming Barriers to Skill Injection in Language Modeling: Case Study in Arithmetic},
  author = {Mandar Sharma and Nikhil Muralidhar and Naren Ramakrishnan},
  year   = {2022},
  eprint = {2211.02098},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.02098}
}

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/2211.02098.svg)](https://codeofpaper.com/paper/2211.02098)

Discussion