2 min readfrom Data Science

Retraining strategy with evolving classes + imbalanced labels?

Our take

In a rapidly evolving multi-class classification environment, developing an effective retraining strategy is crucial, especially when faced with imbalanced labels and fluctuating class presence. With around 6,000 initial rows, it’s essential to consider how to best utilize incoming data, whether through all accumulated labeled data, a recent sliding window, or a combination that includes a replay buffer for rare classes. Additionally, evaluating the model’s performance using fixed versus rolling test sets will provide insight into its adaptability amid label changes.

Hi all — I’m looking for advice on the best retraining strategy for a multi-class classifier in a setting where the label space can evolve. Right now I have about 6 labels, but I don’t know how many will show up over time, and some labels appear inconsistently or disappear for long stretches. My initial labeled dataset is ~6,000 rows and it’s extremely imbalanced: one class dominates and the smallest class has only a single example. New data keeps coming in, and my boss wants us to retrain using the model’s inferences plus the human corrections made afterward by someone with domain knowledge. I have concerns about retraining on inferences, but that's a different story.

Given this setup, should retraining typically use all accumulated labeled data, a sliding window of recent data, or something like a recent window plus a replay buffer for rare but important classes? Would incremental/online learning (e.g., partial_fit style updates or stream-learning libraries) help here, or is periodic full retraining generally safer with this kind of label churn and imbalance? I’d really appreciate any recommendations on a robust policy that won’t collapse into the dominant class, plus how you’d evaluate it (e.g., fixed “golden” test set vs rolling test, per-class metrics) when new labels can appear.

submitted by /u/fleeced-artichoke
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles

Tagged with