GQWformer: A Quantum-based Transformer for Graph Representation Learning

Lei Yu, Hongyang Chen, Jingsong Lv, Linyao Yang
12/3/2024
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Graph Transformers (GTs) have demonstrated significant advantages in graph representation learning through their global attention mechanisms. However, the self-attention mechanism in GTs tends to neglect the inductive biases inherent in graph structures, making it chanllenging to effectively capture essential structural information. To address this issue, we propose a novel approach that integrate graph inductive bias into self-attention mechanisms by leveraging quantum technology for structural encoding. In this paper, we introduce the Graph Quantum Walk Transformer (GQWformer), a groundbreaking GNN framework that utilizes quantum walks on attributed graphs to generate node quantum states. These quantum states encapsulate rich structural attributes and serve as inductive biases for the transformer, thereby enabling the generation of more meaningful attention scores. By subsequently incorporating a recurrent neural network, our design amplifies the model's ability to focus on both local and global information. We conducted comprehensive experiments across five publicly available datasets to evaluate the effectiveness of our model. These results clearly indicate that GQWformer outperforms existing state-of-the-art graph classification algorithms. These findings highlight the significant potential of integrating quantum computing methodologies with traditional GNNs to advance the field of graph representation learning, providing a promising direction for future research and applications.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{yu2024gqwformer,
  title  = {GQWformer: A Quantum-based Transformer for Graph Representation Learning},
  author = {Lei Yu and Hongyang Chen and Jingsong Lv and Linyao Yang},
  year   = {2024},
  eprint = {2412.02285},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.02285v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.02285.svg)](https://codeofpaper.com/paper/2412.02285)

Discussion