mlsanityData to 14 Oct 2026

A Novel GPT-Based Framework for Anomaly Detection in System Logs

arXiv 2510.16044 ↗First posted 16 Oct 2025cs.CR cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Identification of anomalous events within system logs constitutes a pivotal element within the frame- work of cybersecurity defense strategies. However, this process faces numerous challenges, including the management of substantial data volumes, the distribution of anomalies, and the precision of con- ventional methods. To address this issue, the present paper puts forward a proposal for an intelligent detection method for system logs based on Genera- tive Pre-trained Transformers (GPT). The efficacy of this approach is attributable to a combination of structured input design and a Focal Loss op- timization strategy, which collectively result in a substantial enhancement of the performance of log anomaly detection. The initial approach involves the conversion of raw logs into event ID sequences through the use of the Drain parser. Subsequently, the Focal Loss loss function is employed to address the issue of class imbalance. The experimental re- sults demonstrate that the optimized GPT-2 model significantly outperforms the unoptimized model in a range of key metrics, including precision, recall, and F1 score. In specific tasks, comparable or superior performance has been demonstrated to that of the GPT-3.5 API.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 26 of its 46 references that are in the map. First posted on arXiv 16 Oct 2025.

Builds on

26 of 46 references.

References · 26

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2023Challenges and Applications of Large Language Modelscited by 254
  5. 2023On the Robustness of ChatGPT: An Adversarial and Out-of-distribution Perspectivecited by 211
  6. 2021LogBERT: Log Anomaly Detection via BERTcited by 118
  7. 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 68
  8. 2022Log-based Anomaly Detection with Deep Learning: How Far Are We?cited by 57
  9. 2018Tools and Benchmarks for Automated Log Parsingcited by 56
  10. 2021Experience Report: Deep Learning-based System Log Analysis for Anomaly Detectioncited by 37
  11. 2021LAnoBERT: System Log Anomaly Detection based on BERT Masked Language Modelcited by 30
  12. 2024Interaction-Aware Vulnerability Detection in Smart Contract Bytecodescited by 6
14 more
  1. 2025Malicious Code Detection in Smart Contracts via Opcode Vectorizationcited by 6
  2. 2025Penetration Testing for System Security: Methods and Practical Approachescited by 4
  3. 2025Blockchain security based on cryptography: a reviewcited by 2
  4. 2025Blockchain Application in Metaverse: A Reviewcited by 1
  5. 2025Mining Characteristics of Vulnerable Smart Contracts Across Lifecycle Stagescited by 1
  6. 2025AI-Based Vulnerability Analysis of NFT Smart Contractscited by 1
  7. 2025When Blockchain Meets Crawlers: Real-time Market Analytics in Solana NFT Marketscited by 1
  8. 2025Information Security Based on LLM Approaches: A Reviewcited by 1
  9. 2025UEChecker: Detecting Unchecked External Call Vulnerabilities in DApps via Graph Analysiscited by 1
  10. 2025MultiCFV: Detecting Control Flow Vulnerabilities in Smart Contracts Leveraging Multimodal Deep Learningcited by 1
  11. 2025NATLM: Detecting Defects in NFT Smart Contracts Leveraging LLMcited by 1
  12. 2025Security Analysis of ChatGPT: Threats and Privacy Riskscited by 1
  13. 2025Risk Assessment and Security Analysis of Large Language Modelscited by 1
  14. 2025MoveScanner: Analysis of Security Risks of Move Smart Contractscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.