CoolFace
Apppublic

Getaye/lcga-self-healing-ids

sourceHugging Facemitupdated 4mo agoView on Hugging Face
1likes
App README

LCGA Self-Healing IDS

A Lightweight Hybrid Deep Learning Framework for Real-Time Cyber Threat Detection and Intent-Aware Self-Healing Network Security

MSc Thesis — Addis Ababa University, Department of Computer Science

![Live Demo](https://huggingface.co/spaces/Getaye/lcga-self-healing-ids) ![License: MIT](LICENSE) ![GitHub Stars](https://github.com/getaye21/lcga-self-healing-ids)

A lightweight, explainable hybrid deep-learning framework for real-time cyber threat detection and intent-aware self-healing network security.

Table of Contents

Highlights

MetricValue
LCGA Accuracy99.67%
Model Parameters41,260
MTTR Reduction87% vs open-loop
Intent Satisfaction Rate (ISR)87.6%
SHAP Speedup vs LIME~11,635×
DT Surrogate Fidelity99.64%

Architecture

text
Network Traffic
   ↓
LCGA Detector (~41K params)
Conv1D → GRU → Attention
Multi-class classification (12 CICIDS2017 classes)
   ↓
DT Surrogate + SHAP
Real-time explanations
   ↓
MAPE-K Orchestrator
Monitor → Analyze → Plan → Execute → Verify
   ↓
Healing Action
BLOCK_IP / RATE_LIMIT / ...

Key Contributions

  1. 1.LCGA: A lightweight CNN-GRU-Attention model with 41K parameters, achieving 99.67% accuracy on CICIDS2017.
  2. 2.DT Surrogate + SHAP: Real-time explanations via a distilled Decision Tree surrogate, with major speed gains over LIME.
  3. 3.MAPE-K Closed Loop: Adaptive verification windows reduce MTTR while improving self-healing behavior.
  4. 4.Reproducibility: Code, experiments, and demo are organized for easy reuse.

Live Demo

Try the interactive dashboard on Hugging Face Spaces: lcga-self-healing-ids

Repository Structure

text
lcga-self-healing-ids/
├── .devcontainer/
├── .github/
├── .streamlit/
├── config/
│   ├── config.yaml
│   └── intents.yaml
├── models/
├── notebooks/
├── results/
├── src/
│   ├── preprocessing/
│   ├── models/
│   ├── xai/
│   ├── mape_k/
│   ├── evaluation/
│   └── utils/
├── .gitignore
├── LICENSE
├── README.md
├── app.py
├── packages.txt
└── requirements.txt

Kaggle Notebooks

#NotebookLink
00Full EDAKaggle
01PreprocessingKaggle
02Baseline ModelsKaggle
03LCGA TrainingKaggle
04DT Surrogate + SHAP + LIMEKaggle
05MAPE-K Orchestrator + EvaluationKaggle

Quick Start

bash
git clone https://github.com/getaye21/lcga-self-healing-ids.git
cd lcga-self-healing-ids
pip install -r requirements.txt
streamlit run app.py

Authors

  • —Getaye Fiseha — Lead
  • —Mersen Getu — Co-investigator
  • —Chara Girma — Co-investigator
  • —Advisor: Dr. Yaregal A.
  • —Institution: Addis Ababa University, 2026

Citation

bibtex
@mastersthesis{fiseha2026lcga,
  title   = {A Lightweight Hybrid Deep Learning Framework for Real-Time Cyber Threat Detection and Intent-Aware Self-Healing Network Security},
  author  = {Fiseha, Getaye and Getu, Mersen and Girma, Chara},
  school  = {Addis Ababa University},
  year    = {2026},
  type    = {MSc Thesis}
}

License

MIT License. See the LICENSE file.