Explorerโ€บData Scienceโ€บMachine Learning
Research PaperResearchia:202610.21059

Efficient Edge-aware Attention Network for Graph Generation

Vincent Jung

Abstract

Graph generative models commonly use graph-specific Transformer architectures to jointly update node and edge features. However, these architectures do not directly benefit from recent hardware-aware attention implementations, limiting their scalability. The adaptation is, however, non-trivial: edge and graph-level features must be injected into pairwise attention scores, graph masks must be respected, and dynamic edge updates remain a major source of quadratic memory usage. We propose an edge-a...

Submitted: October 21, 2026Subjects: Machine Learning; Data Science

Description / Details

Graph generative models commonly use graph-specific Transformer architectures to jointly update node and edge features. However, these architectures do not directly benefit from recent hardware-aware attention implementations, limiting their scalability. The adaptation is, however, non-trivial: edge and graph-level features must be injected into pairwise attention scores, graph masks must be respected, and dynamic edge updates remain a major source of quadratic memory usage. We propose an edge-aware attention layer for graph generation that incorporates structural information through head-wise score modulation, while updating edge representations with a lightweight residual mechanism that retains attention-score dependent edge updates. This layer can be effectively implemented using PyTorch's FlexAttention. We achieve similar generation quality to our baseline while reducing peak GPU memory by around 65% and substantially improving training and sampling throughput. These results suggest that the proposed architecture is a practical step toward scalable graph foundation models.


Source: arXiv:2610.28618v1 - http://arxiv.org/abs/2610.28618v1 PDF: https://arxiv.org/pdf/2610.28618v1 Original Link: http://arxiv.org/abs/2610.28618v1

Please sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Access Paper
View Source PDF
Submission Info
Date:
Oct 21, 2026
Topic:
Data Science
Area:
Machine Learning
Comments:
0
Bookmark