arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.03759cs.CLcs.AIcs.LGcs.NI
收藏

面向边缘可部署蜂窝网络测试的卷积神经网络与大语言模型在软件日志分类中的对比研究

Convolutional vs Large Language Models for Software Log Classification in Edge-Deployable Cellular Network Testing

VIAVI Solutions Inc.(维亚维解决方案公司);Brunel University of London(伦敦布鲁内尔大学)

Achintha Ihalage, Sayed M. Taheri, Faris Muhammad, Hamed Al-Raweshidy

AI总结:

本文针对电信网络测试中复杂软件日志的自动化缺陷分诊问题,提出一种轻量级CNN架构,以200,000字符上下文窗口实现超96%准确率,显著优于LLM方法且可边缘部署。

摘要:

电信行业中由复杂网络仿真器(如 VIAVI TM500)生成的软件日志极为复杂,通常包含数万行文本,与自然语言几乎没有相似之处。只有专业的专家工程师才能解读此类日志并排查测试运行中的缺陷。虽然人工智能为自动化缺陷分诊提供了一种有前景的解决方案,并可能为企业带来可观的收入节省,但最先进的大语言模型(LLMs)在这一专业领域中存在显著缺陷,包括上下文窗口受限、对自然语言之外文本的适用性有限以及推理成本高昂。为解决这些局限性,我们提出了一种紧凑的卷积神经网络(CNN)架构,其上下文窗口可覆盖多达200,000个字符,并在将多层面软件日志分类到电信协议栈各层时实现了超过96%的准确率(F1>0.9)。具体而言,所提出的模型能够识别测试运行中的缺陷并将其分诊至相关部门,此前这一过程需要专家知识的人工工程流程。我们评估了多个大语言模型:LLaMA2-7B、Mixtral 8x7B、Flan-T5、BERT和BigBird,并通过实验证明了它们在我们这一专业应用中的不足。尽管我们的CNN模型轻量,但在电信日志分类中显著优于基于LLM的方法,同时最大限度地降低了生产成本。我们的缺陷分诊AI模型可部署在边缘设备上,无需专用硬件,并广泛适用于各行业的软件日志。

英文摘要:

Software logs generated by sophisticated network emulators in the telecommunications industry, such as VIAVI TM500, are extremely complex, often comprising tens of thousands of text lines with minimal resemblance to natural language. Only specialised expert engineers can decipher such logs and troubleshoot defects in test runs. While AI offers a promising solution for automating defect triage, potentially leading to massive revenue savings for companies, state-of-the-art large language models (LLMs) suffer from significant drawbacks in this specialised domain. These include a constrained context window, limited applicability to text beyond natural language, and high inference costs. To address these limitations, we propose a compact convolutional neural network (CNN) architecture that offers a context window spanning up to 200,000 characters and achieves over 96% accuracy (F1>0.9) in classifying multifaceted software logs into various layers in the telecommunications protocol stack. Specifically, the proposed model is capable of identifying defects in test runs and triaging them to the relevant department, formerly a manual engineering process that required expert knowledge. We evaluate several LLMs; LLaMA2-7B, Mixtral 8x7B, Flan-T5, BERT and BigBird, and experimentally demonstrate their shortcomings in our specialized application. Despite being lightweight, our CNN significantly outperforms LLM-based approaches in telecommunications log classification while minimizing the cost of production. Our defect triaging AI model is deployable on edge devices without dedicated hardware and widely applicable across software logs in various industries.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑