Improving LLM Reasoning with Homophily-aware Structural and Semantic Text-Attributed Graph Compression

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Di, Zijun, Lu, Bin, Kang, Huquan, Fu, Luoyi, Ding, Jiaxin, Gan, Xiaoying, Zhou, Lei, Wang, Xinbing, Zhou, Chenghu
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914259940671488
author Di, Zijun
Lu, Bin
Kang, Huquan
Fu, Luoyi
Ding, Jiaxin
Gan, Xiaoying
Zhou, Lei
Wang, Xinbing
Zhou, Chenghu
author_facet Di, Zijun
Lu, Bin
Kang, Huquan
Fu, Luoyi
Ding, Jiaxin
Gan, Xiaoying
Zhou, Lei
Wang, Xinbing
Zhou, Chenghu
contents Large language models (LLMs) have demonstrated promising capabilities in Text-Attributed Graph (TAG) understanding. Recent studies typically focus on verbalizing the graph structures via handcrafted prompts, feeding the target node and its neighborhood context into LLMs. However, constrained by the context window, existing methods mainly resort to random sampling, often implemented via dropping node/edge randomly, which inevitably introduces noise and cause reasoning instability. We argue that graphs inherently contain rich structural and semantic information, and that their effective exploitation can unlock potential gains in LLMs reasoning performance. To this end, we propose Homophily-aware Structural and Semantic Compression for LLMs (HS2C), a framework centered on exploiting graph homophily. Structurally, guided by the principle of Structural Entropy minimization, we perform a global hierarchical partition that decodes the graph's essential topology. This partition identifies naturally cohesive, homophilic communities, while discarding stochastic connectivity noise. Semantically, we deliver the detected structural homophily to the LLM, empowering it to perform differentiated semantic aggregation based on predefined community type. This process compresses redundant background contexts into concise community-level consensus, selectively preserving semantically homophilic information aligned with the target nodes. Extensive experiments on 10 node-level benchmarks across LLMs of varying sizes and families demonstrate that, by feeding LLMs with structurally and semantically compressed inputs, HS2C simultaneously enhances the compression rate and downstream inference accuracy, validating its superiority and scalability. Extensions to 7 diverse graph-level benchmarks further consolidate HS2C's task generalizability.
format Preprint
id arxiv_https___arxiv_org_abs_2601_08187
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Improving LLM Reasoning with Homophily-aware Structural and Semantic Text-Attributed Graph Compression
Di, Zijun
Lu, Bin
Kang, Huquan
Fu, Luoyi
Ding, Jiaxin
Gan, Xiaoying
Zhou, Lei
Wang, Xinbing
Zhou, Chenghu
Artificial Intelligence
Large language models (LLMs) have demonstrated promising capabilities in Text-Attributed Graph (TAG) understanding. Recent studies typically focus on verbalizing the graph structures via handcrafted prompts, feeding the target node and its neighborhood context into LLMs. However, constrained by the context window, existing methods mainly resort to random sampling, often implemented via dropping node/edge randomly, which inevitably introduces noise and cause reasoning instability. We argue that graphs inherently contain rich structural and semantic information, and that their effective exploitation can unlock potential gains in LLMs reasoning performance. To this end, we propose Homophily-aware Structural and Semantic Compression for LLMs (HS2C), a framework centered on exploiting graph homophily. Structurally, guided by the principle of Structural Entropy minimization, we perform a global hierarchical partition that decodes the graph's essential topology. This partition identifies naturally cohesive, homophilic communities, while discarding stochastic connectivity noise. Semantically, we deliver the detected structural homophily to the LLM, empowering it to perform differentiated semantic aggregation based on predefined community type. This process compresses redundant background contexts into concise community-level consensus, selectively preserving semantically homophilic information aligned with the target nodes. Extensive experiments on 10 node-level benchmarks across LLMs of varying sizes and families demonstrate that, by feeding LLMs with structurally and semantically compressed inputs, HS2C simultaneously enhances the compression rate and downstream inference accuracy, validating its superiority and scalability. Extensions to 7 diverse graph-level benchmarks further consolidate HS2C's task generalizability.
title Improving LLM Reasoning with Homophily-aware Structural and Semantic Text-Attributed Graph Compression
topic Artificial Intelligence
url https://arxiv.org/abs/2601.08187