Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Data Science
  3. PyTorch Geometric Signed Directed

PyTorch Geometric Signed Directed

MITPython1.1.1

A PyTorch Geometric extension library for signed and directed graph neural networks, embedding, and clustering methods.

Visit WebsiteGitHubGitHub
146 stars21 forks0 contributors

What is PyTorch Geometric Signed Directed?

PyTorch Geometric Signed Directed is an open-source extension library for PyTorch Geometric that provides specialized graph neural network models, data loaders, and utilities for analyzing signed and directed graphs. It solves the problem of applying deep learning to complex network structures where relationships have both direction (e.g., follower/following) and sign (e.g., trust/distrust), which are not handled by standard GNN libraries.

Target Audience

Researchers and practitioners in graph machine learning, network science, and data mining who need to work with signed social networks, directed citation graphs, trust networks, or any domain involving asymmetric and/or polarized relationships.

Value Proposition

It consolidates numerous state-of-the-art research papers into a single, PyTorch Geometric-compatible package, saving users from re-implementing complex methods and providing a standardized interface for experimenting with signed and directed graph tasks.

Overview

PyTorch Geometric Signed Directed is a signed/directed graph neural network extension library for PyTorch Geometric. The paper is accepted by LoG 2023.

Use Cases

Best For

  • Node classification in signed social networks (e.g., predicting user polarity)
  • Link sign prediction in trust/distrust networks
  • Clustering directed graphs based on flow imbalance
  • Generating synthetic signed/directed graphs for benchmarking
  • Applying spectral GNN methods using magnetic signed Laplacians
  • Semi-supervised learning on signed networks with limited labels

Not Ideal For

  • Projects focusing solely on undirected, unsigned graphs where standard GNN libraries suffice
  • Production systems requiring optimized, out-of-the-box models with minimal tuning
  • Teams lacking expertise in graph theory or recent GNN research papers
  • Environments with strict dependency constraints or limited GPU memory

Pros & Cons

Pros

Comprehensive Research Consolidation

Implements over 20 state-of-the-art signed and directed GNN models from papers like SDGNN, MagNet, and DiGCL, saving users from re-implementing complex algorithms.

Seamless PyTorch Geometric Integration

Built as an extension to PyTorch Geometric, it uses familiar data structures and workflows, ensuring compatibility with existing PyTorch codebases.

Extensive Data and Utility Suite

Includes data loaders for real-world datasets, specialized classes like SignedData, and preprocessing tools such as magnetic Laplacian computation for spectral methods.

Active Maintenance and Documentation

Shows active CI testing, code coverage, and detailed documentation on ReadTheDocs, indicating reliable project health and support.

Cons

Research-Oriented Complexity

Models are often direct implementations from academic papers with minimal abstraction, requiring deep understanding of graph theory and extensive hyperparameter tuning.

Limited Production Optimization

Focused on experimentation rather than deployment, lacking features like batch processing optimizations or streamlined APIs for scalable inference.

Niche Domain Specificity

Specialized for signed and directed graphs, making it overkill for general graph tasks and limiting community support compared to broader GNN libraries.

Frequently Asked Questions

Quick Stats

Stars146
Forks21
Contributors0
Open Issues0
Last commit1 month ago
CreatedSince 2021

Tags

#graph-neural-networks#node-classification#networks#graph-embedding#deep-learning#gnn#graph-clustering#python#link-prediction#directed-graphs#pytorch-geometric#machine-learning#pytorch

Built With

P
PyTorch Geometric
P
Python
P
PyTorch

Links & Resources

Website

Included in

Data Science3.4k
Auto-fetched 1 day ago

Related Projects

GitHub repositoryGitHub repository

Graph Neural Network Library for PyTorch

Stars23,786
Forks3,997
Last commit13 days ago
TRLTRL

Train transformer language models with reinforcement learning.

Stars18,498
Forks2,756
Last commit1 day ago
dgldgl

Python package built to ease deep learning on graph, on top of existing DL frameworks.

Stars14,275
Forks3,047
Last commit10 months ago
Graph NetsGraph Nets

Build Graph Nets in Tensorflow

Stars5,402
Forks776
Last commit3 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub