Few-Shot Out-of-Domain Transfer Learning of Natural Language Explanations

Yordan Yordanov, Vid Kocijan, Thomas Lukasiewicz, Oana-Maria Camburu

Abstract

Training a model to provide natural language explanations (NLEs) for its predictions usually requires the acquisition of task-specific NLEs, which is time- and resource-consuming. A potential solution is the few-shot out-of-domain transfer of NLEs from a parent task with many NLEs to a child task. In this work, we examine the setup in which the child task has few NLEs but abundant labels. We establish four few-shot transfer learning methods that cover the possible fine-tuning combinations of the labels and NLEs for the parent and child tasks. We transfer explainability from a large natural language inference dataset (e-SNLI) separately to two child tasks: (1) hard cases of pronoun resolution, where we introduce the small-e-WinoGrande dataset of NLEs on top of the WinoGrande dataset, and (2) commonsense validation (ComVE). Our results demonstrate that the parent task helps with NLE generation and we establish the best methods for this setup.

Introduction

As AI models are increasingly deployed in sensitive domains, the need for interpretability grows. Natural Language Explanations (NLEs) offer a human-readable way to understand a model's reasoning. However, the primary bottleneck in developing such models is the scarcity of high-quality, human-written explanations. While labels (e.g., "True/False") are relatively easy to collect, NLEs are expensive and time-consuming to produce.

This research investigates whether "explainability" can be transferred from a data-rich parent task to a data-poor child task. Specifically, the authors explore a "label-abundant, explanation-scarce" scenario where a model is given thousands of task labels but only 50 example explanations for a new domain.

Methodology

The researchers utilized the T5 (Text-to-Text Transfer Transformer) architecture as their base model. To determine the most effective way to transfer knowledge, they developed four distinct fine-tuning strategies (M1–M4). These strategies vary the order and combination of the parent dataset (e-SNLI), the child task labels, and the limited set of 50 child NLEs.

Definitions of the fine-tuning strategies used to transfer explainability across tasks.
  • M1 (The Big Melt): Simultaneous fine-tuning on the Parent, Child Labels, and 50 Child NLEs.
  • M2 (Two-Step): Initial fine-tuning on Parent and Child Labels, followed by a specialized stage on the 50 NLEs.
  • M3 (The Hybrid): Fine-tuning on the Parent first, then on a union of Child Labels and NLEs.
  • M4 (The Relay): A three-stage sequential approach: Parent $\rightarrow$ Child Labels $\rightarrow$ 50 Child NLEs.

Datasets

The study leveraged three key datasets to test these transfer methods:

  1. e-SNLI (Parent): A massive Natural Language Inference dataset with ~570k explanations, serving as the source of general explainability.
  2. ComVE (Child): A commonsense validation task requiring the identification of nonsensical statements.
  3. small-e-WinoGrande (Child): A new benchmark created for this study, consisting of manually written NLEs for hard pronoun resolution cases in the WinoGrande dataset.

Key Results

The experiments revealed that transferring knowledge from a parent task significantly improves NLE quality in the child task. Strategy M4 (the three-stage relay) emerged as the most robust method. By isolating the 50 NLEs in a final, dedicated training stage, the model avoids having the subtle nuances of explanation generation overwhelmed by the large volume of simple classification labels.

Performance comparison across WinoGrande and ComVE tasks, showing task accuracy and NLE scores.

As shown in the results table, the addition of just 50 NLEs via transfer learning led to dramatic improvements. On WinoGrande, the NLE score jumped from a zero-shot baseline of 8.3 to 41.9 (M4) and 44.1 (M2). On ComVE, the M4 method achieved a score of 48.5, outperforming the child-only baseline of 31.4.

Discussion and Limitations

One critical finding was the disconnect between task accuracy and explanation quality. Models that were highly accurate at predicting labels were not always the best at explaining them, suggesting a trade-off in multi-task learning. Furthermore, the researchers noted that automatic metrics like BLEU and METEOR often failed to correlate with human judgment, as they can reward simple repetition of input text rather than logical reasoning.

Despite the success of the few-shot approach, the computational cost remains high; the full suite of experiments required approximately 45 GPU days. Future research will need to address these efficiency concerns and explore whether these transfer effects hold across different languages and even more diverse task types.

Summary updated

BibTeX
@inproceedings{yordanov2021few,
  author = {Yordan Yordanov and Vid Kocijan and Thomas Lukasiewicz and Oana-Maria Camburu},
  title = {{Few-Shot Out-of-Domain Transfer Learning of Natural Language Explanations}},
  booktitle = {DGMs Applications @ NeurIPS},
  year = {2021},
  url = {https://openreview.net/forum?id=g9PUonwGk2M},
}
Figure