Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Decision Transformer for solving optimal EV charging problems using offline data.

License

Notifications You must be signed in to change notification settings

StavrosOrf/DT4EVs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

113 Commits

Repository files navigation

πŸš€ GNN-DT: Graph Neural Network Enhanced Decision Transformer for Efficient Optimization in Dynamic Environments

✨ Introduction

GNN-DT (Graph Neural Network Enhanced Decision Transformer) is a next-generation AI framework that seamlessly blends the power of Graph Neural Networks (GNNs) with Decision Transformers (DTs) to redefine decision-making in dynamic environments.

Read teh paper published in "Energy and AI":

πŸ”Ή Why GNN-DT?

  • 🌟 Tackles scalability issues and sparse rewards
  • πŸ”„ Adapts to ever-changing state-action spaces
  • ⚑ Achieves unparalleled efficiency and robustness

πŸ’‘ By leveraging the permutation-equivariant nature of GNNs and introducing an innovative residual connection mechanism, GNN-DT sets a new benchmark in optimization and AI-driven decision-making.

πŸ“Œ This repository provides everything you need to explore and implement GNN-DT, including:

  • βœ… Dataset generation
  • βœ… Model training
  • βœ… Evaluation scripts

Whether applied to electric vehicle (EV) charging optimization or other complex decision-making tasks, GNN-DT is your gateway to the AI-driven optimization. πŸš€

image


🌟 Main Advantages

1. Enhanced Sample Efficiency

  • πŸ“ˆ Learns from previously collected trajectories, reducing the need for extensive online interactions.
  • 🎯 Effectively addresses the sparse rewards limitation of traditional RL algorithms.

2. Robust Generalization

  • 🌍 GNN-based embeddings allow for effective adaptation to unseen environments.
  • πŸ”„ Handles dynamic state-action spaces with varying numbers of entities over time.

3. Superior Performance

  • πŸ† Outperforms standard DT and RL baselines on real-world optimization tasks.
  • πŸš€ Requires significantly fewer training trajectories while achieving higher rewards.

4. Scalability

  • πŸ”’ Maintains performance across different problem sizes without retraining.
  • βš™οΈ Efficiently scales from small-scale to large-scale environments, as demonstrated in EV charging applications.

image

image


πŸ“– Citation

If you find this repository useful in your research, please cite our paper:

@misc{orfanoudakis2025gnndt,
 title={GNN-DT: Graph Neural Network Enhanced Decision Transformer for Efficient Optimization in Dynamic Environments}, 
 author={Stavros Orfanoudakis and Nanda Kishor Panda and Peter Palensky and Pedro P. Vergara},
 year={2025},
 eprint={2502.01778},
 archivePrefix={arXiv},
 primaryClass={cs.LG},
 url={https://arxiv.org/abs/2502.01778}, 
}

For any inquiries or contributions, feel free to open an issue or submit a pull request! πŸ’‘

About

A Decision Transformer for solving optimal EV charging problems using offline data.

Topics

Resources

License

Stars

Watchers

Forks

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /