Skip to main content
QUICK REVIEW

[Paper Review] Analyzing the Forgetting Problem in the Pretrain-Finetuning of Dialogue Response Models

Tianxing He, Jun Liu|arXiv (Cornell University)|Oct 16, 2019
Topic ModelingComputer Science39 references12 citations
TL;DR

This paper identifies that standard fine-tuning in the pretrain-finetune paradigm causes dialogue response models to forget crucial language generation skills—such as knowledge retrieval and context sensitivity—acquired during large-scale pretraining. To mitigate this, the authors propose 'mix-review' fine-tuning, which interleaves pretraining and target-task data, significantly reducing forgetting and enabling models to generate more informative, context-aware, and knowledge-rich responses.

ABSTRACT

In this work, we study how the finetuning stage in the pretrain-finetune framework changes the behavior of a pretrained neural language generator. We focus on the transformer encoder-decoder model for the open-domain dialogue response generation task. Our major finding is that after standard finetuning, the model forgets some of the important language generation skills acquired during large-scale pretraining. We demonstrate the forgetting phenomenon through a set of detailed behavior analysis from the perspectives of knowledge transfer, context sensitivity, and function space projection. As a preliminary attempt to alleviate the forgetting problem, we propose an intuitive finetuning strategy named "mix-review". We find that mix-review effectively regularizes the finetuning process, and the forgetting problem is alleviated to some extent. Finally, we discuss interesting behavior of the resulting dialogue model and its implications.

Motivation & Objective

  • To investigate whether standard fine-tuning in the pretrain-finetune framework causes large language models to forget important language generation skills acquired during pretraining.
  • To analyze how fine-tuning alters model behavior in terms of knowledge transfer, context sensitivity, and function space projection.
  • To evaluate whether the model's ability to generate informative, knowledge-rich responses is degraded after standard fine-tuning.
  • To propose and evaluate a novel fine-tuning strategy, 'mix-review', to alleviate the forgetting problem.
  • To explore the implications of forgetting for open-domain dialogue systems, including vulnerability to malicious prompting and the potential for data-driven personalization.

Proposed method

  • The authors use a transformer encoder-decoder model fine-tuned on open-domain dialogue datasets using standard cross-entropy loss with negative log-likelihood optimization.
  • They conduct behavior analysis across three dimensions: knowledge transfer (e.g., answering common-sense questions), context sensitivity (response variation across dialogue turns), and function space projection (how input representations map to output space).
  • The mix-review strategy alternates between pretraining data and target dialogue data during fine-tuning, with a fixed ratio, to regularize the optimization process.
  • Top-k sampling (k=30) is used for decoding to improve response diversity, as opposed to beam search.
  • Performance is evaluated using standard metrics and qualitative analysis of generated responses, including cherry-picked examples from 10 samples.
  • The model is fine-tuned on the DailyDialog dataset, and its behavior is tested on both dialogue and pretraining data to detect performance drops.

Experimental results

Research questions

  • RQ1Does standard fine-tuning in the pretrain-finetune framework lead to catastrophic forgetting of language generation skills learned during pretraining?
  • RQ2To what extent does the model’s ability to transfer knowledge from pretraining degrade after fine-tuning on dialogue data?
  • RQ3How does the model’s sensitivity to dialogue context change after fine-tuning, and does this affect response quality or safety?
  • RQ4Can interleaving pretraining and dialogue data during fine-tuning reduce forgetting and preserve useful generation behaviors?
  • RQ5What are the implications of forgetting for building knowledge-rich, safe, and personalized dialogue agents?

Key findings

  • After standard fine-tuning, the model exhibits a significant performance drop on pretraining data, indicating that it forgets skills such as answering common-sense questions and retrieving factual knowledge.
  • The finetuned model fails to generate detailed or informative responses about knowledge terms (e.g., 'PhD', 'news') that the pretrained model could handle, demonstrating loss of knowledge transfer capability.
  • The mix-review fine-tuning strategy effectively reduces forgetting, as evidenced by improved performance on pretraining data and better retention of context sensitivity and knowledge retrieval.
  • Models trained with mix-review generate more diverse, contextually appropriate, and informative responses, including advice-giving and opinion expression, even when the target dataset is not knowledge-intensive.
  • The model trained with mix-review shows increased sensitivity to dialogue context, enabling multi-turn interactions on topics like news or personal advice, even when the target dataset does not contain such content.
  • Despite improvements, the mix-review method still produces boring or non-informative generations in many cases, indicating room for further improvement.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.