MKT: A Multi-Stage Knowledge Transfer Framework to Mitigate Catastrophic Forgetting in Multi-Domain Chinese Spelling Correction

Peng Xing, Yinghui Li, Shirong Ma, Xinnian Liang, Haojing Huang, Yangning Li, Shuyu Guo, Hai-Tao Zheng, Wenhao Jiang, Ying Shen2025

Abstract: Researchers have developed MKT (Multi-Stage Knowledge Transfer), a model-agnostic framework that prevents Chinese Spelling Correction (CSC) models from forgetting old knowledge when learning new domains. By using an "evolving teacher" and dynamic distillation weights, MKT outperforms traditional continual learning methods, ensuring a model can correct chemistry terms without losing its grip on general education vocabulary.

Peng Xing, Yinghui Li, Shirong Ma, Xinnian Liang, Haojing Huang, Yangning Li, Shu-Yu Guo, Hai-Tao Zheng, Wenhao Jiang, Ying Shen. Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing: Industry Track.

Introduction: The Challenge of Domain Adaptation in CSC

Chinese Spelling Correction (CSC) is a critical component in various NLP applications, including search engines and OCR systems. However, language is dynamic, with new domains—such as medical, legal, or automotive—constantly emerging. When a CSC model is fine-tuned on a new domain, it frequently suffers from catastrophic forgetting: the model gains proficiency in the new domain but loses its ability to correct errors in previously learned domains.

Illustration of catastrophic forgetting in CSC models where learning new domain-specific terms leads to errors in previously mastered general vocabulary.

Traditional solutions, such as retraining on the entire combined dataset, are computationally prohibitive. Continual learning offers a more efficient path, yet existing methods often result in overly complex architectures or fail to maintain a balance between stability (preserving old knowledge) and plasticity (learning new knowledge).

The MKT Framework

To address these issues, the researchers introduced the Multi-Stage Knowledge Transfer (MKT) framework. MKT is model-agnostic, allowing it to be integrated with various CSC architectures like RoBERTa or REALISE without altering their underlying structure.

The framework relies on two primary mechanisms:

  1. The Evolving Teacher: Unlike standard knowledge distillation which uses a static teacher, MKT employs the student model from the previous training stage as the teacher for the current stage. This ensures the teacher's knowledge base evolves alongside the model's domain exposure, acting as a repository of all accumulated knowledge.
  2. Dynamic Distillation Weights ($\lambda$): MKT automatically adjusts the strength of knowledge transfer based on the ratio of new domain data to accumulated historical data. This prevents smaller, specialized datasets from disproportionately affecting the model's foundational capabilities.

Experimental Setup and Datasets

The framework was evaluated across four distinct domains to simulate a real-world data stream:

  • General: Based on the Wang271K dataset and SIGHAN benchmarks.
  • Car (Automotive): Utilizing specialized data from LEMON and ECSpell.
  • Medical: Focused on healthcare-specific terminology.
  • Legal: Incorporating complex legal nomenclature.

The models were trained sequentially (General $\rightarrow$ Car $\rightarrow$ Medical $\rightarrow$ Legal), and performance was measured across all domains at each stage to track the retention of knowledge.

Key Results and Insights

MKT consistently outperformed standard fine-tuning and established continual learning baselines like Elastic Weight Consolidation (EWC) and Replay-based methods.

F1 score comparison between Fine-Tuning and MKT across domains, demonstrating MKT's ability to mitigate the drop in performance as more domains are added.
  • Superior Stability: On the REALISE model, MKT achieved an average F1 score of 57.34, significantly higher than the 55.55 achieved by standard fine-tuning.
  • Mitigating the Forgetting Curve: As shown in the performance metrics, MKT maintains a much shallower decline in general domain accuracy as new domains are added compared to traditional fine-tuning.
  • Specialized vs. General Models: The study also highlighted that specialized CSC models significantly outperform large language models (LLMs) like Llama-3.1-8B and Qwen-2.5-7B on this task, emphasizing the continued relevance of domain-specific optimization for industry applications.

Conclusion

The MKT framework provides a practical, efficient, and model-agnostic solution for maintaining the performance of CSC models in multi-domain environments. By leveraging an evolving teacher and dynamic distillation, it effectively circumvents catastrophic forgetting, ensuring that models remain robust across the diverse and ever-changing landscape of industry-specific text.

Summary updated

BibTeX
@misc{xing2025mkt,
  author = {Peng Xing and Yinghui Li and Shirong Ma and Xinnian Liang and Haojing Huang and Yangning Li and Shuyu Guo and Hai-Tao Zheng and Wenhao Jiang and Ying Shen},
  title = {{MKT: A Multi-Stage Knowledge Transfer Framework to Mitigate Catastrophic Forgetting in Multi-Domain Chinese Spelling Correction}},
  year = {2025},
  doi = {10.18653/v1/2025.emnlp-industry.30},
}
Figure