召回还是重学?用于循环概念漂移的上下文专家混合模型
Recall or Relearn? A Mixture of In-Context Experts for Recurring Concept Drift
AI总结:
本文针对循环概念漂移问题提出无需训练的MICE模型,通过快速层与慢速层结合的方式,在网格流和真实流数据上均实现了优于对比策略的最高平均准确率。
摘要:
表格基础模型(TFMs)被应用于网络入侵检测等网络数据流场景,这类模型通过更新上下文的带标签行而非重新训练来实现自适应。当过往概念在离开上下文后再次出现时,TFM会面临“召回还是重学”的决策:是恢复该概念的存储行,还是从新标签中重新学习。本文提出MICE(上下文专家混合模型,Mixture of In-Context Experts),一种无需训练的学习器,它在检测到变化时将数据流切分为多个片段。在存储上下文的容量限制下,当TFM对某片段的估计额外误差在容差范围内时,它会将该封闭片段合并到存储上下文中。快速层通过存储上下文和先进先出(FIFO)窗口在最后一批带标签数据上的对数损失来为其加权。研究表明,在纯存储上下文和边际条件下,该快速层在预期准确率上的收益为存储上下文准确率与TFM学习曲线之间的归一化正面积,最高可达首批次项。慢速层将快速层的预测与最后一批带标签行的FIFO窗口的预测混合,并在每个时间步将MICE的折扣半布里尔遗憾约束在该窗口范围内。预先测量的学习曲线可预测观测到的召回收益的排序。在具有随机边界阶段的网格流上,MICE的表现优于在检测到漂移时清空上下文的重置策略。合并操作存储的专家数量少于存储每个片段的池,且在固定分割下,时间匹配的快照池在偏移网格上的表现与MICE相当。在真实数据流上,MICE在所有对比策略中具有最高的平均准确率。
英文摘要:
Tabular foundation models (TFMs) are being applied to Web data streams such as network intrusion detection, where they adapt by updating the labelled rows of their context without retraining. When a past concept returns after leaving the context, a TFM faces a recall-or-relearn decision between restoring stored rows of the concept and relearning it from new labels. We propose MICE (Mixture of In-Context Experts), a training-free learner that cuts the stream into segments at detected changes. It merges a closed segment into a stored context when the TFM's estimated additional error on the segment is within a tolerance, under a capacity limit on stored contexts. A fast level weights the stored contexts and first-in-first-out (FIFO) windows by the log-loss of their predictions on the last labelled batch. We show that, with pure stored contexts and a margin condition, this fast level gains over relearning, in expected accuracy, the normalised positive area between the stored context's accuracy and the TFM's learning curve, up to a first-batch term. A slow level mixes the fast level's prediction with that of the FIFO window of the last labelled rows and bounds the discounted half-Brier regret of MICE against this window at every time. Learning curves measured beforehand predict the ordering of the observed recall gains. MICE outperforms reset, which empties the context at detected drifts, on grid streams with random boundary phases. Merging keeps fewer experts than pools that store every segment, and with fixed segmentation a time-matched snapshot pool matches MICE on the shifted grid. On real streams, MICE has the highest mean accuracy of all policies we compare.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。