Backward Compatibility During Data Updates by Weight Interpolation

01/25/2023
by   Raphael Schumann, et al.
0

Backward compatibility of model predictions is a desired property when updating a machine learning driven application. It allows to seamlessly improve the underlying model without introducing regression bugs. In classification tasks these bugs occur in the form of negative flips. This means an instance that was correctly classified by the old model is now classified incorrectly by the updated model. This has direct negative impact on the user experience of such systems e.g. a frequently used voice assistant query is suddenly misclassified. A common reason to update the model is when new training data becomes available and needs to be incorporated. Simply retraining the model with the updated data introduces the unwanted negative flips. We study the problem of regression during data updates and propose Backward Compatible Weight Interpolation (BCWI). This method interpolates between the weights of the old and new model and we show in extensive experiments that it reduces negative flips without sacrificing the improved accuracy of the new model. BCWI is straight forward to implement and does not increase inference cost. We also explore the use of importance weighting during interpolation and averaging the weights of multiple new models in order to further reduce negative flips.

READ FULL TEXT

page 8

page 15

research
12/06/2021

Forward Compatible Training for Representation Learning

In visual retrieval systems, updating the embedding model requires recom...
research
07/02/2021

Backward-Compatible Prediction Updates: A Probabilistic Approach

When machine learning systems meet real world applications, accuracy is ...
research
11/18/2020

Positive-Congruent Training: Towards Regression-Free Model Updates

Reducing inconsistencies in the behavior of different versions of an AI ...
research
12/20/2021

Distributionally Robust Group Backwards Compatibility

Machine learning models are updated as new data is acquired or new archi...
research
06/07/2022

Learning Backward Compatible Embeddings

Embeddings, low-dimensional vector representation of objects, are fundam...
research
02/04/2023

Improving Prediction Backward-Compatiblility in NLP Model Upgrade with Gated Fusion

When upgrading neural models to a newer version, new errors that were no...

Please sign up or login with your details

Forgot password? Click here to reset