Skip to main content
ToolPotion
AI Advisor
Submit a Tool (Free)

CompGCN

AI GitHub ReposAI Models & LLMsOpen source · Linux, macOS, Windows

CompGCN is a PyTorch implementation of Composition-Based Multi-Relational Graph Convolutional Networks. It enables advanced graph representation learning for tasks like knowledge graph link prediction, offering flexible composition operations and compatibility with various scoring functions.

View Repository
Share
View Repository
Share

CompGCN (Composition-Based Multi-Relational Graph Convolutional Networks) is an AI model designed for multi-relational graph representation learning. Developed by malllabiisc and presented at ICLR 2020, this PyTorch implementation focuses on enhancing graph convolutional networks for tasks such as knowledge graph link prediction.

Read More

The core innovation of CompGCN lies in its composition operation, denoted by φ(·). Given node and relation embeddings, CompGCN applies this composition function over each edge in a node's neighborhood. The resulting composed embeddings are then convolved with specific filters for original and inverse relations. The model aggregates messages from neighbors to update the central node's embedding and transforms relation embeddings using a dedicated weight matrix. This approach allows for richer representations of complex relational data.

CompGCN is compatible with PyTorch 1.0 and Python 3.x. The project provides datasets like FB15k-237 and WN18RR, commonly used for knowledge graph link prediction, which are included in the data directory. Installation of dependencies is managed through a `requirements.txt` file. The repository includes scripts and commands for reproducing reported results, demonstrating its application with different scoring functions such as TransE, DistMult, and ConvE, and various composition operations including subtraction, multiplication, and circular correlation.

This model is particularly valuable for researchers and practitioners working with large-scale knowledge graphs and complex relational structures. Its ability to handle multi-relational data effectively makes it suitable for applications requiring deep understanding of connections and relationships within data. The project's open-source nature on GitHub facilitates collaboration and further development in the field of graph representation learning.

  • CategoryAI Models & LLMs
  • Pricing ModelOpen source
  • DeploymentCloud, Self-hosted
  • PlatformsLinux, macOS, Windows

  • Composition-based multi-relational graph convolutional networks

  • Supports various composition operations: subtraction, multiplication, circular correlation

  • Compatible with PyTorch 1.0 and Python 3.x

  • Includes datasets for knowledge graph link prediction (FB15k-237, WN18RR)

  • Reproducible results for link prediction tasks

  • Utilizes specific filters for original and inverse relations

  • Aggregates neighbor messages for node embedding updates

  • Transforms relation embeddings with dedicated weight matrices

  • Open-source implementation available on GitHub

  1. Setup Environment: Install dependencies using `requirements.txt`.

  2. Prepare Data: Execute `./setup.sh` for dataset extraction and folder setup.

  3. Configure Training: Select score function, composition operation, and hyperparameters.

  4. Run Experiments: Execute `run.py` with specified arguments for link prediction.

  5. Reproduce Results: Use provided commands to replicate reported performance.

  6. Integrate Model: Adapt the model architecture and training scripts for custom applications.

  • Knowledge Graph Link Prediction
  • Graph Representation Learning
  • Multi-Relational Data Analysis
  • Recommendation Systems
  • Semantic Network Analysis

CompGCN Reviews

Loading...

Popular AI Tools Like CompGCN

This project provides a Keras-based implementation of Relational Graph Convolutional Networks (R-GCNs). It is designed for semi-supervised node classification on directed…

AI Models & LLMs
View Tool

LightGCN

AI GitHub Repos

LightGCN is a simplified Graph Convolutional Network designed for recommendation systems. It focuses on the essential neighborhood aggregation component for collaborative…

AI Models & LLMs
View Tool

AI GitHub Repos

Simplified Graph Convolutional Network designed for recommendation systems. It focuses on the essential neighborhood aggregation component for collaborative…LightGCN is a simplified Graph Convolutional Network designed for recommendation systems. It focuses on the essential neighborhood aggregation component for collaborative…

AI Models & LLMs
See the Top 250 AI GitHub Repos

This repository provides the official implementation for the "Simplifying Graph Convolutional Networks" paper. It offers a streamlined Graph Convolutional Network (GCN) model that…

AI Models & LLMs
View Tool

Graph Convolutional Networks (GCNs) are a type of neural network designed to process data structured as graphs. They generalize convolutional neural networks to graph-structured…

Other AI Tools
View Tool

Type of neural network designed to process data structured as graphs. They generalize convolutional neural networks to graph-structured…Graph Convolutional Networks (GCNs) are a type of neural network designed to process data structured as graphs. They generalize convolutional neural networks to graph-structured…

Other AI Tools
See the Top 250 AI GitHub Repos

SEAL Link Prediction

AI GitHub Repos

SEAL is a novel framework for link prediction that transforms the problem into a subgraph classification task. It extracts h-hop enclosing subgraphs and node information matrices,…

AI Models & LLMs
View Tool

AI GitHub Repos

Novel framework for link prediction that transforms the problem into a subgraph classification task. It extracts h-hop enclosing subgraphs and node information matrices,…SEAL is a novel framework for link prediction that transforms the problem into a subgraph classification task. It extracts h-hop enclosing subgraphs and node information matrices,…

AI Models & LLMs
See the Top 250 AI GitHub Repos

Temporal Graph Networks (TGNs) offer a generic, efficient framework for deep learning on dynamic graphs. This Python-based library utilizes novel memory modules and graph-based…

AI Models & LLMs
View Tool

Offer a generic, efficient framework for deep learning on dynamic graphs. This Python-based library utilizes novel memory modules and graph-based…Temporal Graph Networks (TGNs) offer a generic, efficient framework for deep learning on dynamic graphs. This Python-based library utilizes novel memory modules and graph-based…

AI Models & LLMs
See the Top 250 AI GitHub Repos

Neural Graph Collaborative Filtering (NGCF) is a recommendation framework leveraging graph neural networks. It explicitly encodes collaborative signals through high-order…

AI Models & LLMs
View Tool

Recommendation framework leveraging graph neural networks. It explicitly encodes collaborative signals through high-order…Neural Graph Collaborative Filtering (NGCF) is a recommendation framework leveraging graph neural networks. It explicitly encodes collaborative signals through high-order…

AI Models & LLMs
See the Top 250 AI GitHub Repos

Vision GNN (ViG)

AI GitHub Repos

Vision GNN (ViG) is a PyTorch implementation of Vision Graph Neural Networks developed by Huawei Noah's Ark Lab. It offers efficient AI backbones for image processing tasks,…

AI Models & LLMs
View Tool

AI GitHub Repos

PyTorch implementation of Vision Graph Neural Networks developed by Huawei Noah's Ark Lab. It offers efficient AI backbones for image processing tasks,…Vision GNN (ViG) is a PyTorch implementation of Vision Graph Neural Networks developed by Huawei Noah's Ark Lab. It offers efficient AI backbones for image processing tasks,…

AI Models & LLMs
See the Top 250 AI GitHub Repos
1 of 8