Hierarchical Retrieval Augmented Generation for Adversarial Technique Annotation in Cyber Threat Intelligence Text
arXiv cs.CL / 4/17/2026
📰 NewsDeveloper Stack & InfrastructureModels & Research
Key Points
- The paper addresses the challenge of mapping Cyber Threat Intelligence (CTI) text to MITRE ATT&CK technique IDs, arguing that prior RAG methods use a flat retrieval strategy that ignores ATT&CK’s tactic–technique hierarchy.
- It proposes H-TechniqueRAG, a hierarchical RAG framework that first retrieves macro-level tactics and then restricts technique search within those tactics, cutting the candidate search space by 77.5%.
- To improve the handoff from retrieval to generation, the authors add a tactic-aware reranking module and a hierarchy-constrained context organization strategy to reduce LLM context overload and enhance reasoning accuracy.
- Experiments on three CTI datasets show H-TechniqueRAG outperforms TechniqueRAG by 3.8% in F1, while also reducing inference latency by 62.4% and decreasing LLM API calls by 60%.
- The authors report improved cross-domain generalization and provide interpretable, step-by-step decision paths that can help security analysts trust and audit the annotation process.

![[Patterns] AI Agent Error Handling That Actually Works](/_next/image?url=https%3A%2F%2Fmedia2.dev.to%2Fdynamic%2Fimage%2Fwidth%3D1200%2Cheight%3D627%2Cfit%3Dcover%2Cgravity%3Dauto%2Cformat%3Dauto%2Fhttps%253A%252F%252Fdev-to-uploads.s3.amazonaws.com%252Fuploads%252Farticles%252Frn5czaopq2vzo7cglady.png&w=3840&q=75)


![[2026] OpenTelemetry for LLM Observability — Self-Hosted Setup](/_next/image?url=https%3A%2F%2Fmedia2.dev.to%2Fdynamic%2Fimage%2Fwidth%3D1200%2Cheight%3D627%2Cfit%3Dcover%2Cgravity%3Dauto%2Cformat%3Dauto%2Fhttps%253A%252F%252Fdev-to-uploads.s3.amazonaws.com%252Fuploads%252Farticles%252Flu4b6ttuhur71z5gemm0.png&w=3840&q=75)