Exploring Continual Learning of Compositional Generalization in NLI

Xiyan Fu, Anette Frank
3/7/2024
cs.CL

No official code found. Best implementation: Heidelberg-NLP/C2Gen (3 stars, last commit 2024-05-01).

Abstract

Compositional Natural Language Inference has been explored to assess the true abilities of neural models to perform NLI. Yet, current evaluations assume models to have full access to all primitive inferences in advance, in contrast to humans that continuously acquire inference knowledge. In this paper, we introduce the Continual Compositional Generalization in Inference (C2Gen NLI) challenge, where a model continuously acquires knowledge of constituting primitive inference tasks as a basis for compositional inferences. We explore how continual learning affects compositional generalization in NLI, by designing a continual learning setup for compositional NLI inference tasks. Our experiments demonstrate that models fail to compositionally generalize in a continual scenario. To address this problem, we first benchmark various continual learning algorithms and verify their efficacy. We then further analyze C2Gen, focusing on how to order primitives and compositional inference types and examining correlations between subtasks. Our analyses show that by learning subtasks continuously while observing their dependencies and increasing degrees of difficulty, continual learning can enhance composition generalization ability.

View on arXivView PDF

Code Implementations(1)

30Shell, PythonMay 6, 20242 years ago

Similar Papers

Cite this paper

@article{fu2024exploring,
  title  = {Exploring Continual Learning of Compositional Generalization in NLI},
  author = {Xiyan Fu and Anette Frank},
  year   = {2024},
  eprint = {2403.04400},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.04400v2}
}

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

Discussion