arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.08902cs.CRcs.AI
收藏

Audit-LLM:面向基于日志的内部威胁检测的多智能体协作方法

Audit-LLM: Multi-Agent Collaboration for Log-based Insider Threat Detection

State Key Laboratory of Mathematical Engineering and Advanced Computing(数学工程与先进计算国家重点实验室);National University of Defense Technology(国防科技大学)

Chengyu Song, Linru Ma, Jianming Zheng, Jinzhi Liao, Hongyu Kuang, Lin Yang

AI总结:

针对大语言模型在日志型内部威胁检测中面临的长上下文、幻觉等问题,提出含三类智能体的Audit-LLM框架及成对证据多智能体辩论机制,在三个公开数据集上性能优于基线且提升了解释忠实性。

摘要:

基于日志的内部威胁检测(ITD)通过审计日志条目识别恶意用户活动。近年来,具备强大常识知识的大语言模型(LLM)已应用于ITD领域。然而,活动类型多样、日志文件过长,给LLM直接从海量正常活动中甄别恶意行为带来了巨大挑战。此外,LLM的忠实性幻觉问题也加剧了其在ITD中的应用难度,因为生成的结论可能与用户指令及活动上下文不符。针对这些挑战,我们提出Audit-LLM——一个基于多智能体的日志型内部威胁检测框架,包含三个协作智能体:(1)分解器智能体,利用思维链(COT)推理将复杂的ITD任务拆解为可处理的子任务;(2)工具构建器智能体,为子任务创建可复用工具,以克服LLM的上下文长度限制;(3)执行器智能体,通过调用已构建的工具生成最终检测结论。为提升结论准确性,我们提出了一种成对的基于证据的多智能体辩论(EMAD)机制,由两个独立的执行器通过推理交互迭代优化结论,最终达成共识。我们在三个公开ITD数据集——CERT r4.2、CERT r5.2和PicoDomain——上开展了全面实验,结果表明该方法优于现有基线,且所提出的EMAD机制显著提升了LLM生成解释的忠实性。

英文摘要:

Log-based insider threat detection (ITD) detects malicious user activities by auditing log entries. Recently, large language models (LLMs) with strong common sense knowledge have emerged in the domain of ITD. Nevertheless, diverse activity types and overlong log files pose a significant challenge for LLMs in directly discerning malicious ones within myriads of normal activities. Furthermore, the faithfulness hallucination issue from LLMs aggravates its application difficulty in ITD, as the generated conclusion may not align with user commands and activity context. In response to these challenges, we introduce Audit-LLM, a multi-agent log-based insider threat detection framework comprising three collaborative agents: (i) the Decomposer agent, breaking down the complex ITD task into manageable sub-tasks using Chain-of-Thought (COT) reasoning;(ii) the Tool Builder agent, creating reusable tools for sub-tasks to overcome context length limitations in LLMs; and (iii) the Executor agent, generating the final detection conclusion by invoking constructed tools. To enhance conclusion accuracy, we propose a pair-wise Evidence-based Multi-agent Debate (EMAD) mechanism, where two independent Executors iteratively refine their conclusions through reasoning exchange to reach a consensus. Comprehensive experiments conducted on three publicly available ITD datasets-CERT r4.2, CERT r5.2, and PicoDomain-demonstrate the superiority of our method over existing baselines and show that the proposed EMAD significantly improves the faithfulness of explanations generated by LLMs.

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

↑