Lightweight Conditional Model Extrapolation for Streaming Data under Class-Prior Shift

Paulina Tomaszewska, Christoph H. Lampert
6/10/2022
cs.LG

Official code: ptomaszewska/LIMES (0 stars, Jupyter Notebook, MIT, last commit 2022-06-14).

Abstract

We introduce LIMES, a new method for learning with non-stationary streaming data, inspired by the recent success of meta-learning. The main idea is not to attempt to learn a single classifier that would have to work well across all occurring data distributions, nor many separate classifiers, but to exploit a hybrid strategy: we learn a single set of model parameters from which a specific classifier for any specific data distribution is derived via classifier adaptation.

Show full abstract

Assuming a multi-class classification setting with class-prior shift, the adaptation step can be performed analytically with only the classifier's bias terms being affected. Another contribution of our work is an extrapolation step that predicts suitable adaptation parameters for future time steps based on the previous data. In combination, we obtain a lightweight procedure for learning from streaming data with varying class distribution that adds no trainable parameters and almost no memory or computational overhead compared to training a single model. Experiments on a set of exemplary tasks using Twitter data show that LIMES achieves higher accuracy than alternative approaches, especially with respect to the relevant real-world metric of lowest within-day accuracy.

View on arXivView PDF

Code Implementations(1)

ptomaszewska/LIMESOfficial100%
MIT

Official implementation of LIMES (Lightweight Conditional Model Extrapolation for Streaming Data under Class-Prior Shift)

00Jupyter Notebook, PythonMay 24, 20224 years agoMIT

Similar Papers

Cite this paper

@article{tomaszewska2022lightweight,
  title  = {Lightweight Conditional Model Extrapolation for Streaming Data under Class-Prior Shift},
  author = {Paulina Tomaszewska and Christoph H. Lampert},
  year   = {2022},
  eprint = {2206.05181},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.05181}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.05181.svg)](https://codeofpaper.com/paper/2206.05181)

Discussion