Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

DuConTE: Dual-Granularity Text Encoder with Topology-Constrained Attention for Text-attributed Graphs

About

Text-attributed graphs integrate semantic information of node texts with topological structure, offering significant value in various applications such as document classification and information extraction. Existing approaches typically encode textual content using language models (LMs), followed by graph neural networks (GNNs) to process structural information. However, during the LM-based text encoding phase, most methods not only perform semantic interaction solely at the word-token granularity, but also neglect the structural dependencies among texts from different nodes. In this work, we propose DuConTE, a dual-granularity text encoder with topology-constrained attention. The model employs a cascaded architecture of two pretrained LMs, encoding semantics first at the word-token granularity and then at the node granularity. During the self-attention computation in each LM, we dynamically adjust the attention mask matrix based on node connectivity, guiding the model to learn semantic correlations informed by the graph structure. Furthermore, when composing node representations from word-token embeddings, we separately evaluate the importance of tokens under the center-node context and the neighborhood context, enabling the capture of more contextually relevant semantic information. Extensive experiments on multiple benchmark datasets demonstrate that DuConTE achieves state-of-the-art performance on the majority of them.

Lexuan Liang, Tao Zou, Xuxiang Ta, Zekun Qiu• 2026

Related benchmarks

TaskDatasetResultRank
Node ClassificationCiteseer
Accuracy89.45
503
Node ClassificationwikiCS
Accuracy81.09
329
Link PredictionCiteseer
AUC93.29
162
Node ClassificationOGBN-Products
Accuracy78.8
88
Link PredictionCora
AUC (Cora)99.13
60
Node ClassificationArxiv 2023
Accuracy90.31
33
Link PredictionArxiv 2023--
14
Showing 7 of 7 rows

Other info

Follow for update