LogNEO:基于GPT-Neo的强化学习框架用于精确实时日志异常检测
LogNEO: A GPT-Neo Reinforcement Learning Framework for Accurate Real-Time Log Anomaly Detection
AI总结:
提出LogNEO,利用GPT-Neo模型和基于位置感知奖励的PPO微调,在HDFS、BGL和Thunderbird基准上达到F1分数0.927、0.913和0.984,召回率比LogGPT提升6%,并在生产部署中实现45ms端到端延迟。
摘要:
检测大规模系统日志中的异常对于现代计算基础设施的可靠性和安全性至关重要。我们提出LogNEO,一个基于EleutherAI的GPT-Neo(13亿参数)构建的日志异常检测器,并通过一种新颖的部分信用、指数衰减位置感知奖励方案结合交叉熵正则化(使用近端策略优化PPO)进行微调。位置感知奖励显式建模预测难度:早期位置因正确预测获得更高奖励,而后期位置因错误受到更强惩罚。LogNEO在HDFS、BGL和Thunderbird基准上分别达到0.927、0.913和0.984的F1分数,在保持相当精度的同时,召回率比先前最先进的LogGPT提升高达6个百分点。基于Apache Kafka、Redis和TensorRT加速推理的生产微服务部署在每秒15000个事件下实现了45毫秒的端到端延迟。
英文摘要:
Detecting anomalies in large-scale system logs is critical for the reliability and security of modern computing infrastructure. We present LogNEO, a log anomaly detector built on EleutherAI's GPT-Neo (1.3B parameters) and fine-tuned with a novel partial-credit, exponentially decaying position-aware reward scheme combined with cross-entropy regularisation via Proximal Policy Optimisation (PPO). The position-aware reward explicitly models prediction difficulty: early positions receive higher rewards for correct predictions, while later positions incur stronger penalties for errors. LogNEO attains F1-scores of 0.927, 0.913, and 0.984 on the HDFS, BGL, and Thunderbird benchmarks, improving recall by up to 6 percentage points over the prior state-of-the-art LogGPT while maintaining comparable precision. A production microservice deployment over Apache Kafka, Redis, and TensorRT-accelerated inference demonstrates 45 ms end-to-end latency at 15,000 events per second.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。