Learning Non-linguistic Skills without Sacrificing Linguistic Proficiency

Mandar Sharma, Nikhil Muralidhar, Naren Ramakrishnan
5/14/2023
5 citations
cs.CLcs.AIcs.LG

Official code: Mandar-Sharma/Skill-LM (4 stars, Python, last commit 2023-05-12).

Abstract

The field of Math-NLP has witnessed significant growth in recent years, motivated by the desire to expand LLM performance to the learning of non-linguistic notions (numerals, and subsequently, arithmetic reasoning). However, non-linguistic skill injection typically comes at a cost for LLMs: it leads to catastrophic forgetting of core linguistic skills, a consequence that often remains unaddressed in the literature.

Show full abstract

As Math-NLP has been able to create LLMs that can closely approximate the mathematical skills of a grade-schooler or the arithmetic reasoning skills of a calculator, the practicality of these models fail if they concomitantly shed their linguistic capabilities. In this work, we take a closer look into the phenomena of catastrophic forgetting as it pertains to LLMs and subsequently offer a novel framework for non-linguistic skill injection for LLMs based on information theoretic interventions and skill-specific losses that enable the learning of strict arithmetic reasoning. Our model outperforms the state-of-the-art both on injected non-linguistic skills and on linguistic knowledge retention, and does so with a fraction of the non-linguistic training data (1/4) and zero additional synthetic linguistic training data.

View on arXivView PDF

Code Implementations(1)

This is the repository hosting the pre-trained models, training and evaluation codebase, and datasets for the ACL 2023 submission 'Learning Non-linguistic Skills without Sacrificing Linguistic Proficiency'

40Python, Jupyter NotebookJan 20, 20233 years ago

Similar Papers

Cite this paper

@article{sharma2023learning,
  title  = {Learning Non-linguistic Skills without Sacrificing Linguistic Proficiency},
  author = {Mandar Sharma and Nikhil Muralidhar and Naren Ramakrishnan},
  year   = {2023},
  eprint = {2305.08246},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.08246v1}
}

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

Discussion