Development and Evaluation of a Novel Framework Integrating LLMs, GNNs, and RL for Network Traffic Prediction and Optimization
This project provides an end-to-end research framework integrating:
- LLM-based semantic parsing of network traffic logs.
- Graph Neural Network (PyTorch Geometric) for traffic load prediction.
- Reinforcement Learning (Stable-Baselines3) for routing / resource optimization.
- Integrated loop for adaptive decision making.
- Modular architecture (
src/llm,src/gnn,src/rl,src/pipeline). - Synthetic data generation and hooks for real datasets (CAIDA, NSL-KDD).
- Config-driven experimentation via
configs/config.yaml. - Reproducible training scripts.
- Evaluation metrics and visualization utilities.
python3 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txtpython data/synthetic/generate_synthetic.py --num-nodes 12 --timesteps 500Outputs:
data/processed/traffic_timeseries.parquetdata/processed/topology_edges.csvdata/processed/logs.jsonl
python src/gnn/train_gnn.py --config configs/config.yamlpython src/rl/train_rl.py --config configs/config.yamlpython src/pipeline/integrated_loop.py --config configs/config.yamlArtifacts:
- Metrics JSON in
outputs/reports/ - Plots in
outputs/figures/
You may integrate:
- CAIDA Anonymized Internet Traces (requires agreement)
- NSL-KDD (intrusion detection semantics)
- MAWI traffic archives
- RIPE Atlas ping/latency for augmentation
Convert raw data into:
traffic_timeseries.parquet(columns: time, src, dst, bytes, packets, protocol, ...)topology_edges.csv(src, dst, capacity)logs.jsonl(raw textual lines for LLM parsing)
- Replace static GNN with temporal architectures (TGN, DCRNN).
- Multi-objective RL (Pareto frontier of latency vs energy).
- Graph-level policy networks with graph attention policy encoding.
- Continual learning for concept drift.
- Seed control in config.
- Deterministic PyTorch flags (note: full determinism may degrade GPU performance).
- Logged environment + model hyperparameters.
Odoh, J. (2025). Development and evaluation of a novel framework integrating LLMs, GNNs, and RL for network traffic prediction and optimization. Retrieved October 18, 2025
Apache 2.0 (adjust as needed).