Skip to main content
QUICK REVIEW

[Paper Review] Update Frequently, Update Fast: Retraining Semantic Parsing Systems in a Fraction of Time

Vladislav Lialin, Rahul Goel|arXiv (Cornell University)|Oct 15, 2020
Topic ModelingComputer Science23 references5 citations
TL;DR

This paper proposes a fast, efficient method for updating semantic parsing models using EWC regularization combined with full-dataset supersampling, achieving performance comparable to training from scratch in under 10% of the time while minimizing catastrophic forgetting. The approach enables practical, frequent retraining of large-scale semantic parsing systems in real-world deployment settings.

ABSTRACT

Currently used semantic parsing systems deployed in voice assistants can require weeks to train. Datasets for these models often receive small and frequent updates, data patches. Each patch requires training a new model. To reduce training time, one can fine-tune the previously trained model on each patch, but naive fine-tuning exhibits catastrophic forgetting - degradation of the model performance on the data not represented in the data patch. In this work, we propose a simple method that alleviates catastrophic forgetting and show that it is possible to match the performance of a model trained from scratch in less than 10% of a time via fine-tuning. The key to achieving this is supersampling and EWC regularization. We demonstrate the effectiveness of our method on multiple splits of the Facebook TOP and SNIPS datasets.

Motivation & Objective

  • To address the challenge of long training times for semantic parsing models in production systems, which can take days or weeks.
  • To reduce retraining overhead when new data patches are frequently added to datasets, especially for low-resource or long-tail classes.
  • To enable fast, efficient model updates without catastrophic forgetting, making continual learning practical for real-world NLP systems.
  • To evaluate the effectiveness of data-incremental continual learning methods in semantic parsing, focusing on speed, accuracy, and forgetting mitigation.
  • To propose a new evaluation metric sensitive to per-class performance degradation, particularly for low-resource classes.

Proposed method

  • The method uses EWC (Elastic Weight Consolidation) regularization to preserve knowledge from previously learned data during fine-tuning.
  • It applies full-dataset supersampling by including all examples from the original training data (D₁) during fine-tuning on new data (D₂), rather than using a small replay buffer.
  • The model is fine-tuned on a combined dataset of old and new examples, with balanced sampling to prevent class imbalance from exacerbating forgetting.
  • The approach avoids layer freezing, which was found to degrade performance, and instead relies on EWC and data reweighting to stabilize learning.
  • A new evaluation metric tracks the number of classes with significant performance degradation (more than 2σ) to quantify catastrophic forgetting.
  • The method is evaluated across multiple splits of the Facebook TOP and SNIPS datasets under varying data availability conditions.

Experimental results

Research questions

  • RQ1Can fine-tuning with EWC and full-dataset supersampling achieve performance comparable to training from scratch in semantic parsing?
  • RQ2To what extent can this method reduce training time while minimizing catastrophic forgetting in data-incremental settings?
  • RQ3How does the method perform when only a small number of examples (e.g., <30) are available for a class in the original data and a few hundred are added incrementally?
  • RQ4Does EWC combined with full-dataset sampling outperform other regularization and replay strategies in reducing forgetting across diverse class distributions?
  • RQ5Can the proposed metric effectively detect and quantify per-class performance degradation due to catastrophic forgetting?

Key findings

  • The method achieves test-set performance comparable to a model trained from scratch, with fine-tuning taking less than 10% of the time required for training from scratch.
  • EWC combined with 20% sampling of old data achieved the lowest forgetting across all dataset splits, with EWC + full sampling eliminating forgetting entirely on the organizer_event 95 split at 10% old data.
  • In 5 out of 6 dataset splits, the method using EWC and sampling showed the lowest number of classes with significant performance degradation (more than 2σ).
  • Layer freezing was found to be ineffective and even harmful, particularly when only the head layers were updated, indicating that feature adaptation is critical for low-resource classes.
  • The method outperformed training from scratch in realistic low-data settings, such as when fewer than 30 examples were available initially and fewer than 300 were added incrementally.
  • The proposed metric for measuring class-specific degradation proved effective in identifying forgetting patterns that were masked by overall EM or F1 scores.

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.