<SOG_k>: One LLM Token for Explicit Graph Structural Understanding

Jingyao Wu, Bin Lu, Zijun Di, Xiaoying Gan, Meng Jin +3 more
2/2/2026
2 citations
cs.CLcs.AIcs.NI

Official code: Jingyao-Wu/SOG (4 stars, Jupyter Notebook, last commit 2026-05-12).

Abstract

Large language models show great potential in unstructured data understanding, but still face significant challenges with graphs due to their structural hallucination. Existing approaches mainly either verbalize graphs into natural language, which leads to excessive token consumption and scattered attention, or transform graphs into trainable continuous embeddings (i.e., soft prompt), but exhibit severe misalignment with original text tokens.

Show full abstract

To solve this problem, we propose to incorporate one special token <SOG_k> to fully represent the Structure Of Graph within a unified token space, facilitating explicit topology input and structural information sharing. Specifically, we propose a topology-aware structural tokenizer that maps each graph topology into a highly selective single token. Afterwards, we construct a set of hybrid structure Question-Answering corpora to align new structural tokens with existing text tokens. With this approach, <SOG_k> empowers LLMs to understand, generate, and reason in a concise and accurate manner. Extensive experiments on five graph-level benchmarks demonstrate the superiority of our method, achieving a performance improvement of 9.9% to 41.4% compared to the baselines while exhibiting interpretability and consistency. Furthermore, our method provides a flexible extension to node-level tasks, enabling both global and local structural understanding. The codebase is publicly available at https://github.com/Jingyao-Wu/SOG.

View on arXivView PDF

Code Implementations(1)

Jingyao-Wu/SOGOfficial100%

The repository for paper "<SOGk>: One LLM Token for Explicit Graph Structural Understanding"

40Jupyter Notebook, PythonJan 27, 20266 months ago

Similar Papers

Cite this paper

@article{wu2026sogk,
  title  = {<SOG_k>: One LLM Token for Explicit Graph Structural Understanding},
  author = {Jingyao Wu and Bin Lu and Zijun Di and Xiaoying Gan and Meng Jin and Luoyi Fu and Xinbing Wang and Chenghu Zhou},
  year   = {2026},
  eprint = {2602.01771},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.01771v1},
  journal = {ICLR 2026 2026}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.01771.svg)](https://codeofpaper.com/paper/2602.01771)

Discussion