Language-encoded network topology enables large language models to reason about complex networks
Ucchwas Talukder Utsha, Sakib Mostafa, James Zou, Md Tauhidul Islam
Abstract
Networks describe systems in biology and beyond, from protein interactions and social relationships to power grids and citation records. Reasoning about such systems requires understanding their structure: which elements are central, which connections bridge separate communities, and how it changes when elements are removed. Although large language models (LLMs) excel at natural language, they struggle with such questions when networks are given as edge lists, sentences or measurement tables, because their structural meaning must be inferred. Here we introduce BioGlyph, which compiles network topology into an interpretable and transferable language of structural roles. BioGlyph combines graph partitioning and structural measurements to identify roles such as hubs, community cores and cross-community connectors, and fixed rules to translate them into a universal vocabulary. The representation describes each element through its structural role, supporting evidence and semantic consequences, leaving both the network and the LLM unchanged. Across twenty networks spanning five domains, BioGlyph substantially improves open LLMs' ability to answer structural reasoning questions, outperforming edge-based, numerical and learned representations by up to 26 percentage points in system accuracy. Ablations show that the gain comes from explicitly encoding structural roles in semantically interpretable terms. The gain is more prominent in dense, community-structured networks and diminishes in sparse networks whose topology is more readily inferred from text. In a budding-yeast protein-interaction network, BioGlyph exposes biological organization: cross-community connectors are enriched for essential genes, whereas peripheral proteins are depleted. BioGlyph thus provides an interpretable representation for both language models and scientists to reason about network structure.
Create a lesson
Related papers
Grounded and Faithful P&ID Reasoning: Constraining Vision-Language Models with Recovered Evidence Graphs
Shared title terminologycs.LGPrathamesh Gadekar, Sagar Srinivas Sakhinana, Venkataramana Runkana
BeaconKV: Key-Value Cache Compression Guided by Beacon Queries for Efficient Large Reasoning Model Inference
Shared title terminologycs.LGJanghyeon Kim, Minsoo Kim, Kyuhong Shim et al.
Training Large Language Models for Small-Molecule Design with Synthetic Task Scaling
Shared title terminologycs.LGFrank Hu, Shriram Chennakesavalu, Zichen Wang et al.
A Repeated-Measurement Study for Cultural Analytics of English Song Lyrics Using Five Large Language Models
Shared title terminologycs.LGE. Cho Smith, Samuel Ho, Dawn Laux
DE-Venus: A Data-Efficient RLVR Framework for Large Language Models
Shared title terminologycs.LGShenzhi Yang, Guangcheng Zhu, Kai Tang et al.
Attributing Agentic Failure in Reasoning Vision-Language Models with Interactive 2D Environments
Shared title terminologycs.LGPranav Guruprasad, Sean Rivera, Helen Lu et al.