Abstract
The exponential growth of cyber threat knowledge, exemplified by the expansion of databases such as MITRE-CVE and NVD, poses significant challenges for cyber threat analysis. Security professionals are increasingly burdened by the sheer volume and complexity of information, creating an urgent need for effective tools to navigate, synthesize, and act on large-scale data to counter evolving threats proactively. In this work, we introduce CyLens, a cyber threat intelligence (CTI) copilot powered by large language models (LLMs). CyLens is designed to assist security professionals throughout the entire threat management lifecycle, supporting threat attribution, contextualization, detection, correlation, prioritization, and remediation. To ensure domain expertise, CyLens integrates knowledge from 271,570 threat reports into its model parameters and incorporates six specialized NLP modules to enhance reasoning capabilities. Through extensive evaluations, we demonstrate that CyLens consistently outperforms industry-leading LLMs and state-of-the-art cybersecurity agents.
Introduction
The cybersecurity landscape is currently facing a "data explosion." With the exponential growth of vulnerability databases like MITRE-CVE and NVD, security professionals are overwhelmed by the sheer volume and complexity of threat reports. Conventional CTI solutions struggle with two main hurdles: scalability and adaptability. Human analysts cannot keep pace with the influx of data, and existing automated tools are often too rigid for specific organizational needs.
While general-purpose LLMs show promise, they often lack the deep domain expertise and structured reasoning required for high-stakes security analysis. CyLens bridges this gap, transforming LLMs from simple chatbots into "agentic" security analysts capable of handling the full CTI lifecycle.
Methodology
The development of CyLens follows a three-pronged strategy designed to ensure both deep domain knowledge and rigorous logical reasoning.
Curriculum-Based Training
Rather than training on data at random, CyLens employs a "curriculum" approach for knowledge infusion. The model was trained on a massive corpus of 271,570 threat reports—aggregated from sources like MITRE-CVE, NVD, Exploit-DB, and vendor-specific mailing lists—ordered chronologically and by complexity. This allows the model to build a foundational understanding of historical threats before tackling modern, complex attack patterns.
Instruction Tuning via Cascading Reasoning
The model is fine-tuned to follow the logical dependencies inherent in the CTI lifecycle. This "cascading reasoning" ensures the model understands that effective remediation requires first identifying relevant CVEs and attributing the threat correctly.
Modularized Inference Architecture
At runtime, CyLens coordinates six specialized NLP modules to process queries: Topic Modeling, Named Entity Recognition (NER), Relation Extraction, Retrieval-Augmented Generation (RAG), Reasoning, and Summarization. This modularity allows the system to fetch real-time data for "Zero-Day" threats while maintaining logical consistency in its final reports.
Evaluation and Key Insights
CyLens was evaluated against real-world reports from 2015 through early 2025, categorized into historical and "Zero-Day" threats.
Performance Benchmarks
- Attribution: CyLens-8B achieved 83.74% accuracy in threat actor identification, significantly outperforming GPT-4o’s 40.31%.
- Prioritization: The model maintained >85% accuracy across eight CVSS severity metrics, showing much higher reliability than general-purpose baselines.
- Remediation: CyLens-70B reached 97.62% accuracy in suggesting correct mitigation tools and advisories.
Key Findings
The research yielded several critical insights into the application of LLMs in cybersecurity:
- Domain Specialization vs. Model Size: CyLens-8B consistently outperformed much larger general-purpose models like GPT-4o, proving that targeted training is more effective than sheer parameter count for specialized fields.
- The Verbosity Trap: Larger models (e.g., 70B) often use sentiment-heavy language that can obscure factual security data. Smaller, focused models tend to be more succinct and aligned with professional standards.
- The Necessity of RAG: Static training data is insufficient for predicting trends like shifts in EPSS scores. Real-time contextual awareness via RAG is mandatory for accurate threat intelligence.
Conclusion
CyLens demonstrates that specialized, agentic LLMs can significantly enhance the capabilities of security analysts. While challenges remain regarding latency and data scarcity for niche vendors, the framework provides a blueprint for building expert-level AI agents in high-stakes, data-intensive domains.
Summary updated