层级检索增强生成用于网络威胁情报文本中的对抗技术标注
Hierarchical Retrieval Augmented Generation for Adversarial Technique Annotation in Cyber Threat Intelligence Text
AI总结:
本文提出H-TechniqueRAG框架,通过层级检索机制和结构约束策略提升网络威胁情报文本中对抗技术标注的效率与准确性,实验表明其在F1得分、推理延迟和API调用次数上均优于现有方法。
摘要:
将网络威胁情报(CTI)文本映射到MITRE ATT\&CK技术ID是理解对手行为和自动化威胁防御的关键任务。尽管最近的检索增强生成(RAG)方法在该领域展示了有希望的能力,但它们本质上依赖于扁平检索范式。通过将ATT\&CK框架的层级结构作为强归纳偏置,本文提出H-TechniqueRAG,一种新颖的层级RAG框架,以实现高效且准确的标注。我们的方法引入了两级层级检索机制:首先识别宏观层面的战术(对手的技术目标),然后缩小搜索范围到这些战术内的技术,从而将候选搜索空间减少了77.5%。为进一步缩小检索与生成之间的差距,我们设计了战术感知重排序模块和层级约束的上下文组织策略,以缓解LLM上下文过载并提高推理精度。在三个多样化的CTI数据集上的全面实验表明,H-TechniqueRAG不仅在F1得分上比最先进的TechniqueRAG高出3.8%,还实现了62.4%的推理延迟减少和60%的LLM API调用减少。进一步分析表明,我们的层级结构先验使模型具备更强的跨域泛化能力,并为安全分析师提供高度可解释的、逐步的决策路径。
英文摘要:
Mapping Cyber Threat Intelligence (CTI) text to MITRE ATT\&CK technique IDs is a critical task for understanding adversary behaviors and automating threat defense. While recent Retrieval-Augmented Generation (RAG) approaches have demonstrated promising capabilities in this domain, they fundamentally rely on a flat retrieval paradigm. By treating all techniques uniformly, these methods overlook the inherent taxonomy of the ATT\&CK framework, where techniques are structurally organized under high-level tactics. In this paper, we propose H-TechniqueRAG, a novel hierarchical RAG framework that injects this tactic-technique taxonomy as a strong inductive bias to achieve highly efficient and accurate annotation. Our approach introduces a two-stage hierarchical retrieval mechanism: it first identifies the macro-level tactics (the adversary's technical goals) and subsequently narrows the search to techniques within those tactics, effectively reducing the candidate search space by 77.5\%. To further bridge the gap between retrieval and generation, we design a tactic-aware reranking module and a hierarchy-constrained context organization strategy that mitigates LLM context overload and improves reasoning precision. Comprehensive experiments across three diverse CTI datasets demonstrate that H-TechniqueRAG not only outperforms the state-of-the-art TechniqueRAG by 3.8\% in F1 score, but also achieves a 62.4\% reduction in inference latency and a 60\% decrease in LLM API calls. Further analysis reveals that our hierarchical structural priors equip the model with superior cross-domain generalization and provide security analysts with highly interpretable, step-by-step decision paths.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。