Saved in:
Bibliographic Details
Main Authors: Liu, Yiming, Lu, Bin, Wang, Xinbing, Zhou, Chenghu, Jin, Meng
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.10503
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917507391029248
author Liu, Yiming
Lu, Bin
Wang, Xinbing
Zhou, Chenghu
Jin, Meng
author_facet Liu, Yiming
Lu, Bin
Wang, Xinbing
Zhou, Chenghu
Jin, Meng
contents Large Language Models (LLMs) show remarkable semantic understanding but often struggle with structural understanding when processing graph topologies in a serialized format. Existing solutions rely on training external graph-based adapters or fine-tuning, which incur high costs and lost generalizability. In this work, we investigate the internal mechanisms of LLMs and present a critical finding: LLMs spontaneously reconstruct the graph's topology internally, evidenced by a distinct "sawtooth" pattern in their attention maps that structurally aligns with the "token-level adjacency matrix". However, this intrinsic structural understanding is diluted by the attention sink. We theoretically formalize this dilution as a representation bottleneck, stemming from a fundamental conflict: the model's anisotropic bias, essential for language tasks, suppresses the topology-aware local aggregation required for graph reasoning. To address this, we propose a training-free solution, named StructuraL Attention SHarpening (SLASH), which amplifies this internal structural understanding via a plug-and-play attention redistribution. Experiments on pure graph tasks and molecular prediction validate that SLASH delivers significant and consistent performance gains across diverse LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2605_10503
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle SLASH the Sink: Sharpening Structural Attention Inside LLMs
Liu, Yiming
Lu, Bin
Wang, Xinbing
Zhou, Chenghu
Jin, Meng
Artificial Intelligence
Large Language Models (LLMs) show remarkable semantic understanding but often struggle with structural understanding when processing graph topologies in a serialized format. Existing solutions rely on training external graph-based adapters or fine-tuning, which incur high costs and lost generalizability. In this work, we investigate the internal mechanisms of LLMs and present a critical finding: LLMs spontaneously reconstruct the graph's topology internally, evidenced by a distinct "sawtooth" pattern in their attention maps that structurally aligns with the "token-level adjacency matrix". However, this intrinsic structural understanding is diluted by the attention sink. We theoretically formalize this dilution as a representation bottleneck, stemming from a fundamental conflict: the model's anisotropic bias, essential for language tasks, suppresses the topology-aware local aggregation required for graph reasoning. To address this, we propose a training-free solution, named StructuraL Attention SHarpening (SLASH), which amplifies this internal structural understanding via a plug-and-play attention redistribution. Experiments on pure graph tasks and molecular prediction validate that SLASH delivers significant and consistent performance gains across diverse LLMs.
title SLASH the Sink: Sharpening Structural Attention Inside LLMs
topic Artificial Intelligence
url https://arxiv.org/abs/2605.10503