Skip to main content
QUICK REVIEW

[论文解读] Log anomaly detection via Meta Learning and Prototypical Networks for Cross domain generalization

Krishna Sharma, Vivek Yelleti|arXiv (Cornell University)|Jan 20, 2026
Data Stream Mining TechniquesComputer Science被引用 0
一句话总结

该论文提出了一个元学习框架,结合 Drain3 日志解析、漂移驱动的标注、BERT 嵌入、MAML 与原型网络,实现跨领域日志异常检测,且数据存在不平衡。

ABSTRACT

Log anomaly detection is essential for system reliability, but it is extremely challenging to do considering it involves class imbalance. Additionally, the models trained in one domain are not applicable to other domains, necessitating the need for cross-domain adaptation (such as HDFS and Linux). Traditional detection models often fail to generalize due to significant data drift and the inherent absence of labeled anomalies in new target domains. To handle the above challenges, we proposed a new end-to-end framework based on a meta-learning approach. Our methodology first gets the data ready by combining a Drain3 log parsing mechanism with a dynamic drift-based labeling technique that uses semantic and fuzzy matching to move existing anomaly knowledge from one source to another. BERT-based semantic embeddings are obtained, and the feature selection is invoked to reduce the dimensionality. Later, Model Agnostic Meta-Learning (MAML) and Prototypical Networks models are trained to adapt quickly and effectively. The SMOTE oversampling method is employed to handle imbalances in the data. All the results are obtained by employing the leave-one-out source method, and the corresponding mean F1 scores are reported. Our empirical findings validate that the proposed meta-learning-driven approach yielded the highest mean F1 score and proved to be effective for cross-domain settings.

研究动机与目标

  • 在域迁移与类别不平衡的情境下,激励鲁棒的日志异常检测。
  • 开发一个跨域框架,将异常知识从一个来源迁移到另一个来源(如 HDFS 和 Linux)。
  • 利用元学习与原型网络实现对新领域的快速适应。
  • 整合标签漂移处理和语义嵌入,为学习准备数据。
  • 使用留一法源协议评估泛化能力。

提出的方法

  • 将 Drain3 基于的日志解析与基于语义和模糊匹配的漂移标注技术相结合。
  • 获取日志的基于 BERT 的语义嵌入,并进行特征选择以降低维度。
  • 训练模型无关元学习(MAML)与原型网络以实现快速跨域适应。
  • 使用 SMOTE 过采样来应对数据中的类别不平衡。
  • 通过留一法源设置进行评估并报告平均 F1 分数。

实验结果

研究问题

  • RQ1元学习方法是否在跨域日志异常检测中优于基线方法?
  • RQ2在不平衡数据下,MAML 与原型网络在适应未知领域方面有多高的效果?
  • RQ3语义漂移感知标注对跨域性能有何影响?
  • RQ4SMOTE 过采样是否在不损害泛化的前提下改善异常检测?

主要发现

  • 基于元学习的方法在跨域设置中获得最高的平均 F1 分数。
  • 该框架能有效促进跨域泛化,适用于具有数据漂移的领域。
  • 通过特征选择实现的降维提高了学习效率。
  • 漂移感知标注有助于在源之间迁移异常知识。
  • SMOTE 有助于解决异常检测任务中的类别不平衡。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。