[Paper Review] Exploring Fine-tuning Techniques for Pre-trained Cross-lingual Models via Continual Learning
This paper proposes a continual learning approach using Gradient Episodic Memory (GEM) to preserve the cross-lingual capabilities of pre-trained multilingual models like mBERT and XLM-R during fine-tuning. By constraining fine-tuning with masked language modeling (MLM) and cross-lingual sentence retrieval (XSR) tasks, the method prevents catastrophic forgetting and achieves state-of-the-art zero-shot performance on cross-lingual POS and NER tasks, outperforming standard fine-tuning baselines by over 1% on average.
Recently, fine-tuning pre-trained language models (e.g., multilingual BERT) to downstream cross-lingual tasks has shown promising results. However, the fine-tuning process inevitably changes the parameters of the pre-trained model and weakens its cross-lingual ability, which leads to sub-optimal performance. To alleviate this problem, we leverage continual learning to preserve the original cross-lingual ability of the pre-trained model when we fine-tune it to downstream tasks. The experimental result shows that our fine-tuning methods can better preserve the cross-lingual ability of the pre-trained model in a sentence retrieval task. Our methods also achieve better performance than other fine-tuning baselines on the zero-shot cross-lingual part-of-speech tagging and named entity recognition tasks.
Motivation & Objective
- To address the problem of catastrophic forgetting in pre-trained multilingual models during fine-tuning, which degrades their cross-lingual performance.
- To preserve the original cross-lingual capabilities of models like mBERT and XLM-R after fine-tuning on source-language downstream tasks.
- To explore whether continual learning with auxiliary tasks (MLM and XSR) can maintain cross-lingual alignment during fine-tuning.
- To improve zero-shot cross-lingual transfer performance on part-of-speech tagging and named entity recognition.
Proposed method
- The method employs Gradient Episodic Memory (GEM), a continual learning framework that stores experience from previous tasks as a form of memory.
- It formulates fine-tuning as an optimization problem with inequality constraints to ensure that performance on prior tasks (MLM or XSR) does not degrade.
- The model is fine-tuned on a downstream task (e.g., POS or NER) while being regularized to maintain performance on the MLM and XSR tasks.
- The episodic memory stores representative examples from the MLM and XSR tasks to enforce constraints during training.
- The method uses both MLM and XSR objectives simultaneously in a joint training setup to better preserve cross-lingual generalization.
- The approach is applied to mBERT and XLM-R, with ablation studies comparing training on English-only vs. all languages for the auxiliary tasks.
Experimental results
Research questions
- RQ1Can continual learning with GEM preserve the cross-lingual capabilities of pre-trained multilingual models during fine-tuning on a source-language task?
- RQ2Does constraining fine-tuning with MLM and XSR tasks lead to better zero-shot cross-lingual transfer performance on POS and NER tasks compared to standard fine-tuning?
- RQ3Is the performance improvement due to the use of both MLM and XSR constraints, or is one sufficient?
- RQ4How does the choice of languages used in the auxiliary MLM task (English-only vs. all languages) affect the final performance and generalization?
- RQ5Does fine-tuning on XSR alone lead to better cross-lingual performance than standard fine-tuning, or does it cause catastrophic forgetting?
Key findings
- The GEM method with both MLM and XSR constraints achieves the best zero-shot cross-lingual performance on POS and NER tasks, outperforming standard fine-tuning by over 1% on average.
- GEM w/ Both (MLM and XSR) achieves 86.8% average F1 on POS and 75.5% on NER, significantly surpassing the baseline naive fine-tune.
- Fine-tuning with MTF (multi-task fine-tuning) on MLM or XSR tasks leads to worse downstream performance than naive fine-tuning, indicating overfitting to the auxiliary task.
- Using GEM to constrain fine-tuning on all languages for the MLM task results in slightly worse performance than using only English, suggesting over-constraining may hinder generalization.
- The GEM method maintains strong cross-lingual sentence retrieval (XSR) performance after fine-tuning, while standard fine-tuning causes significant degradation in XSR accuracy.
- The ablation study confirms that GEM w/ MLM (all) and GEM w/ XSR (all) both improve cross-lingual performance, but combining both yields the best results.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.