Anomaly Detection and Explainability with RAG and System Behaviour
Authors
II MCA/Master of Computer Applications, PSG College of Arts & Science, Coimbatore, Tamil Nadu (India)
Associate Professor & HOD/Master of Computer Applications, PSG College of Arts & Science, Coimbatore, Tamil Nadu (India)
Article Information
DOI: 10.51583/IJLTEMAS.2026.151100037
Subject Category: Computer Science
Volume/Issue: 15/11 | Page No: 501-510
Publication Timeline
Submitted: 2026-11-08
Accepted: 2026-11-13
Published: 2026-11-25
Abstract
Signature and rules based security software is good for ob. Served activities are similar to what was mentioned before; however they have some differences). Coverage is low for unknown behaviors. This project This paper discusses an alternative method for detecting an omalies within systems. Activity helps make the sea lertsmore understandable by activity itself. An The unsupervised Isolation Forests are used for synthetic data. generated dataset containing CPU usage, network traffic, login Attempts, counts of processes and files accessed QUESTBY. For each flagged obser Vation is an algorithm that transforms features to for, as a text-based search engine.And fetches relevant information about security awareness wareness BYC. base. Transformer Sentences Embedding Support for Simulation (FAISS).Search for illicit activities on content like MITRE ATTCK, etc. OWASP Top 10, malware behavior and network anomaly. A LangChain-based retrieval-augmented generation (RAG) work The flow goes through it to retrieve a context for rules-based threats detection.To an open source language model hosted on groq for producing readability of text.explanation. A Streamlit dashboard presents anomaly scores Chartsarts Disposter charts, an output sheet of data analysis report tables, explanation sheets and questions answerers. individual anomalies. Reported, as a synthetic data test report. Accuracy was 0.9990, Precision is 0.9524, and Specificity is 1.0000. Recall of 0.9756 F1-score and one false positives without any other errors. False negatives for 1,020 cases. These results A controlled controlled synthetic evaluation instead of an actual product. security performance. The prototype illustrates how behavioral Detection of detection and retrieval of domain knowledge for better results. Alerts are investigated by L1 IT professionals and other non-specialists. Validation BY European validation of representative real world log is still needed.
Keywords
anomaly detection, Isolation Forest, retrievalaugmented generation, explainable AI, cybersecurity, MITRE ATT&CK, FAISS, system behavior analytics
This article is licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0).
Downloads
References
1. F. T. Liu, K. M. Ting, and Z.-H. Zhou, ‘”Isolation Forest” by Zhou is published in Extit Proceedings of the Eighth IEEE International Conference on Data Mining, 2008, pp. [Google Scholar] [Crossref]
2. P. Lewis et al., ”Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks,” in extitAdvances in Neural Information Processing Systems, vol. 33, 2020, pages 9459-9474. [Google Scholar] [Crossref]
3. N. Reimers and I. Gurevych, ”Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks,” in extitProceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing, 2019, pp. 3982–3992, doi: 10.18653/v1/D19-1410. [Google Scholar] [Crossref]
4. J. Johnson, M. Douze, and H. Jegou, “Billion-scale´ similarity search with GPUs,” IEEE Transactions on Big Data, vol. 7, no. 3, pp. 535–547, 2021, doi: 10.1109/TBDATA.2019.2921572. [Google Scholar] [Crossref]
5. J. Johnson, M. Douze, and H. Jegou, ”Billion-scale´ similarity search with GPUs,” extitIEEE Transactions on Big Data, vol.7, no. 3, pp. 535–547, 2021, doi: 10.1109/TBDATA.2019.2921572 [Google Scholar] [Crossref]
6. OWASP Foundation, “OWASP Top 10,” [Online]. Available: https://owasp.org/ www-project-top-ten/. Accessed: Oct. 7,2026. [Google Scholar] [Crossref]
7. Scikit-learn Developers, “IsolationForest,” Scikitlearn User Guide and API Reference. [Online]. Available: https://scikit-learn.org/stable/ modules/generated/sklearn.ensemble. IsolationForest.html. Accessed: Oct. 7, 2026. [Google Scholar] [Crossref]
8. Streamlit, Inc., “Streamlit Documentation.” [On- line]. Available: https://docs.streamlit.io/. Accessed: Oct. 7, 2026. [Google Scholar] [Crossref]
9. LangChain, “LangChain Documentation.” [Online]. Available: https://python.langchain. com/docs/introduction/. Accessed: Oct. 7, 2026. [Google Scholar] [Crossref]
10. Groq, Inc., “Groq API Documentation.” [Online]. Available: https://console.groq.com/docs/. Accessed: Oct. 7, 2026. [Google Scholar] [Crossref]
Metrics
Views & Downloads
Similar Articles
- Explainable 3D Convolutional Neural Networks Spatiotemporal Learning for Human Handshake Interaction Recognition
- Comprehensive Empirical Benchmarking of Twelve Sorting Algorithms Across Comparison-Based, Non-Comparison-Based, and Hybrid Paradigms: A Multi-Dimensional Performance Model for Algorithm Selection at Practical Data Scales (n up to 100,000)
- Reinforcement Learning for Personalized Insulin Dosing: A Comparative Study of A2C, SAC and PPO on Real-World Clinical Data
- Faculty Milestone Manager and Appraisal System: A Web-Based Solution Part 1
- Improving Diabetes Prediction Through IQR Outlier Treatment an Evaluation of XGBoost And LightGBM Models
This work is licensed under CC BY 4.0