Don't Look Back in Anger: MAGIC Net for Streaming Continual Learning with Temporal Dependence
Organizations: DEIB - Politecnico di Milano
Abstract
Concept drift, temporal dependence, and catastrophic forgetting represent major challenges when learning from data streams. While Streaming Machine Learning and Continual Learning (CL) address these issues separately, recent efforts in Streaming Continual Learning (SCL) aim to unify them. In this work, we introduce MAGIC Net, a novel SCL approach that integrates CL-inspired architectural strategies with recurrent neural networks to tame temporal dependence. MAGIC Net continuously learns, looks back at past knowledge by applying learnable masks over frozen weights, and expands its architecture when necessary. It performs all operations online, ensuring inference availability at all times. Experiments on synthetic and real-world streams show that it improves adaptation to new concepts, limits memory usage, and mitigates forgetting.
Figures & tables
| AirQuality | PowerConsumption | SRW | Weather | ||||||
|---|---|---|---|---|---|---|---|---|---|
| start | end | start | end | start | end | start | end | ||
| 100% prec 100% rec | ARF | 0.07±0.02 | 0.08±0.02 | 0.25±0.05 | 0.29±0.05 | 0.24±0.02 | 0.33±0.01 | 0.26±0.05 | 0.29±0.04 |
| ARF T | 0.21±0.05 | 0.26±0.04 | 0.22±0.06 | 0.28±0.06 | 0.73±0.00 | 0.73±0.00 | 0.41±0.06 | 0.44±0.06 | |
| cGRU | 0.33±0.05 | 0.39±0.05 | 0.59±0.07 | 0.70±0.04 | 0.69±0.05 | 0.81±0.03 | 0.50±0.06 | 0.61±0.06 | |
| cPNN | 0.35±0.03 | 0.35±0.03 | 0.66±0.02 | 0.71±0.02 | 0.61±0.05 | 0.68±0.04 | 0.52±0.05 | 0.56±0.05 | |
| MAGIC | 0.42±0.03 | 0.47±0.03 | 0.68±0.04 | 0.77±0.02 | 0.71±0.04 | 0.82±0.03 | 0.56±0.04 | 0.67±0.03 | |
| AirQuality | PowerConsumption | SRW | Weather | ||||||
|---|---|---|---|---|---|---|---|---|---|
| AVG | BWT | AVG | BWT | AVG | BWT | AVG | BWT | ||
| 100% prec 100% rec | ARF | 0.01±0.01 | -0.07±0.02 | 0.07±0.02 | -0.35±0.08 | 0.09±0.02 | -0.36±0.03 | 0.04±0.01 | -0.18±0.04 |
| ARF T | 0.14±0.04 | -0.19±0.05 | 0.09±0.02 | -0.31±0.12 | 0.73±0.00 | -0.00±0.00 | 0.20±0.05 | -0.24±0.06 | |
| cGRU | 0.06±0.02 | -0.48±0.06 | 0.18±0.05 | -0.86±0.08 | 0.20±0.05 | -0.85±0.07 | 0.11±0.02 | -0.68±0.06 | |
| cPNN | 0.31±0.05 | -0.09±0.05 | 0.51±0.09 | -0.32±0.15 | 0.59±0.10 | -0.21±0.12 | 0.42±0.09 | -0.19±0.09 | |
| MAGIC | 0.41±0.06 | -0.11±0.05 | 0.55±0.10 | -0.35±0.15 | 0.64±0.11 | -0.26±0.14 | 0.49±0.07 | -0.24±0.08 | |
Continual Learning
Continual Learning studies how models acquire knowledge from changing data streams while retaining or selectively revising what they learned before.
See all 294 papers