arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.08187cs.AI
收藏

利用同质性感知的结构和语义文本属性图压缩提升LLM推理能力

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

Shanghai Jiao Tong University(上海交通大学)

Zijun Di, Bin Lu, Huquan Kang, Luoyi Fu, Jiaxin Ding, Xiaoying Gan, Lei Zhou, Xinbing Wang

AI总结:

提出HS2C框架,通过结构熵最小化进行全局层次划分以识别同质社区,并利用检测到的结构同质性指导LLM进行差异化语义聚合,在10个节点级和7个图级基准上同时提升压缩率和推理精度。

摘要:

大型语言模型(LLMs)在文本属性图(TAG)理解方面展现了有前景的能力。近期研究通常通过手工设计的提示将图结构语言化,将目标节点及其邻域上下文输入LLMs。然而,受限于上下文窗口,现有方法主要采用随机采样,通常通过随机丢弃节点/边来实现,这不可避免地引入噪声并导致推理不稳定。我们认为图本质上包含丰富的结构和语义信息,有效利用这些信息可以释放LLMs推理性能的潜在增益。为此,我们提出面向LLMs的同质性感知结构和语义压缩(HS2C),这是一个以利用图同质性为中心的框架。在结构上,以结构熵最小化原则为指导,我们执行全局层次划分,解码图的基本拓扑。这种划分识别出自然内聚的同质社区,同时丢弃随机连接噪声。在语义上,我们将检测到的结构同质性传递给LLM,使其能够基于预定义的社区类型执行差异化的语义聚合。该过程将冗余的背景上下文压缩为简洁的社区级共识,选择性地保留与目标节点对齐的语义同质信息。在10个节点级基准上,针对不同规模和系列的LLMs进行的大量实验表明,通过向LLMs提供结构和语义压缩的输入,HS2C同时提高了压缩率和下游推理准确性,验证了其优越性和可扩展性。在7个不同的图级基准上的扩展进一步巩固了HS2C的任务泛化能力。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑