LLM-Based Weak Annotation for Cybersecurity Tweet Classification: A Teacher-Student Framework
New in Knowledge distillation; no direction yet. Knowledge distillation
Abstract (arXiv)
Cyber threat intelligence (CTI) relies on the timely identification of emerging threats, enabling organizations and security analysts to support situational awareness and decision-making. Social media platforms such as X (formerly Twitter) have become valuable CTI sources because vulnerabilities and attack activities are often discussed there before appearing in formal reports. However, the rapid growth of cybersecurity discussions on social media has created more content than domain experts can realistically review and annotate, making labeled data a major bottleneck for developing supervised learning approaches. While large language models (LLMs) have shown promise as weak annotators in other domains, their effectiveness for cybersecurity tweet classification and downstream training of domain-specific pre-trained language models (PLMs) remains underexplored. To address this challenge, we propose a Teacher-Student weak supervision framework in which a selected LLM serves as a Teacher to generate weak labels for unlabeled cybersecurity tweets, enabling the training of cybersecurity-specific PLMs without large-scale manual annotation. Experimental results show that PLMs trained solely on LLM-generated labels consistently achieve F1 scores above 0.92, remaining within 3 percentage points of fully human-supervised models across all evaluated architectures. These findings suggest that LLM-based weak annotation offers a practical alternative for constructing cybersecurity-specific training data when expert annotation resources are limited.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 13 of its 29 references that are in the map. Submitted 15 Oct 2026.
Builds on
13 of 29 references.
References · 13
- 2023ChatGPT Outperforms Crowd-Workers for Text-Annotation Taskscited by 924
- 2023AnnoLLM: Making Large Language Models to Be Better Crowdsourced Annotatorscited by 178
- 2024MEGAnno+: A Human-LLM Collaborative Annotation Systemcited by 51
- 2023Large Language Models as Annotators: Enhancing Generalization of NLP Models at Minimal Costcited by 35
- 2022CySecBERT: A Domain-Adapted Language Model for the Cybersecurity Domaincited by 33
- 2024Knowledge Distillation in Automated Annotation: Supervised Text Classification with LLM-Generated Training Labelscited by 27
- 2019Processing Tweets for Cybersecurity Threat Awarenesscited by 11
- 2019Cyberthreat Detection from Twitter using Deep Neural Networkscited by 7
- 2024LLM Teacher-Student Framework for Text Classification With No Manually Annotated Data: A Case Study in IPTC News Topic Classificationcited by 7
- 2022Multi-Level Fine-Tuning, Data Augmentation, and Few-Shot Learning for Specialized Cyber Threat Intelligencecited by 5
- 2019Gathering Cyber Threat Intelligence from Twitter Using Novelty Classificationcited by 4
- 2025SecureBERT 2.0: Advanced Language Model for Cybersecurity Intelligencecited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2023Advancing TTP Analysis: Harnessing the Power of Large Language Models with Retrieval Augmented Generation
- 2025Toward Cybersecurity-Expert Small Language Models
- 2023Using Large Language Models for Cybersecurity Capture-The-Flag Challenges and Certification Questions
- 2026Large Language Models (LLMs) and Generative AI in Cybersecurity and Privacy: A Survey of Dual-Use Risks, AI-Generated Malware, Explainability, and Defensive Strategies
- 2025AthenaBench: A Dynamic Benchmark for Evaluating LLMs in Cyber Threat Intelligence
- 2025CTIConnect: A Benchmark for Retrieval-Augmented LLMs over Heterogeneous Cyber Threat Intelligence
- 2025Large Language Models in Cybersecurity: Applications, Vulnerabilities, and Defense Techniques
- 2025AttackSeqBench: Benchmarking the Capabilities of LLMs for Attack Sequences Understanding