[Paper Review] Model Stability with Continuous Data Updates
This paper proposes a methodology to assess model stability under continuous data updates using a metric called 'jitter,' which measures prediction shift between model retraining runs. It finds that non-RNN architectures, fastText embeddings, model ensembles, and incremental training significantly reduce jitter, offering practical trade-offs between accuracy and stability in NLP systems.
In this paper, we study the "stability" of machine learning (ML) models within the context of larger, complex NLP systems with continuous training data updates. For this study, we propose a methodology for the assessment of model stability (which we refer to as jitter under various experimental conditions. We find that model design choices, including network architecture and input representation, have a critical impact on stability through experiments on four text classification tasks and two sequence labeling tasks. In classification tasks, non-RNN-based models are observed to be more stable than RNN-based ones, while the encoder-decoder model is less stable in sequence labeling tasks. Moreover, input representations based on pre-trained fastText embeddings contribute to more stability than other choices. We also show that two learning strategies -- ensemble models and incremental training -- have a significant influence on stability. We recommend ML model designers account for trade-offs in accuracy and jitter when making modeling choices.
Motivation & Objective
- To address the lack of systematic evaluation of model stability in industrial NLP systems undergoing continuous data updates.
- To identify key model design choices that influence stability beyond accuracy, especially in complex, interconnected systems.
- To propose a practical methodology for measuring and guiding stability in real-world ML deployments.
Proposed method
- The paper introduces 'jitter' as a quantitative measure of prediction shift between two model retraining runs on the same test set.
- It evaluates model stability across four text classification and two sequence labeling tasks using controlled retraining with updated data.
- The methodology compares various model architectures, input representations (e.g., fastText, GloVe, BERT), and training strategies (ensemble, incremental training).
- Jitter is computed as the percentage of predictions that change between two model runs, even when accuracy remains similar.
- The study uses the number of trainable parameters as a proxy for model complexity, though it finds no strong correlation with jitter.
- Results are visualized via error rate vs. jitter plots to guide trade-off decisions in model design.
Experimental results
Research questions
- RQ1How does model architecture influence stability under continuous data updates in NLP systems?
- RQ2What is the impact of different input representations (e.g., fastText, BERT, GloVe) on model jitter?
- RQ3How do training strategies like ensembling and incremental training affect model stability?
- RQ4Is there a correlation between model complexity (measured by parameters) and jitter?
- RQ5What trade-offs exist between accuracy and jitter in practical model design?
Key findings
- Non-RNN-based models such as textCNN and transformers exhibit significantly lower jitter (e.g., 6.33–7.34) compared to RNN-based models like biLSTM (9.26–9.80) in text classification tasks.
- The encoder-decoder architecture shows higher instability in sequence labeling tasks, with jitter values around 9.33–9.88, indicating reduced stability.
- Pre-trained fastText embeddings consistently yield lower jitter (6.33–7.62) than GloVe (6.73–8.97) and BERT (7.75–9.63), making them more stable input representations.
- Ensemble models and incremental training both reduce jitter, with ensembles outperforming incremental training in stability across all tasks.
- There is no discernible correlation between the number of trainable parameters and jitter, challenging the assumption that model complexity directly affects stability.
- Models using fastText embeddings achieve lower jitter even when BERT models have better accuracy, indicating that stability can be prioritized independently of accuracy.
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.