NAG: A Unified Native Architecture for Encoder-free Text-Graph Modeling in Language Models
Haisong Gong, Zhibo Liu, Qiang Liu, Shu Wu, Liang Wang

TL;DR
NAG introduces a unified, encoder-free architecture that integrates graph processing directly into language models using self-attention, simplifying text-graph modeling and improving comprehension without external encoders.
Contribution
The paper proposes NAG, a novel framework that internalizes graph processing within language models, eliminating the need for external GNNs and enabling more coherent text-graph understanding.
Findings
NAG outperforms traditional methods on various graph tasks.
NAG maintains linguistic capabilities while enhancing structural understanding.
Efficient implementations like NAG-Zero and NAG-LoRA demonstrate versatility.
Abstract
Prevailing methods for integrating graphs into Language Models (LMs) typically rely on a segregated architecture: external Graph Neural Networks (GNNs) encode structural topology, while LMs process textual semantics. We argue this approach is suboptimal for text-graphs: it creates a conceptually disjointed interaction paradigm. By segregating structural encoding from semantic processing, these systems must perform a complex implicit alignment between abstract graph tokens and concrete textual elements. Challenging the necessity of external encoders, we propose NAG (Native Architecture for Graphs), a unified framework that internalizes graph processing within the LM's native manifold. Instead of bridging disparate embedding spaces, NAG repurposes the self-attention mechanism to enforce topological dependencies and recalibrates positional IDs to ensure structural equivalence. This allows…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Neural Networks · Topic Modeling · Multimodal Machine Learning Applications
