Graph Neural Networks • Spatio-Temporal Transformers • Digital Twin • Explainable AI • Multi-Task Learning • Uncertainty Estimation
HaiFormer-6G is a research-oriented deep learning framework designed for AI-native autonomous 6G network management.
Unlike conventional approaches that separately employ Graph Neural Networks (GNNs), Transformers, or Digital Twins, HaiFormer-6G integrates these components into a closed-loop hierarchical intelligence engine capable of continuously understanding, predicting, explaining, and adapting to rapidly changing network conditions.
The framework models the communication network as a dynamic graph whose topology evolves with real-time telemetry, enabling intelligent resource management, traffic prediction, anomaly detection, and autonomous decision-making.
Future 6G networks are expected to operate under strict performance constraints requiring massive topology dynamics, AI-native control, zero-touch management, self-optimization, self-healing, and explainable decision-making.
While existing literature features isolated applications of Digital Twins, Graph Neural Networks, or Transformer architectures, most models target singular tasks or lack architectural integration, leaving open challenges in continual adaptation, scalability, explainability, uncertainty estimation, autonomous operation, and multi-task intelligence.
Research Question: How can an AI-native 6G network autonomously adapt to rapidly changing network conditions using a hierarchical Graph–Transformer architecture while providing explainable and confidence-aware decisions?
- Hierarchical AI-Native Intelligence Engine that unifies non-Euclidean spatial learning, temporal dependency modeling, topology evolution, and intelligent network management within a single optimization framework.
-
Dynamic Graph Generation from live network telemetry.
-
Cross-Attention Fusion between graph and temporal representations.
-
Heterogeneous Multi-Task Learning for:
- Traffic Matrix Prediction
- QoS Jitter Estimation
- Network Anomaly Detection
- Bottleneck Detection
-
Confidence-Aware Prediction using uncertainty estimation.
-
Built-in Explainable AI (XAI) for interpretable decision making.
-
Closed-Loop Digital Twin interaction for continuous network adaptation.
Live 6G Network
│
▼
Dynamic Network Telemetry Stream
│
▼
Dynamic Graph Constructor
│
▼
Spatial Graph Neural Network Encoder
│
▼
Hierarchical Transformer Encoder
│
▼
Cross-Attention Fusion Module
│
▼
Shared Latent Representation
│
┌──────────────┬──────────────┬──────────────┬──────────────┐
│ Traffic │ QoS │ Anomaly │ Bottleneck │
│ Prediction │ Prediction │ Detection │ Detection │
└──────────────┴──────────────┴──────────────┴──────────────┘
│
▼
Uncertainty Estimation Layer
│
▼
Explainability Module (XAI)
│
▼
Autonomous Decision Engine
│
▼
Closed-Loop Digital Twin Feedback
HaiFormer-6G/
│
├── model.ipynb
├── geant
├── best_haiformer6g_static_aligned_60ep.pt
├── academic_outputs_png/
│ ├── attention_heatmap.png
│ ├── confusion_matrix.png
│ ├── residual_distribution.png
│ ├── accuracy_curve.png
│ └── traffic_prediction.png
├── README.md
└── LICENSE
- Hierarchical Graph–Transformer Architecture
- Dynamic Graph Learning
- Multi-Task Deep Learning
- Cross-Attention Fusion
- Digital Twin Integration
- Explainable AI
- Confidence-Aware Prediction
- Publication-Quality Visualization
- End-to-End Research Pipeline
git clone https://github.com/mahins32/HaiFormer-6G.git
cd HaiFormer-6G
pip install -r requirements.txtjupyter notebook notebooks/main_pipeline.ipynbRun the notebook sequentially to reproduce:
- Dataset Preparation
- Graph Construction
- Model Training
- Evaluation
- Visualization
- Publication Figures
The framework is developed using the GÉANT backbone network traffic dataset, represented as dynamic graph sequences for spatio-temporal learning.
- Online Continual Learning
- Federated AI-Native 6G
- Reinforcement Learning Integration
- Large Network Foundation Models
- Self-Evolving Digital Twins
- Multi-Agent Network Intelligence
@misc{haiformer6g2026,
title={{HaiFormer-6G}: Hierarchical {AI}-Native Transformer-{GNN} Framework for Autonomous {6G} Networks},
author={Mahin, Saiful Islam},
year={2026},
note={Open-Source Research Repository},
howpublished={https://github.com/mahins32/HaiFormer-6G}
}Released under the MIT License.
Saiful Islam Mahin
Department of Electrical and Electronic Engineering
University of Asia Pacific
Email: mahinss399@gmail.com