Papers › Quaternion Graph Neural Networks

Quaternion Graph Neural Networks

12 Aug 2020arXiv:2008.05089archive 2025-07-28

Dai Quoc Nguyen, Tu Dinh Nguyen, Dinh Phung

Recently, graph neural networks (GNNs) have become an important and active research direction in deep learning. It is worth noting that most of the existing GNN-based methods learn graph representations within the Euclidean vector space. Beyond the Euclidean space, learning representation and embeddings in hyper-complex space have also shown to be a promising and effective approach. To this end, we propose Quaternion Graph Neural Networks (QGNN) to learn graph representations within the Quaternion space. As demonstrated, the Quaternion space, a hyper-complex vector space, provides highly meaningful computations and analogical calculus through Hamilton product compared to the Euclidean and complex vector spaces. Our QGNN obtains state-of-the-art results on a range of benchmark datasets for graph classification and node classification. Besides, regarding knowledge graphs, our QGNN-based embedding model achieves state-of-the-art results on three new and challenging benchmark datasets for knowledge graph completion. Our code is available at: \url{https://github.com/daiquocnguyen/QGNN}.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2008.05089")

Code

Syntology Ran 1 of 13 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 13 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

daiquocnguyen/QGNN officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 1 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
12unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from daiquocnguyen/QGNN. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

get_graphpool daiquocnguyen/QGNN/QGNN_pytorch/train_graph_Sup.py official repository ran · our draft was wrong MIT (permissive) · 4cae232bef92f0a0 · report
dual_quaternion_mul daiquocnguyen/QGNN/QGNN_pytorch/q4gnn.py official repository unverified MIT (permissive) · 411bc7ed2673b4e2 · report
get_Adj_matrix daiquocnguyen/QGNN/QGNN_pytorch/train_graph_Sup.py official repository unverified MIT (permissive) · bccf348440a4b4f6 · report
get_batch_data daiquocnguyen/QGNN/QGNN_pytorch/train_graph_Sup.py official repository unverified MIT (permissive) · e8053c53d3622187 · report
label_smoothing daiquocnguyen/QGNN/QGNN_pytorch/model_graph_Sup.py official repository unverified MIT (permissive) · 2e11b2ec901deb90 · report
label_smoothing daiquocnguyen/QGNN/QGNN_tf/model_graph_Sup.py official repository unverified MIT (permissive) · a1da60d33ad42831 · report
load_graph_data daiquocnguyen/QGNN/QGNN_pytorch/utils_graph_cls.py official repository unverified MIT (permissive) · 3d69f09bf7f71547 · report
make_quaternion_mul daiquocnguyen/QGNN/QGNN_tf/layers.py official repository unverified MIT (permissive) · b8c3d4feb07d639d · report
make_quaternion_mul daiquocnguyen/QGNN/QGNN_pytorch/q4gnn.py official repository unverified MIT (permissive) · 8bf2d06489b59540 · report
quaternion_ffn daiquocnguyen/QGNN/QGNN_tf/layers.py official repository unverified MIT (permissive) · c2d829067e64da22 · report
separate_data daiquocnguyen/QGNN/QGNN_pytorch/utils_graph_cls.py official repository unverified MIT (permissive) · ceb57f4a0332851a · report
separate_data_idx daiquocnguyen/QGNN/QGNN_pytorch/utils_graph_cls.py official repository unverified MIT (permissive) · 44b8b01b4553e03f · report
sparse_mx_to_torch_sparse_tensor daiquocnguyen/QGNN/QGNN_pytorch/train_node_cls.py official repository unverified MIT (permissive) · 56364513ade08760 · report

Tasks

General ClassificationGraph ClassificationGraph EmbeddingKnowledge Graph CompletionKnowledge Graph EmbeddingKnowledge GraphsNode ClassificationText Classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections