paper-with-me

Papers

X-LogSMask: Expand Transformer for Graph-Structured Data

2026-07-02 · Leyan Li, Rennong Yang, Zhenxing Zhang, Liping Hu arxiv

Transformers have become general-purpose architectures, but their all-to-all self-attention is poorly matched to graph data, whose interactions are sparse, structured and multi-scale. Existing Graph Transformers address this mismatch through structural encodings, hybrid message-passing modules or learned attention constraints, often introducing additional complexity and limited interpretability. Here we introduce X-LogSMask, an explainable multi-head logarithmic structural mask that injects symmetrically normalized graph topology directly into attention logits. The logarithmic transform converts structural connectivity into a topology-aware gating signal, suppressing unsupported node interactions while preserving feature-dependent attention. By assigning different powers of the normalized adjacency matrix to different attention heads, X-LogSMask gives each head a defined structural radius and supports multi-hop information propagation within a single layer. We further show that a standard Transformer encoder can be interpreted as one-step message passing on a complete graph, motivating X-LogSMask as a topology-constrained alternative to unrestricted self-attention. Across 20 node-, edge- and graph-level benchmarks, Transformers equipped with X-LogSMask achieve state-of-the-art performance on 13 datasets and remain competitive in a lightweight one-layer configuration. These results show that simple, interpretable structural masks can make self-attention an effective graph-learning operator without changing the Transformer architecture. The code is available at https://github.com/LiLeyan-0120/X-LogSMask.

📄 PDF Abstract BibTeX arXiv:2607.01553

Code (1)

LiLeyan-0120/X-LogSMask ★ 1

Similar Papers 제목 키워드 기반

S$^2$Transformer: Scalable Structured Transformers for Global Station Weather Forecasting

2025-09-10 · Hongyi Chen, Xiucheng Li, Xinyang Chen, Yun Cheng 외 arxiv

Global Station Weather Forecasting (GSWF) is a key meteorological research area, critical to energy, aviation, and agriculture. Existing time series forecasting methods often ignore or unidirectionally model spatial corr…

Time Series ForecastingWeather Forecasting

EGGS-PTP: An Expander-Graph Guided Structured Post-training Pruning Method for Large Language Models

2025-08-13 · Omar Bazarbachi, Zijun Sun, Yanning Shen arxiv

As Large Language Models (LLMs) become more widely adopted and scale up in size, the computational and memory challenges involved in deploying these massive foundation models have grown increasingly severe. This undersco…

Graphtester: Exploring Theoretical Boundaries of GNNs on Graph Datasets

2023-06-30 · Eren Akbiyik, Florian Grötschla, Beni Egressy, Roger Wattenhofer

Graph Neural Networks (GNNs) have emerged as a powerful tool for learning from graph-structured data. However, even state-of-the-art architectures have limitations on what structures they can distinguish, imposing theore…

Higher-Order Expander Graph Propagation

2023-11-14 · Thomas Christie, Yu He

Graph neural networks operate on graph-structured data via exchanging messages along edges. One limitation of this message passing paradigm is the over-squashing problem. Over-squashing occurs when messages from a node's…

Open-domain Dialogue Generation Grounded with Dynamic Multi-form Knowledge Fusion

2022-04-24 · Feifei Xu, Shanlin Zhou, Xinpeng Wang, Yunpu Ma 외

Open-domain multi-turn conversations normally face the challenges of how to enrich and expand the content of the conversation. Recently, many approaches based on external knowledge are proposed to generate rich semantic …

Dialogue GenerationFormInformativenessKnowledge Graphs